aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qvalidatedlineedit.h
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2015-11-16 10:43:36 +0100
committerJonas Schnelli <dev@jonasschnelli.ch>2015-11-16 11:05:26 +0100
commitd16d1b72d1b5bd7e71c0f03358f13711bccf3dc1 (patch)
treea16284c3f350d4ff6676c507d5b9b7423301708c /src/qt/qvalidatedlineedit.h
parent6876a78b863e2d4f4c7ad94627bb35363f6fa720 (diff)
[Qt] refactor and optimize proxy settings behavior
Diffstat (limited to 'src/qt/qvalidatedlineedit.h')
-rw-r--r--src/qt/qvalidatedlineedit.h4
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();