KTextEditor
10#include "completion.h"
12#include "ktexteditor_export.h"
26 void writeConfig(KConfigGroup &config)
const;
27 void readConfig(
const KConfigGroup &config);
29 void store(
const QChar ®,
const QList<KeyEvent> ¯oKeyEventLog,
const CompletionList &completions);
30 void remove(
const QChar ®);
31 KTEXTEDITOR_EXPORT
void clear();
33 QString get(
const QChar ®)
const;
34 CompletionList getCompletions(
const QChar ®)
const;
37 int readMacroCompletions(
const QChar ®,
const QStringList &encodedMacroCompletions,
int macroCompletionIndex);
38 static QString encodeMacroCompletionForConfig(
const Completion &completionForMacro);
39 static Completion decodeMacroCompletionFromConfig(
const QString &encodedMacroCompletion);
42 QHash<QChar, QString> m_macros;
43 QHash<QChar, QList<Completion>> m_completions;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:25 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.