• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdespell2
 

tdespell2

  • tdespell2
settings.h
1 
21 #ifndef TDESPELL_SETTINGS_H
22 #define TDESPELL_SETTINGS_H
23 
24 #include <tqstringlist.h>
25 #include <tqstring.h>
26 #include <tdelibs_export.h>
27 
28 class TDESharedConfig;
29 
30 namespace KSpell2
31 {
32  class Broker;
33 
34  class KDE_EXPORT Settings
35  {
36  public:
37  ~Settings();
38 
39  void setDefaultLanguage( const TQString& lang );
40  TQString defaultLanguage() const;
41 
42  void setDefaultClient( const TQString& client );
43  TQString defaultClient() const;
44 
45  void setCheckUppercase( bool );
46  bool checkUppercase() const;
47 
48  void setSkipRunTogether( bool );
49  bool skipRunTogether() const;
50 
51  void setBackgroundCheckerEnabled( bool );
52  bool backgroundCheckerEnabled() const;
53 
54  void setCurrentIgnoreList( const TQStringList& ignores );
55  void addWordToIgnore( const TQString& word );
56  TQStringList currentIgnoreList() const;
57  bool ignore( const TQString& word );
58 
59  void save();
60 
61  TDESharedConfig *sharedConfig() const;
62 
63  private:
64  void loadConfig();
65  void readIgnoreList();
66  void setQuietIgnoreList( const TQStringList& ignores );
67 
68  private:
69  friend class Broker;
70  Settings( Broker *broker, TDESharedConfig *config );
71  private:
72  class Private;
73  Private *d;
74  };
75 }
76 
77 #endif
KSpell2
tdespell_hspellclient.h
Definition: backgroundchecker.h:28

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
Generated for tdespell2 by doxygen 1.8.8
This website is maintained by Timothy Pearson.