OpenCoverage

moc_qquickscreen_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickscreen_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_QQuickScreenInfo_t {-
9 QByteArrayData data[32];-
10 char stringdata0[497];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickScreenInfo_t qt_meta_stringdata_QQuickScreenInfo = {-
18 {-
19{ { { -1 } }, 16, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickScreenInfo_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 11, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickScreenInfo_t-
29, -
30stringdata0-
31) -
32+ 17 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickScreenInfo_t-
36, -
37stringdata0-
38) -
39+ 29 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 19, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickScreenInfo_t-
43, -
44stringdata0-
45) -
46+ 30 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 12, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickScreenInfo_t-
50, -
51stringdata0-
52) -
53+ 50 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 19, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickScreenInfo_t-
57, -
58stringdata0-
59) -
60+ 63 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 12, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickScreenInfo_t-
64, -
65stringdata0-
66) -
67+ 83 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 13, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickScreenInfo_t-
71, -
72stringdata0-
73) -
74+ 96 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 22, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickScreenInfo_t-
78, -
79stringdata0-
80) -
81+ 110 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 26, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickScreenInfo_t-
85, -
86stringdata0-
87) -
88+ 133 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 19, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickScreenInfo_t-
92, -
93stringdata0-
94) -
95+ 160 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 23, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickScreenInfo_t-
99, -
100stringdata0-
101) -
102+ 180 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 25, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickScreenInfo_t-
106, -
107stringdata0-
108) -
109+ 204 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 18, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickScreenInfo_t-
113, -
114stringdata0-
115) -
116+ 230 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 15, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickScreenInfo_t-
120, -
121stringdata0-
122) -
123+ 249 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 15, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickScreenInfo_t-
127, -
128stringdata0-
129) -
130+ 265 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 4, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickScreenInfo_t-
134, -
135stringdata0-
136) -
137+ 281 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 12, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickScreenInfo_t-
141, -
142stringdata0-
143) -
144+ 286 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 5, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickScreenInfo_t-
148, -
149stringdata0-
150) -
151+ 299 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 12, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQuickScreenInfo_t-
155, -
156stringdata0-
157) -
158+ 305 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 5, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQuickScreenInfo_t-
162, -
163stringdata0-
164) -
165+ 318 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 6, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQuickScreenInfo_t-
169, -
170stringdata0-
171) -
172+ 324 - 21 * sizeof(QByteArrayData)) },-
173{ { { -1 } }, 21, 0, 0, qptrdiff(-
174__builtin_offsetof (-
175qt_meta_stringdata_QQuickScreenInfo_t-
176, -
177stringdata0-
178) -
179+ 331 - 22 * sizeof(QByteArrayData)) },-
180{ { { -1 } }, 22, 0, 0, qptrdiff(-
181__builtin_offsetof (-
182qt_meta_stringdata_QQuickScreenInfo_t-
183, -
184stringdata0-
185) -
186+ 353 - 23 * sizeof(QByteArrayData)) },-
187{ { { -1 } }, 19, 0, 0, qptrdiff(-
188__builtin_offsetof (-
189qt_meta_stringdata_QQuickScreenInfo_t-
190, -
191stringdata0-
192) -
193+ 376 - 24 * sizeof(QByteArrayData)) },-
194{ { { -1 } }, 12, 0, 0, qptrdiff(-
195__builtin_offsetof (-
196qt_meta_stringdata_QQuickScreenInfo_t-
197, -
198stringdata0-
199) -
200+ 396 - 25 * sizeof(QByteArrayData)) },-
201{ { { -1 } }, 16, 0, 0, qptrdiff(-
202__builtin_offsetof (-
203qt_meta_stringdata_QQuickScreenInfo_t-
204, -
205stringdata0-
206) -
207+ 409 - 26 * sizeof(QByteArrayData)) },-
208{ { { -1 } }, 18, 0, 0, qptrdiff(-
209__builtin_offsetof (-
210qt_meta_stringdata_QQuickScreenInfo_t-
211, -
212stringdata0-
213) -
214+ 426 - 27 * sizeof(QByteArrayData)) },-
215{ { { -1 } }, 21, 0, 0, qptrdiff(-
216__builtin_offsetof (-
217qt_meta_stringdata_QQuickScreenInfo_t-
218, -
219stringdata0-
220) -
221+ 445 - 28 * sizeof(QByteArrayData)) },-
222{ { { -1 } }, 11, 0, 0, qptrdiff(-
223__builtin_offsetof (-
224qt_meta_stringdata_QQuickScreenInfo_t-
225, -
226stringdata0-
227) -
228+ 467 - 29 * sizeof(QByteArrayData)) },-
229{ { { -1 } }, 8, 0, 0, qptrdiff(-
230__builtin_offsetof (-
231qt_meta_stringdata_QQuickScreenInfo_t-
232, -
233stringdata0-
234) -
235+ 479 - 30 * sizeof(QByteArrayData)) },-
236{ { { -1 } }, 8, 0, 0, qptrdiff(-
237__builtin_offsetof (-
238qt_meta_stringdata_QQuickScreenInfo_t-
239, -
240stringdata0-
241) -
242+ 488 - 31 * sizeof(QByteArrayData)) }-
243-
244 },-
245 "QQuickScreenInfo\0nameChanged\0\0"-
246 "manufacturerChanged\0modelChanged\0"-
247 "serialNumberChanged\0widthChanged\0"-
248 "heightChanged\0desktopGeometryChanged\0"-
249 "logicalPixelDensityChanged\0"-
250 "pixelDensityChanged\0devicePixelRatioChanged\0"-
251 "primaryOrientationChanged\0orientationChanged\0"-
252 "virtualXChanged\0virtualYChanged\0name\0"-
253 "manufacturer\0model\0serialNumber\0width\0"-
254 "height\0desktopAvailableWidth\0"-
255 "desktopAvailableHeight\0logicalPixelDensity\0"-
256 "pixelDensity\0devicePixelRatio\0"-
257 "primaryOrientation\0Qt::ScreenOrientation\0"-
258 "orientation\0virtualX\0virtualY"-
259};-
260-
261-
262static const uint qt_meta_data_QQuickScreenInfo[] = {-
263-
264-
265 7,-
266 0,-
267 0, 0,-
268 14, 14,-
269 15, 112,-
270 0, 0,-
271 0, 0,-
272 0,-
273 14,-
274-
275-
276 1, 0, 98, 2, 0x06 ,-
277 3, 0, 99, 2, 0x86 ,-
278 4, 0, 100, 2, 0x86 ,-
279 5, 0, 101, 2, 0x86 ,-
280 6, 0, 102, 2, 0x06 ,-
281 7, 0, 103, 2, 0x06 ,-
282 8, 0, 104, 2, 0x06 ,-
283 9, 0, 105, 2, 0x06 ,-
284 10, 0, 106, 2, 0x06 ,-
285 11, 0, 107, 2, 0x06 ,-
286 12, 0, 108, 2, 0x06 ,-
287 13, 0, 109, 2, 0x06 ,-
288 14, 0, 110, 2, 0x86 ,-
289 15, 0, 111, 2, 0x86 ,-
290-
291-
292 0,-
293 10,-
294 10,-
295 10,-
296 0,-
297 0,-
298 0,-
299 0,-
300 0,-
301 0,-
302 0,-
303 0,-
304 1,-
305 1,-
306-
307-
308 QMetaType::Void,-
309 QMetaType::Void,-
310 QMetaType::Void,-
311 QMetaType::Void,-
312 QMetaType::Void,-
313 QMetaType::Void,-
314 QMetaType::Void,-
315 QMetaType::Void,-
316 QMetaType::Void,-
317 QMetaType::Void,-
318 QMetaType::Void,-
319 QMetaType::Void,-
320 QMetaType::Void,-
321 QMetaType::Void,-
322-
323-
324 16, QMetaType::QString, 0x00495001,-
325 17, QMetaType::QString, 0x00c95001,-
326 18, QMetaType::QString, 0x00c95001,-
327 19, QMetaType::QString, 0x00c95001,-
328 20, QMetaType::Int, 0x00495001,-
329 21, QMetaType::Int, 0x00495001,-
330 22, QMetaType::Int, 0x00495001,-
331 23, QMetaType::Int, 0x00495001,-
332 24, QMetaType::QReal, 0x00495001,-
333 25, QMetaType::QReal, 0x00495001,-
334 26, QMetaType::QReal, 0x00495001,-
335 27, 0x80000000 | 28, 0x00495009,-
336 29, 0x80000000 | 28, 0x00495009,-
337 30, QMetaType::Int, 0x00c95001,-
338 31, QMetaType::Int, 0x00c95001,-
339-
340-
341 0,-
342 1,-
343 2,-
344 3,-
345 4,-
346 5,-
347 6,-
348 6,-
349 7,-
350 8,-
351 9,-
352 10,-
353 11,-
354 12,-
355 13,-
356-
357-
358 0,-
359 10,-
360 10,-
361 10,-
362 0,-
363 0,-
364 0,-
365 0,-
366 0,-
367 0,-
368 0,-
369 0,-
370 0,-
371 1,-
372 1,-
373-
374 0-
375};-
376-
377void QQuickScreenInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
378{-
379 if (_c == QMetaObject::InvokeMetaMethod) {-
380 QQuickScreenInfo *_t = static_cast<QQuickScreenInfo *>(_o);-
381 (void)_t;-
382 switch (_id) {-
383 case 0: _t->nameChanged(); break;-
384 case 1: _t->manufacturerChanged(); break;-
385 case 2: _t->modelChanged(); break;-
386 case 3: _t->serialNumberChanged(); break;-
387 case 4: _t->widthChanged(); break;-
388 case 5: _t->heightChanged(); break;-
389 case 6: _t->desktopGeometryChanged(); break;-
390 case 7: _t->logicalPixelDensityChanged(); break;-
391 case 8: _t->pixelDensityChanged(); break;-
392 case 9: _t->devicePixelRatioChanged(); break;-
393 case 10: _t->primaryOrientationChanged(); break;-
394 case 11: _t->orientationChanged(); break;-
395 case 12: _t->virtualXChanged(); break;-
396 case 13: _t->virtualYChanged(); break;-
397 default: ;-
398 }-
399 } else if (_c == QMetaObject::IndexOfMethod) {-
400 int *result = reinterpret_cast<int *>(_a[0]);-
401 {-
402 using _t = void (QQuickScreenInfo::*)();-
403 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::nameChanged)) {-
404 *result = 0;-
405 return;-
406 }-
407 }-
408 {-
409 using _t = void (QQuickScreenInfo::*)();-
410 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::manufacturerChanged)) {-
411 *result = 1;-
412 return;-
413 }-
414 }-
415 {-
416 using _t = void (QQuickScreenInfo::*)();-
417 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::modelChanged)) {-
418 *result = 2;-
419 return;-
420 }-
421 }-
422 {-
423 using _t = void (QQuickScreenInfo::*)();-
424 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::serialNumberChanged)) {-
425 *result = 3;-
426 return;-
427 }-
428 }-
429 {-
430 using _t = void (QQuickScreenInfo::*)();-
431 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::widthChanged)) {-
432 *result = 4;-
433 return;-
434 }-
435 }-
436 {-
437 using _t = void (QQuickScreenInfo::*)();-
438 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::heightChanged)) {-
439 *result = 5;-
440 return;-
441 }-
442 }-
443 {-
444 using _t = void (QQuickScreenInfo::*)();-
445 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::desktopGeometryChanged)) {-
446 *result = 6;-
447 return;-
448 }-
449 }-
450 {-
451 using _t = void (QQuickScreenInfo::*)();-
452 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::logicalPixelDensityChanged)) {-
453 *result = 7;-
454 return;-
455 }-
456 }-
457 {-
458 using _t = void (QQuickScreenInfo::*)();-
459 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::pixelDensityChanged)) {-
460 *result = 8;-
461 return;-
462 }-
463 }-
464 {-
465 using _t = void (QQuickScreenInfo::*)();-
466 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::devicePixelRatioChanged)) {-
467 *result = 9;-
468 return;-
469 }-
470 }-
471 {-
472 using _t = void (QQuickScreenInfo::*)();-
473 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::primaryOrientationChanged)) {-
474 *result = 10;-
475 return;-
476 }-
477 }-
478 {-
479 using _t = void (QQuickScreenInfo::*)();-
480 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::orientationChanged)) {-
481 *result = 11;-
482 return;-
483 }-
484 }-
485 {-
486 using _t = void (QQuickScreenInfo::*)();-
487 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::virtualXChanged)) {-
488 *result = 12;-
489 return;-
490 }-
491 }-
492 {-
493 using _t = void (QQuickScreenInfo::*)();-
494 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::virtualYChanged)) {-
495 *result = 13;-
496 return;-
497 }-
498 }-
499 }-
500-
501 else if (_c == QMetaObject::ReadProperty) {-
502 QQuickScreenInfo *_t = static_cast<QQuickScreenInfo *>(_o);-
503 (void)_t;-
504 void *_v = _a[0];-
505 switch (_id) {-
506 case 0: *reinterpret_cast< QString*>(_v) = _t->name(); break;-
507 case 1: *reinterpret_cast< QString*>(_v) = _t->manufacturer(); break;-
508 case 2: *reinterpret_cast< QString*>(_v) = _t->model(); break;-
509 case 3: *reinterpret_cast< QString*>(_v) = _t->serialNumber(); break;-
510 case 4: *reinterpret_cast< int*>(_v) = _t->width(); break;-
511 case 5: *reinterpret_cast< int*>(_v) = _t->height(); break;-
512 case 6: *reinterpret_cast< int*>(_v) = _t->desktopAvailableWidth(); break;-
513 case 7: *reinterpret_cast< int*>(_v) = _t->desktopAvailableHeight(); break;-
514 case 8: *reinterpret_cast< qreal*>(_v) = _t->logicalPixelDensity(); break;-
515 case 9: *reinterpret_cast< qreal*>(_v) = _t->pixelDensity(); break;-
516 case 10: *reinterpret_cast< qreal*>(_v) = _t->devicePixelRatio(); break;-
517 case 11: *reinterpret_cast< Qt::ScreenOrientation*>(_v) = _t->primaryOrientation(); break;-
518 case 12: *reinterpret_cast< Qt::ScreenOrientation*>(_v) = _t->orientation(); break;-
519 case 13: *reinterpret_cast< int*>(_v) = _t->virtualX(); break;-
520 case 14: *reinterpret_cast< int*>(_v) = _t->virtualY(); break;-
521 default: break;-
522 }-
523 } else if (_c == QMetaObject::WriteProperty) {-
524 } else if (_c == QMetaObject::ResetProperty) {-
525 }-
526-
527 (void)_a;;-
528}-
529-
530 const QMetaObject QQuickScreenInfo::staticMetaObject = {-
531 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickScreenInfo.data,-
532 qt_meta_data_QQuickScreenInfo, qt_static_metacall, nullptr, nullptr}-
533};-
534-
535-
536const QMetaObject *QQuickScreenInfo::metaObject() const-
537{-
538 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
539}-
540-
541void *QQuickScreenInfo::qt_metacast(const char *_clname)-
542{-
543 if (!_clname) return nullptr;-
544 if (!strcmp(_clname, qt_meta_stringdata_QQuickScreenInfo.stringdata0))-
545 return static_cast<void*>(this);-
546 return QObject::qt_metacast(_clname);-
547}-
548-
549int QQuickScreenInfo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
550{-
551 _id = QObject::qt_metacall(_c, _id, _a);-
552 if (_id < 0)-
553 return _id;-
554 if (_c == QMetaObject::InvokeMetaMethod) {-
555 if (_id < 14)-
556 qt_static_metacall(this, _c, _id, _a);-
557 _id -= 14;-
558 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
559 if (_id < 14)-
560 *reinterpret_cast<int*>(_a[0]) = -1;-
561 _id -= 14;-
562 }-
563-
564 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
565 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
566 qt_static_metacall(this, _c, _id, _a);-
567 _id -= 15;-
568 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
569 _id -= 15;-
570 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
571 _id -= 15;-
572 } else if (_c == QMetaObject::QueryPropertyStored) {-
573 _id -= 15;-
574 } else if (_c == QMetaObject::QueryPropertyEditable) {-
575 _id -= 15;-
576 } else if (_c == QMetaObject::QueryPropertyUser) {-
577 _id -= 15;-
578 }-
579-
580 return _id;-
581}-
582-
583-
584void QQuickScreenInfo::nameChanged()-
585{-
586 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
587}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
588-
589-
590void QQuickScreenInfo::manufacturerChanged()-
591{-
592 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
593}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
594-
595-
596void QQuickScreenInfo::modelChanged()-
597{-
598 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
599}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
600-
601-
602void QQuickScreenInfo::serialNumberChanged()-
603{-
604 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
605}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
606-
607-
608void QQuickScreenInfo::widthChanged()-
609{-
610 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
611}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
612-
613-
614void QQuickScreenInfo::heightChanged()-
615{-
616 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
617}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
618-
619-
620void QQuickScreenInfo::desktopGeometryChanged()-
621{-
622 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
623}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
624-
625-
626void QQuickScreenInfo::logicalPixelDensityChanged()-
627{-
628 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
629}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
630-
631-
632void QQuickScreenInfo::pixelDensityChanged()-
633{-
634 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
635}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
636-
637-
638void QQuickScreenInfo::devicePixelRatioChanged()-
639{-
640 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);-
641}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
642-
643-
644void QQuickScreenInfo::primaryOrientationChanged()-
645{-
646 QMetaObject::activate(this, &staticMetaObject, 10, nullptr);-
647}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
648-
649-
650void QQuickScreenInfo::orientationChanged()-
651{-
652 QMetaObject::activate(this, &staticMetaObject, 11, nullptr);-
653}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
654-
655-
656void QQuickScreenInfo::virtualXChanged()-
657{-
658 QMetaObject::activate(this, &staticMetaObject, 12, nullptr);-
659}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
660-
661-
662void QQuickScreenInfo::virtualYChanged()-
663{-
664 QMetaObject::activate(this, &staticMetaObject, 13, nullptr);-
665}
executed 52 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickapplication
  • tst_qquickscreen
  • tst_scenegraph
