File indexing completed on 2025-01-05 04:47:01
0001 /* 0002 SPDX-FileCopyrightText: 2009 Volker Krause <vkrause@kde.org> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #pragma once 0008 0009 class QString; 0010 0011 namespace Akonadi 0012 { 0013 class ImapSet; 0014 0015 namespace Server 0016 { 0017 class QueryBuilder; 0018 0019 /** 0020 Helper methods for common query tasks. 0021 */ 0022 namespace QueryHelper 0023 { 0024 /** 0025 Add conditions to @p qb for the given uid set @p set applied to @p column. 0026 */ 0027 void setToQuery(const ImapSet &set, const QString &column, QueryBuilder &qb); 0028 0029 } // namespace QueryHelper 0030 0031 } // namespace Server 0032 } // namespace Akonadi