Sonnet
kspell_hspellclient.h
Go to the documentation of this file.00001
00022 #ifndef KSPELL_HSPELLCLIENT_H
00023 #define KSPELL_HSPELLCLIENT_H
00024
00025 #include "client_p.h"
00026 #include <QtCore/QVariantList>
00027
00028
00029 extern "C" {
00030 #include "hspell.h"
00031 }
00032
00033 namespace Sonnet {
00034 class SpellerPlugin;
00035 }
00036 using Sonnet::SpellerPlugin;
00037
00038 class HSpellClient : public Sonnet::Client
00039 {
00040 Q_OBJECT
00041 public:
00042 HSpellClient(QObject *parent, const QVariantList &);
00043 ~HSpellClient();
00044
00045 virtual int reliability() const {
00046 return 20;
00047 }
00048
00049 virtual SpellerPlugin *createSpeller(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