OpenCoverage

moc_qqmlapplicationengine.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmlapplicationengine.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQmlApplicationEngine_t {-
9 QByteArrayData data[9];-
10 char stringdata0[76];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQmlApplicationEngine_t qt_meta_stringdata_QQmlApplicationEngine = {-
18 {-
19{ { { -1 } }, 21, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQmlApplicationEngine_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 13, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQmlApplicationEngine_t-
29, -
30stringdata0-
31) -
32+ 22 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQmlApplicationEngine_t-
36, -
37stringdata0-
38) -
39+ 36 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 6, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQmlApplicationEngine_t-
43, -
44stringdata0-
45) -
46+ 37 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 3, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQmlApplicationEngine_t-
50, -
51stringdata0-
52) -
53+ 44 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 4, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQmlApplicationEngine_t-
57, -
58stringdata0-
59) -
60+ 48 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 8, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQmlApplicationEngine_t-
64, -
65stringdata0-
66) -
67+ 53 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 8, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQmlApplicationEngine_t-
71, -
72stringdata0-
73) -
74+ 62 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 4, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQmlApplicationEngine_t-
78, -
79stringdata0-
80) -
81+ 71 - 8 * sizeof(QByteArrayData)) }-
82-
83 },-
84 "QQmlApplicationEngine\0objectCreated\0"-
85 "\0object\0url\0load\0filePath\0loadData\0"-
86 "data"-
87};-
88-
89-
90static const uint qt_meta_data_QQmlApplicationEngine[] = {-
91-
92-
93 7,-
94 0,-
95 0, 0,-
96 5, 14,-
97 0, 0,-
98 0, 0,-
99 0, 0,-
100 0,-
101 1,-
102-
103-
104 1, 2, 39, 2, 0x06 ,-
105-
106-
107 5, 1, 44, 2, 0x0a ,-
108 5, 1, 47, 2, 0x0a ,-
109 7, 2, 50, 2, 0x0a ,-
110 7, 1, 55, 2, 0x2a ,-
111-
112-
113 QMetaType::Void, QMetaType::QObjectStar, QMetaType::QUrl, 3, 4,-
114-
115-
116 QMetaType::Void, QMetaType::QUrl, 4,-
117 QMetaType::Void, QMetaType::QString, 6,-
118 QMetaType::Void, QMetaType::QByteArray, QMetaType::QUrl, 8, 4,-
119 QMetaType::Void, QMetaType::QByteArray, 8,-
120-
121 0-
122};-
123-
124void QQmlApplicationEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
125{-
126 if (_c == QMetaObject::InvokeMetaMethod) {-
127 QQmlApplicationEngine *_t = static_cast<QQmlApplicationEngine *>(_o);-
128 (void)_t;-
129 switch (_id) {-
130 case 0: _t->objectCreated((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;-
131 case 1: _t->load((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;-
132 case 2: _t->load((*reinterpret_cast< const QString(*)>(_a[1]))); break;-
133 case 3: _t->loadData((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;-
134 case 4: _t->loadData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;-
135 default: ;-
136 }-
137 } else if (_c == QMetaObject::IndexOfMethod) {-
138 int *result = reinterpret_cast<int *>(_a[0]);-
139 {-
140 using _t = void (QQmlApplicationEngine::*)(QObject * , const QUrl & );-
141 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlApplicationEngine::objectCreated)) {-
142 *result = 0;-
143 return;-
144 }-
145 }-
146 }-
147}-
148-
149 const QMetaObject QQmlApplicationEngine::staticMetaObject = {-
150 { &QQmlEngine::staticMetaObject, qt_meta_stringdata_QQmlApplicationEngine.data,-
151 qt_meta_data_QQmlApplicationEngine, qt_static_metacall, nullptr, nullptr}-
152};-
153-
154-
155const QMetaObject *QQmlApplicationEngine::metaObject() const-
156{-
157 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
158}-
159-
160void *QQmlApplicationEngine::qt_metacast(const char *_clname)-
161{-
162 if (!_clname) return nullptr;-
163 if (!strcmp(_clname, qt_meta_stringdata_QQmlApplicationEngine.stringdata0))-
164 return static_cast<void*>(this);-
165 return QQmlEngine::qt_metacast(_clname);-
166}-
167-
168int QQmlApplicationEngine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
169{-
170 _id = QQmlEngine::qt_metacall(_c, _id, _a);-
171 if (_id < 0)-
172 return _id;-
173 if (_c == QMetaObject::InvokeMetaMethod) {-
174 if (_id < 5)-
175 qt_static_metacall(this, _c, _id, _a);-
176 _id -= 5;-
177 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
178 if (_id < 5)-
179 *reinterpret_cast<int*>(_a[0]) = -1;-
180 _id -= 5;-
181 }-
182 return _id;-
183}-
184-
185-
186void QQmlApplicationEngine::objectCreated(QObject * _t1, const QUrl & _t2)-
187{-
188 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
189 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
190}
executed 180 times by 5 tests: end of block
Executed by:
  • tst_qqmlapplicationengine
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qquickshortcut
  • tst_sharedimage
180
191-
192#pragma GCC diagnostic pop-
193-
194-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0