OpenCoverage

moc_qquickrectangle_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickrectangle_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_QQuickPen_t {-
9 QByteArrayData data[6];-
10 char stringdata0[47];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickPen_t qt_meta_stringdata_QQuickPen = {-
18 {-
19{ { { -1 } }, 9, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickPen_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 10, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickPen_t-
29, -
30stringdata0-
31) -
32+ 10 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickPen_t-
36, -
37stringdata0-
38) -
39+ 21 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 5, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickPen_t-
43, -
44stringdata0-
45) -
46+ 22 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 5, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickPen_t-
50, -
51stringdata0-
52) -
53+ 28 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 12, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickPen_t-
57, -
58stringdata0-
59) -
60+ 34 - 5 * sizeof(QByteArrayData)) }-
61-
62 },-
63 "QQuickPen\0penChanged\0\0width\0color\0"-
64 "pixelAligned"-
65};-
66-
67-
68static const uint qt_meta_data_QQuickPen[] = {-
69-
70-
71 7,-
72 0,-
73 0, 0,-
74 1, 14,-
75 3, 20,-
76 0, 0,-
77 0, 0,-
78 0,-
79 1,-
80-
81-
82 1, 0, 19, 2, 0x06 ,-
83-
84-
85 QMetaType::Void,-
86-
87-
88 3, QMetaType::QReal, 0x00495103,-
89 4, QMetaType::QColor, 0x00495103,-
90 5, QMetaType::Bool, 0x00495103,-
91-
92-
93 0,-
94 0,-
95 0,-
96-
97 0-
98};-
99-
100void QQuickPen::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
101{-
102 if (_c == QMetaObject::InvokeMetaMethod) {-
103 QQuickPen *_t = static_cast<QQuickPen *>(_o);-
104 (void)_t;-
105 switch (_id) {-
106 case 0: _t->penChanged(); break;-
107 default: ;-
108 }-
109 } else if (_c == QMetaObject::IndexOfMethod) {-
110 int *result = reinterpret_cast<int *>(_a[0]);-
111 {-
112 using _t = void (QQuickPen::*)();-
113 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPen::penChanged)) {-
114 *result = 0;-
115 return;-
116 }-
117 }-
118 }-
119-
120 else if (_c == QMetaObject::ReadProperty) {-
121 QQuickPen *_t = static_cast<QQuickPen *>(_o);-
122 (void)_t;-
123 void *_v = _a[0];-
124 switch (_id) {-
125 case 0: *reinterpret_cast< qreal*>(_v) = _t->width(); break;-
126 case 1: *reinterpret_cast< QColor*>(_v) = _t->color(); break;-
127 case 2: *reinterpret_cast< bool*>(_v) = _t->pixelAligned(); break;-
128 default: break;-
129 }-
130 } else if (_c == QMetaObject::WriteProperty) {-
131 QQuickPen *_t = static_cast<QQuickPen *>(_o);-
132 (void)_t;-
133 void *_v = _a[0];-
134 switch (_id) {-
135 case 0: _t->setWidth(*reinterpret_cast< qreal*>(_v)); break;-
136 case 1: _t->setColor(*reinterpret_cast< QColor*>(_v)); break;-
137 case 2: _t->setPixelAligned(*reinterpret_cast< bool*>(_v)); break;-
138 default: break;-
139 }-
140 } else if (_c == QMetaObject::ResetProperty) {-
141 }-
142-
143 (void)_a;;-
144}-
145-
146 const QMetaObject QQuickPen::staticMetaObject = {-
147 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPen.data,-
148 qt_meta_data_QQuickPen, qt_static_metacall, nullptr, nullptr}-
149};-
150-
151-
152const QMetaObject *QQuickPen::metaObject() const-
153{-
154 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
155}-
156-
157void *QQuickPen::qt_metacast(const char *_clname)-
158{-
159 if (!_clname) return nullptr;-
160 if (!strcmp(_clname, qt_meta_stringdata_QQuickPen.stringdata0))-
161 return static_cast<void*>(this);-
162 return QObject::qt_metacast(_clname);-
163}-
164-
165int QQuickPen::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
166{-
167 _id = QObject::qt_metacall(_c, _id, _a);-
168 if (_id < 0)-
169 return _id;-
170 if (_c == QMetaObject::InvokeMetaMethod) {-
171 if (_id < 1)-
172 qt_static_metacall(this, _c, _id, _a);-
173 _id -= 1;-
174 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
175 if (_id < 1)-
176 *reinterpret_cast<int*>(_a[0]) = -1;-
177 _id -= 1;-
178 }-
179-
180 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
181 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
182 qt_static_metacall(this, _c, _id, _a);-
183 _id -= 3;-
184 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
185 _id -= 3;-
186 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
187 _id -= 3;-
188 } else if (_c == QMetaObject::QueryPropertyStored) {-
189 _id -= 3;-
190 } else if (_c == QMetaObject::QueryPropertyEditable) {-
191 _id -= 3;-
192 } else if (_c == QMetaObject::QueryPropertyUser) {-
193 _id -= 3;-
194 }-
195-
196 return _id;-
197}-
198-
199-
200void QQuickPen::penChanged()-
201{-
202 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
203}
executed 55715 times by 21 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlcomponent
  • tst_qquickaccessible
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrectangle
  • tst_qquickstates
  • tst_qquicktaphandler
  • tst_qquicktext
  • tst_qquicktextedit
