summaryrefslogtreecommitdiffstats
path: root/framework/domain/folderlistmodel.h
diff options
context:
space:
mode:
Diffstat (limited to 'framework/domain/folderlistmodel.h')
-rw-r--r--framework/domain/folderlistmodel.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/framework/domain/folderlistmodel.h b/framework/domain/folderlistmodel.h
index a2adc9a9..17645bb5 100644
--- a/framework/domain/folderlistmodel.h
+++ b/framework/domain/folderlistmodel.h
@@ -36,6 +36,14 @@ class FolderListModel : public QSortFilterProxyModel
36 Q_PROPERTY (QVariant accountId READ accountId WRITE setAccountId) 36 Q_PROPERTY (QVariant accountId READ accountId WRITE setAccountId)
37 37
38public: 38public:
39 enum Status {
40 NoStatus,
41 InProgressStatus,
42 ErrorStatus,
43 SuccessStatus,
44 };
45 Q_ENUMS(Status)
46
39 FolderListModel(QObject *parent = Q_NULLPTR); 47 FolderListModel(QObject *parent = Q_NULLPTR);
40 ~FolderListModel(); 48 ~FolderListModel();
41 49
@@ -45,7 +53,8 @@ public:
45 Name = Qt::UserRole + 1, 53 Name = Qt::UserRole + 1,
46 Icon, 54 Icon,
47 Id, 55 Id,
48 DomainObject 56 DomainObject,
57 Status
49 }; 58 };
50 Q_ENUMS(Roles) 59 Q_ENUMS(Roles)
51 60