diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-26 22:43:15 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-03-26 22:43:15 +0200 |
commit | 2b0278a02b8bb5de9da79de395942c55449c1c59 (patch) | |
tree | 80a3255cea34cfe6fdb74d69e041c1a4d6da7e08 /framework/domain/maillistmodel.h | |
parent | 35bb27c935eb444aa11b3063458a24122445a4d2 (diff) | |
download | kube-2b0278a02b8bb5de9da79de395942c55449c1c59.tar.gz kube-2b0278a02b8bb5de9da79de395942c55449c1c59.zip |
Update email status
Diffstat (limited to 'framework/domain/maillistmodel.h')
-rw-r--r-- | framework/domain/maillistmodel.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/framework/domain/maillistmodel.h b/framework/domain/maillistmodel.h index 8f61fce6..8e22da60 100644 --- a/framework/domain/maillistmodel.h +++ b/framework/domain/maillistmodel.h | |||
@@ -34,6 +34,13 @@ class MailListModel : public QSortFilterProxyModel | |||
34 | Q_PROPERTY (QString filter READ filter WRITE setFilter) | 34 | Q_PROPERTY (QString filter READ filter WRITE setFilter) |
35 | 35 | ||
36 | public: | 36 | public: |
37 | enum Status { | ||
38 | NoStatus, | ||
39 | InProgressStatus, | ||
40 | ErrorStatus | ||
41 | }; | ||
42 | Q_ENUMS(Status) | ||
43 | |||
37 | MailListModel(QObject *parent = Q_NULLPTR); | 44 | MailListModel(QObject *parent = Q_NULLPTR); |
38 | ~MailListModel(); | 45 | ~MailListModel(); |
39 | 46 | ||
@@ -59,7 +66,8 @@ public: | |||
59 | DomainObject, | 66 | DomainObject, |
60 | ThreadSize, | 67 | ThreadSize, |
61 | Mail, | 68 | Mail, |
62 | Incomplete | 69 | Incomplete, |
70 | Status | ||
63 | }; | 71 | }; |
64 | 72 | ||
65 | QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE; | 73 | QHash<int, QByteArray> roleNames() const Q_DECL_OVERRIDE; |