Akonadi Search

contactcompleter.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 <QString>
13
14namespace Akonadi
15{
16namespace Search
17{
18namespace PIM
19{
20// FIXME: Make this async!!
21/** Contact completer. */
22class AKONADI_SEARCH_PIM_EXPORT ContactCompleter
23{
24public:
25 explicit ContactCompleter(const QString &prefix, int limit = 10);
26
27 [[nodiscard]] QStringList complete();
28
29private:
30 const QString m_prefix;
31 const int m_limit;
32};
33}
34}
35}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 11:54:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.