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

Sonnet

  • 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
27class HunspellDict : public Sonnet::SpellerPlugin
28{
29public:
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);
41private:
42 Hunspell *m_speller;
43};
44
45#endif
HunspellDict
kspell_aspelldict.h
Definition: kspell_hunspelldict.h:28
HunspellDict::isCorrect
virtual bool isCorrect(const QString &word) const
Definition: kspell_hunspelldict.cpp:48
HunspellDict::suggest
virtual QStringList suggest(const QString &word) const
Definition: kspell_hunspelldict.cpp:58
HunspellDict::~HunspellDict
~HunspellDict()
Definition: kspell_hunspelldict.cpp:43
HunspellDict::storeReplacement
virtual bool storeReplacement(const QString &bad, const QString &good)
Definition: kspell_hunspelldict.cpp:74
HunspellDict::addToPersonal
virtual bool addToPersonal(const QString &word)
Definition: kspell_hunspelldict.cpp:83
HunspellDict::addToSession
virtual bool addToSession(const QString &word)
Definition: kspell_hunspelldict.cpp:91
Sonnet::SpellerPlugin
spellerplugin_p.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Sonnet

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

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 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
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