1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
/*
SPDX-FileCopyrightText: 2022-2025 Laurent Montel <montel@kde.org>
SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "exportabstractautocorrection.h"
using namespace TextAutoCorrectionCore;
ExportAbstractAutocorrection::ExportAbstractAutocorrection() = default;
ExportAbstractAutocorrection::~ExportAbstractAutocorrection() = default;
void ExportAbstractAutocorrection::setUpperCaseExceptions(const QSet<QString> &newUpperCaseExceptions)
{
mUpperCaseExceptions = newUpperCaseExceptions;
}
void ExportAbstractAutocorrection::setTwoUpperLetterExceptions(const QSet<QString> &newTwoUpperLetterExceptions)
{
mTwoUpperLetterExceptions = newTwoUpperLetterExceptions;
}
void ExportAbstractAutocorrection::setAutocorrectEntries(const QHash<QString, QString> &newAutocorrectEntries)
{
mAutocorrectEntries = newAutocorrectEntries;
}
|