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

Sonnet

enchantdict.h

Go to the documentation of this file.
00001 // -*- Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil; -*-
00020 #ifndef QSPELL_ENCHANTDICT_H
00021 #define QSPELL_ENCHANTDICT_H
00022 
00023 #include "spellerplugin_p.h"
00024 
00025 #include <enchant.h>
00026 
00027 class QSpellEnchantClient;
00028 
00029 class QSpellEnchantDict : public Sonnet::SpellerPlugin
00030 {
00031 public:
00032     ~QSpellEnchantDict();
00033     virtual bool isCorrect(const QString &word) const;
00034 
00035     virtual QStringList suggest(const QString &word) const;
00036 
00037     virtual bool storeReplacement(const QString &bad,
00038                                   const QString &good);
00039 
00040     virtual bool addToPersonal(const QString &word);
00041     virtual bool addToSession(const QString &word);
00042 protected:
00043     friend class QSpellEnchantClient;
00044     QSpellEnchantDict(QSpellEnchantClient *client,
00045                       EnchantBroker *broker,
00046                       EnchantDict *dict,
00047                       const QString &language);
00048 
00049 private:
00050     EnchantBroker *m_broker;
00051     EnchantDict   *m_dict;
00052     QSpellEnchantClient *m_client;
00053 };
00054 
00055 #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