KTextEditor

completion.h
1/*
2 SPDX-FileCopyrightText: KDE Developers
3
4 SPDX-License-Identifier: LGPL-2.0-or-later
5*/
6
7#ifndef KATEVI_COMPLETION_H
8#define KATEVI_COMPLETION_H
9
10#include <QList>
11#include <QString>
12
13namespace KateVi
14{
15class Completion
16{
17public:
18 enum CompletionType { PlainText, FunctionWithoutArgs, FunctionWithArgs };
19
20 explicit Completion(const QString &completedText, bool removeTail, CompletionType completionType);
21 QString completedText() const;
22 bool removeTail() const;
23 CompletionType completionType() const;
24
25private:
26 QString m_completedText;
27 bool m_removeTail;
28 CompletionType m_completionType;
29};
30
31typedef QList<Completion> CompletionList;
32}
33
34#endif // KATEVI_COMPLETION_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Feb 24 2024 20:00:58 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.