diff options
author | jan Iversen <jani@apache.org> | 2018-09-02 13:58:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-11 17:22:58 -0700 |
commit | c72add5721244cebbf38ea4c7daf1a8ae3198e3e (patch) | |
tree | 537b76cceedc2f8ece101912b83e6dfca6a22e76 /core/settings/qPrefProxy.h | |
parent | 740fcce338a00e7ec8d1c4701229d46b5463b974 (diff) | |
download | subsurface-c72add5721244cebbf38ea4c7daf1a8ae3198e3e.tar.gz |
core/setting: change *_changed to *Changed for the sake of QML.
QML demands signals to be of the form
<name>Changed
Changing all of qPref
REMARK: this commit is not compileable, since it only change qPref and not
the rest of the system
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/settings/qPrefProxy.h')
-rw-r--r-- | core/settings/qPrefProxy.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/core/settings/qPrefProxy.h b/core/settings/qPrefProxy.h index e1ead178e..2940c2642 100644 --- a/core/settings/qPrefProxy.h +++ b/core/settings/qPrefProxy.h @@ -8,12 +8,12 @@ class qPrefProxy : public QObject { Q_OBJECT - Q_PROPERTY(bool proxy_auth READ proxy_auth WRITE set_proxy_auth NOTIFY proxy_auth_changed); - Q_PROPERTY(QString proxy_host READ proxy_host WRITE set_proxy_host NOTIFY proxy_host_changed); - Q_PROPERTY(QString proxy_pass READ proxy_pass WRITE set_proxy_pass NOTIFY proxy_pass_changed); - Q_PROPERTY(int proxy_port READ proxy_port WRITE set_proxy_port NOTIFY proxy_port_changed); - Q_PROPERTY(int proxy_type READ proxy_type WRITE set_proxy_type NOTIFY proxy_type_changed); - Q_PROPERTY(QString proxy_user READ proxy_user WRITE set_proxy_user NOTIFY proxy_user_changed); + Q_PROPERTY(bool proxy_auth READ proxy_auth WRITE set_proxy_auth NOTIFY proxy_authChanged); + Q_PROPERTY(QString proxy_host READ proxy_host WRITE set_proxy_host NOTIFY proxy_hostChanged); + Q_PROPERTY(QString proxy_pass READ proxy_pass WRITE set_proxy_pass NOTIFY proxy_passChanged); + Q_PROPERTY(int proxy_port READ proxy_port WRITE set_proxy_port NOTIFY proxy_portChanged); + Q_PROPERTY(int proxy_type READ proxy_type WRITE set_proxy_type NOTIFY proxy_typeChanged); + Q_PROPERTY(QString proxy_user READ proxy_user WRITE set_proxy_user NOTIFY proxy_userChanged); public: qPrefProxy(QObject *parent = NULL); @@ -41,12 +41,12 @@ public slots: static void set_proxy_user(const QString &value); signals: - void proxy_auth_changed(bool value); - void proxy_host_changed(const QString &value); - void proxy_pass_changed(const QString &value); - void proxy_port_changed(int value); - void proxy_type_changed(int value); - void proxy_user_changed(const QString &value); + void proxy_authChanged(bool value); + void proxy_hostChanged(const QString &value); + void proxy_passChanged(const QString &value); + void proxy_portChanged(int value); + void proxy_typeChanged(int value); + void proxy_userChanged(const QString &value); private: static void disk_proxy_auth(bool doSync); |