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

kspell2

  • kspell2
settings.h
1 // -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
22 #ifndef KSPELL_SETTINGS_H
23 #define KSPELL_SETTINGS_H
24 
25 #include <tqstringlist.h>
26 #include <tqstring.h>
27 #include <kdelibs_export.h>
28 
29 class KSharedConfig;
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  KSharedConfig *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, KSharedConfig *config );
72  private:
73  class Private;
74  Private *d;
75  };
76 }
77 
78 #endif
KSpell2
kspell_hspellclient.h
Definition: backgroundchecker.h:28

kspell2

Skip menu "kspell2"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kspell2

Skip menu "kspell2"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kspell2 by doxygen 1.8.8
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |