kspell_hspellclient.h
#ifndef KSPELL_HSPELLCLIENT_H
#define KSPELL_HSPELLCLIENT_H
#include "client.h"
#include <qobject.h>
/* libhspell is a C library and it does not have #ifdef __cplusplus */
extern "C" {
#include "hspell.h"
}
namespace KSpell2 {
class Dictionary;
}
using KSpell2::Dictionary;
class HSpellClient : public KSpell2::Client
{
Q_OBJECT
public:
HSpellClient( QObject *parent, const char *name, const QStringList & /* args */ );
~HSpellClient();
virtual int reliability() const {
return 20;
}
virtual Dictionary* dictionary( const QString& language );
virtual QStringList languages() const;
virtual QString name() const {
return "HSpell";
}
private:
};
#endif
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

KDE Home | KDE Accessibility Home | Description of Access Keys