summaryrefslogtreecommitdiffstats
path: root/framework/mail/maillistmodel.h
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2015-12-07 23:14:21 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2015-12-07 23:14:21 +0100
commit91dae77f25cfb8e18c2b1ed0f9b9b2d0d8a96389 (patch)
treea213f9158c9a8bc990b3b339f086cd28622c20fb /framework/mail/maillistmodel.h
parent707f47ad2e7d8790433db3956f255ad5ce9d96d1 (diff)
downloadkube-91dae77f25cfb8e18c2b1ed0f9b9b2d0d8a96389.tar.gz
kube-91dae77f25cfb8e18c2b1ed0f9b9b2d0d8a96389.zip
rolenames for the maillistmodel
Diffstat (limited to 'framework/mail/maillistmodel.h')
-rw-r--r--framework/mail/maillistmodel.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/framework/mail/maillistmodel.h b/framework/mail/maillistmodel.h
index 4e360d96..3784bea0 100644
--- a/framework/mail/maillistmodel.h
+++ b/framework/mail/maillistmodel.h
@@ -15,7 +15,12 @@ public:
15 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; 15 QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
16 16
17 enum Roles { 17 enum Roles {
18 Subject = Qt::UserRole + 1 18 Subject = Qt::UserRole + 1,
19 Sender,
20 SenderName,
21 Date,
22 Unread,
23 Important
19 }; 24 };
20 25
21 QHash<int, QByteArray> roleNames() const; 26 QHash<int, QByteArray> roleNames() const;