summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/folderlistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/domain/folderlistmodel.h')
-rw-r--r--framework/src/domain/folderlistmodel.h4
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
38public: 39public:
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;
66protected: 70protected:
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