akonadi
tagcreatejob.cpp
110 //If merge is enabled there is the possibility that existing attributes etc are not valid anymore
Definition: job_p.h:32
static QByteArray attributesToByteArray(const Entity &entity, bool ns=false)
Convert attributes to their protocol representation.
Definition: protocolhelper.cpp:232
Job that creates a new tag in the Akonadi storage.
Definition: tagcreatejob.h:35
void setMergeIfExisting(bool merge)
Merges the tag by GID if it is already existing, and returns the merged version.
Definition: tagcreatejob.cpp:48
Tag tag() const
Returns the created tag with the new unique id, or an invalid tag if the job failed.
Definition: tagcreatejob.cpp:118
virtual void doStart()
This method must be reimplemented in the concrete jobs.
Definition: tagcreatejob.cpp:54
TagCreateJob(const Tag &tag, QObject *parent=0)
Creates a new tag create job.
Definition: tagcreatejob.cpp:41
virtual void doHandleResponse(const QByteArray &tag, const QByteArray &data)
This method should be reimplemented in the concrete jobs in case you want to handle incoming data.
Definition: tagcreatejob.cpp:99
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.