KTextAddons
7#include "textgrammarcheck_export.h"
12namespace TextGrammarCheck
14class TEXTGRAMMARCHECK_EXPORT GrammarAction
19 [[nodiscard]] QString replacement()
const;
20 void setReplacement(
const QString &replacement);
22 [[nodiscard]]
int start()
const;
23 void setStart(
int start);
25 [[nodiscard]]
int length()
const;
26 void setLength(
int length);
28 [[nodiscard]] QStringList suggestions()
const;
29 void setSuggestions(
const QStringList &suggestions);
31 [[nodiscard]]
int blockId()
const;
32 void setBlockId(
int blockId);
34 [[nodiscard]] QStringList infoUrls()
const;
35 void setInfoUrls(
const QStringList &urls);
38 QStringList mSuggestions;
39 QStringList mInfoUrls;
46Q_DECLARE_METATYPE(TextGrammarCheck::GrammarAction)
47TEXTGRAMMARCHECK_EXPORT
QDebug operator<<(
QDebug d,
const TextGrammarCheck::GrammarAction &t);
Q_SCRIPTABLE Q_NOREPLY void start()
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 11:53:03 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.