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

tdespell2

  • tdespell2
broker.h
1 // -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
22 #ifndef TDESPELL_BROKER_H
23 #define TDESPELL_BROKER_H
24 
25 #include <ksharedptr.h>
26 
27 #include <tqobject.h>
28 #include <tqstringlist.h>
29 #include <tqstring.h>
30 
31 class TDESharedConfig;
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 TDEShared
50  {
51  Q_OBJECT
52  public:
53  typedef TDESharedPtr<Broker> Ptr;
68  static Broker *openBroker( TDESharedConfig *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( TDESharedConfig *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::Dictionary
Class is returned by from Broker.
Definition: dictionary.h:37
KSpell2
tdespell_hspellclient.h
Definition: backgroundchecker.h:28
KSpell2::Broker
Class used to deal with dictionaries.
Definition: broker.h:48

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.13
This website is maintained by Timothy Pearson.