summaryrefslogtreecommitdiffstats
path: root/framework/mail/folderlistmodel.h
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-03 20:31:10 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-01-03 20:31:10 +0100
commitdd09ca9ef4bb9780b953d6dd2999dbefe50bd1ff (patch)
treedfcef3671c7f36d762f74b4226477fe6978688f2 /framework/mail/folderlistmodel.h
parentdea41f0345188d776522e5b91ba25d25c418e581 (diff)
downloadkube-dd09ca9ef4bb9780b953d6dd2999dbefe50bd1ff.tar.gz
kube-dd09ca9ef4bb9780b953d6dd2999dbefe50bd1ff.zip
Instead of using controllers, directly use the models
...and connect components via properties
Diffstat (limited to 'framework/mail/folderlistmodel.h')
-rw-r--r--framework/mail/folderlistmodel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/mail/folderlistmodel.h b/framework/mail/folderlistmodel.h
index 829bebff..9ce3ee79 100644
--- a/framework/mail/folderlistmodel.h
+++ b/framework/mail/folderlistmodel.h
@@ -17,8 +17,9 @@ public:
17 17
18 enum Roles { 18 enum Roles {
19 Name = Qt::UserRole + 1, 19 Name = Qt::UserRole + 1,
20 Icon, 20 Icon,
21 Id 21 Id,
22 DomainObject
22 }; 23 };
23 24
24 QHash<int, QByteArray> roleNames() const; 25 QHash<int, QByteArray> roleNames() const;