summaryrefslogtreecommitdiffstats
path: root/framework/mail/maillistmodel.h
diff options
context:
space:
mode:
authorMichael Bohlender <michael.bohlender@kdemail.net>2015-12-08 18:32:41 +0100
committerMichael Bohlender <michael.bohlender@kdemail.net>2015-12-08 18:32:41 +0100
commit727be50d12e4366df6add54d9e9fb249352316f6 (patch)
treeca385f2cafdf07c53f8eb745f163f0538c934abe /framework/mail/maillistmodel.h
parent09de3c5275e0eabe9a13ccfefeb230f69b89dff4 (diff)
downloadkube-727be50d12e4366df6add54d9e9fb249352316f6.tar.gz
kube-727be50d12e4366df6add54d9e9fb249352316f6.zip
maillist controller now accepts folderIds, creates a query and loads the model
Diffstat (limited to 'framework/mail/maillistmodel.h')
-rw-r--r--framework/mail/maillistmodel.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/framework/mail/maillistmodel.h b/framework/mail/maillistmodel.h
index 3784bea0..572aa80d 100644
--- a/framework/mail/maillistmodel.h
+++ b/framework/mail/maillistmodel.h
@@ -1,5 +1,7 @@
1#pragma once 1#pragma once
2 2
3#include <akonadi2common/clientapi.h>
4
3#include <QIdentityProxyModel> 5#include <QIdentityProxyModel>
4#include <QSharedPointer> 6#include <QSharedPointer>
5#include <QStringList> 7#include <QStringList>
@@ -25,7 +27,7 @@ public:
25 27
26 QHash<int, QByteArray> roleNames() const; 28 QHash<int, QByteArray> roleNames() const;
27 29
28 void runQuery(const QString &query); 30 void runQuery(const Akonadi2::Query &query);
29private: 31private:
30 QSharedPointer<QAbstractItemModel> mModel; 32 QSharedPointer<QAbstractItemModel> m_model;
31}; 33};