kdeui
KSpellingHighlighter Class Reference
#include <ksyntaxhighlighter.h>
Inheritance diagram for KSpellingHighlighter:
Public Member Functions | |
virtual int | highlightParagraph (const QString &text, int endStateOfLastPara) |
bool | intraWordEditing () const |
virtual bool | isMisspelled (const QString &word)=0 |
KSpellingHighlighter (QTextEdit *textEdit, const QColor &spellColor=red, bool colorQuoting=false, const QColor &QuoteColor0=black, const QColor &QuoteColor1=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor2=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor3=QColor(0x00, 0x80, 0x00)) | |
void | setIntraWordEditing (bool editing) |
~KSpellingHighlighter () | |
Static Public Member Functions | |
static QStringList | personalWords () |
Detailed Description
Definition at line 65 of file ksyntaxhighlighter.h.
Constructor & Destructor Documentation
KSpellingHighlighter::KSpellingHighlighter | ( | QTextEdit * | textEdit, | |
const QColor & | spellColor = red , |
|||
bool | colorQuoting = false , |
|||
const QColor & | QuoteColor0 = black , |
|||
const QColor & | QuoteColor1 = QColor( 0x00, 0x80, 0x00 ) , |
|||
const QColor & | QuoteColor2 = QColor( 0x00, 0x80, 0x00 ) , |
|||
const QColor & | QuoteColor3 = QColor( 0x00, 0x80, 0x00 ) | |||
) |
Definition at line 165 of file ksyntaxhighlighter.cpp.
KSpellingHighlighter::~KSpellingHighlighter | ( | ) |
Definition at line 179 of file ksyntaxhighlighter.cpp.
Member Function Documentation
int KSpellingHighlighter::highlightParagraph | ( | const QString & | text, | |
int | endStateOfLastPara | |||
) | [virtual] |
bool KSpellingHighlighter::intraWordEditing | ( | ) | const |
Definition at line 412 of file ksyntaxhighlighter.cpp.
virtual bool KSpellingHighlighter::isMisspelled | ( | const QString & | word | ) | [pure virtual] |
Implemented in KDictSpellingHighlighter.
QStringList KSpellingHighlighter::personalWords | ( | ) | [static] |
Definition at line 231 of file ksyntaxhighlighter.cpp.
void KSpellingHighlighter::setIntraWordEditing | ( | bool | editing | ) |
Definition at line 417 of file ksyntaxhighlighter.cpp.
The documentation for this class was generated from the following files: