diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-20 12:03:33 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-05-20 12:03:33 +0200 |
commit | be511a719851c14c5ea5c1479ed2d814fbd3a8e6 (patch) | |
tree | 96b4d73cb249bd39c24ac627d05201f4ea033e9d /framework/src/domain/folderlistmodel.h | |
parent | fa8703974b98622f3f0dcd31cc1bdef554fb227b (diff) | |
download | kube-be511a719851c14c5ea5c1479ed2d814fbd3a8e6.tar.gz kube-be511a719851c14c5ea5c1479ed2d814fbd3a8e6.zip |
Get the folder name in the status bar
Diffstat (limited to 'framework/src/domain/folderlistmodel.h')
-rw-r--r-- | framework/src/domain/folderlistmodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/framework/src/domain/folderlistmodel.h b/framework/src/domain/folderlistmodel.h index 8f157ca2..0e412202 100644 --- a/framework/src/domain/folderlistmodel.h +++ b/framework/src/domain/folderlistmodel.h | |||
@@ -34,6 +34,7 @@ class FolderListModel : public QSortFilterProxyModel | |||
34 | Q_OBJECT | 34 | Q_OBJECT |
35 | 35 | ||
36 | Q_PROPERTY (QVariant accountId READ accountId WRITE setAccountId) | 36 | Q_PROPERTY (QVariant accountId READ accountId WRITE setAccountId) |
37 | Q_PROPERTY (QVariant folderId READ folderId WRITE setFolderId) | ||
37 | 38 | ||
38 | public: | 39 | public: |
39 | enum Status { | 40 | enum Status { |
@@ -63,6 +64,9 @@ public: | |||
63 | 64 | ||
64 | void setAccountId(const QVariant &accountId); | 65 | void setAccountId(const QVariant &accountId); |
65 | QVariant accountId() const; | 66 | QVariant accountId() const; |
67 | |||
68 | void setFolderId(const QVariant &folderId); | ||
69 | QVariant folderId() const; | ||
66 | protected: | 70 | protected: |
67 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE; | 71 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE; |
68 | 72 | ||