Akonadi Search

lib/resultiterator.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
13#include <Akonadi/Item>
14
15#include <memory>
16
17namespace Akonadi
18{
19namespace Search
20{
21namespace PIM
22{
23class ContactQuery;
24class EmailQuery;
25class NoteQuery;
26class ResultIteratorPrivate;
27
28/** Result iterator. */
29class AKONADI_SEARCH_PIM_EXPORT ResultIterator
30{
31public:
35
36 [[nodiscard]] Akonadi::Item::Id id();
37 bool next();
38
39private:
40 friend class ContactQuery;
41 friend class EmailQuery;
42 friend class NoteQuery;
43 friend class CollectionQuery;
44
45 std::unique_ptr<ResultIteratorPrivate> const d;
46};
47}
48}
49}
Query for a list of contacts matching a criteria.
Query for a list of contacts matching a criteria.
Definition notequery.h:29
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:15:27 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.