KTextAddons

exportabstractautocorrection.cpp
1/*
2 SPDX-FileCopyrightText: 2022-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "exportabstractautocorrection.h"
8using namespace TextAutoCorrectionCore;
9
10ExportAbstractAutocorrection::ExportAbstractAutocorrection() = default;
11
12ExportAbstractAutocorrection::~ExportAbstractAutocorrection() = default;
13
14void ExportAbstractAutocorrection::setUpperCaseExceptions(const QSet<QString> &newUpperCaseExceptions)
15{
16 mUpperCaseExceptions = newUpperCaseExceptions;
17}
18
19void ExportAbstractAutocorrection::setTwoUpperLetterExceptions(const QSet<QString> &newTwoUpperLetterExceptions)
20{
21 mTwoUpperLetterExceptions = newTwoUpperLetterExceptions;
22}
23
24void ExportAbstractAutocorrection::setAutocorrectEntries(const QHash<QString, QString> &newAutocorrectEntries)
25{
26 mAutocorrectEntries = newAutocorrectEntries;
27}
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:47:37 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.