Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tdespell2
tdespell2
tdespell2
plugins
hspell
tdespell_hspelldict.h
1
22
#ifndef TDESPELL_HSPELLDICT_H
23
#define TDESPELL_HSPELLDICT_H
24
25
#include "dictionary.h"
26
/* libhspell is a C library and it does not have #ifdef __cplusplus */
27
extern
"C"
{
28
#include "hspell.h"
29
}
30
31
class
HSpellDict
:
public
KSpell2::Dictionary
32
{
33
public
:
34
HSpellDict
(
const
TQString& lang );
35
~
HSpellDict
();
36
virtual
bool
check
(
const
TQString& word );
37
38
virtual
TQStringList
suggest
(
const
TQString& word );
39
40
virtual
bool
checkAndSuggest
(
const
TQString& word,
41
TQStringList& suggestions ) ;
42
43
virtual
bool
storeReplacement
(
const
TQString& bad,
44
const
TQString& good );
45
46
virtual
bool
addToPersonal
(
const
TQString& word );
47
virtual
bool
addToSession
(
const
TQString& word );
48
private
:
49
struct
dict_radix *m_speller;
50
TQTextCodec *codec;
51
};
52
53
#endif
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