19 #ifndef LIB_QUENTIER_NOTE_EDITOR_SPELL_CHECKER_H 20 #define LIB_QUENTIER_NOTE_EDITOR_SPELL_CHECKER_H 22 #include <quentier/utility/Linkage.h> 23 #include <quentier/utility/Macros.h> 32 QT_FORWARD_DECLARE_CLASS(Account)
33 QT_FORWARD_DECLARE_CLASS(FileIOProcessorAsync)
34 QT_FORWARD_DECLARE_CLASS(SpellCheckerPrivate)
42 const Account & account, QObject * parent =
nullptr,
43 const QString & userDictionaryPath = {});
47 QVector<std::pair<QString,bool>> listAvailableDictionaries()
const;
49 void setAccount(
const Account & account);
51 void enableDictionary(
const QString & language);
52 void disableDictionary(
const QString & language);
54 bool checkSpell(
const QString & word)
const;
56 QStringList spellCorrectionSuggestions(
57 const QString & misSpelledWord)
const;
59 void addToUserWordlist(
const QString & word);
60 void removeFromUserWordList(
const QString & word);
61 void ignoreWord(
const QString & word);
62 void removeWord(
const QString & word);
70 SpellCheckerPrivate *
const d_ptr;
76 #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:40
Definition: DecryptedTextManager.h:26
The Account class encapsulates some details about the account: its name, whether it is local or synch...
Definition: Account.h:39
Definition: SpellChecker.h:36