21 #include "kspell_ispellclient.h" 23 #include "kspell_ispelldict.h" 24 #include "ispell_checker.h" 26 #include <kgenericfactory.h> 29 typedef KGenericFactory<ISpellClient> ISpellClientFactory;
30 K_EXPORT_COMPONENT_FACTORY( kspell_ispell, ISpellClientFactory(
"kspell_ispell" ) )
34 ISpellClient::ISpellClient( TQObject *parent, const
char *name, const TQStringList& )
39 ISpellClient::~ISpellClient()
43 Dictionary* ISpellClient::dictionary(
const TQString& language )
45 ISpellDict *ad =
new ISpellDict( language );
49 TQStringList ISpellClient::languages()
const 51 return ISpellChecker::allDics();
54 #include "kspell_ispellclient.moc" The fact that this class inherits from TQObject makes me hugely unhappy.
Class is returned by from Broker.