• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

libkdepim

KPIM::KEMailQuotingHighlighter

KPIM::KEMailQuotingHighlighter Class Reference

#include <kemailquotinghighter.h>

Inheritance diagram for KPIM::KEMailQuotingHighlighter:

Inheritance graph
[legend]

List of all members.


Detailed Description

This highlighter highlights spelling mistakes and also highlightes quotes.

Spelling mistakes inside quotes will not be highlighted. The quote highlighting color is configurable.

Spell highlighting is disabled by default but can be toggled.

Definition at line 42 of file kemailquotinghighter.h.


Public Member Functions

virtual void highlightBlock (const QString &text)
 KEMailQuotingHighlighter (QTextEdit *textEdit, const QColor &normalColor=Qt::black, const QColor &quoteDepth1=QColor(0x00, 0x80, 0x00), const QColor &quoteDepth2=QColor(0x00, 0x80, 0x00), const QColor &quoteDepth3=QColor(0x00, 0x80, 0x00))
void setQuoteColor (const QColor &normalColor, const QColor &quoteDepth1, const QColor &quoteDepth2, const QColor &quoteDepth3)
void toggleSpellHighlighting (bool on)
 ~KEMailQuotingHighlighter ()

Protected Member Functions

virtual void unsetMisspelled (int start, int count)

Constructor & Destructor Documentation

KPIM::KEMailQuotingHighlighter::KEMailQuotingHighlighter ( QTextEdit *  textEdit,
const QColor &  normalColor = Qt::black,
const QColor &  quoteDepth1 = QColor( 0x00, 0x80, 0x00 ),
const QColor &  quoteDepth2 = QColor( 0x00, 0x80, 0x00 ),
const QColor &  quoteDepth3 = QColor( 0x00, 0x80, 0x00 ) 
) [explicit]

Definition at line 45 of file kemailquotinghighter.cpp.

KPIM::KEMailQuotingHighlighter::~KEMailQuotingHighlighter (  ) 

Definition at line 65 of file kemailquotinghighter.cpp.


Member Function Documentation

void KPIM::KEMailQuotingHighlighter::highlightBlock ( const QString &  text  )  [virtual]

Definition at line 89 of file kemailquotinghighter.cpp.

void KPIM::KEMailQuotingHighlighter::setQuoteColor ( const QColor &  normalColor,
const QColor &  quoteDepth1,
const QColor &  quoteDepth2,
const QColor &  quoteDepth3 
)

Definition at line 70 of file kemailquotinghighter.cpp.

void KPIM::KEMailQuotingHighlighter::toggleSpellHighlighting ( bool  on  ) 

Turns spellcheck highlighting on or off.

Parameters:
on if true, spelling mistakes will be highlighted

Definition at line 81 of file kemailquotinghighter.cpp.

void KPIM::KEMailQuotingHighlighter::unsetMisspelled ( int  start,
int  count 
) [protected, virtual]

Definition at line 112 of file kemailquotinghighter.cpp.


The documentation for this class was generated from the following files:
  • kemailquotinghighter.h
  • kemailquotinghighter.cpp

libkdepim

Skip menu "libkdepim"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal