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

tdespell2

  • 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 64 of file filter.h.

Member Function Documentation

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

Should return the sentence containing the current word.

Definition at line 218 of file filter.cpp.

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

Sets the Settings object for this Filter.

Definition at line 71 of file filter.cpp.

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:
  • filter.h
  • filter.cpp

tdespell2

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

tdespell2

Skip menu "tdespell2"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  •     tdecore
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  • tdeioslave
  •   http
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdespell2 by doxygen 1.8.8
This website is maintained by Timothy Pearson.