ISpellDict Class Reference
Inheritance diagram for ISpellDict:

Detailed Description
Definition at line 28 of file kspell_ispelldict.h.
Public Member Functions | |
ISpellDict (const QString &lang) | |
~ISpellDict () | |
virtual bool | check (const QString &word) |
virtual QStringList | suggest (const QString &word) |
virtual bool | checkAndSuggest (const QString &word, QStringList &suggestions) |
virtual bool | storeReplacement (const QString &bad, const QString &good) |
virtual bool | addToPersonal (const QString &word) |
virtual bool | addToSession (const QString &word) |
Member Function Documentation
bool ISpellDict::addToPersonal | ( | const QString & | word | ) | [virtual] |
Adds word to the list of of personal words.
- Returns:
- true on success
Implements KSpell2::Dictionary.
Definition at line 68 of file kspell_ispelldict.cpp.
bool ISpellDict::addToSession | ( | const QString & | word | ) | [virtual] |
Adds word to the words recognizable in the current session.
- Returns:
- true on success
Implements KSpell2::Dictionary.
Definition at line 73 of file kspell_ispelldict.cpp.
bool ISpellDict::check | ( | const QString & | word | ) | [virtual] |
Checks the given word.
- Returns:
- false if the word is misspelled. true otherwise
Implements KSpell2::Dictionary.
Definition at line 43 of file kspell_ispelldict.cpp.
bool ISpellDict::checkAndSuggest | ( | const QString & | word, | |
QStringList & | suggestions | |||
) | [virtual] |
Checks the word and fetches suggestions for it.
Implements KSpell2::Dictionary.
Definition at line 53 of file kspell_ispelldict.cpp.
Stores user defined good replacement for the bad word.
- Returns:
- true on success
Implements KSpell2::Dictionary.
Definition at line 62 of file kspell_ispelldict.cpp.
QStringList ISpellDict::suggest | ( | const QString & | word | ) | [virtual] |
Fetches suggestions for the word.
- Returns:
- list of all suggestions for the word
Implements KSpell2::Dictionary.
Definition at line 48 of file kspell_ispelldict.cpp.
The documentation for this class was generated from the following files: