kmail

KMSyntaxHighter Class Reference

#include <kmedit.h>

Inherits KDictSpellingHighlighter.

Public Member Functions

 KMSyntaxHighter (TQTextEdit *textEdit, bool spellCheckingActive=true, bool autoEnable=true, const TQColor &spellColor=red, bool colorQuoting=false, const TQColor &QuoteColor0=black, const TQColor &QuoteColor1=TQColor(0x00, 0x80, 0x00), const TQColor &QuoteColor2=TQColor(0x00, 0x70, 0x00), const TQColor &QuoteColor3=TQColor(0x00, 0x60, 0x00), KSpellConfig *spellConfig=0)
 
virtual bool isMisspelled (const TQString &word)
 
void ignoreWord (const TQString &word)
 
TQStringList ignoredWords () const
 

Detailed Description

Reimplemented to add support for ignored words.

Definition at line 40 of file kmedit.h.

Constructor & Destructor Documentation

◆ KMSyntaxHighter()

KMSyntaxHighter::KMSyntaxHighter ( TQTextEdit *  textEdit,
bool  spellCheckingActive = true,
bool  autoEnable = true,
const TQColor &  spellColor = red,
bool  colorQuoting = false,
const TQColor &  QuoteColor0 = black,
const TQColor &  QuoteColor1 = TQColor( 0x00, 0x80, 0x00 ),
const TQColor &  QuoteColor2 = TQColor( 0x00, 0x70, 0x00 ),
const TQColor &  QuoteColor3 = TQColor( 0x00, 0x60, 0x00 ),
KSpellConfig *  spellConfig = 0 
)

Definition at line 368 of file kmedit.cpp.

Member Function Documentation

◆ ignoredWords()

TQStringList KMSyntaxHighter::ignoredWords ( ) const

Definition at line 398 of file kmedit.cpp.

◆ ignoreWord()

void KMSyntaxHighter::ignoreWord ( const TQString &  word)

Definition at line 393 of file kmedit.cpp.

◆ isMisspelled()

bool KMSyntaxHighter::isMisspelled ( const TQString &  word)
virtual

Reimplemented.

Definition at line 383 of file kmedit.cpp.


The documentation for this class was generated from the following files: