mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-20 06:45:27 +00:00
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:
parent
cae6960eac
commit
22da63e839
1 changed files with 14 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue