21 #ifndef TDESPELL_SETTINGS_H
22 #define TDESPELL_SETTINGS_H
24 #include <tqstringlist.h>
26 #include <tdelibs_export.h>
28 class TDESharedConfig;
34 class TDE_EXPORT Settings
39 void setDefaultLanguage(
const TQString& lang );
40 TQString defaultLanguage()
const;
42 void setDefaultClient(
const TQString& client );
43 TQString defaultClient()
const;
45 void setCheckUppercase(
bool );
46 bool checkUppercase()
const;
48 void setSkipRunTogether(
bool );
49 bool skipRunTogether()
const;
51 void setBackgroundCheckerEnabled(
bool );
52 bool backgroundCheckerEnabled()
const;
54 void setCurrentIgnoreList(
const TQStringList& ignores );
55 void addWordToIgnore(
const TQString& word );
56 TQStringList currentIgnoreList()
const;
57 bool ignore(
const TQString& word );
61 TDESharedConfig *sharedConfig()
const;
65 void readIgnoreList();
66 void setQuietIgnoreList(
const TQStringList& ignores );
70 Settings( Broker *broker, TDESharedConfig *config );