diff options
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 | ||