mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
16 lines
278 B
C++
16 lines
278 B
C++
#pragma once
|
|
|
|
#include <QLineEdit>
|
|
|
|
class MyLineEdit : public QLineEdit {
|
|
public slots:
|
|
|
|
explicit MyLineEdit(QWidget *parent = nullptr) : QLineEdit(parent) {
|
|
}
|
|
|
|
void setText(const QString &s) {
|
|
QLineEdit::setText(s);
|
|
QLineEdit::home(false);
|
|
}
|
|
};
|