55715
204struct qt_meta_stringdata_QQuickGradientStop_t {-
205 QByteArrayData data[3];-
206 char stringdata0[34];-
207};-
208-
209-
210-
211-
212-
213static const qt_meta_stringdata_QQuickGradientStop_t qt_meta_stringdata_QQuickGradientStop = {-
214 {-
215{ { { -1 } }, 18, 0, 0, qptrdiff(-
216__builtin_offsetof (-
217qt_meta_stringdata_QQuickGradientStop_t-
218, -
219stringdata0-
220) -
221+ 0 - 0 * sizeof(QByteArrayData)) },-
222{ { { -1 } }, 8, 0, 0, qptrdiff(-
223__builtin_offsetof (-
224qt_meta_stringdata_QQuickGradientStop_t-
225, -
226stringdata0-
227) -
228+ 19 - 1 * sizeof(QByteArrayData)) },-
229{ { { -1 } }, 5, 0, 0, qptrdiff(-
230__builtin_offsetof (-
231qt_meta_stringdata_QQuickGradientStop_t-
232, -
233stringdata0-
234) -
235+ 28 - 2 * sizeof(QByteArrayData)) }-
236-
237 },-
238 "QQuickGradientStop\0position\0color"-
239};-
240-
241-
242static const uint qt_meta_data_QQuickGradientStop[] = {-
243-
244-
245 7,-
246 0,-
247 0, 0,-
248 0, 0,-
249 2, 14,-
250 0, 0,-
251 0, 0,-
252 0,-
253 0,-
254-
255-
256 1, QMetaType::QReal, 0x00095103,-
257 2, QMetaType::QColor, 0x00095103,-
258-
259 0-
260};-
261-
262void QQuickGradientStop::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
263{-
264-
265-
266 if (_c == QMetaObject::ReadProperty) {-
267 QQuickGradientStop *_t = static_cast<QQuickGradientStop *>(_o);-
268 (void)_t;-
269 void *_v = _a[0];-
270 switch (_id) {-
271 case 0: *reinterpret_cast< qreal*>(_v) = _t->position(); break;-
272 case 1: *reinterpret_cast< QColor*>(_v) = _t->color(); break;-
273 default: break;-
274 }-
275 } else if (_c == QMetaObject::WriteProperty) {-
276 QQuickGradientStop *_t = static_cast<QQuickGradientStop *>(_o);-
277 (void)_t;-
278 void *_v = _a[0];-
279 switch (_id) {-
280 case 0: _t->setPosition(*reinterpret_cast< qreal*>(_v)); break;-
281 case 1: _t->setColor(*reinterpret_cast< QColor*>(_v)); break;-
282 default: break;-
283 }-
284 } else if (_c == QMetaObject::ResetProperty) {-
285 }-
286-
287 (void)_o;;-
288 (void)_id;;-
289 (void)_c;;-
290 (void)_a;;-
291}-
292-
293 const QMetaObject QQuickGradientStop::staticMetaObject = {-
294 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickGradientStop.data,-
295 qt_meta_data_QQuickGradientStop, qt_static_metacall, nullptr, nullptr}-
296};-
297-
298-
299const QMetaObject *QQuickGradientStop::metaObject() const-
300{-
301 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
302}-
303-
304void *QQuickGradientStop::qt_metacast(const char *_clname)-
305{-
306 if (!_clname) return nullptr;-
307 if (!strcmp(_clname, qt_meta_stringdata_QQuickGradientStop.stringdata0))-
308 return static_cast<void*>(this);-
309 return QObject::qt_metacast(_clname);-
310}-
311-
312int QQuickGradientStop::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
313{-
314 _id = QObject::qt_metacall(_c, _id, _a);-
315 if (_id < 0)-
316 return _id;-
317-
318-
319 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
320 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
321 qt_static_metacall(this, _c, _id, _a);-
322 _id -= 2;-
323 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
324 _id -= 2;-
325 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
326 _id -= 2;-
327 } else if (_c == QMetaObject::QueryPropertyStored) {-
328 _id -= 2;-
329 } else if (_c == QMetaObject::QueryPropertyEditable) {-
330 _id -= 2;-
331 } else if (_c == QMetaObject::QueryPropertyUser) {-
332 _id -= 2;-
333 }-
334-
335 return _id;-
336}-
337struct qt_meta_stringdata_QQuickGradient_t {-
338 QByteArrayData data[11];-
339 char stringdata0[146];-
340};-
341-
342-
343-
344-
345-
346static const qt_meta_stringdata_QQuickGradient_t qt_meta_stringdata_QQuickGradient = {-
347 {-
348{ { { -1 } }, 14, 0, 0, qptrdiff(-
349__builtin_offsetof (-
350qt_meta_stringdata_QQuickGradient_t-
351, -
352stringdata0-
353) -
354+ 0 - 0 * sizeof(QByteArrayData)) },-
355{ { { -1 } }, 15, 0, 0, qptrdiff(-
356__builtin_offsetof (-
357qt_meta_stringdata_QQuickGradient_t-
358, -
359stringdata0-
360) -
361+ 15 - 1 * sizeof(QByteArrayData)) },-
362{ { { -1 } }, 5, 0, 0, qptrdiff(-
363__builtin_offsetof (-
364qt_meta_stringdata_QQuickGradient_t-
365, -
366stringdata0-
367) -
368+ 31 - 2 * sizeof(QByteArrayData)) },-
369{ { { -1 } }, 7, 0, 0, qptrdiff(-
370__builtin_offsetof (-
371qt_meta_stringdata_QQuickGradient_t-
372, -
373stringdata0-
374) -
375+ 37 - 3 * sizeof(QByteArrayData)) },-
376{ { { -1 } }, 0, 0, 0, qptrdiff(-
377__builtin_offsetof (-
378qt_meta_stringdata_QQuickGradient_t-
379, -
380stringdata0-
381) -
382+ 45 - 4 * sizeof(QByteArrayData)) },-
383{ { { -1 } }, 18, 0, 0, qptrdiff(-
384__builtin_offsetof (-
385qt_meta_stringdata_QQuickGradient_t-
386, -
387stringdata0-
388) -
389+ 46 - 5 * sizeof(QByteArrayData)) },-
390{ { { -1 } }, 36, 0, 0, qptrdiff(-
391__builtin_offsetof (-
392qt_meta_stringdata_QQuickGradient_t-
393, -
394stringdata0-
395) -
396+ 65 - 6 * sizeof(QByteArrayData)) },-
397{ { { -1 } }, 11, 0, 0, qptrdiff(-
398__builtin_offsetof (-
399qt_meta_stringdata_QQuickGradient_t-
400, -
401stringdata0-
402) -
403+ 102 - 7 * sizeof(QByteArrayData)) },-
404{ { { -1 } }, 11, 0, 0, qptrdiff(-
405__builtin_offsetof (-
406qt_meta_stringdata_QQuickGradient_t-
407, -
408stringdata0-
409) -
410+ 114 - 8 * sizeof(QByteArrayData)) },-
411{ { { -1 } }, 8, 0, 0, qptrdiff(-
412__builtin_offsetof (-
413qt_meta_stringdata_QQuickGradient_t-
414, -
415stringdata0-
416) -
417+ 126 - 9 * sizeof(QByteArrayData)) },-
418{ { { -1 } }, 10, 0, 0, qptrdiff(-
419__builtin_offsetof (-
420qt_meta_stringdata_QQuickGradient_t-
421, -
422stringdata0-
423) -
424+ 135 - 10 * sizeof(QByteArrayData)) }-
425-
426 },-
427 "QQuickGradient\0DefaultProperty\0stops\0"-
428 "updated\0\0orientationChanged\0"-
429 "QQmlListProperty<QQuickGradientStop>\0"-
430 "orientation\0Orientation\0Vertical\0"-
431 "Horizontal"-
432};-
433-
434-
435static const uint qt_meta_data_QQuickGradient[] = {-
436-
437-
438 7,-
439 0,-
440 1, 14,-
441 2, 16,-
442 2, 28,-
443 1, 38,-
444 0, 0,-
445 0,-
446 2,-
447-
448-
449 1, 2,-
450-
451-
452 3, 0, 26, 4, 0x06 ,-
453 5, 0, 27, 4, 0x06 ,-
454-
455-
456 QMetaType::Void,-
457 QMetaType::Void,-
458-
459-
460 2, 0x80000000 | 6, 0x00095009,-
461 7, 0x80000000 | 8, 0x00c9510b,-
462-
463-
464 0,-
465 1,-
466-
467-
468 0,-
469 12,-
470-
471-
472 8, 0x0, 2, 42,-
473-
474-
475 9, uint(QQuickGradient::Vertical),-
476 10, uint(QQuickGradient::Horizontal),-
477-
478 0-
479};-
480-
481void QQuickGradient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
482{-
483 if (_c == QMetaObject::InvokeMetaMethod) {-
484 QQuickGradient *_t = static_cast<QQuickGradient *>(_o);-
485 (void)_t;-
486 switch (_id) {-
487 case 0: _t->updated(); break;-
488 case 1: _t->orientationChanged(); break;-
489 default: ;-
490 }-
491 } else if (_c == QMetaObject::IndexOfMethod) {-
492 int *result = reinterpret_cast<int *>(_a[0]);-
493 {-
494 using _t = void (QQuickGradient::*)();-
495 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGradient::updated)) {-
496 *result = 0;-
497 return;-
498 }-
499 }-
500 {-
501 using _t = void (QQuickGradient::*)();-
502 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGradient::orientationChanged)) {-
503 *result = 1;-
504 return;-
505 }-
506 }-
507 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
508 switch (_id) {-
509 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
510 case 0:-
511 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QQuickGradientStop> >(); break;-
512 }-
513 }-
514-
515-
516 else if (_c == QMetaObject::ReadProperty) {-
517 QQuickGradient *_t = static_cast<QQuickGradient *>(_o);-
518 (void)_t;-
519 void *_v = _a[0];-
520 switch (_id) {-
521 case 0: *reinterpret_cast< QQmlListProperty<QQuickGradientStop>*>(_v) = _t->stops(); break;-
522 case 1: *reinterpret_cast< Orientation*>(_v) = _t->orientation(); break;-
523 default: break;-
524 }-
525 } else if (_c == QMetaObject::WriteProperty) {-
526 QQuickGradient *_t = static_cast<QQuickGradient *>(_o);-
527 (void)_t;-
528 void *_v = _a[0];-
529 switch (_id) {-
530 case 1: _t->setOrientation(*reinterpret_cast< Orientation*>(_v)); break;-
531 default: break;-
532 }-
533 } else if (_c == QMetaObject::ResetProperty) {-
534 }-
535-
536}-
537-
538 const QMetaObject QQuickGradient::staticMetaObject = {-
539 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickGradient.data,-
540 qt_meta_data_QQuickGradient, qt_static_metacall, nullptr, nullptr}-
541};-
542-
543-
544const QMetaObject *QQuickGradient::metaObject() const-
545{-
546 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
547}-
548-
549void *QQuickGradient::qt_metacast(const char *_clname)-
550{-
551 if (!_clname) return nullptr;-
552 if (!strcmp(_clname, qt_meta_stringdata_QQuickGradient.stringdata0))-
553 return static_cast<void*>(this);-
554 return QObject::qt_metacast(_clname);-
555}-
556-
557int QQuickGradient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
558{-
559 _id = QObject::qt_metacall(_c, _id, _a);-
560 if (_id < 0)-
561 return _id;-
562 if (_c == QMetaObject::InvokeMetaMethod) {-
563 if (_id < 2)-
564 qt_static_metacall(this, _c, _id, _a);-
565 _id -= 2;-
566 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
567 if (_id < 2)-
568 *reinterpret_cast<int*>(_a[0]) = -1;-
569 _id -= 2;-
570 }-
571-
572 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
573 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
574 qt_static_metacall(this, _c, _id, _a);-
575 _id -= 2;-
576 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
577 _id -= 2;-
578 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
579 _id -= 2;-
580 } else if (_c == QMetaObject::QueryPropertyStored) {-
581 _id -= 2;-
582 } else if (_c == QMetaObject::QueryPropertyEditable) {-
583 _id -= 2;-
584 } else if (_c == QMetaObject::QueryPropertyUser) {-
585 _id -= 2;-
586 }-
587-
588 return _id;-
589}-
590-
591-
592void QQuickGradient::updated()-
593{-
594 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
595}
executed 3048 times by 7 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickitemlayer
  • tst_qquickrectangle
  • tst_qquickshape
  • tst_qquicktaphandler
  • tst_scenegraph
