diff options
Diffstat (limited to 'src/qt/qvalidatedlineedit.h')
-rw-r--r-- | src/qt/qvalidatedlineedit.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/qt/qvalidatedlineedit.h b/src/qt/qvalidatedlineedit.h index f63568d27f..8cb6a425fa 100644 --- a/src/qt/qvalidatedlineedit.h +++ b/src/qt/qvalidatedlineedit.h @@ -18,6 +18,7 @@ public: explicit QValidatedLineEdit(QWidget *parent); void clear(); void setCheckValidator(const QValidator *v); + bool isValid(); protected: void focusInEvent(QFocusEvent *evt); @@ -27,11 +28,14 @@ private: bool valid; const QValidator *checkValidator; -public slots: +public Q_SLOTS: void setValid(bool valid); void setEnabled(bool enabled); -private slots: +Q_SIGNALS: + void validationDidChange(QValidatedLineEdit *validatedLineEdit); + +private Q_SLOTS: void markValid(); void checkValidity(); }; |