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

kspell2

  • kspell2
  • plugins
  • ispell
kspell_ispelldict.h
1 
21 #ifndef KSPELL_ASPELLDICT_H
22 #define KSPELL_ASPELLDICT_H
23 
24 #include "dictionary.h"
25 
26 class ISpellChecker;
27 
28 class ISpellDict : public KSpell2::Dictionary
29 {
30 public:
31  ISpellDict( const TQString& lang );
32  ~ISpellDict();
33  virtual bool check( const TQString& word );
34 
35  virtual TQStringList suggest( const TQString& word );
36 
37  virtual bool checkAndSuggest( const TQString& word,
38  TQStringList& suggestions ) ;
39 
40  virtual bool storeReplacement( const TQString& bad,
41  const TQString& good );
42 
43  virtual bool addToPersonal( const TQString& word );
44  virtual bool addToSession( const TQString& word );
45 private:
46  ISpellChecker *m_checker;
47 };
48 
49 #endif
KSpell2::Dictionary
Class is returned by from Broker.
Definition: dictionary.h:38
KSpell2::Dictionary::checkAndSuggest
virtual bool checkAndSuggest(const TQString &word, TQStringList &suggestions)=0
Checks the word and fetches suggestions for it.
KSpell2::Dictionary::addToSession
virtual bool addToSession(const TQString &word)=0
Adds word to the words recognizable in the current session.
KSpell2::Dictionary::addToPersonal
virtual bool addToPersonal(const TQString &word)=0
Adds word to the list of of personal words.
KSpell2::Dictionary::storeReplacement
virtual bool storeReplacement(const TQString &bad, const TQString &good)=0
Stores user defined good replacement for the bad word.
KSpell2::Dictionary::suggest
virtual TQStringList suggest(const TQString &word)=0
Fetches suggestions for the word.
KSpell2::Dictionary::check
virtual bool check(const TQString &word)=0
Checks the given word.

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.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |