kspell_ispelldict.h
#ifndef KSPELL_ASPELLDICT_H
#define KSPELL_ASPELLDICT_H
#include "dictionary.h"
class ISpellChecker;
class ISpellDict : public KSpell2::Dictionary
{
public:
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 );
private:
ISpellChecker *m_checker;
};
#endif
KSpell2::Dictionary::suggest
virtual QStringList suggest(const QString &word)=0
Fetches suggestions for the word.
KSpell2::Dictionary::addToPersonal
virtual bool addToPersonal(const QString &word)=0
Adds word to the list of of personal words.
KSpell2::Dictionary::check
virtual bool check(const QString &word)=0
Checks the given word.
KSpell2::Dictionary::checkAndSuggest
virtual bool checkAndSuggest(const QString &word, QStringList &suggestions)=0
Checks the word and fetches suggestions for it.
KSpell2::Dictionary::addToSession
virtual bool addToSession(const QString &word)=0
Adds word to the words recognizable in the current session.
KSpell2::Dictionary
Class is returned by from Broker.
Definition: dictionary.h:37
KSpell2::Dictionary::storeReplacement
virtual bool storeReplacement(const QString &bad, const QString &good)=0
Stores user defined good replacement for the bad word.

KDE Home | KDE Accessibility Home | Description of Access Keys