Sonnet
kspell_hunspelldict.h
Go to the documentation of this file.
00001 00021 #ifndef KSPELL_HUNSPELLDICT_H 00022 #define KSPELL_HUNSPELLDICT_H 00023 00024 #include "spellerplugin_p.h" 00025 #include "hunspell/hunspell.hxx" 00026 00027 class HunspellDict : public Sonnet::SpellerPlugin 00028 { 00029 public: 00030 explicit HunspellDict(const QString &lang); 00031 ~HunspellDict(); 00032 virtual bool isCorrect(const QString &word) const; 00033 00034 virtual QStringList suggest(const QString &word) const; 00035 00036 virtual bool storeReplacement(const QString &bad, 00037 const QString &good); 00038 00039 virtual bool addToPersonal(const QString &word); 00040 virtual bool addToSession(const QString &word); 00041 private: 00042 Hunspell *m_speller; 00043 }; 00044 00045 #endif
KDE 4.6 API Reference