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
6QT_BEGIN_NAMESPACE
7namespace QtVirtualKeyboard {
8
9/*!
10 \class QtVirtualKeyboard::VirtualKeyboardAttachedType
11 \internal
12*/
13
14VirtualKeyboardAttachedType::VirtualKeyboardAttachedType(QObject *parent) :
15 QObject(parent)
16{
17}
18
19QStringList QtVirtualKeyboard::VirtualKeyboardAttachedType::extraDictionaries() const
20{
21 return _extraDictionaries;
22}
23
24void QtVirtualKeyboard::VirtualKeyboardAttachedType::setExtraDictionaries(const QStringList &extraDictionaries)
25{
26 if (_extraDictionaries != extraDictionaries) {
27 _extraDictionaries = extraDictionaries;
28 emit extraDictionariesChanged();
29 }
30}
31
32} // namespace QtVirtualKeyboard
33QT_END_NAMESPACE
34

source code of qtvirtualkeyboard/src/virtualkeyboard/virtualkeyboardattachedtype.cpp