libqutim 0.3.1.0
qutim_sdk_0_3::SpellChecker Class Reference

The SpellChecker class is used for spell checking. More...

#include <spellchecker.h>

List of all members.

Signals

void dictionaryChanged ()

Public Member Functions

virtual ~SpellChecker ()
virtual bool isCorrect (const QString &word) const =0
bool isMisspelled (const QString &word) const
virtual void store (const QString &word) const =0
virtual void storeReplacement (const QString &bad, const QString &good)=0
virtual QStringList suggest (const QString &word) const =0

Static Public Member Functions

static SpellCheckerinstance ()

Protected Member Functions

 SpellChecker ()
virtual void virtual_hook (int id, void *data)

Detailed Description

The SpellChecker class is used for spell checking.


Constructor & Destructor Documentation

virtual qutim_sdk_0_3::SpellChecker::~SpellChecker ( ) [virtual]

Destroyes the object.

qutim_sdk_0_3::SpellChecker::SpellChecker ( ) [protected]

Member Function Documentation

void qutim_sdk_0_3::SpellChecker::dictionaryChanged ( ) [signal]

The signal is sent when the dictionary has been changed.

static SpellChecker* qutim_sdk_0_3::SpellChecker::instance ( ) [static]

Returns the CheckSpeller object.

virtual bool qutim_sdk_0_3::SpellChecker::isCorrect ( const QString &  word) const [pure virtual]

Returns whether the word is spelled correctly.

bool qutim_sdk_0_3::SpellChecker::isMisspelled ( const QString &  word) const [inline]

Returns whether the word is misspelled.

virtual void qutim_sdk_0_3::SpellChecker::store ( const QString &  word) const [pure virtual]

Stores the word to the user personal dictionary.

virtual void qutim_sdk_0_3::SpellChecker::storeReplacement ( const QString &  bad,
const QString &  good 
) [pure virtual]

Stores user defined good replacement for the bad word.

virtual QStringList qutim_sdk_0_3::SpellChecker::suggest ( const QString &  word) const [pure virtual]

Returns a list of spelling suggestions for the word.

virtual void qutim_sdk_0_3::SpellChecker::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

The documentation for this class was generated from the following file: