Akonadi

queryhelper.h
1 /*
2  SPDX-FileCopyrightText: 2009 Volker Krause <[email protected]>
3 
4  SPDX-License-Identifier: LGPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 class QString;
10 
11 namespace Akonadi
12 {
13 class ImapSet;
14 
15 namespace Server
16 {
17 class QueryBuilder;
18 
19 /**
20  Helper methods for common query tasks.
21 */
22 namespace QueryHelper
23 {
24 /**
25  Add conditions to @p qb for the given uid set @p set applied to @p column.
26 */
27 void setToQuery(const ImapSet &set, const QString &column, QueryBuilder &qb);
28 
29 } // namespace QueryHelper
30 
31 } // namespace Server
32 } // namespace Akonadi
33 
void setToQuery(const ImapSet &set, const QString &column, QueryBuilder &qb)
Add conditions to qb for the given uid set set applied to column.
Definition: queryhelper.cpp:16
Helper class to construct arbitrary SQL queries.
Definition: querybuilder.h:31
Helper integration between Akonadi and Qt.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sat Jun 25 2022 06:00:32 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.