KPIMTextedit Library
20 #ifndef KPIMTEXTEDIT_EMAILQUOTEHIGHLIGHTER_H
21 #define KPIMTEXTEDIT_EMAILQUOTEHIGHLIGHTER_H
23 #include "kpimtextedit_export.h"
25 #include <sonnet/highlighter.h>
53 const QColor &normalColor = Qt::black,
54 const QColor "eDepth1 = QColor( 0x00, 0x80, 0x00 ),
55 const QColor "eDepth2 = QColor( 0x00, 0x80, 0x00 ),
56 const QColor "eDepth3 = QColor( 0x00, 0x80, 0x00 ),
57 const QColor &misspelledColor = Qt::red );
71 void setQuoteColor(
const QColor &normalColor,
72 const QColor "eDepth1,
73 const QColor "eDepth2,
74 const QColor "eDepth3,
75 const QColor &misspelledColor = Qt::red );
82 void toggleSpellHighlighting(
bool on );
87 virtual void highlightBlock (
const QString & text );
94 static QString highlightText(
const QString &text,
95 const QColor "eDepth1 = QColor( 0x00, 0x80, 0x00 ),
96 const QColor "eDepth2 = QColor( 0x00, 0x80, 0x00 ),
97 const QColor "eDepth3 = QColor( 0x00, 0x80, 0x00 ) );
103 static QString highlightParagraph(
const QString &text,
104 const QColor "eDepth1 = QColor( 0x00, 0x80, 0x00 ),
105 const QColor "eDepth2 = QColor( 0x00, 0x80, 0x00 ),
106 const QColor "eDepth3 = QColor( 0x00, 0x80, 0x00 ) );
117 virtual void unsetMisspelled(
int start,
int count );
123 virtual void setMisspelled(
int start,
int count );
126 class EMailQuoteHighlighterPrivate;
127 std::auto_ptr<EMailQuoteHighlighterPrivate> d;
Copyright (C) 2006 Laurent Montel montel@kde.org Copyright (C) 2008 Thomas McGuire mcguire@kde....
This highlighter highlights spelling mistakes and also highlightes quotes.
Special textedit that provides additional features which are useful for PIM applications like mail cl...
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.