KTextAddons
9#include "grammarerror.h"
10#include "textgrammarcheck_export.h"
12namespace TextGrammarCheck
15class TEXTGRAMMARCHECK_EXPORT GrammarResultTextEdit :
public QTextEdit
19 explicit GrammarResultTextEdit(QWidget *parent =
nullptr);
20 ~GrammarResultTextEdit()
override;
22 void applyGrammarResult(
const QVector<GrammarError> &infos);
25 void contextMenuEvent(QContextMenuEvent *event)
override;
27 void paintEvent(QPaintEvent *event)
override;
29 bool event(QEvent *ev)
override;
31 void replaceText(
const TextGrammarCheck::GrammarAction &act);
37 Q_DISABLE_COPY(GrammarResultTextEdit)
38 TEXTGRAMMARCHECK_NO_EXPORT
void slotReplaceWord(
const TextGrammarCheck::GrammarAction &act,
const QString &replacementWord);
39 TEXTGRAMMARCHECK_NO_EXPORT
void slotOpenGrammarUrlInfo(
const QString &url);
40 TEXTGRAMMARCHECK_NO_EXPORT
void generalPaletteChanged();
42 QColor mNegativeTextColor;
AKONADI_CALENDAR_EXPORT KCalendarCore::Event::Ptr event(const Akonadi::Item &item)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.