Akonadi
collectioncopyhandler.cpp
46 const auto mimeTypes = source.mimeTypes() | Views::transform(&MimeType::name) | Actions::toQList;
79 const Collection source = HandlerHelper::collectionFromScope(cmd.collection(), connection()->context());
84 const Collection target = HandlerHelper::collectionFromScope(cmd.destination(), connection()->context());
92 ItemRetriever retriever(akonadi().itemRetrievalManager(), connection(), connection()->context());
Attribute::List attributes() const
Returns a list of all attributes of the collection.
Definition collection.cpp:166
void setRemoteId(const QString &id)
Sets the remote id of the collection.
Definition collection.cpp:101
void setRemoteRevision(const QString &revision)
Sets the remote revision of the collection.
Definition collection.cpp:111
A RAII helper class to temporarily stop the CacheCleaner.
Definition cachecleaner.h:32
bool parseStream() override
Parse and handle the IMAP message using the streaming parser.
Definition collectioncopyhandler.cpp:75
bool copyItem(const PimItem &item, const Collection &target)
Copy the given item and all its parts into the target.
Definition itemcopyhandler.cpp:28
Helper class for retrieving missing items parts from remote resources.
Definition itemretriever.h:39
void setCollection(const Collection &collection, bool recursive=true)
Retrieve all items in the given collection.
Definition itemretriever.cpp:86
Helper class for DataStore transaction handling.
Definition transaction.h:23
bool canBeMovedTo(const Collection &collection, const Collection &parent)
Checks if a collection could be moved from its current parent into the given one.
Definition collectionqueryhelper.cpp:70
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:49:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.