diff options
Diffstat (limited to 'framework/domain/settings/accountsettings.h')
-rw-r--r-- | framework/domain/settings/accountsettings.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/framework/domain/settings/accountsettings.h b/framework/domain/settings/accountsettings.h index 08215a32..f0cecf9b 100644 --- a/framework/domain/settings/accountsettings.h +++ b/framework/domain/settings/accountsettings.h | |||
@@ -25,6 +25,7 @@ class AccountSettings : public QObject | |||
25 | { | 25 | { |
26 | Q_OBJECT | 26 | Q_OBJECT |
27 | Q_PROPERTY(QByteArray accountIdentifier READ accountIdentifier WRITE setAccountIdentifier) | 27 | Q_PROPERTY(QByteArray accountIdentifier READ accountIdentifier WRITE setAccountIdentifier) |
28 | Q_PROPERTY(QByteArray accountType READ accountType WRITE setAccountType) | ||
28 | Q_PROPERTY(QString icon MEMBER mIcon NOTIFY changed) | 29 | Q_PROPERTY(QString icon MEMBER mIcon NOTIFY changed) |
29 | Q_PROPERTY(QString accountName MEMBER mName NOTIFY changed) | 30 | Q_PROPERTY(QString accountName MEMBER mName NOTIFY changed) |
30 | 31 | ||
@@ -50,6 +51,9 @@ public: | |||
50 | void setAccountIdentifier(const QByteArray &); | 51 | void setAccountIdentifier(const QByteArray &); |
51 | QByteArray accountIdentifier() const; | 52 | QByteArray accountIdentifier() const; |
52 | 53 | ||
54 | void setAccountType(const QByteArray &); | ||
55 | QByteArray accountType() const; | ||
56 | |||
53 | void setPath(const QUrl &); | 57 | void setPath(const QUrl &); |
54 | QUrl path() const; | 58 | QUrl path() const; |
55 | 59 | ||
@@ -87,6 +91,7 @@ protected: | |||
87 | void removeIdentity(); | 91 | void removeIdentity(); |
88 | 92 | ||
89 | QByteArray mAccountIdentifier; | 93 | QByteArray mAccountIdentifier; |
94 | QByteArray mAccountType; | ||
90 | QString mIcon; | 95 | QString mIcon; |
91 | QString mName; | 96 | QString mName; |
92 | 97 | ||