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

tdespell2

  • tdespell2
settings.h
1 // -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
22 #ifndef TDESPELL_SETTINGS_H
23 #define TDESPELL_SETTINGS_H
24 
25 #include <tqstringlist.h>
26 #include <tqstring.h>
27 #include <tdelibs_export.h>
28 
29 class TDESharedConfig;
30 
31 namespace KSpell2
32 {
33  class Broker;
34 
35  class KDE_EXPORT Settings
36  {
37  public:
38  ~Settings();
39 
40  void setDefaultLanguage( const TQString& lang );
41  TQString defaultLanguage() const;
42 
43  void setDefaultClient( const TQString& client );
44  TQString defaultClient() const;
45 
46  void setCheckUppercase( bool );
47  bool checkUppercase() const;
48 
49  void setSkipRunTogether( bool );
50  bool skipRunTogether() const;
51 
52  void setBackgroundCheckerEnabled( bool );
53  bool backgroundCheckerEnabled() const;
54 
55  void setCurrentIgnoreList( const TQStringList& ignores );
56  void addWordToIgnore( const TQString& word );
57  TQStringList currentIgnoreList() const;
58  bool ignore( const TQString& word );
59 
60  void save();
61 
62  TDESharedConfig *sharedConfig() const;
63 
64  private:
65  void loadConfig();
66  void readIgnoreList();
67  void setQuietIgnoreList( const TQStringList& ignores );
68 
69  private:
70  friend class Broker;
71  Settings( Broker *broker, TDESharedConfig *config );
72  private:
73  class Private;
74  Private *d;
75  };
76 }
77 
78 #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
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdespell2 by doxygen 1.8.11
This website is maintained by Timothy Pearson.