Akonadi::Server::TagQueryHelper
Akonadi::Server::TagQueryHelper Namespace Reference
Functions | |
void | gidToQuery (const QStringList &gids, const CommandContext &context, QueryBuilder &qb) |
void | remoteIdToQuery (const QStringList &rids, const CommandContext &context, QueryBuilder &qb) |
void | scopeToQuery (const Scope &scope, const CommandContext &context, QueryBuilder &qb) |
Detailed Description
Helper methods to generate WHERE clauses for item queries based on the item set used in the protocol.
Function Documentation
◆ gidToQuery()
void Akonadi::Server::TagQueryHelper::gidToQuery | ( | const QStringList & | gids, |
const CommandContext & | context, | ||
QueryBuilder & | qb ) |
Definition at line 31 of file tagqueryhelper.cpp.
◆ remoteIdToQuery()
void Akonadi::Server::TagQueryHelper::remoteIdToQuery | ( | const QStringList & | rids, |
const CommandContext & | context, | ||
QueryBuilder & | qb ) |
Add conditions to qb
for the given remote identifier rid
.
The rid context is taken from context
.
Definition at line 19 of file tagqueryhelper.cpp.
◆ scopeToQuery()
void Akonadi::Server::TagQueryHelper::scopeToQuery | ( | const Scope & | scope, |
const CommandContext & | context, | ||
QueryBuilder & | qb ) |
Add conditions to qb
for the given item operation scope scope
.
The rid context is taken from context
, if none is specified an exception is thrown.
Definition at line 48 of file tagqueryhelper.cpp.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:01:43 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.