summaryrefslogtreecommitdiffstats
path: root/common/facadeinterface.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/facadeinterface.h')
-rw-r--r--common/facadeinterface.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/facadeinterface.h b/common/facadeinterface.h
index 3a38db8..571a1e8 100644
--- a/common/facadeinterface.h
+++ b/common/facadeinterface.h
@@ -45,7 +45,7 @@ public:
45 virtual KAsync::Job<void> create(const DomainType &domainObject) = 0; 45 virtual KAsync::Job<void> create(const DomainType &domainObject) = 0;
46 virtual KAsync::Job<void> modify(const DomainType &domainObject) = 0; 46 virtual KAsync::Job<void> modify(const DomainType &domainObject) = 0;
47 virtual KAsync::Job<void> remove(const DomainType &domainObject) = 0; 47 virtual KAsync::Job<void> remove(const DomainType &domainObject) = 0;
48 virtual KAsync::Job<void> load(const Query &query, const QSharedPointer<Akonadi2::ResultProvider<typename DomainType::Ptr> > &resultProvider) = 0; 48 virtual KAsync::Job<void> load(const Query &query, const QSharedPointer<Akonadi2::ResultProviderInterface<typename DomainType::Ptr> > &resultProvider) = 0;
49}; 49};
50 50
51template<class DomainType> 51template<class DomainType>
@@ -67,7 +67,7 @@ public:
67 return KAsync::error<void>(-1, "Failed to create a facade"); 67 return KAsync::error<void>(-1, "Failed to create a facade");
68 } 68 }
69 69
70 KAsync::Job<void> load(const Query &query, const QSharedPointer<Akonadi2::ResultProvider<typename DomainType::Ptr> > &resultProvider) 70 KAsync::Job<void> load(const Query &query, const QSharedPointer<Akonadi2::ResultProviderInterface<typename DomainType::Ptr> > &resultProvider)
71 { 71 {
72 return KAsync::error<void>(-1, "Failed to create a facade"); 72 return KAsync::error<void>(-1, "Failed to create a facade");
73 } 73 }