kspell_hspellclient.h00001
00022 #ifndef KSPELL_HSPELLCLIENT_H
00023 #define KSPELL_HSPELLCLIENT_H
00024
00025 #include "client.h"
00026 #include <qobject.h>
00027
00028
00029 extern "C" {
00030 #include "hspell.h"
00031 }
00032
00033 namespace KSpell2 {
00034 class Dictionary;
00035 }
00036 using KSpell2::Dictionary;
00037
00038 class HSpellClient : public KSpell2::Client
00039 {
00040 Q_OBJECT
00041 public:
00042 HSpellClient( QObject *parent, const char *name, const QStringList & );
00043 ~HSpellClient();
00044
00045 virtual int reliability() const {
00046 return 20;
00047 }
00048
00049 virtual Dictionary* dictionary( const QString& language );
00050
00051 virtual QStringList languages() const;
00052
00053 virtual QString name() const {
00054 return "HSpell";
00055 }
00056 private:
00057
00058 };
00059
00060 #endif
|