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

Sonnet

  • sonnet
  • plugins
  • aspell
kspell_aspelldict.h
Go to the documentation of this file.
1
21#ifndef KSPELL_ASPELLDICT_H
22#define KSPELL_ASPELLDICT_H
23
24#include "spellerplugin_p.h"
25
26#include "aspell.h"
27
28class ASpellDict : public Sonnet::SpellerPlugin
29{
30public:
31 explicit ASpellDict(const QString &lang);
32 ~ASpellDict();
33 virtual bool isCorrect(const QString &word) const;
34
35 virtual QStringList suggest(const QString &word) const;
36
37 virtual bool storeReplacement(const QString &bad,
38 const QString &good);
39
40 virtual bool addToPersonal(const QString &word);
41 virtual bool addToSession(const QString &word);
42private:
43 AspellConfig *m_config;
44 AspellSpeller *m_speller;
45};
46
47#endif
ASpellDict
kspell_aspelldict.h
Definition: kspell_aspelldict.h:29
ASpellDict::~ASpellDict
~ASpellDict()
Definition: kspell_aspelldict.cpp:53
ASpellDict::suggest
virtual QStringList suggest(const QString &word) const
Definition: kspell_aspelldict.cpp:69
ASpellDict::isCorrect
virtual bool isCorrect(const QString &word) const
Definition: kspell_aspelldict.cpp:59
ASpellDict::addToPersonal
virtual bool addToPersonal(const QString &word)
Definition: kspell_aspelldict.cpp:110
ASpellDict::storeReplacement
virtual bool storeReplacement(const QString &bad, const QString &good)
Definition: kspell_aspelldict.cpp:98
ASpellDict::addToSession
virtual bool addToSession(const QString &word)
Definition: kspell_aspelldict.cpp:125
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