OpenCoverage

moc_qquickloader_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickloader_p.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_QQuickLoader_t {-
9 QByteArrayData data[27];-
10 char stringdata0[301];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickLoader_t qt_meta_stringdata_QQuickLoader = {-
18 {-
19{ { { -1 } }, 12, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickLoader_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 11, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickLoader_t-
29, -
30stringdata0-
31) -
32+ 13 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickLoader_t-
36, -
37stringdata0-
38) -
39+ 25 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 13, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickLoader_t-
43, -
44stringdata0-
45) -
46+ 26 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 13, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickLoader_t-
50, -
51stringdata0-
52) -
53+ 40 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 22, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickLoader_t-
57, -
58stringdata0-
59) -
60+ 54 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 13, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickLoader_t-
64, -
65stringdata0-
66) -
67+ 77 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 15, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickLoader_t-
71, -
72stringdata0-
73) -
74+ 91 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 6, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickLoader_t-
78, -
79stringdata0-
80) -
81+ 107 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 19, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickLoader_t-
85, -
86stringdata0-
87) -
88+ 114 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 15, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickLoader_t-
92, -
93stringdata0-
94) -
95+ 134 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 13, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickLoader_t-
99, -
100stringdata0-
101) -
102+ 150 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 9, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickLoader_t-
106, -
107stringdata0-
108) -
109+ 164 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 15, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickLoader_t-
113, -
114stringdata0-
115) -
116+ 174 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 6, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickLoader_t-
120, -
121stringdata0-
122) -
123+ 190 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 6, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickLoader_t-
127, -
128stringdata0-
129) -
130+ 197 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 15, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickLoader_t-
134, -
135stringdata0-
136) -
137+ 204 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 14, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickLoader_t-
141, -
142stringdata0-
143) -
144+ 220 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 4, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickLoader_t-
148, -
149stringdata0-
150) -
151+ 235 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 6, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQuickLoader_t-
155, -
156stringdata0-
157) -
158+ 240 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 6, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQuickLoader_t-
162, -
163stringdata0-
164) -
165+ 247 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 8, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQuickLoader_t-
169, -
170stringdata0-
171) -
172+ 254 - 21 * sizeof(QByteArrayData)) },-
173{ { { -1 } }, 12, 0, 0, qptrdiff(-
174__builtin_offsetof (-
175qt_meta_stringdata_QQuickLoader_t-
176, -
177stringdata0-
178) -
179+ 263 - 22 * sizeof(QByteArrayData)) },-
180{ { { -1 } }, 4, 0, 0, qptrdiff(-
181__builtin_offsetof (-
182qt_meta_stringdata_QQuickLoader_t-
183, -
184stringdata0-
185) -
186+ 276 - 23 * sizeof(QByteArrayData)) },-
187{ { { -1 } }, 5, 0, 0, qptrdiff(-
188__builtin_offsetof (-
189qt_meta_stringdata_QQuickLoader_t-
190, -
191stringdata0-
192) -
193+ 281 - 24 * sizeof(QByteArrayData)) },-
194{ { { -1 } }, 7, 0, 0, qptrdiff(-
195__builtin_offsetof (-
196qt_meta_stringdata_QQuickLoader_t-
197, -
198stringdata0-
199) -
200+ 287 - 25 * sizeof(QByteArrayData)) },-
201{ { { -1 } }, 5, 0, 0, qptrdiff(-
202__builtin_offsetof (-
203qt_meta_stringdata_QQuickLoader_t-
204, -
205stringdata0-
206) -
207+ 295 - 26 * sizeof(QByteArrayData)) }-
208-
209 },-
210 "QQuickLoader\0itemChanged\0\0activeChanged\0"-
211 "sourceChanged\0sourceComponentChanged\0"-
212 "statusChanged\0progressChanged\0loaded\0"-
213 "asynchronousChanged\0_q_sourceLoaded\0"-
214 "_q_updateSize\0setSource\0QQmlV4Function*\0"-
215 "active\0source\0sourceComponent\0"-
216 "QQmlComponent*\0item\0status\0Status\0"-
217 "progress\0asynchronous\0Null\0Ready\0"-
218 "Loading\0Error"-
219};-
220-
221-
222static const uint qt_meta_data_QQuickLoader[] = {-
223-
224-
225 7,-
226 0,-
227 0, 0,-
228 11, 14,-
229 7, 82,-
230 1, 110,-
231 0, 0,-
232 0,-
233 8,-
234-
235-
236 1, 0, 69, 2, 0x06 ,-
237 3, 0, 70, 2, 0x06 ,-
238 4, 0, 71, 2, 0x06 ,-
239 5, 0, 72, 2, 0x06 ,-
240 6, 0, 73, 2, 0x06 ,-
241 7, 0, 74, 2, 0x06 ,-
242 8, 0, 75, 2, 0x06 ,-
243 9, 0, 76, 2, 0x06 ,-
244-
245-
246 10, 0, 77, 2, 0x08 ,-
247 11, 0, 78, 2, 0x08 ,-
248-
249-
250 12, 1, 79, 2, 0x02 ,-
251-
252-
253 QMetaType::Void,-
254 QMetaType::Void,-
255 QMetaType::Void,-
256 QMetaType::Void,-
257 QMetaType::Void,-
258 QMetaType::Void,-
259 QMetaType::Void,-
260 QMetaType::Void,-
261-
262-
263 QMetaType::Void,-
264 QMetaType::Void,-
265-
266-
267 QMetaType::Void, 0x80000000 | 13, 2,-
268-
269-
270 14, QMetaType::Bool, 0x00495103,-
271 15, QMetaType::QUrl, 0x00495103,-
272 16, 0x80000000 | 17, 0x0049510f,-
273 18, QMetaType::QObjectStar, 0x00495001,-
274 19, 0x80000000 | 20, 0x00495009,-
275 21, QMetaType::QReal, 0x00495001,-
276 22, QMetaType::Bool, 0x00495103,-
277-
278-
279 1,-
280 2,-
281 3,-
282 0,-
283 4,-
284 5,-
285 7,-
286-
287-
288 20, 0x0, 4, 114,-
289-
290-
291 23, uint(QQuickLoader::Null),-
292 24, uint(QQuickLoader::Ready),-
293 25, uint(QQuickLoader::Loading),-
294 26, uint(QQuickLoader::Error),-
295-
296 0-
297};-
298-
299void QQuickLoader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
300{-
301 if (_c == QMetaObject::InvokeMetaMethod) {-
302 QQuickLoader *_t = static_cast<QQuickLoader *>(_o);-
303 (void)_t;-
304 switch (_id) {-
305 case 0: _t->itemChanged(); break;-
306 case 1: _t->activeChanged(); break;-
307 case 2: _t->sourceChanged(); break;-
308 case 3: _t->sourceComponentChanged(); break;-
309 case 4: _t->statusChanged(); break;-
310 case 5: _t->progressChanged(); break;-
311 case 6: _t->loaded(); break;-
312 case 7: _t->asynchronousChanged(); break;-
313 case 8: _t->d_func()->_q_sourceLoaded(); break;-
314 case 9: _t->d_func()->_q_updateSize(); break;-
315 case 10: _t->setSource((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break;-
316 default: ;-
317 }-
318 } else if (_c == QMetaObject::IndexOfMethod) {-
319 int *result = reinterpret_cast<int *>(_a[0]);-
320 {-
321 using _t = void (QQuickLoader::*)();-
322 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickLoader::itemChanged)) {-
323 *result = 0;-
324 return;-
325 }-
326 }-
327 {-
328 using _t = void (QQuickLoader::*)();-
329 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickLoader::activeChanged)) {-
330 *result = 1;-
331 return;-
332 }-
333 }-
334 {-
335 using _t = void (QQuickLoader::*)();-
336 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickLoader::sourceChanged)) {-
337 *result = 2;-
338 return;-
339 }-
340 }-
341 {-
342 using _t = void (QQuickLoader::*)();-
343 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickLoader::sourceComponentChanged)) {-
344 *result = 3;-
345 return;-
346 }-
347 }-
348 {-
349 using _t = void (QQuickLoader::*)();-
350 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickLoader::statusChanged)) {-
351 *result = 4;-
352 return;-
353 }-
354 }-
355 {-
356 using _t = void (QQuickLoader::*)();-
357 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickLoader::progressChanged)) {-
358 *result = 5;-
359 return;-
360 }-
361 }-
362 {-
363 using _t = void (QQuickLoader::*)();-
364 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickLoader::loaded)) {-
365 *result = 6;-
366 return;-
367 }-
368 }-
369 {-
370 using _t = void (QQuickLoader::*)();-
371 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickLoader::asynchronousChanged)) {-
372 *result = 7;-
373 return;-
374 }-
375 }-
376 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
377 switch (_id) {-
378 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
379 case 2:-
380 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;-
381 }-
382 }-
383-
384-
385 else if (_c == QMetaObject::ReadProperty) {-
386 QQuickLoader *_t = static_cast<QQuickLoader *>(_o);-
387 (void)_t;-
388 void *_v = _a[0];-
389 switch (_id) {-
390 case 0: *reinterpret_cast< bool*>(_v) = _t->active(); break;-
391 case 1: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;-
392 case 2: *reinterpret_cast< QQmlComponent**>(_v) = _t->sourceComponent(); break;-
393 case 3: *reinterpret_cast< QObject**>(_v) = _t->item(); break;-
394 case 4: *reinterpret_cast< Status*>(_v) = _t->status(); break;-
395 case 5: *reinterpret_cast< qreal*>(_v) = _t->progress(); break;-
396 case 6: *reinterpret_cast< bool*>(_v) = _t->asynchronous(); break;-
397 default: break;-
398 }-
399 } else if (_c == QMetaObject::WriteProperty) {-
400 QQuickLoader *_t = static_cast<QQuickLoader *>(_o);-
401 (void)_t;-
402 void *_v = _a[0];-
403 switch (_id) {-
404 case 0: _t->setActive(*reinterpret_cast< bool*>(_v)); break;-
405 case 1: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;-
406 case 2: _t->setSourceComponent(*reinterpret_cast< QQmlComponent**>(_v)); break;-
407 case 6: _t->setAsynchronous(*reinterpret_cast< bool*>(_v)); break;-
408 default: break;-
409 }-
410 } else if (_c == QMetaObject::ResetProperty) {-
411 QQuickLoader *_t = static_cast<QQuickLoader *>(_o);-
412 (void)_t;-
413 switch (_id) {-
414 case 2: _t->resetSourceComponent(); break;-
415 default: break;-
416 }-
417 }-
418-
419}-
420-
421 const QMetaObject QQuickLoader::staticMetaObject = {-
422 { &QQuickImplicitSizeItem::staticMetaObject, qt_meta_stringdata_QQuickLoader.data,-
423 qt_meta_data_QQuickLoader, qt_static_metacall, nullptr, nullptr}-
424};-
425-
426-
427const QMetaObject *QQuickLoader::metaObject() const-
428{-
429 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
430}-
431-
432void *QQuickLoader::qt_metacast(const char *_clname)-
433{-
434 if (!_clname) return nullptr;-
435 if (!strcmp(_clname, qt_meta_stringdata_QQuickLoader.stringdata0))-
436 return static_cast<void*>(this);-
437 return QQuickImplicitSizeItem::qt_metacast(_clname);-
438}-
439-
440int QQuickLoader::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
441{-
442 _id = QQuickImplicitSizeItem::qt_metacall(_c, _id, _a);-
443 if (_id < 0)-
444 return _id;-
445 if (_c == QMetaObject::InvokeMetaMethod) {-
446 if (_id < 11)-
447 qt_static_metacall(this, _c, _id, _a);-
448 _id -= 11;-
449 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
450 if (_id < 11)-
451 *reinterpret_cast<int*>(_a[0]) = -1;-
452 _id -= 11;-
453 }-
454-
455 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
456 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
457 qt_static_metacall(this, _c, _id, _a);-
458 _id -= 7;-
459 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
460 _id -= 7;-
461 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
462 _id -= 7;-
463 } else if (_c == QMetaObject::QueryPropertyStored) {-
464 _id -= 7;-
465 } else if (_c == QMetaObject::QueryPropertyEditable) {-
466 _id -= 7;-
467 } else if (_c == QMetaObject::QueryPropertyUser) {-
468 _id -= 7;-
469 }-
470-
471 return _id;-
472}-
473-
474-
475void QQuickLoader::itemChanged()-
476{-
477 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
478}
executed 390 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
390
479-
480-
481void QQuickLoader::activeChanged()-
482{-
483 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
484}
executed 66 times by 2 tests: end of block
Executed by:
  • tst_qquickanimations
  • tst_qquickloader
66
485-
486-
487void QQuickLoader::sourceChanged()-
488{-
489 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
490}
executed 204 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickloader
204
491-
492-
493void QQuickLoader::sourceComponentChanged()-
494{-
495 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
496}
executed 186 times by 12 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
186
497-
498-
499void QQuickLoader::statusChanged()-
500{-
501 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
502}
executed 450 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
450
503-
504-
505void QQuickLoader::progressChanged()-
506{-
507 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
508}
executed 434 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
434
509-
510-
511void QQuickLoader::loaded()-
512{-
513 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
514}
executed 294 times by 14 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlconnections
  • tst_qqmlecmascript
  • tst_qqmltypeloader
  • tst_qqmlxmlhttprequest
  • tst_qquickanimations
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
294
515-
516-
517void QQuickLoader::asynchronousChanged()-
518{-
519 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
520}
executed 50 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmltypeloader
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickloader
  • tst_qquickpathview
  • tst_qquickrepeater
50
521-
522#pragma GCC diagnostic pop-
523-
524-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0