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

tdespell2

  • tdespell2
broker.h
1
21#ifndef TDESPELL_BROKER_H
22#define TDESPELL_BROKER_H
23
24#include <ksharedptr.h>
25
26#include <tqobject.h>
27#include <tqstringlist.h>
28#include <tqstring.h>
29
30class TDESharedConfig;
31template <typename T>
32class TQPtrDict;
33
34namespace KSpell2
35{
36 class Settings;
37 class Dictionary;
38 class DefaultDictionary;
39
47 class TDE_EXPORT Broker : public TQObject,
48 public TDEShared
49 {
50 TQ_OBJECT
51 public:
52 typedef TDESharedPtr<Broker> Ptr;
67 static Broker *openBroker( TDESharedConfig *config = 0 );
68
69 public:
70 ~Broker();
71
79 DefaultDictionary *defaultDictionary() const;
80
95 Dictionary *dictionary(
96 const TQString& language = TQString::null,
97 const TQString& client = TQString::null ) const;
98
102 TQStringList clients() const;
103
107 TQStringList languages() const;
108
112 Settings *settings() const;
113 signals:
118 void configurationChanged();
119
120 protected:
121 friend class Settings;
122 void changed();
123 private:
124 Broker( TDESharedConfig *config );
125 void loadPlugins();
126 void loadPlugin( const TQString& );
127 private:
128 class Private;
129 Private *d;
130 private:
131 static TQPtrDict<Broker> *s_brokers;
132 };
133}
134
135#endif
KSpell2::Broker
Class used to deal with dictionaries.
Definition: broker.h:49
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:37
KSpell2
tdespell_hspellclient.h
Definition: backgroundchecker.h:29

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