26 #ifndef SPELLCHECKER_H
27 #define SPELLCHECKER_H
40 Q_CLASSINFO(
"Service",
"SpellChecker")
50 virtual bool isCorrect(
const QString &word)
const = 0;
54 bool isMisspelled(
const QString &word)
const {
return !isCorrect(word); }
58 virtual QStringList suggest(
const QString &word)
const = 0;
62 virtual void store(
const QString &word)
const = 0;
66 virtual void storeReplacement(
const QString &bad,
const QString &good) = 0;
75 void dictionaryChanged();
78 virtual void virtual_hook(
int id,
void *data);
83 #endif // SPELLCHECKER_H
#define LIBQUTIM_EXPORT
Definition: libqutim_global.h:45
The SpellChecker class is used for spell checking.
Definition: spellchecker.h:37
Definition: abstractsearchrequest.h:33
bool isMisspelled(const QString &word) const
Returns whether the word is misspelled.
Definition: spellchecker.h:54