19 #ifndef LIB_QUENTIER_NOTE_EDITOR_SPELL_CHECKER_H 20 #define LIB_QUENTIER_NOTE_EDITOR_SPELL_CHECKER_H 22 #include <quentier/utility/Macros.h> 23 #include <quentier/utility/Linkage.h> 30 QT_FORWARD_DECLARE_CLASS(FileIOProcessorAsync)
31 QT_FORWARD_DECLARE_CLASS(SpellCheckerPrivate)
32 QT_FORWARD_DECLARE_CLASS(Account)
39 const Account & account, QObject * parent = Q_NULLPTR,
40 const QString & userDictionaryPath = QString());
43 QVector<QPair<QString,bool> > listAvailableDictionaries()
const;
45 void setAccount(
const Account & account);
47 void enableDictionary(
const QString & language);
48 void disableDictionary(
const QString & language);
50 bool checkSpell(
const QString & word)
const;
51 QStringList spellCorrectionSuggestions(
const QString & misSpelledWord)
const;
52 void addToUserWordlist(
const QString & word);
53 void removeFromUserWordList(
const QString & word);
54 void ignoreWord(
const QString & word);
55 void removeWord(
const QString & word);
63 SpellCheckerPrivate *
const d_ptr;
69 #endif // LIB_QUENTIER_NOTE_EDITOR_SPELL_CHECKER_H The FileIOProcessorAsync class is a wrapper under simple file IO operations, it is meant to be used f...
Definition: FileIOProcessorAsync.h:39
The Account class encapsulates some details about the account: its name, whether it is local or synch...
Definition: Account.h:24
Definition: SpellChecker.h:34