akonadi
recursivemover.cpp
41 CollectionFetchJob *job = new CollectionFetchJob(m_movedCollection, CollectionFetchJob::Recursive, this);
47void 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);
Definition: agentbase_p.h:40
Job that fetches collections from the Akonadi storage.
Definition: collectionfetchjob.h:54
CollectionFetchScope & fetchScope()
Returns the collection fetch scope.
Definition: collectionfetchjob.cpp:439
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:169
void setAncestorRetrieval(AncestorRetrieval ancestorDepth)
Sets how many levels of ancestor collections should be included in the retrieval.
Definition: collectionfetchscope.cpp:138
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:185
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
void replayNext()
Trigger the next change replay, will call emitResult() once everything has been replayed.
Definition: recursivemover.cpp:212
void changeProcessed()
Call once the last replayed change has been processed.
Definition: recursivemover.cpp:196
void setCollection(const Akonadi::Collection &collection, const Akonadi::Collection &parentCollection)
Set the collection that is actually moved.
Definition: recursivemover.cpp:47
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.