Akonadi
tagcreatejob.cpp
TagCreateJob(const Tag &tag, QObject *parent=nullptr)
Creates a new tag create job.
Definition: tagcreatejob.cpp:29
void setErrorText(const QString &errorText)
Tag tag() const
Returns the created tag with the new unique id, or an invalid tag if the job failed.
Definition: tagcreatejob.cpp:80
QString i18n(const char *text, const TYPE &arg...)
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: tagcreatejob.cpp:64
void setMergeIfExisting(bool merge)
Merges the tag by GID if it is already existing, and returns the merged version.
Definition: tagcreatejob.cpp:36
void doStart() override
This method must be reimplemented in the concrete jobs.
Definition: tagcreatejob.cpp:42
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 emitResult()
void setError(int errorCode)
Q_D(Todo)
Helper integration between Akonadi and Qt.
Job that creates a new tag in the Akonadi storage.
Definition: tagcreatejob.h:21
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Jul 1 2022 05:22:47 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Jul 1 2022 05:22:47 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.