3048
596-
597-
598void QQuickGradient::orientationChanged()-
599{-
600 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
601}
never executed: end of block
0
602struct qt_meta_stringdata_QQuickRectangle_t {-
603 QByteArrayData data[11];-
604 char stringdata0[109];-
605};-
606-
607-
608-
609-
610-
611static const qt_meta_stringdata_QQuickRectangle_t qt_meta_stringdata_QQuickRectangle = {-
612 {-
613{ { { -1 } }, 15, 0, 0, qptrdiff(-
614__builtin_offsetof (-
615qt_meta_stringdata_QQuickRectangle_t-
616, -
617stringdata0-
618) -
619+ 0 - 0 * sizeof(QByteArrayData)) },-
620{ { { -1 } }, 12, 0, 0, qptrdiff(-
621__builtin_offsetof (-
622qt_meta_stringdata_QQuickRectangle_t-
623, -
624stringdata0-
625) -
626+ 16 - 1 * sizeof(QByteArrayData)) },-
627{ { { -1 } }, 0, 0, 0, qptrdiff(-
628__builtin_offsetof (-
629qt_meta_stringdata_QQuickRectangle_t-
630, -
631stringdata0-
632) -
633+ 29 - 2 * sizeof(QByteArrayData)) },-
634{ { { -1 } }, 13, 0, 0, qptrdiff(-
635__builtin_offsetof (-
636qt_meta_stringdata_QQuickRectangle_t-
637, -
638stringdata0-
639) -
640+ 30 - 3 * sizeof(QByteArrayData)) },-
641{ { { -1 } }, 8, 0, 0, qptrdiff(-
642__builtin_offsetof (-
643qt_meta_stringdata_QQuickRectangle_t-
644, -
645stringdata0-
646) -
647+ 44 - 4 * sizeof(QByteArrayData)) },-
648{ { { -1 } }, 5, 0, 0, qptrdiff(-
649__builtin_offsetof (-
650qt_meta_stringdata_QQuickRectangle_t-
651, -
652stringdata0-
653) -
654+ 53 - 5 * sizeof(QByteArrayData)) },-
655{ { { -1 } }, 8, 0, 0, qptrdiff(-
656__builtin_offsetof (-
657qt_meta_stringdata_QQuickRectangle_t-
658, -
659stringdata0-
660) -
661+ 59 - 6 * sizeof(QByteArrayData)) },-
662{ { { -1 } }, 15, 0, 0, qptrdiff(-
663__builtin_offsetof (-
664qt_meta_stringdata_QQuickRectangle_t-
665, -
666stringdata0-
667) -
668+ 68 - 7 * sizeof(QByteArrayData)) },-
669{ { { -1 } }, 6, 0, 0, qptrdiff(-
670__builtin_offsetof (-
671qt_meta_stringdata_QQuickRectangle_t-
672, -
673stringdata0-
674) -
675+ 84 - 8 * sizeof(QByteArrayData)) },-
676{ { { -1 } }, 10, 0, 0, qptrdiff(-
677__builtin_offsetof (-
678qt_meta_stringdata_QQuickRectangle_t-
679, -
680stringdata0-
681) -
682+ 91 - 9 * sizeof(QByteArrayData)) },-
683{ { { -1 } }, 6, 0, 0, qptrdiff(-
684__builtin_offsetof (-
685qt_meta_stringdata_QQuickRectangle_t-
686, -
687stringdata0-
688) -
689+ 102 - 10 * sizeof(QByteArrayData)) }-
690-
691 },-
692 "QQuickRectangle\0colorChanged\0\0"-
693 "radiusChanged\0doUpdate\0color\0gradient\0"-
694 "QQuickGradient*\0border\0QQuickPen*\0"-
695 "radius"-
696};-
697-
698-
699static const uint qt_meta_data_QQuickRectangle[] = {-
700-
701-
702 7,-
703 0,-
704 0, 0,-
705 3, 14,-
706 4, 32,-
707 0, 0,-
708 0, 0,-
709 0,-
710 2,-
711-
712-
713 1, 0, 29, 2, 0x06 ,-
714 3, 0, 30, 2, 0x06 ,-
715-
716-
717 4, 0, 31, 2, 0x08 ,-
718-
719-
720 QMetaType::Void,-
721 QMetaType::Void,-
722-
723-
724 QMetaType::Void,-
725-
726-
727 5, QMetaType::QColor, 0x00495103,-
728 6, 0x80000000 | 7, 0x0009510f,-
729 8, 0x80000000 | 9, 0x00095409,-
730 10, QMetaType::QReal, 0x00495103,-
731-
732-
733 0,-
734 0,-
735 0,-
736 1,-
737-
738 0-
739};-
740-
741void QQuickRectangle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
742{-
743 if (_c == QMetaObject::InvokeMetaMethod) {-
744 QQuickRectangle *_t = static_cast<QQuickRectangle *>(_o);-
745 (void)_t;-
746 switch (_id) {-
747 case 0: _t->colorChanged(); break;-
748 case 1: _t->radiusChanged(); break;-
749 case 2: _t->doUpdate(); break;-
750 default: ;-
751 }-
752 } else if (_c == QMetaObject::IndexOfMethod) {-
753 int *result = reinterpret_cast<int *>(_a[0]);-
754 {-
755 using _t = void (QQuickRectangle::*)();-
756 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickRectangle::colorChanged)) {-
757 *result = 0;-
758 return;-
759 }-
760 }-
761 {-
762 using _t = void (QQuickRectangle::*)();-
763 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickRectangle::radiusChanged)) {-
764 *result = 1;-
765 return;-
766 }-
767 }-
768 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
769 switch (_id) {-
770 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
771 case 1:-
772 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickGradient* >(); break;-
773 case 2:-
774 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPen* >(); break;-
775 }-
776 }-
777-
778-
779 else if (_c == QMetaObject::ReadProperty) {-
780 QQuickRectangle *_t = static_cast<QQuickRectangle *>(_o);-
781 (void)_t;-
782 void *_v = _a[0];-
783 switch (_id) {-
784 case 0: *reinterpret_cast< QColor*>(_v) = _t->color(); break;-
785 case 1: *reinterpret_cast< QQuickGradient**>(_v) = _t->gradient(); break;-
786 case 2: *reinterpret_cast< QQuickPen**>(_v) = _t->border(); break;-
787 case 3: *reinterpret_cast< qreal*>(_v) = _t->radius(); break;-
788 default: break;-
789 }-
790 } else if (_c == QMetaObject::WriteProperty) {-
791 QQuickRectangle *_t = static_cast<QQuickRectangle *>(_o);-
792 (void)_t;-
793 void *_v = _a[0];-
794 switch (_id) {-
795 case 0: _t->setColor(*reinterpret_cast< QColor*>(_v)); break;-
796 case 1: _t->setGradient(*reinterpret_cast< QQuickGradient**>(_v)); break;-
797 case 3: _t->setRadius(*reinterpret_cast< qreal*>(_v)); break;-
798 default: break;-
799 }-
800 } else if (_c == QMetaObject::ResetProperty) {-
801 QQuickRectangle *_t = static_cast<QQuickRectangle *>(_o);-
802 (void)_t;-
803 switch (_id) {-
804 case 1: _t->resetGradient(); break;-
805 default: break;-
806 }-
807 }-
808-
809}-
810-
811 const QMetaObject QQuickRectangle::staticMetaObject = {-
812 { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickRectangle.data,-
813 qt_meta_data_QQuickRectangle, qt_static_metacall, nullptr, nullptr}-
814};-
815-
816-
817const QMetaObject *QQuickRectangle::metaObject() const-
818{-
819 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
820}-
821-
822void *QQuickRectangle::qt_metacast(const char *_clname)-
823{-
824 if (!_clname) return nullptr;-
825 if (!strcmp(_clname, qt_meta_stringdata_QQuickRectangle.stringdata0))-
826 return static_cast<void*>(this);-
827 return QQuickItem::qt_metacast(_clname);-
828}-
829-
830int QQuickRectangle::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
831{-
832 _id = QQuickItem::qt_metacall(_c, _id, _a);-
833 if (_id < 0)-
834 return _id;-
835 if (_c == QMetaObject::InvokeMetaMethod) {-
836 if (_id < 3)-
837 qt_static_metacall(this, _c, _id, _a);-
838 _id -= 3;-
839 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
840 if (_id < 3)-
841 *reinterpret_cast<int*>(_a[0]) = -1;-
842 _id -= 3;-
843 }-
844-
845 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
846 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
847 qt_static_metacall(this, _c, _id, _a);-
848 _id -= 4;-
849 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
850 _id -= 4;-
851 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
852 _id -= 4;-
853 } else if (_c == QMetaObject::QueryPropertyStored) {-
854 _id -= 4;-
855 } else if (_c == QMetaObject::QueryPropertyEditable) {-
856 _id -= 4;-
857 } else if (_c == QMetaObject::QueryPropertyUser) {-
858 _id -= 4;-
859 }-
860-
861 return _id;-
862}-
863-
864-
865void QQuickRectangle::colorChanged()-
866{-
867 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
868}
executed 36295 times by 77 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_examples
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmlbinding
  • tst_qqmlcomponent
  • tst_qqmlecmascript
  • tst_qqmlenginedebugservice
  • tst_qqmlincubator
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickbehaviors
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • ...
36295
869-
870-
871void QQuickRectangle::radiusChanged()-
872{-
873 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
874}
executed 2830 times by 13 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickmultipointtoucharea
  • tst_qquickpositioners
  • tst_qquickrectangle
  • tst_qquickstates
  • tst_qquicktaphandler
2830
875-
876#pragma GCC diagnostic pop-
877-
878-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0