1 | // Copyright (C) 2021 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #include <QtVirtualKeyboard/private/virtualkeyboardattachedtype_p.h> |
5 | |
6 | QT_BEGIN_NAMESPACE |
7 | namespace QtVirtualKeyboard { |
8 | |
9 | /*! |
10 | \class QtVirtualKeyboard::VirtualKeyboardAttachedType |
11 | \internal |
12 | */ |
13 | |
14 | VirtualKeyboardAttachedType::VirtualKeyboardAttachedType(QObject *parent) : |
15 | QObject(parent) |
16 | { |
17 | } |
18 | |
19 | QStringList QtVirtualKeyboard::VirtualKeyboardAttachedType::extraDictionaries() const |
20 | { |
21 | return _extraDictionaries; |
22 | } |
23 | |
24 | void QtVirtualKeyboard::VirtualKeyboardAttachedType::setExtraDictionaries(const QStringList &extraDictionaries) |
25 | { |
26 | if (_extraDictionaries != extraDictionaries) { |
27 | _extraDictionaries = extraDictionaries; |
28 | emit extraDictionariesChanged(); |
29 | } |
30 | } |
31 | |
32 | } // namespace QtVirtualKeyboard |
33 | QT_END_NAMESPACE |
34 |