File indexing completed on 2024-12-22 04:28:07
0001 /* 0002 SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org> 0003 0004 SPDX-License-Identifier: GPL-2.0-or-later 0005 */ 0006 0007 #include "exportabstractautocorrection.h" 0008 using namespace TextAutoCorrectionCore; 0009 0010 ExportAbstractAutocorrection::ExportAbstractAutocorrection() = default; 0011 0012 ExportAbstractAutocorrection::~ExportAbstractAutocorrection() = default; 0013 0014 void ExportAbstractAutocorrection::setUpperCaseExceptions(const QSet<QString> &newUpperCaseExceptions) 0015 { 0016 mUpperCaseExceptions = newUpperCaseExceptions; 0017 } 0018 0019 void ExportAbstractAutocorrection::setTwoUpperLetterExceptions(const QSet<QString> &newTwoUpperLetterExceptions) 0020 { 0021 mTwoUpperLetterExceptions = newTwoUpperLetterExceptions; 0022 } 0023 0024 void ExportAbstractAutocorrection::setAutocorrectEntries(const QHash<QString, QString> &newAutocorrectEntries) 0025 { 0026 mAutocorrectEntries = newAutocorrectEntries; 0027 }