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

Sonnet

  • sources
  • kde-4.14
  • kdelibs
  • sonnet
  • plugins
  • hunspell
kspell_hunspelldict.h
Go to the documentation of this file.
1 
21 #ifndef KSPELL_HUNSPELLDICT_H
22 #define KSPELL_HUNSPELLDICT_H
23 
24 #include "spellerplugin_p.h"
25 #include "hunspell/hunspell.hxx"
26 
27 class HunspellDict : public Sonnet::SpellerPlugin
28 {
29 public:
30  explicit HunspellDict(const QString &lang);
31  ~HunspellDict();
32  virtual bool isCorrect(const QString &word) const;
33 
34  virtual QStringList suggest(const QString &word) const;
35 
36  virtual bool storeReplacement(const QString &bad,
37  const QString &good);
38 
39  virtual bool addToPersonal(const QString &word);
40  virtual bool addToSession(const QString &word);
41 private:
42  Hunspell *m_speller;
43 };
44 
45 #endif
HunspellDict::HunspellDict
HunspellDict(const QString &lang)
Definition: kspell_hunspelldict.cpp:30
spellerplugin_p.h
HunspellDict::storeReplacement
virtual bool storeReplacement(const QString &bad, const QString &good)
Definition: kspell_hunspelldict.cpp:74
QString
QStringList
HunspellDict::suggest
virtual QStringList suggest(const QString &word) const
Definition: kspell_hunspelldict.cpp:58
Sonnet::SpellerPlugin
HunspellDict
kspell_aspelldict.h
Definition: kspell_hunspelldict.h:27
HunspellDict::isCorrect
virtual bool isCorrect(const QString &word) const
Definition: kspell_hunspelldict.cpp:48
HunspellDict::addToSession
virtual bool addToSession(const QString &word)
Definition: kspell_hunspelldict.cpp:91
HunspellDict::~HunspellDict
~HunspellDict()
Definition: kspell_hunspelldict.cpp:43
HunspellDict::addToPersonal
virtual bool addToPersonal(const QString &word)
Definition: kspell_hunspelldict.cpp:83
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:40 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Sonnet

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal