Akonadi
itemmovejob.cpp
71ItemMoveJob::ItemMoveJob(const Item::List &items, const Collection &source, const Collection &destination, QObject *parent)
Base class for exceptions used by the Akonadi library.
Definition exceptionbase.h:30
const char * what() const noexcept override
Returns the error message associated with this exception.
Definition exception.cpp:65
Job that moves an item into a different collection in the Akonadi storage.
Definition itemmovejob.h:35
ItemMoveJob(const Item &item, const Collection &destination, QObject *parent=nullptr)
Move the given item into the given collection.
Definition itemmovejob.cpp:55
Akonadi::Item::List items() const
Returns the list of items that where passed in the constructor.
Definition itemmovejob.cpp:129
bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response) override
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
Definition itemmovejob.cpp:114
Collection destinationCollection() const
Returns the destination collection.
Definition itemmovejob.cpp:123
void doStart() override
This method must be reimplemented in the concrete jobs.
Definition itemmovejob.cpp:84
virtual bool doHandleResponse(qint64 tag, const Protocol::CommandPtr &response)
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
Definition job.cpp:381
void setErrorText(const QString &errorText)
void emitResult()
void setError(int errorCode)
QString i18n(const char *text, const TYPE &arg...)
Helper integration between Akonadi and Qt.
const_reference at(qsizetype i) const const
qsizetype count() const const
bool isEmpty() const const
QString arg(Args &&... args) const const
QString fromUtf8(QByteArrayView str)
QString number(double n, char format, int precision)
Q_D(Todo)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:00:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:00:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.