From cb2b1a35e14031f15155243aee12fc862cb65ebf Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Wed, 22 Feb 2017 14:19:43 +0100 Subject: Fixed kolabnow account setup page. The account plugin supplies the configuration UI, the application supplies the scaffolding. That way we ensure the application doens't contain any account specific code and account configurations are free to offer specialized UI's that work best for them. We're not currently using a standardized controller, but if we did those controllers would have to live with the plugin, not the framework or the components. --- framework/domain/settings/accountsettings.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'framework/domain/settings/accountsettings.h') 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 { Q_OBJECT Q_PROPERTY(QByteArray accountIdentifier READ accountIdentifier WRITE setAccountIdentifier) + Q_PROPERTY(QByteArray accountType READ accountType WRITE setAccountType) Q_PROPERTY(QString icon MEMBER mIcon NOTIFY changed) Q_PROPERTY(QString accountName MEMBER mName NOTIFY changed) @@ -50,6 +51,9 @@ public: void setAccountIdentifier(const QByteArray &); QByteArray accountIdentifier() const; + void setAccountType(const QByteArray &); + QByteArray accountType() const; + void setPath(const QUrl &); QUrl path() const; @@ -87,6 +91,7 @@ protected: void removeIdentity(); QByteArray mAccountIdentifier; + QByteArray mAccountType; QString mIcon; QString mName; -- cgit v1.2.3