KTextAddons
13#include "autocorrectionutils.h"
15#include "textautocorrectioncore_export.h"
16namespace TextAutoCorrectionCore
18class TEXTAUTOCORRECTIONCORE_EXPORT ImportAbstractAutocorrection
28 ImportAbstractAutocorrection();
29 virtual ~ImportAbstractAutocorrection();
31 virtual bool import(
const QString &fileName, QString &
errorMessage, ImportAbstractAutocorrection::LoadAttribute loadAttribute = All) = 0;
33 [[nodiscard]] QSet<QString> upperCaseExceptions()
const;
34 [[nodiscard]] QSet<QString> twoUpperLetterExceptions()
const;
35 [[nodiscard]] QHash<QString, QString> autocorrectEntries()
const;
36 [[nodiscard]] QHash<QString, QString> superScriptEntries()
const;
38 [[nodiscard]] AutoCorrectionUtils::TypographicQuotes typographicSingleQuotes()
const;
39 [[nodiscard]] AutoCorrectionUtils::TypographicQuotes typographicDoubleQuotes()
const;
41 [[nodiscard]]
int maxFindStringLenght()
const;
43 [[nodiscard]]
int minFindStringLenght()
const;
46 int mMaxFindStringLength = 0;
47 int mMinFindStringLength = 0;
48 QSet<QString> mUpperCaseExceptions;
49 QSet<QString> mTwoUpperLetterExceptions;
50 QHash<QString, QString> mAutocorrectEntries;
51 QHash<QString, QString> mSuperScriptEntries;
52 AutoCorrectionUtils::TypographicQuotes mTypographicSingleQuotes;
53 AutoCorrectionUtils::TypographicQuotes mTypographicDoubleQuotes;
KCALUTILS_EXPORT QString errorMessage(const KCalendarCore::Exception &exception)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:49:24 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.