From 91dae77f25cfb8e18c2b1ed0f9b9b2d0d8a96389 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Mon, 7 Dec 2015 23:14:21 +0100 Subject: rolenames for the maillistmodel --- framework/mail/maillistmodel.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'framework/mail/maillistmodel.h') 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: QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; enum Roles { - Subject = Qt::UserRole + 1 + Subject = Qt::UserRole + 1, + Sender, + SenderName, + Date, + Unread, + Important }; QHash roleNames() const; -- cgit v1.2.3