akonadi
recursivemover.cpp
37 CollectionFetchJob *job = new CollectionFetchJob( m_movedCollection, CollectionFetchJob::Recursive, this );
43 void RecursiveMover::setCollection( const Collection &collection, const Collection &parentCollection )
95 m_currentCollection.setParentCollection( m_collections.value( m_currentCollection.parentCollection().id() ) );
153 m_agentBase->collectionAdded( m_currentCollection, m_collections.value( m_currentCollection.parentCollection().id() ) );
189 CollectionFetchJob *job = new CollectionFetchJob( m_currentCollection, CollectionFetchJob::Base, this );
Collection::List collections() const
Returns the list of fetched collection.
Definition: collectionfetchjob.cpp:175
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:183
void setParentCollection(const Collection &parent)
Set the parent collection of this object.
Definition: entity.cpp:195
void fetchFullPayload(bool fetch=true)
Sets whether the full payload shall be fetched.
Definition: itemfetchscope.cpp:68
Definition: agentbase_p.h:38
Only fetch the base collection.
Definition: collectionfetchjob.h:62
Collection parentCollection() const
Returns the parent collection of this object.
Definition: entity.cpp:186
Retrieve all ancestors, up to Collection::root()
Definition: collectionfetchscope.h:77
void setCollection(const Akonadi::Collection &collection, const Akonadi::Collection &parentCollection)
Set the collection that is actually moved.
Definition: recursivemover.cpp:43
void replayNext()
Trigger the next change replay, will call emitResult() once everything has been replayed.
Definition: recursivemover.cpp:199
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:27 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.