class KSpell

#### PyKDE - Python Bindings for KDE

# class KSpell |
Table of contents
Modules
tdespell Classes
All Classes

Module | tdespell
Class | KSpell
Inherits | TQObject

### 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 | TQWidget |
  caption | TQString |
  receiver | TQObject |
  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 | TQWidget |
  caption | TQString |
  receiver | TQObject |
  slot | char |
  kcs | KSpellConfig |
  progressbar | bool |
  modal | bool |
  type | KSpell.SpellerType |

- KSpell2 (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEProcIO |

- addPersonal (word)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  word | TQString |

- addword (originalword)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  originalword | TQString |

- check (_buffer, usedialog = 1)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  _buffer | TQString |
  usedialog | bool | 1

- check2 (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEProcIO |

- check3 ()

  returns nothing

- checkList (_wordlist, usedialog = 1)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  _wordlist | TQStringList |
  usedialog | bool | 1

- checkList2 ()

  returns nothing

- checkList3a (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEProcIO |

- 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 | TQString |
  usedialog | bool | 0

- checkWord (buffer, _usedialog, suggest)

  returns (bool)
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  buffer | TQString |
  _usedialog | bool |
  suggest | bool |

- checkWord2 (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEProcIO |

- checkWord3 ()

  returns nothing

- cleanFputs (s, appendCR = 1)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  s | TQString |
  appendCR | bool | 1

- cleanFputsWord (s, appendCR = 1)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  s | TQString |
  appendCR | bool | 1

- cleanUp ()

  returns nothing

- corrected (originalword, newword, pos)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  originalword | TQString |
  newword | TQString |
  pos | uint |

- death ()

  returns nothing

- dialog (word, sugg, _slot)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  word | TQString |
  sugg | TQStringList |
  _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 | TQString |

- done (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | bool |

- emitDeath ()

  returns nothing

- emitProgress ()

  returns nothing

- funnyWord (word)

  returns (TQString)
  Argument | Type | Default
  --- | --- | ---
  word | TQString |

- heightDlg ()

  returns (int)

- hide ()

  returns nothing

- ignore (word)

  returns (bool)
  Argument | Type | Default
  --- | --- | ---
  word | TQString |

- ignoreall (originalword)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  originalword | TQString |

- ignoreword (originalword)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  originalword | TQString |

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

  returns nothing
  In versions KDE 3.2.0 and above only
  Argument | Type | Default
  --- | --- | ---
  _parent | TQWidget |
  _caption | TQString |
  slot | TQ_SLOT (Python callable) |
  _ksc | KSpellConfig |
  _progressbar | bool |
  _modal | bool |
  type | KSpell.SpellerType |

- intermediateBuffer ()

  returns (TQString)

- ispellErrors (a0, a1, a2)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEProcess |
  a1 | char |
  a2 | int |

- ispellExit (a0)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  a0 | TDEProcess |

- ksConfig ()

  returns (KSpellConfig)

- lastPosition ()

  returns (int)

- misspelling (originalword, suggestions, pos)

  returns nothing
  Argument | Type | Default
  --- | --- | ---
  originalword | TQString |
  suggestions | TQStringList |
  pos | uint |

- modalCheck (text)

  returns (int)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |

- modalCheck (text, kcs)

  returns (int)
  static
  Argument | Type | Default
  --- | --- | ---
  text | TQString |
  kcs | KSpellConfig |

- moveDlg (x, y)

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

- parseOneResponse (_buffer, word, sugg)

  returns (int)
  Argument | Type | Default
  --- | --- | ---
  _buffer | TQString |
  word | TQString |
  sugg | TQStringList |

- 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 | TQString |
  replacement | TQString |

- replacement ()

  returns (TQString)

- 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 | TDEProcIO |

- suggestions ()

  returns (TQStringList)

- widthDlg ()

  returns (int)

- writePersonalDictionary ()

  returns (bool)