OpenCoverage

moc_qquickshadereffectmesh_p.cpp

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

Generated by Squish Coco 4.2.0