OpenCoverage

moc_qquickimage_p.cpp

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

Generated by Squish Coco 4.2.0