1 | // Copyright (C) 2021 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 | |
4 | #ifndef QTQUICKDIALOGS2QUICKIMPLFOREIGN_P_H |
5 | #define QTQUICKDIALOGS2QUICKIMPLFOREIGN_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 <QtQuickDialogs2Utils/private/qquickfilenamefilter_p.h> |
20 | #include <QtQuickTemplates2/private/qquickabstractbutton_p.h> |
21 | #include <QtQuickTemplates2/private/qquickcontrol_p.h> |
22 | #include <QtQuickTemplates2/private/qquickdialog_p.h> |
23 | #include <QtQuickTemplates2/private/qquickicon_p.h> |
24 | #include <QtQuickTemplates2/private/qquickpopup_p.h> |
25 | |
26 | QT_BEGIN_NAMESPACE |
27 | |
28 | struct QQuickFileNameFilterQuickDialogs2QuickImplForeign |
29 | { |
30 | Q_GADGET |
31 | QML_ANONYMOUS |
32 | QML_FOREIGN(QQuickFileNameFilter) |
33 | QML_ADDED_IN_VERSION(6, 2) |
34 | }; |
35 | |
36 | // TODO: remove these ones when not needed (QTBUG-88179) |
37 | |
38 | // verticalPadding, etc. |
39 | struct QQuickControlForeign |
40 | { |
41 | Q_GADGET |
42 | QML_ANONYMOUS |
43 | QML_FOREIGN(QQuickControl) |
44 | QML_ADDED_IN_VERSION(2, 0) |
45 | }; |
46 | |
47 | struct QQuickAbstractButtonForeign |
48 | { |
49 | Q_GADGET |
50 | QML_ANONYMOUS |
51 | QML_FOREIGN(QQuickAbstractButton) |
52 | QML_ADDED_IN_VERSION(2, 0) |
53 | }; |
54 | |
55 | struct QQuickIconForeign |
56 | { |
57 | Q_GADGET |
58 | QML_ANONYMOUS |
59 | QML_FOREIGN(QQuickIcon) |
60 | QML_ADDED_IN_VERSION(6, 2) |
61 | }; |
62 | |
63 | // For leftInset, etc. |
64 | struct QQuickPopupForeign |
65 | { |
66 | Q_GADGET |
67 | QML_ANONYMOUS |
68 | QML_FOREIGN(QQuickPopup) |
69 | QML_ADDED_IN_VERSION(2, 0) |
70 | }; |
71 | |
72 | struct QQuickDialogForeign |
73 | { |
74 | Q_GADGET |
75 | QML_ANONYMOUS |
76 | QML_FOREIGN(QQuickDialog) |
77 | QML_ADDED_IN_VERSION(2, 1) |
78 | }; |
79 | |
80 | QT_END_NAMESPACE |
81 | |
82 | #endif // QTQUICKDIALOGS2QUICKIMPLFOREIGN_P_H |
83 |