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

kspell2

  • kspell2
  • plugins
  • aspell
kspell_aspelldict.h
1 
21 #ifndef KSPELL_ASPELLDICT_H
22 #define KSPELL_ASPELLDICT_H
23 
24 #include "dictionary.h"
25 
26 #include "aspell.h"
27 
28 class ASpellDict : public KSpell2::Dictionary
29 {
30 public:
31  ASpellDict( const TQString& lang );
32  ~ASpellDict();
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  AspellConfig *m_config;
47  AspellSpeller *m_speller;
48 };
49 
50 #endif
ASpellDict::suggest
virtual TQStringList suggest(const TQString &word)
Fetches suggestions for the word.
Definition: kspell_aspelldict.cpp:61
ASpellDict::addToSession
virtual bool addToSession(const TQString &word)
Adds word to the words recognizable in the current session.
Definition: kspell_aspelldict.cpp:119
ASpellDict::check
virtual bool check(const TQString &word)
Checks the given word.
Definition: kspell_aspelldict.cpp:53
ASpellDict::checkAndSuggest
virtual bool checkAndSuggest(const TQString &word, TQStringList &suggestions)
Checks the word and fetches suggestions for it.
Definition: kspell_aspelldict.cpp:87
ASpellDict::addToPersonal
virtual bool addToPersonal(const TQString &word)
Adds word to the list of of personal words.
Definition: kspell_aspelldict.cpp:106
ASpellDict
kspell_aspelldict.h
Definition: kspell_aspelldict.h:28
KSpell2::Dictionary
Class is returned by from Broker.
Definition: dictionary.h:37
ASpellDict::storeReplacement
virtual bool storeReplacement(const TQString &bad, const TQString &good)
Stores user defined good replacement for the bad word.
Definition: kspell_aspelldict.cpp:96

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