Line | Source | Count |
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | #include "../qml/qqmlapplicationengine.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qqmlapplicationengine.h' doesn't include <QObject>." | - |
14 | #elif Q_MOC_OUTPUT_REVISION != 67 | - |
15 | #error "This file was generated using the moc from 5.12.0. It" | - |
16 | #error "cannot be used with the include files from this version of Qt." | - |
17 | #error "(The moc has changed too much.)" | - |
18 | #endif | - |
19 | | - |
20 | QT_BEGIN_MOC_NAMESPACE | - |
21 | QT_WARNING_PUSH | - |
22 | QT_WARNING_DISABLE_DEPRECATED | - |
23 | struct qt_meta_stringdata_QQmlApplicationEngine_t { | - |
24 | QByteArrayData data[9]; | - |
25 | char stringdata0[76]; | - |
26 | }; | - |
27 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
29 | qptrdiff(offsetof(qt_meta_stringdata_QQmlApplicationEngine_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQmlApplicationEngine_t qt_meta_stringdata_QQmlApplicationEngine = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 21), | - |
35 | QT_MOC_LITERAL(1, 22, 13), | - |
36 | QT_MOC_LITERAL(2, 36, 0), | - |
37 | QT_MOC_LITERAL(3, 37, 6), | - |
38 | QT_MOC_LITERAL(4, 44, 3), | - |
39 | QT_MOC_LITERAL(5, 48, 4), | - |
40 | QT_MOC_LITERAL(6, 53, 8), | - |
41 | QT_MOC_LITERAL(7, 62, 8), | - |
42 | QT_MOC_LITERAL(8, 71, 4) | - |
43 | | - |
44 | }, | - |
45 | "QQmlApplicationEngine\0objectCreated\0" | - |
46 | "\0object\0url\0load\0filePath\0loadData\0" | - |
47 | "data" | - |
48 | }; | - |
49 | #undef QT_MOC_LITERAL | - |
50 | | - |
51 | static const uint qt_meta_data_QQmlApplicationEngine[] = { | - |
52 | | - |
53 | | - |
54 | 7, | - |
55 | 0, | - |
56 | 0, 0, | - |
57 | 5, 14, | - |
58 | 0, 0, | - |
59 | 0, 0, | - |
60 | 0, 0, | - |
61 | 0, | - |
62 | 1, | - |
63 | | - |
64 | | - |
65 | 1, 2, 39, 2, 0x06 , | - |
66 | | - |
67 | | - |
68 | 5, 1, 44, 2, 0x0a , | - |
69 | 5, 1, 47, 2, 0x0a , | - |
70 | 7, 2, 50, 2, 0x0a , | - |
71 | 7, 1, 55, 2, 0x2a , | - |
72 | | - |
73 | | - |
74 | QMetaType::Void, QMetaType::QObjectStar, QMetaType::QUrl, 3, 4, | - |
75 | | - |
76 | | - |
77 | QMetaType::Void, QMetaType::QUrl, 4, | - |
78 | QMetaType::Void, QMetaType::QString, 6, | - |
79 | QMetaType::Void, QMetaType::QByteArray, QMetaType::QUrl, 8, 4, | - |
80 | QMetaType::Void, QMetaType::QByteArray, 8, | - |
81 | | - |
82 | 0 | - |
83 | }; | - |
84 | | - |
85 | void QQmlApplicationEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
86 | { | - |
87 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
88 | QQmlApplicationEngine *_t = static_cast<QQmlApplicationEngine *>(_o); | - |
89 | Q_UNUSED(_t) | - |
90 | switch (_id) { | - |
91 | case 0: _t->objectCreated((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break; | - |
92 | case 1: _t->load((*reinterpret_cast< const QUrl(*)>(_a[1]))); break; | - |
93 | case 2: _t->load((*reinterpret_cast< const QString(*)>(_a[1]))); break; | - |
94 | case 3: _t->loadData((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break; | - |
95 | case 4: _t->loadData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break; | - |
96 | default: ; | - |
97 | } | - |
98 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
99 | int *result = reinterpret_cast<int *>(_a[0]); | - |
100 | { | - |
101 | using _t = void (QQmlApplicationEngine::*)(QObject * , const QUrl & ); | - |
102 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlApplicationEngine::objectCreated)) { | - |
103 | *result = 0; | - |
104 | return; | - |
105 | } | - |
106 | } | - |
107 | } | - |
108 | } | - |
109 | | - |
110 | QT_INIT_METAOBJECT const QMetaObject QQmlApplicationEngine::staticMetaObject = { | - |
111 | { &QQmlEngine::staticMetaObject, qt_meta_stringdata_QQmlApplicationEngine.data, | - |
112 | qt_meta_data_QQmlApplicationEngine, qt_static_metacall, nullptr, nullptr} | - |
113 | }; | - |
114 | | - |
115 | | - |
116 | const QMetaObject *QQmlApplicationEngine::metaObject() const | - |
117 | { | - |
118 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
119 | } | - |
120 | | - |
121 | void *QQmlApplicationEngine::qt_metacast(const char *_clname) | - |
122 | { | - |
123 | if (!_clname) return nullptr; | - |
124 | if (!strcmp(_clname, qt_meta_stringdata_QQmlApplicationEngine.stringdata0)) | - |
125 | return static_cast<void*>(this); | - |
126 | return QQmlEngine::qt_metacast(_clname); | - |
127 | } | - |
128 | | - |
129 | int QQmlApplicationEngine::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
130 | { | - |
131 | _id = QQmlEngine::qt_metacall(_c, _id, _a); | - |
132 | if (_id < 0) | - |
133 | return _id; | - |
134 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
135 | if (_id < 5) | - |
136 | qt_static_metacall(this, _c, _id, _a); | - |
137 | _id -= 5; | - |
138 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
139 | if (_id < 5) | - |
140 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
141 | _id -= 5; | - |
142 | } | - |
143 | return _id; | - |
144 | } | - |
145 | | - |
146 | | - |
147 | void QQmlApplicationEngine::objectCreated(QObject * _t1, const QUrl & _t2) | - |
148 | { | - |
149 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; | - |
150 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
151 | }executed 180 times by 5 tests: end of block Executed by:- tst_qqmlapplicationengine
- tst_qqmldebugjs
- tst_qqmlimport
- tst_qquickshortcut
- tst_sharedimage
| 180 |
152 | QT_WARNING_POP | - |
153 | QT_END_MOC_NAMESPACE | - |
| | |