diff options
Diffstat (limited to 'common/clientapi.h')
-rw-r--r-- | common/clientapi.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/clientapi.h b/common/clientapi.h index 4e55432..f1c3bc6 100644 --- a/common/clientapi.h +++ b/common/clientapi.h | |||
@@ -95,6 +95,15 @@ public: | |||
95 | * Removes a resource from disk. | 95 | * Removes a resource from disk. |
96 | */ | 96 | */ |
97 | static void removeFromDisk(const QByteArray &resourceIdentifier); | 97 | static void removeFromDisk(const QByteArray &resourceIdentifier); |
98 | |||
99 | template <class DomainType> | ||
100 | static KAsync::Job<DomainType> fetchOne(const Akonadi2::Query &query); | ||
101 | |||
102 | template <class DomainType> | ||
103 | static KAsync::Job<QList<typename DomainType::Ptr> > fetchAll(const Akonadi2::Query &query); | ||
104 | |||
105 | template <class DomainType> | ||
106 | static KAsync::Job<QList<typename DomainType::Ptr> > fetch(const Akonadi2::Query &query, int minimumAmount = 0); | ||
98 | }; | 107 | }; |
99 | 108 | ||
100 | 109 | ||