File indexing completed on 2024-12-22 04:28:07

0001 /*
0002   SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
0003 
0004   SPDX-License-Identifier: GPL-2.0-or-later
0005 */
0006 
0007 #include "importabstractautocorrection.h"
0008 
0009 using namespace TextAutoCorrectionCore;
0010 
0011 ImportAbstractAutocorrection::ImportAbstractAutocorrection() = default;
0012 
0013 ImportAbstractAutocorrection::~ImportAbstractAutocorrection() = default;
0014 
0015 QSet<QString> ImportAbstractAutocorrection::upperCaseExceptions() const
0016 {
0017     return mUpperCaseExceptions;
0018 }
0019 
0020 QSet<QString> ImportAbstractAutocorrection::twoUpperLetterExceptions() const
0021 {
0022     return mTwoUpperLetterExceptions;
0023 }
0024 
0025 QHash<QString, QString> ImportAbstractAutocorrection::autocorrectEntries() const
0026 {
0027     return mAutocorrectEntries;
0028 }
0029 
0030 AutoCorrectionUtils::TypographicQuotes ImportAbstractAutocorrection::typographicSingleQuotes() const
0031 {
0032     return mTypographicSingleQuotes;
0033 }
0034 
0035 AutoCorrectionUtils::TypographicQuotes ImportAbstractAutocorrection::typographicDoubleQuotes() const
0036 {
0037     return mTypographicDoubleQuotes;
0038 }
0039 
0040 int ImportAbstractAutocorrection::maxFindStringLenght() const
0041 {
0042     return mMaxFindStringLength;
0043 }
0044 
0045 int ImportAbstractAutocorrection::minFindStringLenght() const
0046 {
0047     return mMinFindStringLength;
0048 }
0049 
0050 QHash<QString, QString> ImportAbstractAutocorrection::superScriptEntries() const
0051 {
0052     return mSuperScriptEntries;
0053 }
0054 
0055 #include "moc_importabstractautocorrection.cpp"