summaryrefslogtreecommitdiffstats
path: root/common/clientapi.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/clientapi.h')
-rw-r--r--common/clientapi.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/common/clientapi.h b/common/clientapi.h
index 06376c2..64c4f64 100644
--- a/common/clientapi.h
+++ b/common/clientapi.h
@@ -31,7 +31,7 @@
31 31
32class QAbstractItemModel; 32class QAbstractItemModel;
33 33
34namespace Akonadi2 { 34namespace Sink {
35class ResourceAccess; 35class ResourceAccess;
36class Notification; 36class Notification;
37 37
@@ -78,7 +78,7 @@ public:
78 /** 78 /**
79 * Synchronize data to local cache. 79 * Synchronize data to local cache.
80 */ 80 */
81 static KAsync::Job<void> synchronize(const Akonadi2::Query &query); 81 static KAsync::Job<void> synchronize(const Sink::Query &query);
82 82
83 /** 83 /**
84 * Shutdown resource. 84 * Shutdown resource.
@@ -110,13 +110,13 @@ public:
110 static void removeFromDisk(const QByteArray &resourceIdentifier); 110 static void removeFromDisk(const QByteArray &resourceIdentifier);
111 111
112 template <class DomainType> 112 template <class DomainType>
113 static KAsync::Job<DomainType> fetchOne(const Akonadi2::Query &query); 113 static KAsync::Job<DomainType> fetchOne(const Sink::Query &query);
114 114
115 template <class DomainType> 115 template <class DomainType>
116 static KAsync::Job<QList<typename DomainType::Ptr> > fetchAll(const Akonadi2::Query &query); 116 static KAsync::Job<QList<typename DomainType::Ptr> > fetchAll(const Sink::Query &query);
117 117
118 template <class DomainType> 118 template <class DomainType>
119 static KAsync::Job<QList<typename DomainType::Ptr> > fetch(const Akonadi2::Query &query, int minimumAmount = 0); 119 static KAsync::Job<QList<typename DomainType::Ptr> > fetch(const Sink::Query &query, int minimumAmount = 0);
120}; 120};
121 121
122namespace Resources { 122namespace Resources {