OpenCoverage

moc_qquickshape_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quickshapes/.moc/moc_qquickshape_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_QQuickShapeGradient_t {-
9 QByteArrayData data[10];-
10 char stringdata0[112];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickShapeGradient_t qt_meta_stringdata_QQuickShapeGradient = {-
18 {-
19{ { { -1 } }, 19, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickShapeGradient_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 15, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickShapeGradient_t-
29, -
30stringdata0-
31) -
32+ 20 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 5, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickShapeGradient_t-
36, -
37stringdata0-
38) -
39+ 36 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 13, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickShapeGradient_t-
43, -
44stringdata0-
45) -
46+ 42 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 0, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickShapeGradient_t-
50, -
51stringdata0-
52) -
53+ 56 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 6, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickShapeGradient_t-
57, -
58stringdata0-
59) -
60+ 57 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 10, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickShapeGradient_t-
64, -
65stringdata0-
66) -
67+ 64 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 9, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickShapeGradient_t-
71, -
72stringdata0-
73) -
74+ 75 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 12, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickShapeGradient_t-
78, -
79stringdata0-
80) -
81+ 85 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 13, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickShapeGradient_t-
85, -
86stringdata0-
87) -
88+ 98 - 9 * sizeof(QByteArrayData)) }-
89-
90 },-
91 "QQuickShapeGradient\0DefaultProperty\0"-
92 "stops\0spreadChanged\0\0spread\0SpreadMode\0"-
93 "PadSpread\0RepeatSpread\0ReflectSpread"-
94};-
95-
96-
97static const uint qt_meta_data_QQuickShapeGradient[] = {-
98-
99-
100 7,-
101 0,-
102 1, 14,-
103 1, 16,-
104 1, 22,-
105 1, 26,-
106 0, 0,-
107 0,-
108 1,-
109-
110-
111 1, 2,-
112-
113-
114 3, 0, 21, 4, 0x06 ,-
115-
116-
117 QMetaType::Void,-
118-
119-
120 5, 0x80000000 | 6, 0x0049510b,-
121-
122-
123 0,-
124-
125-
126 6, 0x0, 3, 30,-
127-
128-
129 7, uint(QQuickShapeGradient::PadSpread),-
130 8, uint(QQuickShapeGradient::RepeatSpread),-
131 9, uint(QQuickShapeGradient::ReflectSpread),-
132-
133 0-
134};-
135-
136void QQuickShapeGradient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
137{-
138 if (_c == QMetaObject::InvokeMetaMethod) {-
139 QQuickShapeGradient *_t = static_cast<QQuickShapeGradient *>(_o);-
140 (void)_t;-
141 switch (_id) {-
142 case 0: _t->spreadChanged(); break;-
143 default: ;-
144 }-
145 } else if (_c == QMetaObject::IndexOfMethod) {-
146 int *result = reinterpret_cast<int *>(_a[0]);-
147 {-
148 using _t = void (QQuickShapeGradient::*)();-
149 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeGradient::spreadChanged)) {-
150 *result = 0;-
151 return;-
152 }-
153 }-
154 }-
155-
156 else if (_c == QMetaObject::ReadProperty) {-
157 QQuickShapeGradient *_t = static_cast<QQuickShapeGradient *>(_o);-
158 (void)_t;-
159 void *_v = _a[0];-
160 switch (_id) {-
161 case 0: *reinterpret_cast< SpreadMode*>(_v) = _t->spread(); break;-
162 default: break;-
163 }-
164 } else if (_c == QMetaObject::WriteProperty) {-
165 QQuickShapeGradient *_t = static_cast<QQuickShapeGradient *>(_o);-
166 (void)_t;-
167 void *_v = _a[0];-
168 switch (_id) {-
169 case 0: _t->setSpread(*reinterpret_cast< SpreadMode*>(_v)); break;-
170 default: break;-
171 }-
172 } else if (_c == QMetaObject::ResetProperty) {-
173 }-
174-
175 (void)_a;;-
176}-
177-
178 const QMetaObject QQuickShapeGradient::staticMetaObject = {-
179 { &QQuickGradient::staticMetaObject, qt_meta_stringdata_QQuickShapeGradient.data,-
180 qt_meta_data_QQuickShapeGradient, qt_static_metacall, nullptr, nullptr}-
181};-
182-
183-
184const QMetaObject *QQuickShapeGradient::metaObject() const-
185{-
186 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
187}-
188-
189void *QQuickShapeGradient::qt_metacast(const char *_clname)-
190{-
191 if (!_clname) return nullptr;-
192 if (!strcmp(_clname, qt_meta_stringdata_QQuickShapeGradient.stringdata0))-
193 return static_cast<void*>(this);-
194 return QQuickGradient::qt_metacast(_clname);-
195}-
196-
197int QQuickShapeGradient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
198{-
199 _id = QQuickGradient::qt_metacall(_c, _id, _a);-
200 if (_id < 0)-
201 return _id;-
202 if (_c == QMetaObject::InvokeMetaMethod) {-
203 if (_id < 1)-
204 qt_static_metacall(this, _c, _id, _a);-
205 _id -= 1;-
206 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
207 if (_id < 1)-
208 *reinterpret_cast<int*>(_a[0]) = -1;-
209 _id -= 1;-
210 }-
211-
212 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
213 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
214 qt_static_metacall(this, _c, _id, _a);-
215 _id -= 1;-
216 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
217 _id -= 1;-
218 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
219 _id -= 1;-
220 } else if (_c == QMetaObject::QueryPropertyStored) {-
221 _id -= 1;-
222 } else if (_c == QMetaObject::QueryPropertyEditable) {-
223 _id -= 1;-
224 } else if (_c == QMetaObject::QueryPropertyUser) {-
225 _id -= 1;-
226 }-
227-
228 return _id;-
229}-
230-
231-
232void QQuickShapeGradient::spreadChanged()-
233{-
234 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
235}
never executed: end of block
0
236struct qt_meta_stringdata_QQuickShapeLinearGradient_t {-
237 QByteArrayData data[12];-
238 char stringdata0[101];-
239};-
240-
241-
242-
243-
244-
245static const qt_meta_stringdata_QQuickShapeLinearGradient_t qt_meta_stringdata_QQuickShapeLinearGradient = {-
246 {-
247{ { { -1 } }, 25, 0, 0, qptrdiff(-
248__builtin_offsetof (-
249qt_meta_stringdata_QQuickShapeLinearGradient_t-
250, -
251stringdata0-
252) -
253+ 0 - 0 * sizeof(QByteArrayData)) },-
254{ { { -1 } }, 15, 0, 0, qptrdiff(-
255__builtin_offsetof (-
256qt_meta_stringdata_QQuickShapeLinearGradient_t-
257, -
258stringdata0-
259) -
260+ 26 - 1 * sizeof(QByteArrayData)) },-
261{ { { -1 } }, 5, 0, 0, qptrdiff(-
262__builtin_offsetof (-
263qt_meta_stringdata_QQuickShapeLinearGradient_t-
264, -
265stringdata0-
266) -
267+ 42 - 2 * sizeof(QByteArrayData)) },-
268{ { { -1 } }, 9, 0, 0, qptrdiff(-
269__builtin_offsetof (-
270qt_meta_stringdata_QQuickShapeLinearGradient_t-
271, -
272stringdata0-
273) -
274+ 48 - 3 * sizeof(QByteArrayData)) },-
275{ { { -1 } }, 0, 0, 0, qptrdiff(-
276__builtin_offsetof (-
277qt_meta_stringdata_QQuickShapeLinearGradient_t-
278, -
279stringdata0-
280) -
281+ 58 - 4 * sizeof(QByteArrayData)) },-
282{ { { -1 } }, 9, 0, 0, qptrdiff(-
283__builtin_offsetof (-
284qt_meta_stringdata_QQuickShapeLinearGradient_t-
285, -
286stringdata0-
287) -
288+ 59 - 5 * sizeof(QByteArrayData)) },-
289{ { { -1 } }, 9, 0, 0, qptrdiff(-
290__builtin_offsetof (-
291qt_meta_stringdata_QQuickShapeLinearGradient_t-
292, -
293stringdata0-
294) -
295+ 69 - 6 * sizeof(QByteArrayData)) },-
296{ { { -1 } }, 9, 0, 0, qptrdiff(-
297__builtin_offsetof (-
298qt_meta_stringdata_QQuickShapeLinearGradient_t-
299, -
300stringdata0-
301) -
302+ 79 - 7 * sizeof(QByteArrayData)) },-
303{ { { -1 } }, 2, 0, 0, qptrdiff(-
304__builtin_offsetof (-
305qt_meta_stringdata_QQuickShapeLinearGradient_t-
306, -
307stringdata0-
308) -
309+ 89 - 8 * sizeof(QByteArrayData)) },-
310{ { { -1 } }, 2, 0, 0, qptrdiff(-
311__builtin_offsetof (-
312qt_meta_stringdata_QQuickShapeLinearGradient_t-
313, -
314stringdata0-
315) -
316+ 92 - 9 * sizeof(QByteArrayData)) },-
317{ { { -1 } }, 2, 0, 0, qptrdiff(-
318__builtin_offsetof (-
319qt_meta_stringdata_QQuickShapeLinearGradient_t-
320, -
321stringdata0-
322) -
323+ 95 - 10 * sizeof(QByteArrayData)) },-
324{ { { -1 } }, 2, 0, 0, qptrdiff(-
325__builtin_offsetof (-
326qt_meta_stringdata_QQuickShapeLinearGradient_t-
327, -
328stringdata0-
329) -
330+ 98 - 11 * sizeof(QByteArrayData)) }-
331-
332 },-
333 "QQuickShapeLinearGradient\0DefaultProperty\0"-
334 "stops\0x1Changed\0\0y1Changed\0x2Changed\0"-
335 "y2Changed\0x1\0y1\0x2\0y2"-
336};-
337-
338-
339static const uint qt_meta_data_QQuickShapeLinearGradient[] = {-
340-
341-
342 7,-
343 0,-
344 1, 14,-
345 4, 16,-
346 4, 40,-
347 0, 0,-
348 0, 0,-
349 0,-
350 4,-
351-
352-
353 1, 2,-
354-
355-
356 3, 0, 36, 4, 0x06 ,-
357 5, 0, 37, 4, 0x06 ,-
358 6, 0, 38, 4, 0x06 ,-
359 7, 0, 39, 4, 0x06 ,-
360-
361-
362 QMetaType::Void,-
363 QMetaType::Void,-
364 QMetaType::Void,-
365 QMetaType::Void,-
366-
367-
368 8, QMetaType::QReal, 0x00495103,-
369 9, QMetaType::QReal, 0x00495103,-
370 10, QMetaType::QReal, 0x00495103,-
371 11, QMetaType::QReal, 0x00495103,-
372-
373-
374 0,-
375 1,-
376 2,-
377 3,-
378-
379 0-
380};-
381-
382void QQuickShapeLinearGradient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
383{-
384 if (_c == QMetaObject::InvokeMetaMethod) {-
385 QQuickShapeLinearGradient *_t = static_cast<QQuickShapeLinearGradient *>(_o);-
386 (void)_t;-
387 switch (_id) {-
388 case 0: _t->x1Changed(); break;-
389 case 1: _t->y1Changed(); break;-
390 case 2: _t->x2Changed(); break;-
391 case 3: _t->y2Changed(); break;-
392 default: ;-
393 }-
394 } else if (_c == QMetaObject::IndexOfMethod) {-
395 int *result = reinterpret_cast<int *>(_a[0]);-
396 {-
397 using _t = void (QQuickShapeLinearGradient::*)();-
398 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeLinearGradient::x1Changed)) {-
399 *result = 0;-
400 return;-
401 }-
402 }-
403 {-
404 using _t = void (QQuickShapeLinearGradient::*)();-
405 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeLinearGradient::y1Changed)) {-
406 *result = 1;-
407 return;-
408 }-
409 }-
410 {-
411 using _t = void (QQuickShapeLinearGradient::*)();-
412 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeLinearGradient::x2Changed)) {-
413 *result = 2;-
414 return;-
415 }-
416 }-
417 {-
418 using _t = void (QQuickShapeLinearGradient::*)();-
419 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeLinearGradient::y2Changed)) {-
420 *result = 3;-
421 return;-
422 }-
423 }-
424 }-
425-
426 else if (_c == QMetaObject::ReadProperty) {-
427 QQuickShapeLinearGradient *_t = static_cast<QQuickShapeLinearGradient *>(_o);-
428 (void)_t;-
429 void *_v = _a[0];-
430 switch (_id) {-
431 case 0: *reinterpret_cast< qreal*>(_v) = _t->x1(); break;-
432 case 1: *reinterpret_cast< qreal*>(_v) = _t->y1(); break;-
433 case 2: *reinterpret_cast< qreal*>(_v) = _t->x2(); break;-
434 case 3: *reinterpret_cast< qreal*>(_v) = _t->y2(); break;-
435 default: break;-
436 }-
437 } else if (_c == QMetaObject::WriteProperty) {-
438 QQuickShapeLinearGradient *_t = static_cast<QQuickShapeLinearGradient *>(_o);-
439 (void)_t;-
440 void *_v = _a[0];-
441 switch (_id) {-
442 case 0: _t->setX1(*reinterpret_cast< qreal*>(_v)); break;-
443 case 1: _t->setY1(*reinterpret_cast< qreal*>(_v)); break;-
444 case 2: _t->setX2(*reinterpret_cast< qreal*>(_v)); break;-
445 case 3: _t->setY2(*reinterpret_cast< qreal*>(_v)); break;-
446 default: break;-
447 }-
448 } else if (_c == QMetaObject::ResetProperty) {-
449 }-
450-
451 (void)_a;;-
452}-
453-
454 const QMetaObject QQuickShapeLinearGradient::staticMetaObject = {-
455 { &QQuickShapeGradient::staticMetaObject, qt_meta_stringdata_QQuickShapeLinearGradient.data,-
456 qt_meta_data_QQuickShapeLinearGradient, qt_static_metacall, nullptr, nullptr}-
457};-
458-
459-
460const QMetaObject *QQuickShapeLinearGradient::metaObject() const-
461{-
462 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
463}-
464-
465void *QQuickShapeLinearGradient::qt_metacast(const char *_clname)-
466{-
467 if (!_clname) return nullptr;-
468 if (!strcmp(_clname, qt_meta_stringdata_QQuickShapeLinearGradient.stringdata0))-
469 return static_cast<void*>(this);-
470 return QQuickShapeGradient::qt_metacast(_clname);-
471}-
472-
473int QQuickShapeLinearGradient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
474{-
475 _id = QQuickShapeGradient::qt_metacall(_c, _id, _a);-
476 if (_id < 0)-
477 return _id;-
478 if (_c == QMetaObject::InvokeMetaMethod) {-
479 if (_id < 4)-
480 qt_static_metacall(this, _c, _id, _a);-
481 _id -= 4;-
482 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
483 if (_id < 4)-
484 *reinterpret_cast<int*>(_a[0]) = -1;-
485 _id -= 4;-
486 }-
487-
488 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
489 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
490 qt_static_metacall(this, _c, _id, _a);-
491 _id -= 4;-
492 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
493 _id -= 4;-
494 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
495 _id -= 4;-
496 } else if (_c == QMetaObject::QueryPropertyStored) {-
497 _id -= 4;-
498 } else if (_c == QMetaObject::QueryPropertyEditable) {-
499 _id -= 4;-
500 } else if (_c == QMetaObject::QueryPropertyUser) {-
501 _id -= 4;-
502 }-
503-
504 return _id;-
505}-
506-
507-
508void QQuickShapeLinearGradient::x1Changed()-
509{-
510 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
511}
executed 10 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
10
512-
513-
514void QQuickShapeLinearGradient::y1Changed()-
515{-
516 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
517}
executed 14 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
14
518-
519-
520void QQuickShapeLinearGradient::x2Changed()-
521{-
522 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
523}
executed 12 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
12
524-
525-
526void QQuickShapeLinearGradient::y2Changed()-
527{-
528 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
529}
executed 20 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
20
530struct qt_meta_stringdata_QQuickShapeRadialGradient_t {-
531 QByteArrayData data[16];-
532 char stringdata0[201];-
533};-
534-
535-
536-
537-
538-
539static const qt_meta_stringdata_QQuickShapeRadialGradient_t qt_meta_stringdata_QQuickShapeRadialGradient = {-
540 {-
541{ { { -1 } }, 25, 0, 0, qptrdiff(-
542__builtin_offsetof (-
543qt_meta_stringdata_QQuickShapeRadialGradient_t-
544, -
545stringdata0-
546) -
547+ 0 - 0 * sizeof(QByteArrayData)) },-
548{ { { -1 } }, 15, 0, 0, qptrdiff(-
549__builtin_offsetof (-
550qt_meta_stringdata_QQuickShapeRadialGradient_t-
551, -
552stringdata0-
553) -
554+ 26 - 1 * sizeof(QByteArrayData)) },-
555{ { { -1 } }, 5, 0, 0, qptrdiff(-
556__builtin_offsetof (-
557qt_meta_stringdata_QQuickShapeRadialGradient_t-
558, -
559stringdata0-
560) -
561+ 42 - 2 * sizeof(QByteArrayData)) },-
562{ { { -1 } }, 14, 0, 0, qptrdiff(-
563__builtin_offsetof (-
564qt_meta_stringdata_QQuickShapeRadialGradient_t-
565, -
566stringdata0-
567) -
568+ 48 - 3 * sizeof(QByteArrayData)) },-
569{ { { -1 } }, 0, 0, 0, qptrdiff(-
570__builtin_offsetof (-
571qt_meta_stringdata_QQuickShapeRadialGradient_t-
572, -
573stringdata0-
574) -
575+ 63 - 4 * sizeof(QByteArrayData)) },-
576{ { { -1 } }, 14, 0, 0, qptrdiff(-
577__builtin_offsetof (-
578qt_meta_stringdata_QQuickShapeRadialGradient_t-
579, -
580stringdata0-
581) -
582+ 64 - 5 * sizeof(QByteArrayData)) },-
583{ { { -1 } }, 13, 0, 0, qptrdiff(-
584__builtin_offsetof (-
585qt_meta_stringdata_QQuickShapeRadialGradient_t-
586, -
587stringdata0-
588) -
589+ 79 - 6 * sizeof(QByteArrayData)) },-
590{ { { -1 } }, 13, 0, 0, qptrdiff(-
591__builtin_offsetof (-
592qt_meta_stringdata_QQuickShapeRadialGradient_t-
593, -
594stringdata0-
595) -
596+ 93 - 7 * sizeof(QByteArrayData)) },-
597{ { { -1 } }, 19, 0, 0, qptrdiff(-
598__builtin_offsetof (-
599qt_meta_stringdata_QQuickShapeRadialGradient_t-
600, -
601stringdata0-
602) -
603+ 107 - 8 * sizeof(QByteArrayData)) },-
604{ { { -1 } }, 18, 0, 0, qptrdiff(-
605__builtin_offsetof (-
606qt_meta_stringdata_QQuickShapeRadialGradient_t-
607, -
608stringdata0-
609) -
610+ 127 - 9 * sizeof(QByteArrayData)) },-
611{ { { -1 } }, 7, 0, 0, qptrdiff(-
612__builtin_offsetof (-
613qt_meta_stringdata_QQuickShapeRadialGradient_t-
614, -
615stringdata0-
616) -
617+ 146 - 10 * sizeof(QByteArrayData)) },-
618{ { { -1 } }, 7, 0, 0, qptrdiff(-
619__builtin_offsetof (-
620qt_meta_stringdata_QQuickShapeRadialGradient_t-
621, -
622stringdata0-
623) -
624+ 154 - 11 * sizeof(QByteArrayData)) },-
625{ { { -1 } }, 12, 0, 0, qptrdiff(-
626__builtin_offsetof (-
627qt_meta_stringdata_QQuickShapeRadialGradient_t-
628, -
629stringdata0-
630) -
631+ 162 - 12 * sizeof(QByteArrayData)) },-
632{ { { -1 } }, 6, 0, 0, qptrdiff(-
633__builtin_offsetof (-
634qt_meta_stringdata_QQuickShapeRadialGradient_t-
635, -
636stringdata0-
637) -
638+ 175 - 13 * sizeof(QByteArrayData)) },-
639{ { { -1 } }, 6, 0, 0, qptrdiff(-
640__builtin_offsetof (-
641qt_meta_stringdata_QQuickShapeRadialGradient_t-
642, -
643stringdata0-
644) -
645+ 182 - 14 * sizeof(QByteArrayData)) },-
646{ { { -1 } }, 11, 0, 0, qptrdiff(-
647__builtin_offsetof (-
648qt_meta_stringdata_QQuickShapeRadialGradient_t-
649, -
650stringdata0-
651) -
652+ 189 - 15 * sizeof(QByteArrayData)) }-
653-
654 },-
655 "QQuickShapeRadialGradient\0DefaultProperty\0"-
656 "stops\0centerXChanged\0\0centerYChanged\0"-
657 "focalXChanged\0focalYChanged\0"-
658 "centerRadiusChanged\0focalRadiusChanged\0"-
659 "centerX\0centerY\0centerRadius\0focalX\0"-
660 "focalY\0focalRadius"-
661};-
662-
663-
664static const uint qt_meta_data_QQuickShapeRadialGradient[] = {-
665-
666-
667 7,-
668 0,-
669 1, 14,-
670 6, 16,-
671 6, 52,-
672 0, 0,-
673 0, 0,-
674 0,-
675 6,-
676-
677-
678 1, 2,-
679-
680-
681 3, 0, 46, 4, 0x06 ,-
682 5, 0, 47, 4, 0x06 ,-
683 6, 0, 48, 4, 0x06 ,-
684 7, 0, 49, 4, 0x06 ,-
685 8, 0, 50, 4, 0x06 ,-
686 9, 0, 51, 4, 0x06 ,-
687-
688-
689 QMetaType::Void,-
690 QMetaType::Void,-
691 QMetaType::Void,-
692 QMetaType::Void,-
693 QMetaType::Void,-
694 QMetaType::Void,-
695-
696-
697 10, QMetaType::QReal, 0x00495103,-
698 11, QMetaType::QReal, 0x00495103,-
699 12, QMetaType::QReal, 0x00495103,-
700 13, QMetaType::QReal, 0x00495103,-
701 14, QMetaType::QReal, 0x00495103,-
702 15, QMetaType::QReal, 0x00495103,-
703-
704-
705 0,-
706 1,-
707 4,-
708 2,-
709 3,-
710 5,-
711-
712 0-
713};-
714-
715void QQuickShapeRadialGradient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
716{-
717 if (_c == QMetaObject::InvokeMetaMethod) {-
718 QQuickShapeRadialGradient *_t = static_cast<QQuickShapeRadialGradient *>(_o);-
719 (void)_t;-
720 switch (_id) {-
721 case 0: _t->centerXChanged(); break;-
722 case 1: _t->centerYChanged(); break;-
723 case 2: _t->focalXChanged(); break;-
724 case 3: _t->focalYChanged(); break;-
725 case 4: _t->centerRadiusChanged(); break;-
726 case 5: _t->focalRadiusChanged(); break;-
727 default: ;-
728 }-
729 } else if (_c == QMetaObject::IndexOfMethod) {-
730 int *result = reinterpret_cast<int *>(_a[0]);-
731 {-
732 using _t = void (QQuickShapeRadialGradient::*)();-
733 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeRadialGradient::centerXChanged)) {-
734 *result = 0;-
735 return;-
736 }-
737 }-
738 {-
739 using _t = void (QQuickShapeRadialGradient::*)();-
740 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeRadialGradient::centerYChanged)) {-
741 *result = 1;-
742 return;-
743 }-
744 }-
745 {-
746 using _t = void (QQuickShapeRadialGradient::*)();-
747 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeRadialGradient::focalXChanged)) {-
748 *result = 2;-
749 return;-
750 }-
751 }-
752 {-
753 using _t = void (QQuickShapeRadialGradient::*)();-
754 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeRadialGradient::focalYChanged)) {-
755 *result = 3;-
756 return;-
757 }-
758 }-
759 {-
760 using _t = void (QQuickShapeRadialGradient::*)();-
761 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeRadialGradient::centerRadiusChanged)) {-
762 *result = 4;-
763 return;-
764 }-
765 }-
766 {-
767 using _t = void (QQuickShapeRadialGradient::*)();-
768 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeRadialGradient::focalRadiusChanged)) {-
769 *result = 5;-
770 return;-
771 }-
772 }-
773 }-
774-
775 else if (_c == QMetaObject::ReadProperty) {-
776 QQuickShapeRadialGradient *_t = static_cast<QQuickShapeRadialGradient *>(_o);-
777 (void)_t;-
778 void *_v = _a[0];-
779 switch (_id) {-
780 case 0: *reinterpret_cast< qreal*>(_v) = _t->centerX(); break;-
781 case 1: *reinterpret_cast< qreal*>(_v) = _t->centerY(); break;-
782 case 2: *reinterpret_cast< qreal*>(_v) = _t->centerRadius(); break;-
783 case 3: *reinterpret_cast< qreal*>(_v) = _t->focalX(); break;-
784 case 4: *reinterpret_cast< qreal*>(_v) = _t->focalY(); break;-
785 case 5: *reinterpret_cast< qreal*>(_v) = _t->focalRadius(); break;-
786 default: break;-
787 }-
788 } else if (_c == QMetaObject::WriteProperty) {-
789 QQuickShapeRadialGradient *_t = static_cast<QQuickShapeRadialGradient *>(_o);-
790 (void)_t;-
791 void *_v = _a[0];-
792 switch (_id) {-
793 case 0: _t->setCenterX(*reinterpret_cast< qreal*>(_v)); break;-
794 case 1: _t->setCenterY(*reinterpret_cast< qreal*>(_v)); break;-
795 case 2: _t->setCenterRadius(*reinterpret_cast< qreal*>(_v)); break;-
796 case 3: _t->setFocalX(*reinterpret_cast< qreal*>(_v)); break;-
797 case 4: _t->setFocalY(*reinterpret_cast< qreal*>(_v)); break;-
798 case 5: _t->setFocalRadius(*reinterpret_cast< qreal*>(_v)); break;-
799 default: break;-
800 }-
801 } else if (_c == QMetaObject::ResetProperty) {-
802 }-
803-
804 (void)_a;;-
805}-
806-
807 const QMetaObject QQuickShapeRadialGradient::staticMetaObject = {-
808 { &QQuickShapeGradient::staticMetaObject, qt_meta_stringdata_QQuickShapeRadialGradient.data,-
809 qt_meta_data_QQuickShapeRadialGradient, qt_static_metacall, nullptr, nullptr}-
810};-
811-
812-
813const QMetaObject *QQuickShapeRadialGradient::metaObject() const-
814{-
815 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
816}-
817-
818void *QQuickShapeRadialGradient::qt_metacast(const char *_clname)-
819{-
820 if (!_clname) return nullptr;-
821 if (!strcmp(_clname, qt_meta_stringdata_QQuickShapeRadialGradient.stringdata0))-
822 return static_cast<void*>(this);-
823 return QQuickShapeGradient::qt_metacast(_clname);-
824}-
825-
826int QQuickShapeRadialGradient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
827{-
828 _id = QQuickShapeGradient::qt_metacall(_c, _id, _a);-
829 if (_id < 0)-
830 return _id;-
831 if (_c == QMetaObject::InvokeMetaMethod) {-
832 if (_id < 6)-
833 qt_static_metacall(this, _c, _id, _a);-
834 _id -= 6;-
835 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
836 if (_id < 6)-
837 *reinterpret_cast<int*>(_a[0]) = -1;-
838 _id -= 6;-
839 }-
840-
841 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
842 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
843 qt_static_metacall(this, _c, _id, _a);-
844 _id -= 6;-
845 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
846 _id -= 6;-
847 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
848 _id -= 6;-
849 } else if (_c == QMetaObject::QueryPropertyStored) {-
850 _id -= 6;-
851 } else if (_c == QMetaObject::QueryPropertyEditable) {-
852 _id -= 6;-
853 } else if (_c == QMetaObject::QueryPropertyUser) {-
854 _id -= 6;-
855 }-
856-
857 return _id;-
858}-
859-
860-
861void QQuickShapeRadialGradient::centerXChanged()-
862{-
863 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
864}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
6
865-
866-
867void QQuickShapeRadialGradient::centerYChanged()-
868{-
869 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
870}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
6
871-
872-
873void QQuickShapeRadialGradient::focalXChanged()-
874{-
875 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
876}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
6
877-
878-
879void QQuickShapeRadialGradient::focalYChanged()-
880{-
881 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
882}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
6
883-
884-
885void QQuickShapeRadialGradient::centerRadiusChanged()-
886{-
887 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
888}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
6
889-
890-
891void QQuickShapeRadialGradient::focalRadiusChanged()-
892{-
893 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
894}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
6
895struct qt_meta_stringdata_QQuickShapeConicalGradient_t {-
896 QByteArrayData data[10];-
897 char stringdata0[115];-
898};-
899-
900-
901-
902-
903-
904static const qt_meta_stringdata_QQuickShapeConicalGradient_t qt_meta_stringdata_QQuickShapeConicalGradient = {-
905 {-
906{ { { -1 } }, 26, 0, 0, qptrdiff(-
907__builtin_offsetof (-
908qt_meta_stringdata_QQuickShapeConicalGradient_t-
909, -
910stringdata0-
911) -
912+ 0 - 0 * sizeof(QByteArrayData)) },-
913{ { { -1 } }, 15, 0, 0, qptrdiff(-
914__builtin_offsetof (-
915qt_meta_stringdata_QQuickShapeConicalGradient_t-
916, -
917stringdata0-
918) -
919+ 27 - 1 * sizeof(QByteArrayData)) },-
920{ { { -1 } }, 5, 0, 0, qptrdiff(-
921__builtin_offsetof (-
922qt_meta_stringdata_QQuickShapeConicalGradient_t-
923, -
924stringdata0-
925) -
926+ 43 - 2 * sizeof(QByteArrayData)) },-
927{ { { -1 } }, 14, 0, 0, qptrdiff(-
928__builtin_offsetof (-
929qt_meta_stringdata_QQuickShapeConicalGradient_t-
930, -
931stringdata0-
932) -
933+ 49 - 3 * sizeof(QByteArrayData)) },-
934{ { { -1 } }, 0, 0, 0, qptrdiff(-
935__builtin_offsetof (-
936qt_meta_stringdata_QQuickShapeConicalGradient_t-
937, -
938stringdata0-
939) -
940+ 64 - 4 * sizeof(QByteArrayData)) },-
941{ { { -1 } }, 14, 0, 0, qptrdiff(-
942__builtin_offsetof (-
943qt_meta_stringdata_QQuickShapeConicalGradient_t-
944, -
945stringdata0-
946) -
947+ 65 - 5 * sizeof(QByteArrayData)) },-
948{ { { -1 } }, 12, 0, 0, qptrdiff(-
949__builtin_offsetof (-
950qt_meta_stringdata_QQuickShapeConicalGradient_t-
951, -
952stringdata0-
953) -
954+ 80 - 6 * sizeof(QByteArrayData)) },-
955{ { { -1 } }, 7, 0, 0, qptrdiff(-
956__builtin_offsetof (-
957qt_meta_stringdata_QQuickShapeConicalGradient_t-
958, -
959stringdata0-
960) -
961+ 93 - 7 * sizeof(QByteArrayData)) },-
962{ { { -1 } }, 7, 0, 0, qptrdiff(-
963__builtin_offsetof (-
964qt_meta_stringdata_QQuickShapeConicalGradient_t-
965, -
966stringdata0-
967) -
968+ 101 - 8 * sizeof(QByteArrayData)) },-
969{ { { -1 } }, 5, 0, 0, qptrdiff(-
970__builtin_offsetof (-
971qt_meta_stringdata_QQuickShapeConicalGradient_t-
972, -
973stringdata0-
974) -
975+ 109 - 9 * sizeof(QByteArrayData)) }-
976-
977 },-
978 "QQuickShapeConicalGradient\0DefaultProperty\0"-
979 "stops\0centerXChanged\0\0centerYChanged\0"-
980 "angleChanged\0centerX\0centerY\0angle"-
981};-
982-
983-
984static const uint qt_meta_data_QQuickShapeConicalGradient[] = {-
985-
986-
987 7,-
988 0,-
989 1, 14,-
990 3, 16,-
991 3, 34,-
992 0, 0,-
993 0, 0,-
994 0,-
995 3,-
996-
997-
998 1, 2,-
999-
1000-
1001 3, 0, 31, 4, 0x06 ,-
1002 5, 0, 32, 4, 0x06 ,-
1003 6, 0, 33, 4, 0x06 ,-
1004-
1005-
1006 QMetaType::Void,-
1007 QMetaType::Void,-
1008 QMetaType::Void,-
1009-
1010-
1011 7, QMetaType::QReal, 0x00495103,-
1012 8, QMetaType::QReal, 0x00495103,-
1013 9, QMetaType::QReal, 0x00495103,-
1014-
1015-
1016 0,-
1017 1,-
1018 2,-
1019-
1020 0-
1021};-
1022-
1023void QQuickShapeConicalGradient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
1024{-
1025 if (_c == QMetaObject::InvokeMetaMethod) {-
1026 QQuickShapeConicalGradient *_t = static_cast<QQuickShapeConicalGradient *>(_o);-
1027 (void)_t;-
1028 switch (_id) {-
1029 case 0: _t->centerXChanged(); break;-
1030 case 1: _t->centerYChanged(); break;-
1031 case 2: _t->angleChanged(); break;-
1032 default: ;-
1033 }-
1034 } else if (_c == QMetaObject::IndexOfMethod) {-
1035 int *result = reinterpret_cast<int *>(_a[0]);-
1036 {-
1037 using _t = void (QQuickShapeConicalGradient::*)();-
1038 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeConicalGradient::centerXChanged)) {-
1039 *result = 0;-
1040 return;-
1041 }-
1042 }-
1043 {-
1044 using _t = void (QQuickShapeConicalGradient::*)();-
1045 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeConicalGradient::centerYChanged)) {-
1046 *result = 1;-
1047 return;-
1048 }-
1049 }-
1050 {-
1051 using _t = void (QQuickShapeConicalGradient::*)();-
1052 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapeConicalGradient::angleChanged)) {-
1053 *result = 2;-
1054 return;-
1055 }-
1056 }-
1057 }-
1058-
1059 else if (_c == QMetaObject::ReadProperty) {-
1060 QQuickShapeConicalGradient *_t = static_cast<QQuickShapeConicalGradient *>(_o);-
1061 (void)_t;-
1062 void *_v = _a[0];-
1063 switch (_id) {-
1064 case 0: *reinterpret_cast< qreal*>(_v) = _t->centerX(); break;-
1065 case 1: *reinterpret_cast< qreal*>(_v) = _t->centerY(); break;-
1066 case 2: *reinterpret_cast< qreal*>(_v) = _t->angle(); break;-
1067 default: break;-
1068 }-
1069 } else if (_c == QMetaObject::WriteProperty) {-
1070 QQuickShapeConicalGradient *_t = static_cast<QQuickShapeConicalGradient *>(_o);-
1071 (void)_t;-
1072 void *_v = _a[0];-
1073 switch (_id) {-
1074 case 0: _t->setCenterX(*reinterpret_cast< qreal*>(_v)); break;-
1075 case 1: _t->setCenterY(*reinterpret_cast< qreal*>(_v)); break;-
1076 case 2: _t->setAngle(*reinterpret_cast< qreal*>(_v)); break;-
1077 default: break;-
1078 }-
1079 } else if (_c == QMetaObject::ResetProperty) {-
1080 }-
1081-
1082 (void)_a;;-
1083}-
1084-
1085 const QMetaObject QQuickShapeConicalGradient::staticMetaObject = {-
1086 { &QQuickShapeGradient::staticMetaObject, qt_meta_stringdata_QQuickShapeConicalGradient.data,-
1087 qt_meta_data_QQuickShapeConicalGradient, qt_static_metacall, nullptr, nullptr}-
1088};-
1089-
1090-
1091const QMetaObject *QQuickShapeConicalGradient::metaObject() const-
1092{-
1093 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
1094}-
1095-
1096void *QQuickShapeConicalGradient::qt_metacast(const char *_clname)-
1097{-
1098 if (!_clname) return nullptr;-
1099 if (!strcmp(_clname, qt_meta_stringdata_QQuickShapeConicalGradient.stringdata0))-
1100 return static_cast<void*>(this);-
1101 return QQuickShapeGradient::qt_metacast(_clname);-
1102}-
1103-
1104int QQuickShapeConicalGradient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
1105{-
1106 _id = QQuickShapeGradient::qt_metacall(_c, _id, _a);-
1107 if (_id < 0)-
1108 return _id;-
1109 if (_c == QMetaObject::InvokeMetaMethod) {-
1110 if (_id < 3)-
1111 qt_static_metacall(this, _c, _id, _a);-
1112 _id -= 3;-
1113 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
1114 if (_id < 3)-
1115 *reinterpret_cast<int*>(_a[0]) = -1;-
1116 _id -= 3;-
1117 }-
1118-
1119 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
1120 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
1121 qt_static_metacall(this, _c, _id, _a);-
1122 _id -= 3;-
1123 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
1124 _id -= 3;-
1125 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
1126 _id -= 3;-
1127 } else if (_c == QMetaObject::QueryPropertyStored) {-
1128 _id -= 3;-
1129 } else if (_c == QMetaObject::QueryPropertyEditable) {-
1130 _id -= 3;-
1131 } else if (_c == QMetaObject::QueryPropertyUser) {-
1132 _id -= 3;-
1133 }-
1134-
1135 return _id;-
1136}-
1137-
1138-
1139void QQuickShapeConicalGradient::centerXChanged()-
1140{-
1141 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
1142}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
6
1143-
1144-
1145void QQuickShapeConicalGradient::centerYChanged()-
1146{-
1147 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
1148}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
6
1149-
1150-
1151void QQuickShapeConicalGradient::angleChanged()-
1152{-
1153 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
1154}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickshape
2
1155struct qt_meta_stringdata_QQuickShapePath_t {-
1156 QByteArrayData data[41];-
1157 char stringdata0[532];-
1158};-
1159-
1160-
1161-
1162-
1163-
1164static const qt_meta_stringdata_QQuickShapePath_t qt_meta_stringdata_QQuickShapePath = {-
1165 {-
1166{ { { -1 } }, 15, 0, 0, qptrdiff(-
1167__builtin_offsetof (-
1168qt_meta_stringdata_QQuickShapePath_t-
1169, -
1170stringdata0-
1171) -
1172+ 0 - 0 * sizeof(QByteArrayData)) },-
1173{ { { -1 } }, 16, 0, 0, qptrdiff(-
1174__builtin_offsetof (-
1175qt_meta_stringdata_QQuickShapePath_t-
1176, -
1177stringdata0-
1178) -
1179+ 16 - 1 * sizeof(QByteArrayData)) },-
1180{ { { -1 } }, 0, 0, 0, qptrdiff(-
1181__builtin_offsetof (-
1182qt_meta_stringdata_QQuickShapePath_t-
1183, -
1184stringdata0-
1185) -
1186+ 33 - 2 * sizeof(QByteArrayData)) },-
1187{ { { -1 } }, 18, 0, 0, qptrdiff(-
1188__builtin_offsetof (-
1189qt_meta_stringdata_QQuickShapePath_t-
1190, -
1191stringdata0-
1192) -
1193+ 34 - 3 * sizeof(QByteArrayData)) },-
1194{ { { -1 } }, 18, 0, 0, qptrdiff(-
1195__builtin_offsetof (-
1196qt_meta_stringdata_QQuickShapePath_t-
1197, -
1198stringdata0-
1199) -
1200+ 53 - 4 * sizeof(QByteArrayData)) },-
1201{ { { -1 } }, 16, 0, 0, qptrdiff(-
1202__builtin_offsetof (-
1203qt_meta_stringdata_QQuickShapePath_t-
1204, -
1205stringdata0-
1206) -
1207+ 72 - 5 * sizeof(QByteArrayData)) },-
1208{ { { -1 } }, 15, 0, 0, qptrdiff(-
1209__builtin_offsetof (-
1210qt_meta_stringdata_QQuickShapePath_t-
1211, -
1212stringdata0-
1213) -
1214+ 89 - 6 * sizeof(QByteArrayData)) },-
1215{ { { -1 } }, 16, 0, 0, qptrdiff(-
1216__builtin_offsetof (-
1217qt_meta_stringdata_QQuickShapePath_t-
1218, -
1219stringdata0-
1220) -
1221+ 105 - 7 * sizeof(QByteArrayData)) },-
1222{ { { -1 } }, 17, 0, 0, qptrdiff(-
1223__builtin_offsetof (-
1224qt_meta_stringdata_QQuickShapePath_t-
1225, -
1226stringdata0-
1227) -
1228+ 122 - 8 * sizeof(QByteArrayData)) },-
1229{ { { -1 } }, 15, 0, 0, qptrdiff(-
1230__builtin_offsetof (-
1231qt_meta_stringdata_QQuickShapePath_t-
1232, -
1233stringdata0-
1234) -
1235+ 140 - 9 * sizeof(QByteArrayData)) },-
1236{ { { -1 } }, 18, 0, 0, qptrdiff(-
1237__builtin_offsetof (-
1238qt_meta_stringdata_QQuickShapePath_t-
1239, -
1240stringdata0-
1241) -
1242+ 156 - 10 * sizeof(QByteArrayData)) },-
1243{ { { -1 } }, 17, 0, 0, qptrdiff(-
1244__builtin_offsetof (-
1245qt_meta_stringdata_QQuickShapePath_t-
1246, -
1247stringdata0-
1248) -
1249+ 175 - 11 * sizeof(QByteArrayData)) },-
1250{ { { -1 } }, 18, 0, 0, qptrdiff(-
1251__builtin_offsetof (-
1252qt_meta_stringdata_QQuickShapePath_t-
1253, -
1254stringdata0-
1255) -
1256+ 193 - 12 * sizeof(QByteArrayData)) },-
1257{ { { -1 } }, 22, 0, 0, qptrdiff(-
1258__builtin_offsetof (-
1259qt_meta_stringdata_QQuickShapePath_t-
1260, -
1261stringdata0-
1262) -
1263+ 212 - 13 * sizeof(QByteArrayData)) },-
1264{ { { -1 } }, 11, 0, 0, qptrdiff(-
1265__builtin_offsetof (-
1266qt_meta_stringdata_QQuickShapePath_t-
1267, -
1268stringdata0-
1269) -
1270+ 235 - 14 * sizeof(QByteArrayData)) },-
1271{ { { -1 } }, 11, 0, 0, qptrdiff(-
1272__builtin_offsetof (-
1273qt_meta_stringdata_QQuickShapePath_t-
1274, -
1275stringdata0-
1276) -
1277+ 247 - 15 * sizeof(QByteArrayData)) },-
1278{ { { -1 } }, 9, 0, 0, qptrdiff(-
1279__builtin_offsetof (-
1280qt_meta_stringdata_QQuickShapePath_t-
1281, -
1282stringdata0-
1283) -
1284+ 259 - 16 * sizeof(QByteArrayData)) },-
1285{ { { -1 } }, 8, 0, 0, qptrdiff(-
1286__builtin_offsetof (-
1287qt_meta_stringdata_QQuickShapePath_t-
1288, -
1289stringdata0-
1290) -
1291+ 269 - 17 * sizeof(QByteArrayData)) },-
1292{ { { -1 } }, 8, 0, 0, qptrdiff(-
1293__builtin_offsetof (-
1294qt_meta_stringdata_QQuickShapePath_t-
1295, -
1296stringdata0-
1297) -
1298+ 278 - 18 * sizeof(QByteArrayData)) },-
1299{ { { -1 } }, 9, 0, 0, qptrdiff(-
1300__builtin_offsetof (-
1301qt_meta_stringdata_QQuickShapePath_t-
1302, -
1303stringdata0-
1304) -
1305+ 287 - 19 * sizeof(QByteArrayData)) },-
1306{ { { -1 } }, 9, 0, 0, qptrdiff(-
1307__builtin_offsetof (-
1308qt_meta_stringdata_QQuickShapePath_t-
1309, -
1310stringdata0-
1311) -
1312+ 297 - 20 * sizeof(QByteArrayData)) },-
1313{ { { -1 } }, 10, 0, 0, qptrdiff(-
1314__builtin_offsetof (-
1315qt_meta_stringdata_QQuickShapePath_t-
1316, -
1317stringdata0-
1318) -
1319+ 307 - 21 * sizeof(QByteArrayData)) },-
1320{ { { -1 } }, 8, 0, 0, qptrdiff(-
1321__builtin_offsetof (-
1322qt_meta_stringdata_QQuickShapePath_t-
1323, -
1324stringdata0-
1325) -
1326+ 318 - 22 * sizeof(QByteArrayData)) },-
1327{ { { -1 } }, 8, 0, 0, qptrdiff(-
1328__builtin_offsetof (-
1329qt_meta_stringdata_QQuickShapePath_t-
1330, -
1331stringdata0-
1332) -
1333+ 327 - 23 * sizeof(QByteArrayData)) },-
1334{ { { -1 } }, 11, 0, 0, qptrdiff(-
1335__builtin_offsetof (-
1336qt_meta_stringdata_QQuickShapePath_t-
1337, -
1338stringdata0-
1339) -
1340+ 336 - 24 * sizeof(QByteArrayData)) },-
1341{ { { -1 } }, 11, 0, 0, qptrdiff(-
1342__builtin_offsetof (-
1343qt_meta_stringdata_QQuickShapePath_t-
1344, -
1345stringdata0-
1346) -
1347+ 348 - 25 * sizeof(QByteArrayData)) },-
1348{ { { -1 } }, 10, 0, 0, qptrdiff(-
1349__builtin_offsetof (-
1350qt_meta_stringdata_QQuickShapePath_t-
1351, -
1352stringdata0-
1353) -
1354+ 360 - 26 * sizeof(QByteArrayData)) },-
1355{ { { -1 } }, 11, 0, 0, qptrdiff(-
1356__builtin_offsetof (-
1357qt_meta_stringdata_QQuickShapePath_t-
1358, -
1359stringdata0-
1360) -
1361+ 371 - 27 * sizeof(QByteArrayData)) },-
1362{ { { -1 } }, 14, 0, 0, qptrdiff(-
1363__builtin_offsetof (-
1364qt_meta_stringdata_QQuickShapePath_t-
1365, -
1366stringdata0-
1367) -
1368+ 383 - 28 * sizeof(QByteArrayData)) },-
1369{ { { -1 } }, 12, 0, 0, qptrdiff(-
1370__builtin_offsetof (-
1371qt_meta_stringdata_QQuickShapePath_t-
1372, -
1373stringdata0-
1374) -
1375+ 398 - 29 * sizeof(QByteArrayData)) },-
1376{ { { -1 } }, 20, 0, 0, qptrdiff(-
1377__builtin_offsetof (-
1378qt_meta_stringdata_QQuickShapePath_t-
1379, -
1380stringdata0-
1381) -
1382+ 411 - 30 * sizeof(QByteArrayData)) },-
1383{ { { -1 } }, 11, 0, 0, qptrdiff(-
1384__builtin_offsetof (-
1385qt_meta_stringdata_QQuickShapePath_t-
1386, -
1387stringdata0-
1388) -
1389+ 432 - 31 * sizeof(QByteArrayData)) },-
1390{ { { -1 } }, 11, 0, 0, qptrdiff(-
1391__builtin_offsetof (-
1392qt_meta_stringdata_QQuickShapePath_t-
1393, -
1394stringdata0-
1395) -
1396+ 444 - 32 * sizeof(QByteArrayData)) },-
1397{ { { -1 } }, 9, 0, 0, qptrdiff(-
1398__builtin_offsetof (-
1399qt_meta_stringdata_QQuickShapePath_t-
1400, -
1401stringdata0-
1402) -
1403+ 456 - 33 * sizeof(QByteArrayData)) },-
1404{ { { -1 } }, 9, 0, 0, qptrdiff(-
1405__builtin_offsetof (-
1406qt_meta_stringdata_QQuickShapePath_t-
1407, -
1408stringdata0-
1409) -
1410+ 466 - 34 * sizeof(QByteArrayData)) },-
1411{ { { -1 } }, 9, 0, 0, qptrdiff(-
1412__builtin_offsetof (-
1413qt_meta_stringdata_QQuickShapePath_t-
1414, -
1415stringdata0-
1416) -
1417+ 476 - 35 * sizeof(QByteArrayData)) },-
1418{ { { -1 } }, 7, 0, 0, qptrdiff(-
1419__builtin_offsetof (-
1420qt_meta_stringdata_QQuickShapePath_t-
1421, -
1422stringdata0-
1423) -
1424+ 486 - 36 * sizeof(QByteArrayData)) },-
1425{ { { -1 } }, 9, 0, 0, qptrdiff(-
1426__builtin_offsetof (-
1427qt_meta_stringdata_QQuickShapePath_t-
1428, -
1429stringdata0-
1430) -
1431+ 494 - 37 * sizeof(QByteArrayData)) },-
1432{ { { -1 } }, 8, 0, 0, qptrdiff(-
1433__builtin_offsetof (-
1434qt_meta_stringdata_QQuickShapePath_t-
1435, -
1436stringdata0-
1437) -
1438+ 504 - 38 * sizeof(QByteArrayData)) },-
1439{ { { -1 } }, 9, 0, 0, qptrdiff(-
1440__builtin_offsetof (-
1441qt_meta_stringdata_QQuickShapePath_t-
1442, -
1443stringdata0-
1444) -
1445+ 513 - 39 * sizeof(QByteArrayData)) },-
1446{ { { -1 } }, 8, 0, 0, qptrdiff(-
1447__builtin_offsetof (-
1448qt_meta_stringdata_QQuickShapePath_t-
1449, -
1450stringdata0-
1451) -
1452+ 523 - 40 * sizeof(QByteArrayData)) }-
1453-
1454 },-
1455 "QQuickShapePath\0shapePathChanged\0\0"-
1456 "strokeColorChanged\0strokeWidthChanged\0"-
1457 "fillColorChanged\0fillRuleChanged\0"-
1458 "joinStyleChanged\0miterLimitChanged\0"-
1459 "capStyleChanged\0strokeStyleChanged\0"-
1460 "dashOffsetChanged\0dashPatternChanged\0"-
1461 "_q_fillGradientChanged\0strokeColor\0"-
1462 "strokeWidth\0fillColor\0fillRule\0FillRule\0"-
1463 "joinStyle\0JoinStyle\0miterLimit\0capStyle\0"-
1464 "CapStyle\0strokeStyle\0StrokeStyle\0"-
1465 "dashOffset\0dashPattern\0QVector<qreal>\0"-
1466 "fillGradient\0QQuickShapeGradient*\0"-
1467 "OddEvenFill\0WindingFill\0MiterJoin\0"-
1468 "BevelJoin\0RoundJoin\0FlatCap\0SquareCap\0"-
1469 "RoundCap\0SolidLine\0DashLine"-
1470};-
1471-
1472-
1473static const uint qt_meta_data_QQuickShapePath[] = {-
1474-
1475-
1476 7,-
1477 0,-
1478 0, 0,-
1479 12, 14,-
1480 11, 86,-
1481 4, 130,-
1482 0, 0,-
1483 0,-
1484 11,-
1485-
1486-
1487 1, 0, 74, 2, 0x06 ,-
1488 3, 0, 75, 2, 0x06 ,-
1489 4, 0, 76, 2, 0x06 ,-
1490 5, 0, 77, 2, 0x06 ,-
1491 6, 0, 78, 2, 0x06 ,-
1492 7, 0, 79, 2, 0x06 ,-
1493 8, 0, 80, 2, 0x06 ,-
1494 9, 0, 81, 2, 0x06 ,-
1495 10, 0, 82, 2, 0x06 ,-
1496 11, 0, 83, 2, 0x06 ,-
1497 12, 0, 84, 2, 0x06 ,-
1498-
1499-
1500 13, 0, 85, 2, 0x08 ,-
1501-
1502-
1503 QMetaType::Void,-
1504 QMetaType::Void,-
1505 QMetaType::Void,-
1506 QMetaType::Void,-
1507 QMetaType::Void,-
1508 QMetaType::Void,-
1509 QMetaType::Void,-
1510 QMetaType::Void,-
1511 QMetaType::Void,-
1512 QMetaType::Void,-
1513 QMetaType::Void,-
1514-
1515-
1516 QMetaType::Void,-
1517-
1518-
1519 14, QMetaType::QColor, 0x00495103,-
1520 15, QMetaType::QReal, 0x00495103,-
1521 16, QMetaType::QColor, 0x00495103,-
1522 17, 0x80000000 | 18, 0x0049510b,-
1523 19, 0x80000000 | 20, 0x0049510b,-
1524 21, QMetaType::Int, 0x00495103,-
1525 22, 0x80000000 | 23, 0x0049510b,-
1526 24, 0x80000000 | 25, 0x0049510b,-
1527 26, QMetaType::QReal, 0x00495103,-
1528 27, 0x80000000 | 28, 0x0049510b,-
1529 29, 0x80000000 | 30, 0x0009510f,-
1530-
1531-
1532 1,-
1533 2,-
1534 3,-
1535 4,-
1536 5,-
1537 6,-
1538 7,-
1539 8,-
1540 9,-
1541 10,-
1542 0,-
1543-
1544-
1545 18, 0x0, 2, 146,-
1546 20, 0x0, 3, 150,-
1547 23, 0x0, 3, 156,-
1548 25, 0x0, 2, 162,-
1549-
1550-
1551 31, uint(QQuickShapePath::OddEvenFill),-
1552 32, uint(QQuickShapePath::WindingFill),-
1553 33, uint(QQuickShapePath::MiterJoin),-
1554 34, uint(QQuickShapePath::BevelJoin),-
1555 35, uint(QQuickShapePath::RoundJoin),-
1556 36, uint(QQuickShapePath::FlatCap),-
1557 37, uint(QQuickShapePath::SquareCap),-
1558 38, uint(QQuickShapePath::RoundCap),-
1559 39, uint(QQuickShapePath::SolidLine),-
1560 40, uint(QQuickShapePath::DashLine),-
1561-
1562 0-
1563};-
1564-
1565void QQuickShapePath::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
1566{-
1567 if (_c == QMetaObject::InvokeMetaMethod) {-
1568 QQuickShapePath *_t = static_cast<QQuickShapePath *>(_o);-
1569 (void)_t;-
1570 switch (_id) {-
1571 case 0: _t->shapePathChanged(); break;-
1572 case 1: _t->strokeColorChanged(); break;-
1573 case 2: _t->strokeWidthChanged(); break;-
1574 case 3: _t->fillColorChanged(); break;-
1575 case 4: _t->fillRuleChanged(); break;-
1576 case 5: _t->joinStyleChanged(); break;-
1577 case 6: _t->miterLimitChanged(); break;-
1578 case 7: _t->capStyleChanged(); break;-
1579 case 8: _t->strokeStyleChanged(); break;-
1580 case 9: _t->dashOffsetChanged(); break;-
1581 case 10: _t->dashPatternChanged(); break;-
1582 case 11: _t->d_func()->_q_fillGradientChanged(); break;-
1583 default: ;-
1584 }-
1585 } else if (_c == QMetaObject::IndexOfMethod) {-
1586 int *result = reinterpret_cast<int *>(_a[0]);-
1587 {-
1588 using _t = void (QQuickShapePath::*)();-
1589 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::shapePathChanged)) {-
1590 *result = 0;-
1591 return;-
1592 }-
1593 }-
1594 {-
1595 using _t = void (QQuickShapePath::*)();-
1596 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::strokeColorChanged)) {-
1597 *result = 1;-
1598 return;-
1599 }-
1600 }-
1601 {-
1602 using _t = void (QQuickShapePath::*)();-
1603 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::strokeWidthChanged)) {-
1604 *result = 2;-
1605 return;-
1606 }-
1607 }-
1608 {-
1609 using _t = void (QQuickShapePath::*)();-
1610 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::fillColorChanged)) {-
1611 *result = 3;-
1612 return;-
1613 }-
1614 }-
1615 {-
1616 using _t = void (QQuickShapePath::*)();-
1617 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::fillRuleChanged)) {-
1618 *result = 4;-
1619 return;-
1620 }-
1621 }-
1622 {-
1623 using _t = void (QQuickShapePath::*)();-
1624 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::joinStyleChanged)) {-
1625 *result = 5;-
1626 return;-
1627 }-
1628 }-
1629 {-
1630 using _t = void (QQuickShapePath::*)();-
1631 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::miterLimitChanged)) {-
1632 *result = 6;-
1633 return;-
1634 }-
1635 }-
1636 {-
1637 using _t = void (QQuickShapePath::*)();-
1638 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::capStyleChanged)) {-
1639 *result = 7;-
1640 return;-
1641 }-
1642 }-
1643 {-
1644 using _t = void (QQuickShapePath::*)();-
1645 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::strokeStyleChanged)) {-
1646 *result = 8;-
1647 return;-
1648 }-
1649 }-
1650 {-
1651 using _t = void (QQuickShapePath::*)();-
1652 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::dashOffsetChanged)) {-
1653 *result = 9;-
1654 return;-
1655 }-
1656 }-
1657 {-
1658 using _t = void (QQuickShapePath::*)();-
1659 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShapePath::dashPatternChanged)) {-
1660 *result = 10;-
1661 return;-
1662 }-
1663 }-
1664 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
1665 switch (_id) {-
1666 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
1667 case 10:-
1668 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickShapeGradient* >(); break;-
1669 case 9:-
1670 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<qreal> >(); break;-
1671 }-
1672 }-
1673-
1674-
1675 else if (_c == QMetaObject::ReadProperty) {-
1676 QQuickShapePath *_t = static_cast<QQuickShapePath *>(_o);-
1677 (void)_t;-
1678 void *_v = _a[0];-
1679 switch (_id) {-
1680 case 0: *reinterpret_cast< QColor*>(_v) = _t->strokeColor(); break;-
1681 case 1: *reinterpret_cast< qreal*>(_v) = _t->strokeWidth(); break;-
1682 case 2: *reinterpret_cast< QColor*>(_v) = _t->fillColor(); break;-
1683 case 3: *reinterpret_cast< FillRule*>(_v) = _t->fillRule(); break;-
1684 case 4: *reinterpret_cast< JoinStyle*>(_v) = _t->joinStyle(); break;-
1685 case 5: *reinterpret_cast< int*>(_v) = _t->miterLimit(); break;-
1686 case 6: *reinterpret_cast< CapStyle*>(_v) = _t->capStyle(); break;-
1687 case 7: *reinterpret_cast< StrokeStyle*>(_v) = _t->strokeStyle(); break;-
1688 case 8: *reinterpret_cast< qreal*>(_v) = _t->dashOffset(); break;-
1689 case 9: *reinterpret_cast< QVector<qreal>*>(_v) = _t->dashPattern(); break;-
1690 case 10: *reinterpret_cast< QQuickShapeGradient**>(_v) = _t->fillGradient(); break;-
1691 default: break;-
1692 }-
1693 } else if (_c == QMetaObject::WriteProperty) {-
1694 QQuickShapePath *_t = static_cast<QQuickShapePath *>(_o);-
1695 (void)_t;-
1696 void *_v = _a[0];-
1697 switch (_id) {-
1698 case 0: _t->setStrokeColor(*reinterpret_cast< QColor*>(_v)); break;-
1699 case 1: _t->setStrokeWidth(*reinterpret_cast< qreal*>(_v)); break;-
1700 case 2: _t->setFillColor(*reinterpret_cast< QColor*>(_v)); break;-
1701 case 3: _t->setFillRule(*reinterpret_cast< FillRule*>(_v)); break;-
1702 case 4: _t->setJoinStyle(*reinterpret_cast< JoinStyle*>(_v)); break;-
1703 case 5: _t->setMiterLimit(*reinterpret_cast< int*>(_v)); break;-
1704 case 6: _t->setCapStyle(*reinterpret_cast< CapStyle*>(_v)); break;-
1705 case 7: _t->setStrokeStyle(*reinterpret_cast< StrokeStyle*>(_v)); break;-
1706 case 8: _t->setDashOffset(*reinterpret_cast< qreal*>(_v)); break;-
1707 case 9: _t->setDashPattern(*reinterpret_cast< QVector<qreal>*>(_v)); break;-
1708 case 10: _t->setFillGradient(*reinterpret_cast< QQuickShapeGradient**>(_v)); break;-
1709 default: break;-
1710 }-
1711 } else if (_c == QMetaObject::ResetProperty) {-
1712 QQuickShapePath *_t = static_cast<QQuickShapePath *>(_o);-
1713 (void)_t;-
1714 switch (_id) {-
1715 case 10: _t->resetFillGradient(); break;-
1716 default: break;-
1717 }-
1718 }-
1719-
1720}-
1721-
1722 const QMetaObject QQuickShapePath::staticMetaObject = {-
1723 { &QQuickPath::staticMetaObject, qt_meta_stringdata_QQuickShapePath.data,-
1724 qt_meta_data_QQuickShapePath, qt_static_metacall, nullptr, nullptr}-
1725};-
1726-
1727-
1728const QMetaObject *QQuickShapePath::metaObject() const-
1729{-
1730 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
1731}-
1732-
1733void *QQuickShapePath::qt_metacast(const char *_clname)-
1734{-
1735 if (!_clname) return nullptr;-
1736 if (!strcmp(_clname, qt_meta_stringdata_QQuickShapePath.stringdata0))-
1737 return static_cast<void*>(this);-
1738 return QQuickPath::qt_metacast(_clname);-
1739}-
1740-
1741int QQuickShapePath::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
1742{-
1743 _id = QQuickPath::qt_metacall(_c, _id, _a);-
1744 if (_id < 0)-
1745 return _id;-
1746 if (_c == QMetaObject::InvokeMetaMethod) {-
1747 if (_id < 12)-
1748 qt_static_metacall(this, _c, _id, _a);-
1749 _id -= 12;-
1750 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
1751 if (_id < 12)-
1752 *reinterpret_cast<int*>(_a[0]) = -1;-
1753 _id -= 12;-
1754 }-
1755-
1756 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
1757 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
1758 qt_static_metacall(this, _c, _id, _a);-
1759 _id -= 11;-
1760 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
1761 _id -= 11;-
1762 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
1763 _id -= 11;-
1764 } else if (_c == QMetaObject::QueryPropertyStored) {-
1765 _id -= 11;-
1766 } else if (_c == QMetaObject::QueryPropertyEditable) {-
1767 _id -= 11;-
1768 } else if (_c == QMetaObject::QueryPropertyUser) {-
1769 _id -= 11;-
1770 }-
1771-
1772 return _id;-
1773}-
1774-
1775-
1776void QQuickShapePath::shapePathChanged()-
1777{-
1778 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
1779}
executed 3556 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
3556
1780-
1781-
1782void QQuickShapePath::strokeColorChanged()-
1783{-
1784 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
1785}
executed 410 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
410
1786-
1787-
1788void QQuickShapePath::strokeWidthChanged()-
1789{-
1790 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
1791}
executed 1016 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
1016
1792-
1793-
1794void QQuickShapePath::fillColorChanged()-
1795{-
1796 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
1797}
executed 824 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
824
1798-
1799-
1800void QQuickShapePath::fillRuleChanged()-
1801{-
1802 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
1803}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickshape
2
1804-
1805-
1806void QQuickShapePath::joinStyleChanged()-
1807{-
1808 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
1809}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickshape
2
1810-
1811-
1812void QQuickShapePath::miterLimitChanged()-
1813{-
1814 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
1815}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickshape
2
1816-
1817-
1818void QQuickShapePath::capStyleChanged()-
1819{-
1820 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
1821}
executed 20 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
20
1822-
1823-
1824void QQuickShapePath::strokeStyleChanged()-
1825{-
1826 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
1827}
executed 38 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
38
1828-
1829-
1830void QQuickShapePath::dashOffsetChanged()-
1831{-
1832 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);-
1833}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickshape
2
1834-
1835-
1836void QQuickShapePath::dashPatternChanged()-
1837{-
1838 QMetaObject::activate(this, &staticMetaObject, 10, nullptr);-
1839}
executed 24 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
24
1840struct qt_meta_stringdata_QQuickShape_t {-
1841 QByteArrayData data[28];-
1842 char stringdata0[403];-
1843};-
1844-
1845-
1846-
1847-
1848-
1849static const qt_meta_stringdata_QQuickShape_t qt_meta_stringdata_QQuickShape = {-
1850 {-
1851{ { { -1 } }, 11, 0, 0, qptrdiff(-
1852__builtin_offsetof (-
1853qt_meta_stringdata_QQuickShape_t-
1854, -
1855stringdata0-
1856) -
1857+ 0 - 0 * sizeof(QByteArrayData)) },-
1858{ { { -1 } }, 15, 0, 0, qptrdiff(-
1859__builtin_offsetof (-
1860qt_meta_stringdata_QQuickShape_t-
1861, -
1862stringdata0-
1863) -
1864+ 12 - 1 * sizeof(QByteArrayData)) },-
1865{ { { -1 } }, 4, 0, 0, qptrdiff(-
1866__builtin_offsetof (-
1867qt_meta_stringdata_QQuickShape_t-
1868, -
1869stringdata0-
1870) -
1871+ 28 - 2 * sizeof(QByteArrayData)) },-
1872{ { { -1 } }, 15, 0, 0, qptrdiff(-
1873__builtin_offsetof (-
1874qt_meta_stringdata_QQuickShape_t-
1875, -
1876stringdata0-
1877) -
1878+ 33 - 3 * sizeof(QByteArrayData)) },-
1879{ { { -1 } }, 0, 0, 0, qptrdiff(-
1880__builtin_offsetof (-
1881qt_meta_stringdata_QQuickShape_t-
1882, -
1883stringdata0-
1884) -
1885+ 49 - 4 * sizeof(QByteArrayData)) },-
1886{ { { -1 } }, 19, 0, 0, qptrdiff(-
1887__builtin_offsetof (-
1888qt_meta_stringdata_QQuickShape_t-
1889, -
1890stringdata0-
1891) -
1892+ 50 - 5 * sizeof(QByteArrayData)) },-
1893{ { { -1 } }, 30, 0, 0, qptrdiff(-
1894__builtin_offsetof (-
1895qt_meta_stringdata_QQuickShape_t-
1896, -
1897stringdata0-
1898) -
1899+ 70 - 6 * sizeof(QByteArrayData)) },-
1900{ { { -1 } }, 13, 0, 0, qptrdiff(-
1901__builtin_offsetof (-
1902qt_meta_stringdata_QQuickShape_t-
1903, -
1904stringdata0-
1905) -
1906+ 101 - 7 * sizeof(QByteArrayData)) },-
1907{ { { -1 } }, 19, 0, 0, qptrdiff(-
1908__builtin_offsetof (-
1909qt_meta_stringdata_QQuickShape_t-
1910, -
1911stringdata0-
1912) -
1913+ 115 - 8 * sizeof(QByteArrayData)) },-
1914{ { { -1 } }, 19, 0, 0, qptrdiff(-
1915__builtin_offsetof (-
1916qt_meta_stringdata_QQuickShape_t-
1917, -
1918stringdata0-
1919) -
1920+ 135 - 9 * sizeof(QByteArrayData)) },-
1921{ { { -1 } }, 12, 0, 0, qptrdiff(-
1922__builtin_offsetof (-
1923qt_meta_stringdata_QQuickShape_t-
1924, -
1925stringdata0-
1926) -
1927+ 155 - 10 * sizeof(QByteArrayData)) },-
1928{ { { -1 } }, 12, 0, 0, qptrdiff(-
1929__builtin_offsetof (-
1930qt_meta_stringdata_QQuickShape_t-
1931, -
1932stringdata0-
1933) -
1934+ 168 - 11 * sizeof(QByteArrayData)) },-
1935{ { { -1 } }, 12, 0, 0, qptrdiff(-
1936__builtin_offsetof (-
1937qt_meta_stringdata_QQuickShape_t-
1938, -
1939stringdata0-
1940) -
1941+ 181 - 12 * sizeof(QByteArrayData)) },-
1942{ { { -1 } }, 23, 0, 0, qptrdiff(-
1943__builtin_offsetof (-
1944qt_meta_stringdata_QQuickShape_t-
1945, -
1946stringdata0-
1947) -
1948+ 194 - 13 * sizeof(QByteArrayData)) },-
1949{ { { -1 } }, 6, 0, 0, qptrdiff(-
1950__builtin_offsetof (-
1951qt_meta_stringdata_QQuickShape_t-
1952, -
1953stringdata0-
1954) -
1955+ 218 - 14 * sizeof(QByteArrayData)) },-
1956{ { { -1 } }, 6, 0, 0, qptrdiff(-
1957__builtin_offsetof (-
1958qt_meta_stringdata_QQuickShape_t-
1959, -
1960stringdata0-
1961) -
1962+ 225 - 15 * sizeof(QByteArrayData)) },-
1963{ { { -1 } }, 12, 0, 0, qptrdiff(-
1964__builtin_offsetof (-
1965qt_meta_stringdata_QQuickShape_t-
1966, -
1967stringdata0-
1968) -
1969+ 232 - 16 * sizeof(QByteArrayData)) },-
1970{ { { -1 } }, 12, 0, 0, qptrdiff(-
1971__builtin_offsetof (-
1972qt_meta_stringdata_QQuickShape_t-
1973, -
1974stringdata0-
1975) -
1976+ 245 - 17 * sizeof(QByteArrayData)) },-
1977{ { { -1 } }, 25, 0, 0, qptrdiff(-
1978__builtin_offsetof (-
1979qt_meta_stringdata_QQuickShape_t-
1980, -
1981stringdata0-
1982) -
1983+ 258 - 18 * sizeof(QByteArrayData)) },-
1984{ { { -1 } }, 15, 0, 0, qptrdiff(-
1985__builtin_offsetof (-
1986qt_meta_stringdata_QQuickShape_t-
1987, -
1988stringdata0-
1989) -
1990+ 284 - 19 * sizeof(QByteArrayData)) },-
1991{ { { -1 } }, 16, 0, 0, qptrdiff(-
1992__builtin_offsetof (-
1993qt_meta_stringdata_QQuickShape_t-
1994, -
1995stringdata0-
1996) -
1997+ 300 - 20 * sizeof(QByteArrayData)) },-
1998{ { { -1 } }, 12, 0, 0, qptrdiff(-
1999__builtin_offsetof (-
2000qt_meta_stringdata_QQuickShape_t-
2001, -
2002stringdata0-
2003) -
2004+ 317 - 21 * sizeof(QByteArrayData)) },-
2005{ { { -1 } }, 16, 0, 0, qptrdiff(-
2006__builtin_offsetof (-
2007qt_meta_stringdata_QQuickShape_t-
2008, -
2009stringdata0-
2010) -
2011+ 330 - 22 * sizeof(QByteArrayData)) },-
2012{ { { -1 } }, 4, 0, 0, qptrdiff(-
2013__builtin_offsetof (-
2014qt_meta_stringdata_QQuickShape_t-
2015, -
2016stringdata0-
2017) -
2018+ 347 - 23 * sizeof(QByteArrayData)) },-
2019{ { { -1 } }, 5, 0, 0, qptrdiff(-
2020__builtin_offsetof (-
2021qt_meta_stringdata_QQuickShape_t-
2022, -
2023stringdata0-
2024) -
2025+ 352 - 24 * sizeof(QByteArrayData)) },-
2026{ { { -1 } }, 10, 0, 0, qptrdiff(-
2027__builtin_offsetof (-
2028qt_meta_stringdata_QQuickShape_t-
2029, -
2030stringdata0-
2031) -
2032+ 358 - 25 * sizeof(QByteArrayData)) },-
2033{ { { -1 } }, 20, 0, 0, qptrdiff(-
2034__builtin_offsetof (-
2035qt_meta_stringdata_QQuickShape_t-
2036, -
2037stringdata0-
2038) -
2039+ 369 - 26 * sizeof(QByteArrayData)) },-
2040{ { { -1 } }, 12, 0, 0, qptrdiff(-
2041__builtin_offsetof (-
2042qt_meta_stringdata_QQuickShape_t-
2043, -
2044stringdata0-
2045) -
2046+ 390 - 27 * sizeof(QByteArrayData)) }-
2047-
2048 },-
2049 "QQuickShape\0DefaultProperty\0data\0"-
2050 "rendererChanged\0\0asynchronousChanged\0"-
2051 "vendorExtensionsEnabledChanged\0"-
2052 "statusChanged\0containsModeChanged\0"-
2053 "_q_shapePathChanged\0rendererType\0"-
2054 "RendererType\0asynchronous\0"-
2055 "vendorExtensionsEnabled\0status\0Status\0"-
2056 "containsMode\0ContainsMode\0"-
2057 "QQmlListProperty<QObject>\0UnknownRenderer\0"-
2058 "GeometryRenderer\0NvprRenderer\0"-
2059 "SoftwareRenderer\0Null\0Ready\0Processing\0"-
2060 "BoundingRectContains\0FillContains"-
2061};-
2062-
2063-
2064static const uint qt_meta_data_QQuickShape[] = {-
2065-
2066-
2067 7,-
2068 0,-
2069 1, 14,-
2070 6, 16,-
2071 6, 58,-
2072 3, 88,-
2073 0, 0,-
2074 0,-
2075 5,-
2076-
2077-
2078 1, 2,-
2079-
2080-
2081 3, 0, 52, 4, 0x06 ,-
2082 5, 0, 53, 4, 0x06 ,-
2083 6, 0, 54, 4, 0x06 ,-
2084 7, 0, 55, 4, 0x06 ,-
2085 8, 0, 56, 4, 0x86 ,-
2086-
2087-
2088 9, 0, 57, 4, 0x08 ,-
2089-
2090-
2091 0,-
2092 0,-
2093 0,-
2094 0,-
2095 11,-
2096-
2097-
2098 0,-
2099-
2100-
2101 QMetaType::Void,-
2102 QMetaType::Void,-
2103 QMetaType::Void,-
2104 QMetaType::Void,-
2105 QMetaType::Void,-
2106-
2107-
2108 QMetaType::Void,-
2109-
2110-
2111 10, 0x80000000 | 11, 0x00495009,-
2112 12, QMetaType::Bool, 0x00495103,-
2113 13, QMetaType::Bool, 0x00495103,-
2114 14, 0x80000000 | 15, 0x00495009,-
2115 16, 0x80000000 | 17, 0x00c9510b,-
2116 2, 0x80000000 | 18, 0x00095009,-
2117-
2118-
2119 0,-
2120 1,-
2121 2,-
2122 3,-
2123 4,-
2124 0,-
2125-
2126-
2127 0,-
2128 0,-
2129 0,-
2130 0,-
2131 11,-
2132 0,-
2133-
2134-
2135 11, 0x0, 4, 100,-
2136 15, 0x0, 3, 108,-
2137 17, 0x0, 2, 114,-
2138-
2139-
2140 19, uint(QQuickShape::UnknownRenderer),-
2141 20, uint(QQuickShape::GeometryRenderer),-
2142 21, uint(QQuickShape::NvprRenderer),-
2143 22, uint(QQuickShape::SoftwareRenderer),-
2144 23, uint(QQuickShape::Null),-
2145 24, uint(QQuickShape::Ready),-
2146 25, uint(QQuickShape::Processing),-
2147 26, uint(QQuickShape::BoundingRectContains),-
2148 27, uint(QQuickShape::FillContains),-
2149-
2150 0-
2151};-
2152-
2153void QQuickShape::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
2154{-
2155 if (_c == QMetaObject::InvokeMetaMethod) {-
2156 QQuickShape *_t = static_cast<QQuickShape *>(_o);-
2157 (void)_t;-
2158 switch (_id) {-
2159 case 0: _t->rendererChanged(); break;-
2160 case 1: _t->asynchronousChanged(); break;-
2161 case 2: _t->vendorExtensionsEnabledChanged(); break;-
2162 case 3: _t->statusChanged(); break;-
2163 case 4: _t->containsModeChanged(); break;-
2164 case 5: _t->d_func()->_q_shapePathChanged(); break;-
2165 default: ;-
2166 }-
2167 } else if (_c == QMetaObject::IndexOfMethod) {-
2168 int *result = reinterpret_cast<int *>(_a[0]);-
2169 {-
2170 using _t = void (QQuickShape::*)();-
2171 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShape::rendererChanged)) {-
2172 *result = 0;-
2173 return;-
2174 }-
2175 }-
2176 {-
2177 using _t = void (QQuickShape::*)();-
2178 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShape::asynchronousChanged)) {-
2179 *result = 1;-
2180 return;-
2181 }-
2182 }-
2183 {-
2184 using _t = void (QQuickShape::*)();-
2185 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShape::vendorExtensionsEnabledChanged)) {-
2186 *result = 2;-
2187 return;-
2188 }-
2189 }-
2190 {-
2191 using _t = void (QQuickShape::*)();-
2192 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShape::statusChanged)) {-
2193 *result = 3;-
2194 return;-
2195 }-
2196 }-
2197 {-
2198 using _t = void (QQuickShape::*)();-
2199 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickShape::containsModeChanged)) {-
2200 *result = 4;-
2201 return;-
2202 }-
2203 }-
2204 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
2205 switch (_id) {-
2206 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
2207 case 5:-
2208 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QObject> >(); break;-
2209 }-
2210 }-
2211-
2212-
2213 else if (_c == QMetaObject::ReadProperty) {-
2214 QQuickShape *_t = static_cast<QQuickShape *>(_o);-
2215 (void)_t;-
2216 void *_v = _a[0];-
2217 switch (_id) {-
2218 case 0: *reinterpret_cast< RendererType*>(_v) = _t->rendererType(); break;-
2219 case 1: *reinterpret_cast< bool*>(_v) = _t->asynchronous(); break;-
2220 case 2: *reinterpret_cast< bool*>(_v) = _t->vendorExtensionsEnabled(); break;-
2221 case 3: *reinterpret_cast< Status*>(_v) = _t->status(); break;-
2222 case 4: *reinterpret_cast< ContainsMode*>(_v) = _t->containsMode(); break;-
2223 case 5: *reinterpret_cast< QQmlListProperty<QObject>*>(_v) = _t->data(); break;-
2224 default: break;-
2225 }-
2226 } else if (_c == QMetaObject::WriteProperty) {-
2227 QQuickShape *_t = static_cast<QQuickShape *>(_o);-
2228 (void)_t;-
2229 void *_v = _a[0];-
2230 switch (_id) {-
2231 case 1: _t->setAsynchronous(*reinterpret_cast< bool*>(_v)); break;-
2232 case 2: _t->setVendorExtensionsEnabled(*reinterpret_cast< bool*>(_v)); break;-
2233 case 4: _t->setContainsMode(*reinterpret_cast< ContainsMode*>(_v)); break;-
2234 default: break;-
2235 }-
2236 } else if (_c == QMetaObject::ResetProperty) {-
2237 }-
2238-
2239}-
2240-
2241 const QMetaObject QQuickShape::staticMetaObject = {-
2242 { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickShape.data,-
2243 qt_meta_data_QQuickShape, qt_static_metacall, nullptr, nullptr}-
2244};-
2245-
2246-
2247const QMetaObject *QQuickShape::metaObject() const-
2248{-
2249 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
2250}-
2251-
2252void *QQuickShape::qt_metacast(const char *_clname)-
2253{-
2254 if (!_clname) return nullptr;-
2255 if (!strcmp(_clname, qt_meta_stringdata_QQuickShape.stringdata0))-
2256 return static_cast<void*>(this);-
2257 return QQuickItem::qt_metacast(_clname);-
2258}-
2259-
2260int QQuickShape::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
2261{-
2262 _id = QQuickItem::qt_metacall(_c, _id, _a);-
2263 if (_id < 0)-
2264 return _id;-
2265 if (_c == QMetaObject::InvokeMetaMethod) {-
2266 if (_id < 6)-
2267 qt_static_metacall(this, _c, _id, _a);-
2268 _id -= 6;-
2269 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
2270 if (_id < 6)-
2271 *reinterpret_cast<int*>(_a[0]) = -1;-
2272 _id -= 6;-
2273 }-
2274-
2275 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
2276 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
2277 qt_static_metacall(this, _c, _id, _a);-
2278 _id -= 6;-
2279 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
2280 _id -= 6;-
2281 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
2282 _id -= 6;-
2283 } else if (_c == QMetaObject::QueryPropertyStored) {-
2284 _id -= 6;-
2285 } else if (_c == QMetaObject::QueryPropertyEditable) {-
2286 _id -= 6;-
2287 } else if (_c == QMetaObject::QueryPropertyUser) {-
2288 _id -= 6;-
2289 }-
2290-
2291 return _id;-
2292}-
2293-
2294-
2295void QQuickShape::rendererChanged()-
2296{-
2297 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
2298}
executed 91 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
91
2299-
2300-
2301void QQuickShape::asynchronousChanged()-
2302{-
2303 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
2304}
executed 8 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
8
2305-
2306-
2307void QQuickShape::vendorExtensionsEnabledChanged()-
2308{-
2309 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
2310}
executed 12 times by 1 test: end of block
Executed by:
  • tst_qquickshape
12
2311-
2312-
2313void QQuickShape::statusChanged()-
2314{-
2315 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
2316}
executed 91 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickshape
91
2317-
2318-
2319void QQuickShape::containsModeChanged()-
2320{-
2321 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
2322}
executed 8 times by 1 test: end of block
Executed by:
  • tst_examples
8
2323-
2324#pragma GCC diagnostic pop-
2325-
2326-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0