akonadi
tagcreatejob.cpp
106 //If merge is enabled there is the possibility that existing attributes etc are not valid anymore
Tag tag() const
Returns the created tag with the new unique id, or an invalid tag if the job failed.
Definition: tagcreatejob.cpp:114
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:95
static QByteArray attributesToByteArray(const Entity &entity, bool ns=false)
Convert attributes to their protocol representation.
Definition: protocolhelper.cpp:206
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
void setMergeIfExisting(bool merge)
Merges the tag by GID if it is already existing, and returns the merged version.
Definition: tagcreatejob.cpp:48
Job that creates a new tag in the Akonadi storage.
Definition: tagcreatejob.h:34
Definition: job_p.h:31
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Jul 21 2014 08:03:56 by doxygen 1.8.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Jul 21 2014 08:03:56 by doxygen 1.8.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.