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