diff options
Diffstat (limited to 'common/modelresult.h')
-rw-r--r-- | common/modelresult.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/common/modelresult.h b/common/modelresult.h index ec62a67..062517f 100644 --- a/common/modelresult.h +++ b/common/modelresult.h | |||
@@ -38,9 +38,9 @@ public: | |||
38 | DomainObjectBaseRole | 38 | DomainObjectBaseRole |
39 | }; | 39 | }; |
40 | 40 | ||
41 | ModelResult(const Akonadi2::Query &query, const QList<QByteArray> &propertyColumns); | 41 | ModelResult(const Sink::Query &query, const QList<QByteArray> &propertyColumns); |
42 | 42 | ||
43 | void setEmitter(const typename Akonadi2::ResultEmitter<Ptr>::Ptr &); | 43 | void setEmitter(const typename Sink::ResultEmitter<Ptr>::Ptr &); |
44 | 44 | ||
45 | int rowCount(const QModelIndex &parent = QModelIndex()) const; | 45 | int rowCount(const QModelIndex &parent = QModelIndex()) const; |
46 | int columnCount(const QModelIndex &parent = QModelIndex()) const; | 46 | int columnCount(const QModelIndex &parent = QModelIndex()) const; |
@@ -73,8 +73,8 @@ private: | |||
73 | QSet<qint64 /* entity id */> mEntityChildrenFetched; | 73 | QSet<qint64 /* entity id */> mEntityChildrenFetched; |
74 | QSet<qint64 /* entity id */> mEntityChildrenFetchComplete; | 74 | QSet<qint64 /* entity id */> mEntityChildrenFetchComplete; |
75 | QList<QByteArray> mPropertyColumns; | 75 | QList<QByteArray> mPropertyColumns; |
76 | Akonadi2::Query mQuery; | 76 | Sink::Query mQuery; |
77 | std::function<void(const Ptr &)> loadEntities; | 77 | std::function<void(const Ptr &)> loadEntities; |
78 | typename Akonadi2::ResultEmitter<Ptr>::Ptr mEmitter; | 78 | typename Sink::ResultEmitter<Ptr>::Ptr mEmitter; |
79 | }; | 79 | }; |
80 | 80 | ||