Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
Protected Attributes |
List of all members
KSpell2::Filter Class Reference
#include <filter.h>
Public Member Functions | |
void | setSettings (Settings *) |
Settings * | settings () const |
bool | atEnd () const |
void | setBuffer (const TQString &buffer) |
TQString | buffer () const |
void | restart () |
virtual Word | nextWord () const |
virtual Word | previousWord () const |
virtual Word | wordAtPosition (unsigned int pos) const |
virtual void | setCurrentPosition (int) |
virtual int | currentPosition () const |
virtual void | replace (const Word &w, const TQString &newWord) |
virtual TQString | context () const |
Static Public Member Functions | |
static Filter * | defaultFilter () |
static Word | end () |
Protected Attributes | |
TQString | m_buffer |
uint | m_currentPosition |
Detailed Description
Filter is used to split text into words which will be spell checked.
used to split text into words
Member Function Documentation
◆ context()
|
virtual |
Should return the sentence containing the current word.
Definition at line 218 of file filter.cpp.
◆ setSettings()
void KSpell2::Filter::setSettings | ( | Settings * | conf | ) |
Sets the Settings object for this Filter.
Definition at line 71 of file filter.cpp.
◆ settings()
Settings * KSpell2::Filter::settings | ( | ) | const |
Returns currently used Settings object.
Definition at line 76 of file filter.cpp.
The documentation for this class was generated from the following files: