From 235a85211c769e190754d2fdb172069d68a889b9 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Mon, 1 Jun 2015 22:40:20 +0200 Subject: Use template type parameter --- common/facade.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'common') diff --git a/common/facade.h b/common/facade.h index 5743aa2..d9ec0c9 100644 --- a/common/facade.h +++ b/common/facade.h @@ -121,7 +121,7 @@ public: return Akonadi2::ApplicationDomain::getTypeName(); } - KAsync::Job create(const Akonadi2::ApplicationDomain::Event &domainObject) Q_DECL_OVERRIDE + KAsync::Job create(const DomainType &domainObject) Q_DECL_OVERRIDE { if (!mDomainTypeAdaptorFactory) { Warning() << "No domain type adaptor factory available"; @@ -131,13 +131,13 @@ public: return sendCreateCommand(bufferTypeForDomainType(), QByteArray::fromRawData(reinterpret_cast(entityFbb.GetBufferPointer()), entityFbb.GetSize())); } - KAsync::Job modify(const Akonadi2::ApplicationDomain::Event &domainObject) Q_DECL_OVERRIDE + KAsync::Job modify(const DomainType &domainObject) Q_DECL_OVERRIDE { //TODO return KAsync::null(); } - KAsync::Job remove(const Akonadi2::ApplicationDomain::Event &domainObject) Q_DECL_OVERRIDE + KAsync::Job remove(const DomainType &domainObject) Q_DECL_OVERRIDE { //TODO return KAsync::null(); -- cgit v1.2.3