#### PyKDE - Python Bindings for KDE

# class KSpell

Table of contents
Modules
kspell Classes
All Classes

Module | kspell
Class | KSpell
Inherits | QObject

### enums

- SpellerType = {Text, HTML, TeX, Nroff }
- spellStatus = {Starting, Running, Cleaning, Finished, Error, Crashed, FinishedNoMisspellingsEncountered }
- spellStatus = {Starting, Running, Cleaning, Finished, Error, Crashed }

### methods

- KSpell (parent, caption, receiver, slot, kcs = 0, progressbar = 1, modal = 0)

  returns a KSpell instance

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget |
  caption | QString |
  receiver | QObject |
  slot | char |
  kcs | KSpellConfig | 0
  progressbar | bool | 1
  modal | bool | 0

- KSpell (parent, caption, receiver, slot, kcs, progressbar, modal, type)

  returns a KSpell instance
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  parent | QWidget |
  caption | QString |
  receiver | QObject |
  slot | char |
  kcs | KSpellConfig |
  progressbar | bool |
  modal | bool |
  type | KSpell.SpellerType |

- KSpell2 (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KProcIO |

- addPersonal (word)

  returns (bool)

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

- addword (originalword)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  originalword | QString |

- check (_buffer, usedialog = 1)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  _buffer | QString |
  usedialog | bool | 1

- check2 (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KProcIO |

- check3 ()

  returns nothing

- checkList (_wordlist, usedialog = 1)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  _wordlist | QStringList |
  usedialog | bool | 1

- checkList2 ()

  returns nothing

- checkList3a (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KProcIO |

- checkList4 ()

  returns nothing

- checkListReplaceCurrent ()

  returns nothing

- checkNext ()

  returns nothing
  In versions KDE 3.2.0 and above only

- checkWord (_buffer, usedialog = 0)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  _buffer | QString |
  usedialog | bool | 0

- checkWord (buffer, _usedialog, suggest)

  returns (bool)
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  buffer | QString |
  _usedialog | bool |
  suggest | bool |

- checkWord2 (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KProcIO |

- checkWord3 ()

  returns nothing

- cleanFputs (s, appendCR = 1)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  s | QString |
  appendCR | bool | 1

- cleanFputsWord (s, appendCR = 1)

  returns (bool)

  Argument | Type | Default
  --- | --- | ---
  s | QString |
  appendCR | bool | 1

- cleanUp ()

  returns nothing

- corrected (originalword, newword, pos)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  originalword | QString |
  newword | QString |
  pos | uint |

- death ()

  returns nothing

- dialog (word, sugg, _slot)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  word | QString |
  sugg | QStringList |
  _slot | char |

- dialog2 (dlgresult)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  dlgresult | int |

- dialog3 ()

  returns nothing

- dlgResult ()

  returns (int)

- done (buffer)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  buffer | QString |

- done (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- emitDeath ()

  returns nothing

- emitProgress ()

  returns nothing

- funnyWord (word)

  returns (QString)

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

- heightDlg ()

  returns (int)

- hide ()

  returns nothing

- ignore (word)

  returns (bool)

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

- ignoreall (originalword)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  originalword | QString |

- ignoreword (originalword)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  originalword | QString |

- initialize (_parent, _caption, slot, _ksc, _progressbar, _modal, type)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  _parent | QWidget |
  _caption | QString |
  slot | SLOT (Python callable) |
  _ksc | KSpellConfig |
  _progressbar | bool |
  _modal | bool |
  type | KSpell.SpellerType |

- intermediateBuffer ()

  returns (QString)

- ispellErrors (a0, a1, a2)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KProcess |
  a1 | char |
  a2 | int |

- ispellExit (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KProcess |

- ksConfig ()

  returns (KSpellConfig)

- lastPosition ()

  returns (int)

- misspelling (originalword, suggestions, pos)

  returns nothing

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

- modalCheck (text)

  returns (int)
  static

  Argument | Type | Default
  --- | --- | ---
  text | QString |

- modalCheck (text, kcs)

  returns (int)
  static

  Argument | Type | Default
  --- | --- | ---
  text | QString |
  kcs | KSpellConfig |

- moveDlg (x, y)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  x | int |
  y | int |

- parseOneResponse (_buffer, word, sugg)

  returns (int)

  Argument | Type | Default
  --- | --- | ---
  _buffer | QString |
  word | QString |
  sugg | QStringList |

- progress (i)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  i | uint |

- ready (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | KSpell |

- replaceall (origword, replacement)

  returns nothing
  In versions KDE 3.1.0 and above only

  Argument | Type | Default
  --- | --- | ---
  origword | QString |
  replacement | QString |

- replacement ()

  returns (QString)

- setAutoDelete (_autoDelete)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  _autoDelete | bool |

- setIgnoreTitleCase (b)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  b | bool |

- setIgnoreUpperWords (b)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  b | bool |

- setProgressResolution (res)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  res | uint |

- setUpDialog (reallyusedialogbox = 1)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  reallyusedialogbox | bool | 1

- slotStopCancel (a0)

  returns nothing

  Argument | Type | Default
  --- | --- | ---
  a0 | int |

- startIspell ()

  returns nothing

- status ()

  returns (spellStatus)

- suggestWord (a0)

  returns nothing
  In versions KDE 3.2.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | KProcIO |

- suggestions ()

  returns (QStringList)

- widthDlg ()

  returns (int)

- writePersonalDictionary ()

  returns (bool)