Akonadi

tagqueryhelper.h
1 /*
2  SPDX-FileCopyrightText: 2015 Daniel Vrátil <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #ifndef AKONADI_TAGQUERYHELPER_H
8 #define AKONADI_TAGQUERYHELPER_H
9 
10 #include "entities.h"
11 
12 namespace Akonadi
13 {
14 
15 class Scope;
16 
17 namespace Server
18 {
19 
20 class CommandContext;
21 class QueryBuilder;
22 
27 namespace TagQueryHelper
28 {
29 
34 void remoteIdToQuery(const QStringList &rids, const CommandContext &context, QueryBuilder &qb);
35 void gidToQuery(const QStringList &gids, const CommandContext &context, QueryBuilder &qb);
36 
41 void scopeToQuery(const Scope &scope, const CommandContext &context, QueryBuilder &qb);
42 }
43 
44 } // namespace Server
45 } // namespace Akonadi
46 
47 #endif
void remoteIdToQuery(const QStringList &rids, const CommandContext &context, QueryBuilder &qb)
Add conditions to qb for the given remote identifier rid.
void scopeToQuery(const Scope &scope, const CommandContext &context, QueryBuilder &qb)
Add conditions to qb for the given item operation scope scope.
Helper integration between Akonadi and Qt.
Helper class to construct arbitrary SQL queries.
Definition: querybuilder.h:32
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jul 12 2020 23:16:58 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.