KSpell2::Dictionary Class Reference
#include <dictionary.h>
Inheritance diagram for KSpell2::Dictionary:

Detailed Description
Class is returned by from Broker.class used for actuall spell checking.It acts as the actual spellchecker.
- Author:
- Zack Rusin <zack@kde.org>
Definition at line 37 of file dictionary.h.
Public Member Functions | |
virtual bool | check (const QString &word)=0 |
virtual QStringList | suggest (const QString &word)=0 |
virtual bool | checkAndSuggest (const QString &word, QStringList &suggestions)=0 |
virtual bool | storeReplacement (const QString &bad, const QString &good)=0 |
virtual bool | addToPersonal (const QString &word)=0 |
virtual bool | addToSession (const QString &word)=0 |
QString | language () const |
bool | isDefault () const |
Protected Member Functions | |
Dictionary (const QString &lang, bool def=false) | |
Protected Attributes | |
QString | m_language |
bool | m_default |
Friends | |
class | Broker |
Member Function Documentation
|
Adds word to the list of of personal words.
Implemented in ASpellDict, and HSpellDict. |
|
Adds word to the words recognizable in the current session.
Implemented in ASpellDict, and HSpellDict. |
|
Checks the given word.
Implemented in ASpellDict, and HSpellDict. |
|
Checks the word and fetches suggestions for it.
Implemented in ASpellDict, and HSpellDict. |
|
Returns true if this dictionary was constructed from default Settings values.
Definition at line 92 of file dictionary.h. |
|
Returns language supported by this dictionary.
Definition at line 83 of file dictionary.h. |
|
Stores user defined good replacement for the bad word.
Implemented in ASpellDict, and HSpellDict. |
|
Fetches suggestions for the word.
Implemented in ASpellDict, and HSpellDict. |
The documentation for this class was generated from the following file: