• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kspell2
 

kspell2

  • KSpell2
  • Filter
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 Member Functions

bool trySkipLinks () const
 
bool ignore (const TQString &word) const
 
TQChar skipToLetter (uint &fromPosition) const
 
bool shouldBeSkipped (bool wordWasUppercase, bool wordWasRunTogether, const TQString &foundWord) const
 

Protected Attributes

TQString m_buffer
 
uint m_currentPosition
 

Detailed Description

Filter is used to split text into words which will be spell checked.

Author
Zack Rusin zack@.nosp@m.kde..nosp@m.org used to split text into words

Definition at line 65 of file filter.h.

Member Function Documentation

TQString KSpell2::Filter::context ( ) const
virtual

Should return the sentence containing the current word.

Definition at line 219 of file filter.cpp.

void KSpell2::Filter::setSettings ( Settings *  conf)

Sets the Settings object for this Filter.

Definition at line 72 of file filter.cpp.

Settings * KSpell2::Filter::settings ( ) const

Returns currently used Settings object.

Definition at line 77 of file filter.cpp.


The documentation for this class was generated from the following files:
  • filter.h
  • filter.cpp

kspell2

Skip menu "kspell2"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kspell2

Skip menu "kspell2"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kspell2 by doxygen 1.8.11
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |