KPIMTextedit Library
emailquotehighlighter.cpp
virtual void highlightBlock(const QString &text)
Reimplemented to highlight quote blocks.
Definition: emailquotehighlighter.cpp:127
EMailQuoteHighlighter(TextEdit *textEdit, const QColor &normalColor=Qt::black, const QColor "eDepth1=QColor(0x00, 0x80, 0x00), const QColor "eDepth2=QColor(0x00, 0x80, 0x00), const QColor "eDepth3=QColor(0x00, 0x80, 0x00), const QColor &misspelledColor=Qt::red)
Constructor.
Definition: emailquotehighlighter.cpp:35
virtual void unsetMisspelled(int start, int count)
Reimplemented, the base version sets the text color to black, which is not what we want...
Definition: emailquotehighlighter.cpp:153
static QString highlightText(const QString &text, const QColor "eDepth1=QColor(0x00, 0x80, 0x00), const QColor "eDepth2=QColor(0x00, 0x80, 0x00), const QColor "eDepth3=QColor(0x00, 0x80, 0x00))
Use this static method to get a text consisting of multiple lines highligted.
Definition: emailquotehighlighter.cpp:63
void setQuoteColor(const QColor &normalColor, const QColor "eDepth1, const QColor "eDepth2, const QColor "eDepth3, const QColor &misspelledColor=Qt::red)
Sets the colors used for highlighting quoted text and spelling mistakes.
Definition: emailquotehighlighter.cpp:106
virtual void setMisspelled(int start, int count)
Reimplemented to set the color of the misspelled word to a color defined by setQuoteColor().
Definition: emailquotehighlighter.cpp:159
void toggleSpellHighlighting(bool on)
Turns spellcheck highlighting on or off.
Definition: emailquotehighlighter.cpp:119
Special textedit that provides additional features which are useful for PIM applications like mail cl...
Definition: textedit.h:82
static QString highlightParagraph(const QString &text, const QColor "eDepth1=QColor(0x00, 0x80, 0x00), const QColor "eDepth2=QColor(0x00, 0x80, 0x00), const QColor "eDepth3=QColor(0x00, 0x80, 0x00))
Use this static method to get proper highlighting for a single line.
Definition: emailquotehighlighter.cpp:80
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.