Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquickitemsmodule_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant reason:default
4
5#ifndef QQUICKITEMSMODULE_P_H
6#define QQUICKITEMSMODULE_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <private/qtquickglobal_p.h>
20#include <QtGui/qevent.h>
21#include <QtGui/qpointingdevice.h>
22#include <qqml.h>
23
25
27{
28public:
29 static void defineModule();
30};
31
33{
34 Q_GADGET
35 QML_FOREIGN(QInputDevice)
38 QML_UNCREATABLE("InputDevice is only available via read-only properties.")
39};
40
42{
43 Q_GADGET
44 QML_FOREIGN(QPointingDevice)
47 QML_UNCREATABLE("PointerDevice is only available via read-only properties.")
48};
49
51{
52 Q_GADGET
53 QML_FOREIGN(QPointingDeviceUniqueId)
56 QML_UNCREATABLE("pointingDeviceUniqueId cannot be created in QML.")
57};
58
59#if !QT_CONFIG(quick_animatedimage)
60struct QQuickAnimatedImageNotAvailable
61{
62 Q_GADGET
63 QML_UNAVAILABLE
64 QML_NAMED_ELEMENT(AnimatedImage)
65 QML_ADDED_IN_VERSION(2, 0)
66 QML_UNCREATABLE("Qt was built without support for QMovie.")
67};
68#endif
69
70QT_END_NAMESPACE
71
72#endif // QQUICKITEMSMODULE_P_H
static void qt_quickitems_defineModule()