diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-04 10:36:58 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-04 10:36:58 +0100 |
commit | 59aa460cf704d5f1a1fb1fe6b8ede4457da083ff (patch) | |
tree | d1cf394099e4897d2b8abf6817191c488c754667 /common/store.h | |
parent | 41006b5cab7b0260f8abc42aa2d2e959a013764e (diff) | |
download | sink-59aa460cf704d5f1a1fb1fe6b8ede4457da083ff.tar.gz sink-59aa460cf704d5f1a1fb1fe6b8ede4457da083ff.zip |
Copy command and proper move
Diffstat (limited to 'common/store.h')
-rw-r--r-- | common/store.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/common/store.h b/common/store.h index 7c7d2fe..b261f47 100644 --- a/common/store.h +++ b/common/store.h | |||
@@ -88,6 +88,12 @@ template <class DomainType> | |||
88 | KAsync::Job<void> SINK_EXPORT move(const DomainType &domainObject, const QByteArray &newResource); | 88 | KAsync::Job<void> SINK_EXPORT move(const DomainType &domainObject, const QByteArray &newResource); |
89 | 89 | ||
90 | /** | 90 | /** |
91 | * Copy an entity to a new resource. | ||
92 | */ | ||
93 | template <class DomainType> | ||
94 | KAsync::Job<void> SINK_EXPORT copy(const DomainType &domainObject, const QByteArray &newResource); | ||
95 | |||
96 | /** | ||
91 | * Synchronize data to local cache. | 97 | * Synchronize data to local cache. |
92 | */ | 98 | */ |
93 | KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query); | 99 | KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query); |