KTextAddons

importabstractautocorrection.cpp
1/*
2 SPDX-FileCopyrightText: 2012-2024 Laurent Montel <montel@kde.org>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#include "importabstractautocorrection.h"
8
9using namespace TextAutoCorrectionCore;
10
11ImportAbstractAutocorrection::ImportAbstractAutocorrection() = default;
12
13ImportAbstractAutocorrection::~ImportAbstractAutocorrection() = default;
14
15QSet<QString> ImportAbstractAutocorrection::upperCaseExceptions() const
16{
17 return mUpperCaseExceptions;
18}
19
20QSet<QString> ImportAbstractAutocorrection::twoUpperLetterExceptions() const
21{
22 return mTwoUpperLetterExceptions;
23}
24
25QHash<QString, QString> ImportAbstractAutocorrection::autocorrectEntries() const
26{
27 return mAutocorrectEntries;
28}
29
30AutoCorrectionUtils::TypographicQuotes ImportAbstractAutocorrection::typographicSingleQuotes() const
31{
32 return mTypographicSingleQuotes;
33}
34
35AutoCorrectionUtils::TypographicQuotes ImportAbstractAutocorrection::typographicDoubleQuotes() const
36{
37 return mTypographicDoubleQuotes;
38}
39
40int ImportAbstractAutocorrection::maxFindStringLenght() const
41{
42 return mMaxFindStringLength;
43}
44
45int ImportAbstractAutocorrection::minFindStringLenght() const
46{
47 return mMinFindStringLength;
48}
49
50QHash<QString, QString> ImportAbstractAutocorrection::superScriptEntries() const
51{
52 return mSuperScriptEntries;
53}
54
55#include "moc_importabstractautocorrection.cpp"
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 27 2024 11:48:28 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.