22 #ifndef TDESPELL_SETTINGS_H
23 #define TDESPELL_SETTINGS_H
25 #include <tqstringlist.h>
27 #include <tdelibs_export.h>
29 class TDESharedConfig;
35 class KDE_EXPORT Settings
40 void setDefaultLanguage(
const TQString& lang );
41 TQString defaultLanguage()
const;
43 void setDefaultClient(
const TQString& client );
44 TQString defaultClient()
const;
46 void setCheckUppercase(
bool );
47 bool checkUppercase()
const;
49 void setSkipRunTogether(
bool );
50 bool skipRunTogether()
const;
52 void setBackgroundCheckerEnabled(
bool );
53 bool backgroundCheckerEnabled()
const;
55 void setCurrentIgnoreList(
const TQStringList& ignores );
56 void addWordToIgnore(
const TQString& word );
57 TQStringList currentIgnoreList()
const;
58 bool ignore(
const TQString& word );
62 TDESharedConfig *sharedConfig()
const;
66 void readIgnoreList();
67 void setQuietIgnoreList(
const TQStringList& ignores );
71 Settings( Broker *broker, TDESharedConfig *config );