diff options
Diffstat (limited to 'framework/src/accounts/accountsmodel.h')
-rw-r--r-- | framework/src/accounts/accountsmodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/src/accounts/accountsmodel.h b/framework/src/accounts/accountsmodel.h index 2c82a8b9..4991f7e0 100644 --- a/framework/src/accounts/accountsmodel.h +++ b/framework/src/accounts/accountsmodel.h | |||
@@ -33,6 +33,7 @@ class AccountsModel : public QIdentityProxyModel | |||
33 | Q_OBJECT | 33 | Q_OBJECT |
34 | 34 | ||
35 | Q_PROPERTY (QByteArray accountId READ accountId WRITE setAccountId) | 35 | Q_PROPERTY (QByteArray accountId READ accountId WRITE setAccountId) |
36 | Q_PROPERTY (QByteArray resourceId READ resourceId WRITE setResourceId) | ||
36 | public: | 37 | public: |
37 | enum Status { | 38 | enum Status { |
38 | OfflineStatus, | 39 | OfflineStatus, |
@@ -61,6 +62,9 @@ public: | |||
61 | void setAccountId(const QByteArray &id); | 62 | void setAccountId(const QByteArray &id); |
62 | QByteArray accountId() const; | 63 | QByteArray accountId() const; |
63 | 64 | ||
65 | void setResourceId(const QByteArray &id); | ||
66 | QByteArray resourceId() const; | ||
67 | |||
64 | private: | 68 | private: |
65 | void runQuery(const Sink::Query &query); | 69 | void runQuery(const Sink::Query &query); |
66 | QSharedPointer<QAbstractItemModel> mModel; | 70 | QSharedPointer<QAbstractItemModel> mModel; |