7#include "grammaraction.h"
9using namespace TextGrammarCheck;
11GrammarAction::GrammarAction() =
default;
13QString GrammarAction::replacement()
const
18void GrammarAction::setReplacement(
const QString &replacement)
20 mReplacement = replacement;
23int GrammarAction::start()
const
28void GrammarAction::setStart(
int start)
33int GrammarAction::length()
const
38void GrammarAction::setLength(
int end)
48void GrammarAction::setSuggestions(
const QStringList &suggestions)
50 mSuggestions = suggestions;
53int GrammarAction::blockId()
const
58void GrammarAction::setBlockId(
int blockId)
68void GrammarAction::setInfoUrls(
const QStringList &urls)
75 d <<
"start " << t.start();
76 d <<
"length " << t.length();
77 d <<
"blockId " << t.blockId();
78 d <<
"suggestion " << t.suggestions();
79 d <<
"replacement " << t.replacement();
80 d <<
"urls " << t.infoUrls();
Q_SCRIPTABLE QString start(QString train="")
Q_SCRIPTABLE Q_NOREPLY void start()
const QList< QKeySequence > & end()
KTEXTEDITOR_EXPORT QDebug operator<<(QDebug s, const MovingCursor &cursor)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:49:44 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.