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

kspell2

  • kspell2
broker.h
1 // -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
22 #ifndef KSPELL_BROKER_H
23 #define KSPELL_BROKER_H
24 
25 #include <ksharedptr.h>
26 
27 #include <tqobject.h>
28 #include <tqstringlist.h>
29 #include <tqstring.h>
30 
31 class KSharedConfig;
32 template <typename T>
33 class TQPtrDict;
34 
35 namespace KSpell2
36 {
37  class Settings;
38  class Dictionary;
39  class DefaultDictionary;
40 
48  class KDE_EXPORT Broker : public TQObject,
49  public KShared
50  {
51  Q_OBJECT
52  public:
53  typedef KSharedPtr<Broker> Ptr;
68  static Broker *openBroker( KSharedConfig *config = 0 );
69 
70  public:
71  ~Broker();
72 
80  DefaultDictionary *defaultDictionary() const;
81 
96  Dictionary *dictionary(
97  const TQString& language = TQString::null,
98  const TQString& client = TQString::null ) const;
99 
103  TQStringList clients() const;
104 
108  TQStringList languages() const;
109 
113  Settings *settings() const;
114  signals:
119  void configurationChanged();
120 
121  protected:
122  friend class Settings;
123  void changed();
124  private:
125  Broker( KSharedConfig *config );
126  void loadPlugins();
127  void loadPlugin( const TQString& );
128  private:
129  class Private;
130  Private *d;
131  private:
132  static TQPtrDict<Broker> *s_brokers;
133  };
134 }
135 
136 #endif
KSpell2::Broker
Class used to deal with dictionaries.
Definition: broker.h:50
KSpell2::Broker::configurationChanged
void configurationChanged()
Signal is emitted whenever the Settings object associated with this Broker changes.
KSpell2::Dictionary
Class is returned by from Broker.
Definition: dictionary.h:38
KSpell2
kspell_hspellclient.h
Definition: backgroundchecker.h:29

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.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |