diff options
author | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-16 10:43:36 +0100 |
---|---|---|
committer | Jonas Schnelli <dev@jonasschnelli.ch> | 2015-11-16 11:05:26 +0100 |
commit | d16d1b72d1b5bd7e71c0f03358f13711bccf3dc1 (patch) | |
tree | a16284c3f350d4ff6676c507d5b9b7423301708c /src/qt/qvalidatedlineedit.h | |
parent | 6876a78b863e2d4f4c7ad94627bb35363f6fa720 (diff) |
[Qt] refactor and optimize proxy settings behavior
Diffstat (limited to 'src/qt/qvalidatedlineedit.h')
-rw-r--r-- | src/qt/qvalidatedlineedit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qt/qvalidatedlineedit.h b/src/qt/qvalidatedlineedit.h index 8665acda5e..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); @@ -31,6 +32,9 @@ public Q_SLOTS: void setValid(bool valid); void setEnabled(bool enabled); +Q_SIGNALS: + void validationDidChange(QValidatedLineEdit *validatedLineEdit); + private Q_SLOTS: void markValid(); void checkValidity(); |