akonadi
tagcreatejob.cpp
110 //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:118
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
bool isEmpty() const
static QByteArray attributesToByteArray(const Entity &entity, bool ns=false)
Convert attributes to their protocol representation.
Definition: protocolhelper.cpp:232
int indexOf(char ch, int from) const
QString number(int n, int base)
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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.