kspell_hspellclient.cpp
#include "kspell_hspellclient.h"
#include "kspell_hspelldict.h"
#include <kgenericfactory.h>
#include <kdebug.h>
typedef KGenericFactory<HSpellClient> HSpellClientFactory;
K_EXPORT_COMPONENT_FACTORY( kspell_hspell, HSpellClientFactory( "kspell_hspell" ) )
using namespace KSpell2;
HSpellClient::HSpellClient( QObject *parent, const char *name, const QStringList& /* args */ )
: Client( parent, name )
{
}
HSpellClient::~HSpellClient()
{
}
Dictionary* HSpellClient::dictionary( const QString& language )
{
HSpellDict *ad = new HSpellDict( language );
return ad;
}
QStringList HSpellClient::languages() const
{
QStringList langs;
langs.append( "he" );
return langs;
}
#include "kspell_hspellclient.moc"
KSpell2::Client
The fact that this class inherits from QObject makes me hugely unhappy.
Definition: client.h:41
KSpell2::Dictionary
Class is returned by from Broker.
Definition: dictionary.h:37
HSpellDict
kspell_hspelldict.h
Definition: kspell_hspelldict.h:31

KDE Home | KDE Accessibility Home | Description of Access Keys