diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-06-01 22:40:20 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2015-06-01 22:40:20 +0200 |
commit | 235a85211c769e190754d2fdb172069d68a889b9 (patch) | |
tree | 263fffc85093603ee75d58c5e1e6c6a8a5dface6 /common/facade.h | |
parent | 9ae4fcadc9200f1c9cf6322b98449b0de69112ac (diff) | |
download | sink-235a85211c769e190754d2fdb172069d68a889b9.tar.gz sink-235a85211c769e190754d2fdb172069d68a889b9.zip |
Use template type parameter
Diffstat (limited to 'common/facade.h')
-rw-r--r-- | common/facade.h | 6 |
1 files changed, 3 insertions, 3 deletions
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: | |||
121 | return Akonadi2::ApplicationDomain::getTypeName<DomainType>(); | 121 | return Akonadi2::ApplicationDomain::getTypeName<DomainType>(); |
122 | } | 122 | } |
123 | 123 | ||
124 | KAsync::Job<void> create(const Akonadi2::ApplicationDomain::Event &domainObject) Q_DECL_OVERRIDE | 124 | KAsync::Job<void> create(const DomainType &domainObject) Q_DECL_OVERRIDE |
125 | { | 125 | { |
126 | if (!mDomainTypeAdaptorFactory) { | 126 | if (!mDomainTypeAdaptorFactory) { |
127 | Warning() << "No domain type adaptor factory available"; | 127 | Warning() << "No domain type adaptor factory available"; |
@@ -131,13 +131,13 @@ public: | |||
131 | return sendCreateCommand(bufferTypeForDomainType(), QByteArray::fromRawData(reinterpret_cast<const char*>(entityFbb.GetBufferPointer()), entityFbb.GetSize())); | 131 | return sendCreateCommand(bufferTypeForDomainType(), QByteArray::fromRawData(reinterpret_cast<const char*>(entityFbb.GetBufferPointer()), entityFbb.GetSize())); |
132 | } | 132 | } |
133 | 133 | ||
134 | KAsync::Job<void> modify(const Akonadi2::ApplicationDomain::Event &domainObject) Q_DECL_OVERRIDE | 134 | KAsync::Job<void> modify(const DomainType &domainObject) Q_DECL_OVERRIDE |
135 | { | 135 | { |
136 | //TODO | 136 | //TODO |
137 | return KAsync::null<void>(); | 137 | return KAsync::null<void>(); |
138 | } | 138 | } |
139 | 139 | ||
140 | KAsync::Job<void> remove(const Akonadi2::ApplicationDomain::Event &domainObject) Q_DECL_OVERRIDE | 140 | KAsync::Job<void> remove(const DomainType &domainObject) Q_DECL_OVERRIDE |
141 | { | 141 | { |
142 | //TODO | 142 | //TODO |
143 | return KAsync::null<void>(); | 143 | return KAsync::null<void>(); |