Akonadi
itemcopyhandler.cpp
50 return store->appendPimItem(newParts, item.flags(), item.mimeType(), target, QDateTime::currentDateTimeUtc(), QString(), QString(), item.gid(), newItem);
92 mTargetCollection = HandlerHelper::collectionFromScope(cmd.destination(), connection()->context());
102 ItemRetriever retriever(akonadi().itemRetrievalManager(), connection(), connection()->context());
105 QObject::connect(&retriever, &ItemRetriever::itemsRetrieved, &retriever, [this](const QList<qint64> &ids) {
A RAII helper class to temporarily stop the CacheCleaner.
Definition cachecleaner.h:32
The handler interfaces describes an entity capable of handling an AkonadiIMAP command.
Definition handler.h:32
bool copyItem(const PimItem &item, const Collection &target)
Copy the given item and all its parts into the target.
Definition itemcopyhandler.cpp:28
bool parseStream() override
Parse and handle the IMAP message using the streaming parser.
Definition itemcopyhandler.cpp:80
Helper class for retrieving missing items parts from remote resources.
Definition itemretriever.h:39
Helper class for creating and executing database SELECT queries.
Definition selectquerybuilder.h:21
Helper class for DataStore transaction handling.
Definition transaction.h:23
void itemSetToQuery(const QList< PimItem::Id > &set, QueryBuilder &qb, const Collection &collection=Collection())
Add conditions to qb for the given item set set.
Definition itemqueryhelper.cpp:19
QByteArray translateData(const QByteArray &data, Part::Storage storageType)
Returns the payload data.
Definition parthelper.cpp:122
Helper integration between Akonadi and Qt.
QDateTime currentDateTimeUtc()
QMetaObject::Connection connect(const QObject *sender, PointerToMemberFunction signal, Functor functor)
void finish()
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.