summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2016-01-13 17:57:48 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-15 05:55:02 -0800
commit22da63e8396275f6f6e1b3148b0b9680ab0da153 (patch)
tree711e1f4304b6e024a8e2d9247f6dd63d069dfb1a
parentcae6960eac256cb6a212dae09d49d94bc64bca7e (diff)
downloadsubsurface-22da63e8396275f6f6e1b3148b0b9680ab0da153.tar.gz
Settings QObjectification: start Proxy QObject config
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--subsurface-core/subsurface-qt/SettingsObjectWrapper.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/subsurface-core/subsurface-qt/SettingsObjectWrapper.h b/subsurface-core/subsurface-qt/SettingsObjectWrapper.h
index 71e2e490a..6098b0df7 100644
--- a/subsurface-core/subsurface-qt/SettingsObjectWrapper.h
+++ b/subsurface-core/subsurface-qt/SettingsObjectWrapper.h
@@ -220,6 +220,20 @@ class ProxySettings : public QObject {
Q_PROPERTY(QString pass READ pass WRITE setPass NOTIFY passChanged)
public:
ProxySettings(QObject *parent);
+ int type() const;
+ QString host() const;
+ int port() const;
+ short auth() const;
+ QString user() const;
+ QString pass() const;
+
+public slots:
+ void setType(int value);
+ void setHost(const QString& value);
+ void setPort(int value);
+ void setAuth(short value);
+ void setUser(const QString& value);
+ void setPass(const QString& value);
};
class CloudStorageSettings : public QObject {