21#include <quentier/utility/Fwd.h>
22#include <quentier/utility/Linkage.h>
32class FileIOProcessorAsync;
33class SpellCheckerPrivate;
41 QObject * parent =
nullptr,
const QString & userDictionaryPath = {});
45 [[nodiscard]] QList<std::pair<QString, bool>> listAvailableDictionaries()
48 void setAccount(
const Account & account);
50 void enableDictionary(
const QString & language);
51 void disableDictionary(
const QString & language);
53 [[nodiscard]]
bool checkSpell(
const QString & word)
const;
55 [[nodiscard]] QStringList spellCorrectionSuggestions(
56 const QString & misSpelledWord)
const;
58 void addToUserWordlist(
const QString & word);
59 void removeFromUserWordList(
const QString & word);
60 void ignoreWord(
const QString & word);
61 void removeWord(
const QString & word);
63 [[nodiscard]]
bool isReady()
const noexcept;
69 SpellCheckerPrivate *
const d_ptr;
The Account class encapsulates some details about the account: its name, whether it is local or synch...
Definition: Account.h:38
Definition: SpellChecker.h:36
The FileIOProcessorAsync class is a wrapper under simple file IO operations, it is meant to be used f...
Definition: FileIOProcessorAsync.h:39