1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef VIRTUALKEYBOARD_P_H
5#define VIRTUALKEYBOARD_P_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists purely as an
12// implementation detail. This header file may change from version to
13// version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtQml/qqml.h>
19#include <QtVirtualKeyboard/qvirtualkeyboard_global.h>
20#include <QtCore/private/qglobal_p.h>
21
22QT_BEGIN_NAMESPACE
23namespace QtVirtualKeyboard {
24
25class VirtualKeyboardAttachedType;
26
27class Q_VIRTUALKEYBOARD_EXPORT VirtualKeyboard : public QObject
28{
29 Q_OBJECT
30 QML_NAMED_ELEMENT(VirtualKeyboard)
31 QML_UNCREATABLE("VirtualKeyboard is an abstract type that is only available as an attached property.")
32 QML_ATTACHED(VirtualKeyboardAttachedType)
33 QML_ADDED_IN_VERSION(6, 1)
34
35public:
36 static VirtualKeyboardAttachedType *qmlAttachedProperties(QObject *object);
37};
38
39} // namespace QtVirtualKeyboard
40QT_END_NAMESPACE
41
42QML_DECLARE_TYPEINFO(QT_PREPEND_NAMESPACE(QtVirtualKeyboard)::VirtualKeyboard, QML_HAS_ATTACHED_PROPERTIES)
43
44#endif
45

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

source code of qtvirtualkeyboard/src/virtualkeyboard/virtualkeyboard_p.h