52
666struct qt_meta_stringdata_QQuickScreenAttached_t {-
667 QByteArrayData data[10];-
668 char stringdata0[136];-
669};-
670-
671-
672-
673-
674-
675static const qt_meta_stringdata_QQuickScreenAttached_t qt_meta_stringdata_QQuickScreenAttached = {-
676 {-
677{ { { -1 } }, 20, 0, 0, qptrdiff(-
678__builtin_offsetof (-
679qt_meta_stringdata_QQuickScreenAttached_t-
680, -
681stringdata0-
682) -
683+ 0 - 0 * sizeof(QByteArrayData)) },-
684{ { { -1 } }, 28, 0, 0, qptrdiff(-
685__builtin_offsetof (-
686qt_meta_stringdata_QQuickScreenAttached_t-
687, -
688stringdata0-
689) -
690+ 21 - 1 * sizeof(QByteArrayData)) },-
691{ { { -1 } }, 0, 0, 0, qptrdiff(-
692__builtin_offsetof (-
693qt_meta_stringdata_QQuickScreenAttached_t-
694, -
695stringdata0-
696) -
697+ 50 - 2 * sizeof(QByteArrayData)) },-
698{ { { -1 } }, 13, 0, 0, qptrdiff(-
699__builtin_offsetof (-
700qt_meta_stringdata_QQuickScreenAttached_t-
701, -
702stringdata0-
703) -
704+ 51 - 3 * sizeof(QByteArrayData)) },-
705{ { { -1 } }, 8, 0, 0, qptrdiff(-
706__builtin_offsetof (-
707qt_meta_stringdata_QQuickScreenAttached_t-
708, -
709stringdata0-
710) -
711+ 65 - 4 * sizeof(QByteArrayData)) },-
712{ { { -1 } }, 12, 0, 0, qptrdiff(-
713__builtin_offsetof (-
714qt_meta_stringdata_QQuickScreenAttached_t-
715, -
716stringdata0-
717) -
718+ 74 - 5 * sizeof(QByteArrayData)) },-
719{ { { -1 } }, 1, 0, 0, qptrdiff(-
720__builtin_offsetof (-
721qt_meta_stringdata_QQuickScreenAttached_t-
722, -
723stringdata0-
724) -
725+ 87 - 6 * sizeof(QByteArrayData)) },-
726{ { { -1 } }, 1, 0, 0, qptrdiff(-
727__builtin_offsetof (-
728qt_meta_stringdata_QQuickScreenAttached_t-
729, -
730stringdata0-
731) -
732+ 89 - 7 * sizeof(QByteArrayData)) },-
733{ { { -1 } }, 21, 0, 0, qptrdiff(-
734__builtin_offsetof (-
735qt_meta_stringdata_QQuickScreenAttached_t-
736, -
737stringdata0-
738) -
739+ 91 - 8 * sizeof(QByteArrayData)) },-
740{ { { -1 } }, 22, 0, 0, qptrdiff(-
741__builtin_offsetof (-
742qt_meta_stringdata_QQuickScreenAttached_t-
743, -
744stringdata0-
745) -
746+ 113 - 9 * sizeof(QByteArrayData)) }-
747-
748 },-
749 "QQuickScreenAttached\0orientationUpdateMaskChanged\0"-
750 "\0screenChanged\0QScreen*\0angleBetween\0"-
751 "a\0b\0orientationUpdateMask\0"-
752 "Qt::ScreenOrientations"-
753};-
754-
755-
756static const uint qt_meta_data_QQuickScreenAttached[] = {-
757-
758-
759 7,-
760 0,-
761 0, 0,-
762 3, 14,-
763 1, 38,-
764 0, 0,-
765 0, 0,-
766 0,-
767 1,-
768-
769-
770 1, 0, 29, 2, 0x06 ,-
771-
772-
773 3, 1, 30, 2, 0x09 ,-
774-
775-
776 5, 2, 33, 2, 0x02 ,-
777-
778-
779 QMetaType::Void,-
780-
781-
782 QMetaType::Void, 0x80000000 | 4, 2,-
783-
784-
785 QMetaType::Int, QMetaType::Int, QMetaType::Int, 6, 7,-
786-
787-
788 8, 0x80000000 | 9, 0x0049510b,-
789-
790-
791 0,-
792-
793 0-
794};-
795-
796void QQuickScreenAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
797{-
798 if (_c == QMetaObject::InvokeMetaMethod) {-
799 QQuickScreenAttached *_t = static_cast<QQuickScreenAttached *>(_o);-
800 (void)_t;-
801 switch (_id) {-
802 case 0: _t->orientationUpdateMaskChanged(); break;-
803 case 1: _t->screenChanged((*reinterpret_cast< QScreen*(*)>(_a[1]))); break;-
804 case 2: { int _r = _t->angleBetween((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));-
805 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;-
806 default: ;-
807 }-
808 } else if (_c == QMetaObject::IndexOfMethod) {-
809 int *result = reinterpret_cast<int *>(_a[0]);-
810 {-
811 using _t = void (QQuickScreenAttached::*)();-
812 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenAttached::orientationUpdateMaskChanged)) {-
813 *result = 0;-
814 return;-
815 }-
816 }-
817 }-
818-
819 else if (_c == QMetaObject::ReadProperty) {-
820 QQuickScreenAttached *_t = static_cast<QQuickScreenAttached *>(_o);-
821 (void)_t;-
822 void *_v = _a[0];-
823 switch (_id) {-
824 case 0: *reinterpret_cast< Qt::ScreenOrientations*>(_v) = _t->orientationUpdateMask(); break;-
825 default: break;-
826 }-
827 } else if (_c == QMetaObject::WriteProperty) {-
828 QQuickScreenAttached *_t = static_cast<QQuickScreenAttached *>(_o);-
829 (void)_t;-
830 void *_v = _a[0];-
831 switch (_id) {-
832 case 0: _t->setOrientationUpdateMask(*reinterpret_cast< Qt::ScreenOrientations*>(_v)); break;-
833 default: break;-
834 }-
835 } else if (_c == QMetaObject::ResetProperty) {-
836 }-
837-
838}-
839-
840 const QMetaObject QQuickScreenAttached::staticMetaObject = {-
841 { &QQuickScreenInfo::staticMetaObject, qt_meta_stringdata_QQuickScreenAttached.data,-
842 qt_meta_data_QQuickScreenAttached, qt_static_metacall, nullptr, nullptr}-
843};-
844-
845-
846const QMetaObject *QQuickScreenAttached::metaObject() const-
847{-
848 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
849}-
850-
851void *QQuickScreenAttached::qt_metacast(const char *_clname)-
852{-
853 if (!_clname) return nullptr;-
854 if (!strcmp(_clname, qt_meta_stringdata_QQuickScreenAttached.stringdata0))-
855 return static_cast<void*>(this);-
856 return QQuickScreenInfo::qt_metacast(_clname);-
857}-
858-
859int QQuickScreenAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
860{-
861 _id = QQuickScreenInfo::qt_metacall(_c, _id, _a);-
862 if (_id < 0)-
863 return _id;-
864 if (_c == QMetaObject::InvokeMetaMethod) {-
865 if (_id < 3)-
866 qt_static_metacall(this, _c, _id, _a);-
867 _id -= 3;-
868 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
869 if (_id < 3)-
870 *reinterpret_cast<int*>(_a[0]) = -1;-
871 _id -= 3;-
872 }-
873-
874 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
875 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
876 qt_static_metacall(this, _c, _id, _a);-
877 _id -= 1;-
878 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
879 _id -= 1;-
880 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
881 _id -= 1;-
882 } else if (_c == QMetaObject::QueryPropertyStored) {-
883 _id -= 1;-
884 } else if (_c == QMetaObject::QueryPropertyEditable) {-
885 _id -= 1;-
886 } else if (_c == QMetaObject::QueryPropertyUser) {-
887 _id -= 1;-
888 }-
889-
890 return _id;-
891}-
892-
893-
894void QQuickScreenAttached::orientationUpdateMaskChanged()-
895{-
896 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
897}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickscreen
6
898struct qt_meta_stringdata_QQuickScreen_t {-
899 QByteArrayData data[1];-
900 char stringdata0[13];-
901};-
902-
903-
904-
905-
906-
907static const qt_meta_stringdata_QQuickScreen_t qt_meta_stringdata_QQuickScreen = {-
908 {-
909{ { { -1 } }, 12, 0, 0, qptrdiff(-
910__builtin_offsetof (-
911qt_meta_stringdata_QQuickScreen_t-
912, -
913stringdata0-
914) -
915+ 0 - 0 * sizeof(QByteArrayData)) }-
916-
917 },-
918 "QQuickScreen"-
919};-
920-
921-
922static const uint qt_meta_data_QQuickScreen[] = {-
923-
924-
925 7,-
926 0,-
927 0, 0,-
928 0, 0,-
929 0, 0,-
930 0, 0,-
931 0, 0,-
932 0,-
933 0,-
934-
935 0-
936};-
937-
938void QQuickScreen::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
939{-
940 (void)_o;;-
941 (void)_id;;-
942 (void)_c;;-
943 (void)_a;;-
944}-
945-
946 const QMetaObject QQuickScreen::staticMetaObject = {-
947 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickScreen.data,-
948 qt_meta_data_QQuickScreen, qt_static_metacall, nullptr, nullptr}-
949};-
950-
951-
952const QMetaObject *QQuickScreen::metaObject() const-
953{-
954 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
955}-
956-
957void *QQuickScreen::qt_metacast(const char *_clname)-
958{-
959 if (!_clname) return nullptr;-
960 if (!strcmp(_clname, qt_meta_stringdata_QQuickScreen.stringdata0))-
961 return static_cast<void*>(this);-
962 return QObject::qt_metacast(_clname);-
963}-
964-
965int QQuickScreen::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
966{-
967 _id = QObject::qt_metacall(_c, _id, _a);-
968 return _id;-
969}-
970-
971#pragma GCC diagnostic pop-
972-
973-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0