#### PyKDE - Python Bindings for KDE

# class KSpell2.Filter

Table of contents
Modules
kspell2 Classes
All Classes

Module | kspell2
Class | KSpell2.Filter
Inherits |

### methods

- Filter ()

  returns a Filter instance
  In versions KDE 3.3.0 and above only

- atEnd ()

  returns (bool)
  In versions KDE 3.3.0 and above only

- buffer ()

  returns (QString)
  In versions KDE 3.3.0 and above only

- context ()

  returns (QString)
  In versions KDE 3.3.0 and above only

- currentPosition ()

  returns (int)
  In versions KDE 3.3.0 and above only

- defaultFilter ()

  returns (KSpell2.Filter)
  In versions KDE 3.3.0 and above only
  static

- end ()

  returns (KSpell2.Word)
  In versions KDE 3.3.0 and above only
  static

- ignore (word)

  returns (bool)
  In versions KDE 3.3.0 and above only

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

- nextWord ()

  returns (KSpell2.Word)
  In versions KDE 3.3.0 and above only

- previousWord ()

  returns (KSpell2.Word)
  In versions KDE 3.3.0 and above only

- replace (w, newWord)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  w | KSpell2.Word |
  newWord | QString |

- restart ()

  returns nothing
  In versions KDE 3.3.0 and above only

- setBuffer (buffer)

  returns nothing
  In versions KDE 3.3.0 and above only

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

- setCurrentPosition (a0)

  returns nothing
  In versions KDE 3.3.0 and above only

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

- setSettings (a0)

  returns nothing
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  a0 | KSpell2.Settings |

- settings ()

  returns (KSpell2.Settings)
  In versions KDE 3.3.0 and above only

- shouldBeSkipped (wordWasUppercase, wordWasRunTogether, foundWord)

  returns (bool)
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  wordWasUppercase | bool |
  wordWasRunTogether | bool |
  foundWord | QString |

- skipToLetter ()

  returns (QChar) fromPosition (uint)
  In versions KDE 3.3.0 and above only

- trySkipLinks ()

  returns (bool)
  In versions KDE 3.3.0 and above only

- wordAtPosition (pos)

  returns (KSpell2.Word)
  In versions KDE 3.3.0 and above only

  Argument | Type | Default
  --- | --- | ---
  pos | uint |