KDictSpellingHighlighter Class Reference
Dictionary sensitive text highlighter. More...
#include <ksyntaxhighlighter.h>
Inheritance diagram for KDictSpellingHighlighter:


Signals | |
void | activeChanged (const QString &) |
void | newSuggestions (const QString &originalword, const QStringList &suggestions, unsigned int pos) |
Public Member Functions | |
KDictSpellingHighlighter (QTextEdit *textEdit, bool spellCheckingActive=true, bool autoEnable=true, const QColor &spellColor=red, bool colorQuoting=false, const QColor &QuoteColor0=black, const QColor &QuoteColor1=QColor(0x00, 0x80, 0x00), const QColor &QuoteColor2=QColor(0x00, 0x70, 0x00), const QColor &QuoteColor3=QColor(0x00, 0x60, 0x00), KSpellConfig *spellConfig=0) | |
virtual bool | isMisspelled (const QString &word) |
void | restartBackgroundSpellCheck () |
void | setActive (bool active) |
bool | isActive () const |
void | setAutomatic (bool automatic) |
bool | automatic () const |
Static Public Member Functions | |
void | dictionaryChanged () |
Protected Slots | |
void | slotMisspelling (const QString &originalWord, const QStringList &suggestions, unsigned int pos) |
void | slotCorrected (const QString &originalWord, const QString &, unsigned int) |
void | slotRehighlight () |
void | slotDictionaryChanged () |
void | slotSpellReady (KSpell *spell) |
void | slotAutoDetection () |
void | slotLocalSpellConfigChanged () |
void | slotKSpellNotResponding () |
Protected Member Functions | |
QString | spellKey () |
bool | eventFilter (QObject *o, QEvent *e) |
Detailed Description
Dictionary sensitive text highlighter.
Definition at line 94 of file ksyntaxhighlighter.h.
Member Function Documentation
|
Enable/Disable spell checking.
If
Definition at line 463 of file ksyntaxhighlighter.cpp. References QSyntaxHighlighter::rehighlight(), and setActive(). Referenced by setActive(). |
|
Returns the state of spell checking.
Definition at line 476 of file ksyntaxhighlighter.cpp. |
|
En-/Disable automatic (de)activation in case of too many errors.
If
Definition at line 481 of file ksyntaxhighlighter.cpp. References setAutomatic(). Referenced by setAutomatic(). |
|
Returns the state of automatic (de)activation.
Definition at line 491 of file ksyntaxhighlighter.cpp. |
The documentation for this class was generated from the following files: