Akonadi
tagcreatehandler.cpp
41 return failureResponse(QStringLiteral("Unable to create tagtype '") % typeName % QStringLiteral("'"));
91 qb.addValueCondition(TagRemoteIdResourceRelation::resourceIdColumn(), Query::Equals, resourceId);
97 // If the relation is already existing simply update it (can happen if a resource simply creates the tag again while enabling merge)
100 // Simply using update() doesn't work since TagRemoteIdResourceRelation only takes the tagId for identification of the column
103 qb.addValueCondition(TagRemoteIdResourceRelation::resourceIdColumn(), Query::Equals, resourceId);
104 qb.setColumnValue(TagRemoteIdResourceRelation::remoteIdColumn(), QString::fromUtf8(cmd.remoteId()));
Helper class for creating queries to count elements in a database.
Definition countquerybuilder.h:23
NotificationCollector * notificationCollector()
Returns the notification collector of this DataStore object.
Definition datastore.cpp:238
The handler interfaces describes an entity capable of handling an AkonadiIMAP command.
Definition handler.h:32
Helper class to construct arbitrary SQL queries.
Definition querybuilder.h:33
Helper class for DataStore transaction handling.
Definition transaction.h:23
Attribute that stores the properties that are used to display a tag.
Definition tagattribute.h:27
Helper integration between Akonadi and Qt.
bool isValid(QStringView ifopt)
KOSM_EXPORT const char * typeName(Type type)
QString fromUtf8(QByteArrayView str)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:54:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:54:59 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.