Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
kspell2
kspell2
kspell2
plugins
hspell
kspell_hspelldict.h
1
22
#ifndef KSPELL_HSPELLDICT_H
23
#define KSPELL_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
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