diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-02 21:32:56 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-12-02 21:32:56 +0100 |
commit | 41006b5cab7b0260f8abc42aa2d2e959a013764e (patch) | |
tree | fe8be353228233f45119964cbab4b578b496ac85 /common/store.h | |
parent | 222cd83d659c3ff12380ecc5afd3cb29283e9ccd (diff) | |
download | sink-41006b5cab7b0260f8abc42aa2d2e959a013764e.tar.gz sink-41006b5cab7b0260f8abc42aa2d2e959a013764e.zip |
interresource 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 c9bd9cf..7c7d2fe 100644 --- a/common/store.h +++ b/common/store.h | |||
@@ -82,6 +82,12 @@ template <class DomainType> | |||
82 | KAsync::Job<void> SINK_EXPORT remove(const DomainType &domainObject); | 82 | KAsync::Job<void> SINK_EXPORT remove(const DomainType &domainObject); |
83 | 83 | ||
84 | /** | 84 | /** |
85 | * Move an entity to a new resource. | ||
86 | */ | ||
87 | template <class DomainType> | ||
88 | KAsync::Job<void> SINK_EXPORT move(const DomainType &domainObject, const QByteArray &newResource); | ||
89 | |||
90 | /** | ||
85 | * Synchronize data to local cache. | 91 | * Synchronize data to local cache. |
86 | */ | 92 | */ |
87 | KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query); | 93 | KAsync::Job<void> SINK_EXPORT synchronize(const Sink::Query &query); |