19 #ifndef LIB_QUENTIER_NOTE_EDITOR_SPELL_CHECKER_H
20 #define LIB_QUENTIER_NOTE_EDITOR_SPELL_CHECKER_H
22 #include <quentier/utility/Linkage.h>
31 QT_FORWARD_DECLARE_CLASS(Account)
32 QT_FORWARD_DECLARE_CLASS(FileIOProcessorAsync)
33 QT_FORWARD_DECLARE_CLASS(SpellCheckerPrivate)
41 QObject * parent =
nullptr,
const QString & userDictionaryPath = {});
45 QVector<std::pair<QString, bool>> listAvailableDictionaries()
const;
47 void setAccount(
const Account & account);
49 void enableDictionary(
const QString & language);
50 void disableDictionary(
const QString & language);
52 bool checkSpell(
const QString & word)
const;
54 QStringList spellCorrectionSuggestions(
55 const QString & misSpelledWord)
const;
57 void addToUserWordlist(
const QString & word);
58 void removeFromUserWordList(
const QString & word);
59 void ignoreWord(
const QString & word);
60 void removeWord(
const QString & word);
68 SpellCheckerPrivate *
const d_ptr;
The Account class encapsulates some details about the account: its name, whether it is local or synch...
Definition: Account.h:39
The FileIOProcessorAsync class is a wrapper under simple file IO operations, it is meant to be used f...
Definition: FileIOProcessorAsync.h:40
Definition: SpellChecker.h:36