qt/LedOK/LoQClass/loqlineedit.cpp

12 lines
288 B
C++
Raw Normal View History

2022-01-04 18:11:48 +08:00
#include "loqlineedit.h"
LoQLineEdit::LoQLineEdit(QWidget *parent) : QLineEdit(parent)
{
connect(this, SIGNAL(textChanged(const QString &)), this, SLOT(onTextChanged(const QString &)));
}
void LoQLineEdit::onTextChanged(const QString &text)
{
emit sigTextChanged(this, text);
}