KPimTextEdit
9#include "kpimtextedit_export.h"
11#include <sonnet/highlighter.h>
21class KPIMTEXTEDIT_EXPORT RichTextComposerEmailQuoteHighlighter :
public Sonnet::Highlighter
29 explicit RichTextComposerEmailQuoteHighlighter(RichTextComposer *textEdit,
31 const QColor "eDepth1 = QColor(0x00, 0x80, 0x00),
32 const QColor "eDepth2 = QColor(0x00, 0x80, 0x00),
33 const QColor "eDepth3 = QColor(0x00, 0x80, 0x00),
34 const QColor &misspelledColor =
Qt::red);
36 ~RichTextComposerEmailQuoteHighlighter()
override;
48 void setQuoteColor(
const QColor &normalColor,
49 const QColor "eDepth1,
50 const QColor "eDepth2,
51 const QColor "eDepth3,
52 const QColor &misspelledColor =
Qt::red);
59 void toggleSpellHighlighting(
bool on);
64 void highlightBlock(
const QString &text)
override;
74 void unsetMisspelled(
int start,
int count)
override;
80 void setMisspelled(
int start,
int count)
override;
83 class RichTextComposerEmailQuoteHighlighterPrivate;
84 std::unique_ptr<RichTextComposerEmailQuoteHighlighterPrivate>
const d;
The RichTextComposer class.
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 24 2025 11:57:12 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.