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

◆ 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 21 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 50 of file tagqueryhelper.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 12 2022 04:00:09 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.