diff options
Diffstat (limited to 'framework/domain/accountfactory.h')
-rw-r--r-- | framework/domain/accountfactory.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/framework/domain/accountfactory.h b/framework/domain/accountfactory.h index ed3c21d9..047454ae 100644 --- a/framework/domain/accountfactory.h +++ b/framework/domain/accountfactory.h | |||
@@ -29,13 +29,14 @@ class AccountFactory : public QObject | |||
29 | { | 29 | { |
30 | Q_OBJECT | 30 | Q_OBJECT |
31 | Q_PROPERTY(QString accountId MEMBER mAccountId WRITE setAccountId); | 31 | Q_PROPERTY(QString accountId MEMBER mAccountId WRITE setAccountId); |
32 | Q_PROPERTY(QString name MEMBER mName NOTIFY accountLoaded); | 32 | Q_PROPERTY(QString name MEMBER mName READ name NOTIFY accountLoaded); |
33 | Q_PROPERTY(QString icon MEMBER mIcon NOTIFY accountLoaded); | 33 | Q_PROPERTY(QString icon MEMBER mIcon NOTIFY accountLoaded); |
34 | Q_PROPERTY(QString uiPath MEMBER mUiPath NOTIFY accountLoaded); | 34 | Q_PROPERTY(QString uiPath MEMBER mUiPath NOTIFY accountLoaded); |
35 | public: | 35 | public: |
36 | explicit AccountFactory(QObject *parent = Q_NULLPTR); | 36 | explicit AccountFactory(QObject *parent = Q_NULLPTR); |
37 | 37 | ||
38 | void setAccountId(const QString &); | 38 | void setAccountId(const QString &); |
39 | QString name() const; | ||
39 | 40 | ||
40 | signals: | 41 | signals: |
41 | void accountLoaded(); | 42 | void accountLoaded(); |