18 #ifndef KDELIBS_KSCONFIG_H
19 #define KDELIBS_KSCONFIG_H
23 #include <tqstringlist.h>
25 #include <tdelibs_export.h>
32 class KSpellConfigPrivate;
104 KSpellConfig *spellConfig=0,
bool addHelpButton =
true );
134 void fillDicts( TQComboBox* box, TQStringList* dictionaries = 0 );
150 void setIgnoreList( TQStringList _ignorelist );
157 void setReplaceAllList( TQStringList _replaceAllList );
164 void setNoRootAffix(
bool );
171 void setRunTogether(
bool );
176 void setDictionary(
const TQString qs );
177 void setDictFromList(
bool dfl );
183 void setEncoding(
int enctype );
184 void setClient(
int client );
189 bool noRootAffix()
const;
190 bool runTogether()
const;
191 const TQString dictionary()
const;
192 bool dictFromList()
const;
194 int encoding()
const;
195 TQStringList ignoreList()
const;
196 TQStringList replaceAllList()
const;
205 bool writeGlobalSettings();
207 bool readGlobalSettings();
224 bool interpret( TQString &fname, TQString &lname, TQString &hname );
236 void activateHelp(
void );
247 void sRunTogether(
bool );
248 void sDictionary(
bool );
249 void sPathDictionary(
bool );
250 void sSetDictionary(
int );
251 void sChangeEncoding(
int );
252 void sChangeClient(
int );
265 TQStringList ignorelist;
266 enum {rdictlist=3, rencoding=4, rhelp=6};
270 TQCheckBox *cb1, *cb2;
275 TQComboBox *dictcombo, *encodingcombo, *clientcombo;
277 TQStringList langfnames;
280 void configChanged();
283 KSpellConfigPrivate *d;
284 void getAvailDictsIspell();
285 void getAvailDictsAspell();
A configuration class/dialog for KSpell.