summaryrefslogtreecommitdiffstats
path: root/framework/src/accounts/accountsmodel.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-22 01:39:09 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-07-22 01:39:09 +0200
commit26e02b898d3f4e63c942d2742cb920aec9e6489c (patch)
treecd69d3caf4cb71b7c0310691ffe735cb874a62e9 /framework/src/accounts/accountsmodel.h
parentaba499f81e0e260c6bf6410e28203fa0b05264db (diff)
downloadkube-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.h4
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)
36public: 37public:
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
64private: 68private:
65 void runQuery(const Sink::Query &query); 69 void runQuery(const Sink::Query &query);
66 QSharedPointer<QAbstractItemModel> mModel; 70 QSharedPointer<QAbstractItemModel> mModel;