qt/LedOK/LoQClass/loqlineedit.cpp
2022-01-04 18:11:48 +08:00

12 lines
288 B
C++

#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);
}