diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-22 01:39:09 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-07-22 01:39:09 +0200 |
commit | 26e02b898d3f4e63c942d2742cb920aec9e6489c (patch) | |
tree | cd69d3caf4cb71b7c0310691ffe735cb874a62e9 /framework/src/accounts/accountsmodel.h | |
parent | aba499f81e0e260c6bf6410e28203fa0b05264db (diff) | |
download | kube-26e02b898d3f4e63c942d2742cb920aec9e6489c.tar.gz kube-26e02b898d3f4e63c942d2742cb920aec9e6489c.zip |
Display corresponding account information with log entry
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; |