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

tdespell2

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

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
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdespell2 by doxygen 1.9.4
This website is maintained by Timothy Pearson.