• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

Sonnet

kspell_hspelldict.h

Go to the documentation of this file.
00001 
00022 #ifndef KSPELL_HSPELLDICT_H
00023 #define KSPELL_HSPELLDICT_H
00024 
00025 #include "spellerplugin_p.h"
00026 /* libhspell is a C library and it does not have #ifdef __cplusplus */
00027 extern "C" {
00028 #include "hspell.h"
00029 }
00030 
00031 class HSpellDict : public Sonnet::SpellerPlugin
00032 {
00033 public:
00034     explicit HSpellDict( const QString& lang );
00035     ~HSpellDict();
00036     virtual bool isCorrect( const QString& word ) const;
00037 
00038     virtual QStringList suggest( const QString& word ) const;
00039 
00040     virtual bool storeReplacement( const QString& bad,
00041                                    const QString& good );
00042 
00043     virtual bool addToPersonal( const QString& word );
00044     virtual bool addToSession( const QString& word );
00045 private:
00046     struct dict_radix *m_speller;
00047     QTextCodec *codec;
00048 };
00049 
00050 #endif

Sonnet

Skip menu "Sonnet"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal