Settings QObjectification: start Proxy QObject config

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2016-01-13 17:57:48 -02:00 committed by Dirk Hohndel
parent cae6960eac
commit 22da63e839

View file

@ -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 {