#### PyKDE - Python Bindings for KDE

# class KDictSpellingHighlighter

Table of contents
Modules
kspell Classes
All Classes

Module | kspell
Class | KDictSpellingHighlighter
Inherits | QObject, KSpellingHighlighter

### methods

- KDictSpellingHighlighter (textEdit, spellCheckingActive = 1, autoEnable = 1, spellColor = Qt .red, colorQuoting = 0, QuoteColor0 = Qt .black, QuoteColor1 = QColor (0x00 ,0x80 ,0x00 ), QuoteColor2 = QColor (0x00 ,0x70 ,0x00 ), QuoteColor3 = QColor (0x00 ,0x60 ,0x00 ), spellConfig = 0)

  returns a KDictSpellingHighlighter instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  textEdit | QTextEdit |
  spellCheckingActive | bool | 1
  autoEnable | bool | 1
  spellColor | QColor | Qt .red
  colorQuoting | bool | 0
  QuoteColor0 | QColor | Qt .black
  QuoteColor1 | QColor | QColor (0x00 ,0x80 ,0x00 )
  QuoteColor2 | QColor | QColor (0x00 ,0x70 ,0x00 )
  QuoteColor3 | QColor | QColor (0x00 ,0x60 ,0x00 )
  spellConfig | KSpellConfig | 0

- activeChanged (a0)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | QString |

- automatic ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- dictionaryChanged ()

  returns nothing
  In versions KDE 3.2.0 and above only
  static

- eventFilter (o, e)

  returns (bool)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  o | QObject |
  e | QEvent |

- isActive ()

  returns (bool)
  In versions KDE 3.2.0 and above only

- isMisspelled (word)

  returns (bool)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  word | QString |

- newSuggestions (originalword, suggestions, pos)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  originalword | QString |
  suggestions | QStringList |
  pos | uint |

- restartBackgroundSpellCheck ()

  returns nothing
  In versions KDE 3.2.0 and above only

- setActive (active)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  active | bool |

- setAutomatic (automatic)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  automatic | bool |

- slotAutoDetection ()

  returns nothing
  In versions KDE 3.2.0 and above only

- slotCorrected (originalWord, a0, a1)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  originalWord | QString |
  a0 | QString |
  a1 | uint |

- slotDictionaryChanged ()

  returns nothing
  In versions KDE 3.2.0 and above only

- slotKSpellNotResponding ()

  returns nothing
  In versions KDE 3.2.0 and above only

- slotLocalSpellConfigChanged ()

  returns nothing
  In versions KDE 3.2.0 and above only

- slotMisspelling (originalWord, suggestions, pos)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  originalWord | QString |
  suggestions | QStringList |
  pos | uint |

- slotRehighlight ()

  returns nothing
  In versions KDE 3.2.0 and above only

- slotSpellReady (spell)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  spell | KSpell |

- spellKey ()

  returns (QString)
  In versions KDE 3.2.0 and above only