diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2016-01-14 11:55:31 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-01-15 05:55:18 -0800 |
commit | f5c69e3a56da437c967a7c1462758fc32f32d332 (patch) | |
tree | 12559c2df2c47abf367e40c9412fe1e6682426d1 /subsurface-core/subsurface-qt/SettingsObjectWrapper.h | |
parent | 22da63e8396275f6f6e1b3148b0b9680ab0da153 (diff) | |
download | subsurface-f5c69e3a56da437c967a7c1462758fc32f32d332.tar.gz |
Settings QObjectification: finish network preferences
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/subsurface-qt/SettingsObjectWrapper.h')
-rw-r--r-- | subsurface-core/subsurface-qt/SettingsObjectWrapper.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/subsurface-core/subsurface-qt/SettingsObjectWrapper.h b/subsurface-core/subsurface-qt/SettingsObjectWrapper.h index 6098b0df7..0a2da44d1 100644 --- a/subsurface-core/subsurface-qt/SettingsObjectWrapper.h +++ b/subsurface-core/subsurface-qt/SettingsObjectWrapper.h @@ -218,6 +218,7 @@ class ProxySettings : public QObject { Q_PROPERTY(short auth READ auth WRITE setAuth NOTIFY authChanged) Q_PROPERTY(QString user READ user WRITE setUser NOTIFY userChanged) Q_PROPERTY(QString pass READ pass WRITE setPass NOTIFY passChanged) + public: ProxySettings(QObject *parent); int type() const; @@ -234,6 +235,16 @@ public slots: void setAuth(short value); void setUser(const QString& value); void setPass(const QString& value); + +signals: + void typeChanged(int value); + void hostChanged(const QString& value); + void portChanged(int value); + void authChanged(short value); + void userChanged(const QString& value); + void passChanged(const QString& value); +private: + QString group; }; class CloudStorageSettings : public QObject { |