Akonadi Search

lib/query.h
1/*
2 * This file is part of the KDE Akonadi Search Project
3 * SPDX-FileCopyrightText: 2013 Vishesh Handa <me@vhanda.in>
4 *
5 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6 *
7 */
8
9#pragma once
10
11#include "search_pim_export.h"
12#include <QByteArray>
13
14namespace Akonadi
15{
16namespace Search
17{
18namespace PIM
19{
20class ResultIterator;
21
22/** Query base class. */
23class AKONADI_SEARCH_PIM_EXPORT Query
24{
25public:
26 Query();
27 virtual ~Query();
28 virtual ResultIterator exec() = 0;
29
30 static Query *fromJSON(const QByteArray &json);
31 [[nodiscard]] static QString defaultLocation(const QString &dbName);
32};
33}
34}
35}
Query base class.
Definition lib/query.h:24
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:10:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.