kspell_aspellclient.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef KSPELL_ASPELLCLIENT_H
00022 #define KSPELL_ASPELLCLIENT_H
00023
00024 #include "client.h"
00025 #include <qobject.h>
00026
00027 #include "aspell.h"
00028
00029 namespace KSpell2 {
00030 class Dictionary;
00031 }
00032 using KSpell2::Dictionary;
00033
00034 class ASpellClient : public KSpell2::Client
00035 {
00036 Q_OBJECT
00037 public:
00038 ASpellClient( QObject *parent, const char *name, const QStringList & );
00039 ~ASpellClient();
00040
00041 virtual int reliability() const {
00042 return 20;
00043 }
00044
00045 virtual Dictionary* dictionary( const QString& language );
00046
00047 virtual QStringList languages() const;
00048
00049 virtual QString name() const {
00050 return "ASpell";
00051 }
00052 private:
00053 AspellConfig *m_config;
00054
00055 };
00056
00057 #endif
|