Sonnet
kspell_hunspellclient.h
Go to the documentation of this file.
00001 00021 #ifndef KSPELL_HUNSPELLCLIENT_H 00022 #define KSPELL_HUNSPELLCLIENT_H 00023 00024 #include "client_p.h" 00025 #include <QtCore/QVariantList> 00026 00027 #include "hunspell/hunspell.hxx" 00028 00029 namespace Sonnet { 00030 class SpellerPlugin; 00031 } 00032 using Sonnet::SpellerPlugin; 00033 00034 class HunspellClient : public Sonnet::Client 00035 { 00036 Q_OBJECT 00037 public: 00038 HunspellClient(QObject *parent, const QVariantList & /* args */); 00039 ~HunspellClient(); 00040 00041 virtual int reliability() const { 00042 return 40; 00043 } 00044 00045 virtual SpellerPlugin *createSpeller(const QString &language); 00046 00047 virtual QStringList languages() const; 00048 00049 virtual QString name() const { 00050 return "Hunspell"; 00051 } 00052 }; 00053 00054 #endif
KDE 4.6 API Reference