diff options
Diffstat (limited to 'framework/mail/maillistmodel.h')
-rw-r--r-- | framework/mail/maillistmodel.h | 6 |
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); |
29 | private: | 31 | private: |
30 | QSharedPointer<QAbstractItemModel> mModel; | 32 | QSharedPointer<QAbstractItemModel> m_model; |
31 | }; | 33 | }; |