21 #ifndef TDESPELL_BROKER_H
22 #define TDESPELL_BROKER_H
24 #include <ksharedptr.h>
27 #include <tqstringlist.h>
30 class TDESharedConfig;
38 class DefaultDictionary;
47 class TDE_EXPORT
Broker :
public TQObject,
52 typedef TDESharedPtr<Broker> Ptr;
67 static Broker *openBroker( TDESharedConfig *config = 0 );
79 DefaultDictionary *defaultDictionary()
const;
96 const TQString& language = TQString::null,
97 const TQString& client = TQString::null )
const;
102 TQStringList clients()
const;
107 TQStringList languages()
const;
112 Settings *settings()
const;
121 friend class Settings;
124 Broker( TDESharedConfig *config );
126 void loadPlugin(
const TQString& );
131 static TQPtrDict<Broker> *s_brokers;
Class used to deal with dictionaries.
void configurationChanged()
Signal is emitted whenever the Settings object associated with this Broker changes.
Class is returned by from Broker.