akonadi
recursivemover.cpp
41 CollectionFetchJob *job = new CollectionFetchJob(m_movedCollection, CollectionFetchJob::Recursive, this);
47 void RecursiveMover::setCollection(const Collection &collection, const Collection &parentCollection)
103 m_currentCollection.setParentCollection(m_collections.value(m_currentCollection.parentCollection().id()));
166 m_agentBase->collectionAdded(m_currentCollection, m_collections.value(m_currentCollection.parentCollection().id()));
202 CollectionFetchJob *job = new CollectionFetchJob(m_currentCollection, CollectionFetchJob::Base, this);
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:169
void push_back(const T &value)
void enqueue(const T &t)
T dequeue()
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:53
void changeProcessed()
Call once the last replayed change has been processed.
Definition: recursivemover.cpp:196
void setParentCollection(const Collection &parent)
Set the parent collection of this object.
Definition: entity.cpp:194
void fetchFullPayload(bool fetch=true)
Sets whether the full payload shall be fetched.
Definition: itemfetchscope.cpp:70
int size() const
Definition: agentbase_p.h:39
Only fetch the base collection.
Definition: collectionfetchjob.h:62
T value(int i) const
void append(const T &value)
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:185
bool isEmpty() const
bool isEmpty() const
Retrieve all ancestors, up to Collection::root()
Definition: collectionfetchscope.h:77
T & first()
T takeFirst()
void setCollection(const Akonadi::Collection &collection, const Akonadi::Collection &parentCollection)
Set the collection that is actually moved.
Definition: recursivemover.cpp:47
void replayNext()
Trigger the next change replay, will call emitResult() once everything has been replayed.
Definition: recursivemover.cpp:212
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.