OpenCoverage

moc_qquickrectangle_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickrectangle_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickrectangle_p.h'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include "../items/qquickrectangle_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickrectangle_p.h' doesn't include <QObject>."-
14#elif Q_MOC_OUTPUT_REVISION != 67-
15#error "This file was generated using the moc from 5.12.0. It"-
16#error "cannot be used with the include files from this version of Qt."-
17#error "(The moc has changed too much.)"-
18#endif-
19-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QQuickPen_t {-
24 QByteArrayData data[6];-
25 char stringdata0[47];-
26};-
27#define QT_MOC_LITERAL(idx, ofs, len) \-
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
29 qptrdiff(offsetof(qt_meta_stringdata_QQuickPen_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickPen_t qt_meta_stringdata_QQuickPen = {-
33 {-
34QT_MOC_LITERAL(0, 0, 9), // "QQuickPen"-
35QT_MOC_LITERAL(1, 10, 10), // "penChanged"-
36QT_MOC_LITERAL(2, 21, 0), // ""-
37QT_MOC_LITERAL(3, 22, 5), // "width"-
38QT_MOC_LITERAL(4, 28, 5), // "color"-
39QT_MOC_LITERAL(5, 34, 12) // "pixelAligned"-
40-
41 },-
42 "QQuickPen\0penChanged\0\0width\0color\0"-
43 "pixelAligned"-
44};-
45#undef QT_MOC_LITERAL-
46-
47static const uint qt_meta_data_QQuickPen[] = {-
48-
49 // content:-
50 7, // revision-
51 0, // classname-
52 0, 0, // classinfo-
53 1, 14, // methods-
54 3, 20, // properties-
55 0, 0, // enums/sets-
56 0, 0, // constructors-
57 0, // flags-
58 1, // signalCount-
59-
60 // signals: name, argc, parameters, tag, flags-
61 1, 0, 19, 2, 0x06 /* Public */,-
62-
63 // signals: parameters-
64 QMetaType::Void,-
65-
66 // properties: name, type, flags-
67 3, QMetaType::QReal, 0x00495103,-
68 4, QMetaType::QColor, 0x00495103,-
69 5, QMetaType::Bool, 0x00495103,-
70-
71 // properties: notify_signal_id-
72 0,-
73 0,-
74 0,-
75-
76 0 // eod-
77};-
78-
79void QQuickPen::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
80{-
81 if (_c == QMetaObject::InvokeMetaMethod) {-
82 QQuickPen *_t = static_cast<QQuickPen *>(_o);-
83 Q_UNUSED(_t)-
84 switch (_id) {-
85 case 0: _t->penChanged(); break;-
86 default: ;-
87 }-
88 } else if (_c == QMetaObject::IndexOfMethod) {-
89 int *result = reinterpret_cast<int *>(_a[0]);-
90 {-
91 using _t = void (QQuickPen::*)();-
92 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPen::penChanged)) {-
93 *result = 0;-
94 return;-
95 }-
96 }-
97 }-
98#ifndef QT_NO_PROPERTIES-
99 else if (_c == QMetaObject::ReadProperty) {-
100 QQuickPen *_t = static_cast<QQuickPen *>(_o);-
101 Q_UNUSED(_t)-
102 void *_v = _a[0];-
103 switch (_id) {-
104 case 0: *reinterpret_cast< qreal*>(_v) = _t->width(); break;-
105 case 1: *reinterpret_cast< QColor*>(_v) = _t->color(); break;-
106 case 2: *reinterpret_cast< bool*>(_v) = _t->pixelAligned(); break;-
107 default: break;-
108 }-
109 } else if (_c == QMetaObject::WriteProperty) {-
110 QQuickPen *_t = static_cast<QQuickPen *>(_o);-
111 Q_UNUSED(_t)-
112 void *_v = _a[0];-
113 switch (_id) {-
114 case 0: _t->setWidth(*reinterpret_cast< qreal*>(_v)); break;-
115 case 1: _t->setColor(*reinterpret_cast< QColor*>(_v)); break;-
116 case 2: _t->setPixelAligned(*reinterpret_cast< bool*>(_v)); break;-
117 default: break;-
118 }-
119 } else if (_c == QMetaObject::ResetProperty) {-
120 }-
121#endif // QT_NO_PROPERTIES-
122 Q_UNUSED(_a);-
123}-
124-
125QT_INIT_METAOBJECT const QMetaObject QQuickPen::staticMetaObject = {-
126 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPen.data,-
127 qt_meta_data_QQuickPen, qt_static_metacall, nullptr, nullptr}-
128};-
129-
130-
131const QMetaObject *QQuickPen::metaObject() const-
132{-
133 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
134}-
135-
136void *QQuickPen::qt_metacast(const char *_clname)-
137{-
138 if (!_clname) return nullptr;-
139 if (!strcmp(_clname, qt_meta_stringdata_QQuickPen.stringdata0))-
140 return static_cast<void*>(this);-
141 return QObject::qt_metacast(_clname);-
142}-
143-
144int QQuickPen::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
145{-
146 _id = QObject::qt_metacall(_c, _id, _a);-
147 if (_id < 0)-
148 return _id;-
149 if (_c == QMetaObject::InvokeMetaMethod) {-
150 if (_id < 1)-
151 qt_static_metacall(this, _c, _id, _a);-
152 _id -= 1;-
153 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
154 if (_id < 1)-
155 *reinterpret_cast<int*>(_a[0]) = -1;-
156 _id -= 1;-
157 }-
158#ifndef QT_NO_PROPERTIES-
159 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
160 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
161 qt_static_metacall(this, _c, _id, _a);-
162 _id -= 3;-
163 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
164 _id -= 3;-
165 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
166 _id -= 3;-
167 } else if (_c == QMetaObject::QueryPropertyStored) {-
168 _id -= 3;-
169 } else if (_c == QMetaObject::QueryPropertyEditable) {-
170 _id -= 3;-
171 } else if (_c == QMetaObject::QueryPropertyUser) {-
172 _id -= 3;-
173 }-
174#endif // QT_NO_PROPERTIES-
175 return _id;-
176}-
177-
178// SIGNAL 0-
179void QQuickPen::penChanged()-
180{-
181 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
182}
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
183struct qt_meta_stringdata_QQuickGradientStop_t {-
184 QByteArrayData data[3];-
185 char stringdata0[34];-
186};-
187#define QT_MOC_LITERAL(idx, ofs, len) \-
188 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
189 qptrdiff(offsetof(qt_meta_stringdata_QQuickGradientStop_t, stringdata0) + ofs \-
190 - idx * sizeof(QByteArrayData)) \-
191 )-
192static const qt_meta_stringdata_QQuickGradientStop_t qt_meta_stringdata_QQuickGradientStop = {-
193 {-
194QT_MOC_LITERAL(0, 0, 18), // "QQuickGradientStop"-
195QT_MOC_LITERAL(1, 19, 8), // "position"-
196QT_MOC_LITERAL(2, 28, 5) // "color"-
197-
198 },-
199 "QQuickGradientStop\0position\0color"-
200};-
201#undef QT_MOC_LITERAL-
202-
203static const uint qt_meta_data_QQuickGradientStop[] = {-
204-
205 // content:-
206 7, // revision-
207 0, // classname-
208 0, 0, // classinfo-
209 0, 0, // methods-
210 2, 14, // properties-
211 0, 0, // enums/sets-
212 0, 0, // constructors-
213 0, // flags-
214 0, // signalCount-
215-
216 // properties: name, type, flags-
217 1, QMetaType::QReal, 0x00095103,-
218 2, QMetaType::QColor, 0x00095103,-
219-
220 0 // eod-
221};-
222-
223void QQuickGradientStop::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
224{-
225-
226#ifndef QT_NO_PROPERTIES-
227 if (_c == QMetaObject::ReadProperty) {-
228 QQuickGradientStop *_t = static_cast<QQuickGradientStop *>(_o);-
229 Q_UNUSED(_t)-
230 void *_v = _a[0];-
231 switch (_id) {-
232 case 0: *reinterpret_cast< qreal*>(_v) = _t->position(); break;-
233 case 1: *reinterpret_cast< QColor*>(_v) = _t->color(); break;-
234 default: break;-
235 }-
236 } else if (_c == QMetaObject::WriteProperty) {-
237 QQuickGradientStop *_t = static_cast<QQuickGradientStop *>(_o);-
238 Q_UNUSED(_t)-
239 void *_v = _a[0];-
240 switch (_id) {-
241 case 0: _t->setPosition(*reinterpret_cast< qreal*>(_v)); break;-
242 case 1: _t->setColor(*reinterpret_cast< QColor*>(_v)); break;-
243 default: break;-
244 }-
245 } else if (_c == QMetaObject::ResetProperty) {-
246 }-
247#endif // QT_NO_PROPERTIES-
248 Q_UNUSED(_o);-
249 Q_UNUSED(_id);-
250 Q_UNUSED(_c);-
251 Q_UNUSED(_a);-
252}-
253-
254QT_INIT_METAOBJECT const QMetaObject QQuickGradientStop::staticMetaObject = {-
255 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickGradientStop.data,-
256 qt_meta_data_QQuickGradientStop, qt_static_metacall, nullptr, nullptr}-
257};-
258-
259-
260const QMetaObject *QQuickGradientStop::metaObject() const-
261{-
262 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
263}-
264-
265void *QQuickGradientStop::qt_metacast(const char *_clname)-
266{-
267 if (!_clname) return nullptr;-
268 if (!strcmp(_clname, qt_meta_stringdata_QQuickGradientStop.stringdata0))-
269 return static_cast<void*>(this);-
270 return QObject::qt_metacast(_clname);-
271}-
272-
273int QQuickGradientStop::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
274{-
275 _id = QObject::qt_metacall(_c, _id, _a);-
276 if (_id < 0)-
277 return _id;-
278 -
279#ifndef QT_NO_PROPERTIES-
280 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
281 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
282 qt_static_metacall(this, _c, _id, _a);-
283 _id -= 2;-
284 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
285 _id -= 2;-
286 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
287 _id -= 2;-
288 } else if (_c == QMetaObject::QueryPropertyStored) {-
289 _id -= 2;-
290 } else if (_c == QMetaObject::QueryPropertyEditable) {-
291 _id -= 2;-
292 } else if (_c == QMetaObject::QueryPropertyUser) {-
293 _id -= 2;-
294 }-
295#endif // QT_NO_PROPERTIES-
296 return _id;-
297}-
298struct qt_meta_stringdata_QQuickGradient_t {-
299 QByteArrayData data[11];-
300 char stringdata0[146];-
301};-
302#define QT_MOC_LITERAL(idx, ofs, len) \-
303 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
304 qptrdiff(offsetof(qt_meta_stringdata_QQuickGradient_t, stringdata0) + ofs \-
305 - idx * sizeof(QByteArrayData)) \-
306 )-
307static const qt_meta_stringdata_QQuickGradient_t qt_meta_stringdata_QQuickGradient = {-
308 {-
309QT_MOC_LITERAL(0, 0, 14), // "QQuickGradient"-
310QT_MOC_LITERAL(1, 15, 15), // "DefaultProperty"-
311QT_MOC_LITERAL(2, 31, 5), // "stops"-
312QT_MOC_LITERAL(3, 37, 7), // "updated"-
313QT_MOC_LITERAL(4, 45, 0), // ""-
314QT_MOC_LITERAL(5, 46, 18), // "orientationChanged"-
315QT_MOC_LITERAL(6, 65, 36), // "QQmlListProperty<QQuickGradie..."-
316QT_MOC_LITERAL(7, 102, 11), // "orientation"-
317QT_MOC_LITERAL(8, 114, 11), // "Orientation"-
318QT_MOC_LITERAL(9, 126, 8), // "Vertical"-
319QT_MOC_LITERAL(10, 135, 10) // "Horizontal"-
320-
321 },-
322 "QQuickGradient\0DefaultProperty\0stops\0"-
323 "updated\0\0orientationChanged\0"-
324 "QQmlListProperty<QQuickGradientStop>\0"-
325 "orientation\0Orientation\0Vertical\0"-
326 "Horizontal"-
327};-
328#undef QT_MOC_LITERAL-
329-
330static const uint qt_meta_data_QQuickGradient[] = {-
331-
332 // content:-
333 7, // revision-
334 0, // classname-
335 1, 14, // classinfo-
336 2, 16, // methods-
337 2, 28, // properties-
338 1, 38, // enums/sets-
339 0, 0, // constructors-
340 0, // flags-
341 2, // signalCount-
342-
343 // classinfo: key, value-
344 1, 2,-
345-
346 // signals: name, argc, parameters, tag, flags-
347 3, 0, 26, 4, 0x06 /* Public */,-
348 5, 0, 27, 4, 0x06 /* Public */,-
349-
350 // signals: parameters-
351 QMetaType::Void,-
352 QMetaType::Void,-
353-
354 // properties: name, type, flags-
355 2, 0x80000000 | 6, 0x00095009,-
356 7, 0x80000000 | 8, 0x00c9510b,-
357-
358 // properties: notify_signal_id-
359 0,-
360 1,-
361-
362 // properties: revision-
363 0,-
364 12,-
365-
366 // enums: name, flags, count, data-
367 8, 0x0, 2, 42,-
368-
369 // enum data: key, value-
370 9, uint(QQuickGradient::Vertical),-
371 10, uint(QQuickGradient::Horizontal),-
372-
373 0 // eod-
374};-
375-
376void QQuickGradient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
377{-
378 if (_c == QMetaObject::InvokeMetaMethod) {-
379 QQuickGradient *_t = static_cast<QQuickGradient *>(_o);-
380 Q_UNUSED(_t)-
381 switch (_id) {-
382 case 0: _t->updated(); break;-
383 case 1: _t->orientationChanged(); break;-
384 default: ;-
385 }-
386 } else if (_c == QMetaObject::IndexOfMethod) {-
387 int *result = reinterpret_cast<int *>(_a[0]);-
388 {-
389 using _t = void (QQuickGradient::*)();-
390 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGradient::updated)) {-
391 *result = 0;-
392 return;-
393 }-
394 }-
395 {-
396 using _t = void (QQuickGradient::*)();-
397 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGradient::orientationChanged)) {-
398 *result = 1;-
399 return;-
400 }-
401 }-
402 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
403 switch (_id) {-
404 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
405 case 0:-
406 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QQuickGradientStop> >(); break;-
407 }-
408 }-
409-
410#ifndef QT_NO_PROPERTIES-
411 else if (_c == QMetaObject::ReadProperty) {-
412 QQuickGradient *_t = static_cast<QQuickGradient *>(_o);-
413 Q_UNUSED(_t)-
414 void *_v = _a[0];-
415 switch (_id) {-
416 case 0: *reinterpret_cast< QQmlListProperty<QQuickGradientStop>*>(_v) = _t->stops(); break;-
417 case 1: *reinterpret_cast< Orientation*>(_v) = _t->orientation(); break;-
418 default: break;-
419 }-
420 } else if (_c == QMetaObject::WriteProperty) {-
421 QQuickGradient *_t = static_cast<QQuickGradient *>(_o);-
422 Q_UNUSED(_t)-
423 void *_v = _a[0];-
424 switch (_id) {-
425 case 1: _t->setOrientation(*reinterpret_cast< Orientation*>(_v)); break;-
426 default: break;-
427 }-
428 } else if (_c == QMetaObject::ResetProperty) {-
429 }-
430#endif // QT_NO_PROPERTIES-
431}-
432-
433QT_INIT_METAOBJECT const QMetaObject QQuickGradient::staticMetaObject = {-
434 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickGradient.data,-
435 qt_meta_data_QQuickGradient, qt_static_metacall, nullptr, nullptr}-
436};-
437-
438-
439const QMetaObject *QQuickGradient::metaObject() const-
440{-
441 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
442}-
443-
444void *QQuickGradient::qt_metacast(const char *_clname)-
445{-
446 if (!_clname) return nullptr;-
447 if (!strcmp(_clname, qt_meta_stringdata_QQuickGradient.stringdata0))-
448 return static_cast<void*>(this);-
449 return QObject::qt_metacast(_clname);-
450}-
451-
452int QQuickGradient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
453{-
454 _id = QObject::qt_metacall(_c, _id, _a);-
455 if (_id < 0)-
456 return _id;-
457 if (_c == QMetaObject::InvokeMetaMethod) {-
458 if (_id < 2)-
459 qt_static_metacall(this, _c, _id, _a);-
460 _id -= 2;-
461 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
462 if (_id < 2)-
463 *reinterpret_cast<int*>(_a[0]) = -1;-
464 _id -= 2;-
465 }-
466#ifndef QT_NO_PROPERTIES-
467 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
468 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
469 qt_static_metacall(this, _c, _id, _a);-
470 _id -= 2;-
471 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
472 _id -= 2;-
473 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
474 _id -= 2;-
475 } else if (_c == QMetaObject::QueryPropertyStored) {-
476 _id -= 2;-
477 } else if (_c == QMetaObject::QueryPropertyEditable) {-
478 _id -= 2;-
479 } else if (_c == QMetaObject::QueryPropertyUser) {-
480 _id -= 2;-
481 }-
482#endif // QT_NO_PROPERTIES-
483 return _id;-
484}-
485-
486// SIGNAL 0-
487void QQuickGradient::updated()-
488{-
489 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
490}
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
491-
492// SIGNAL 1-
493void QQuickGradient::orientationChanged()-
494{-
495 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
496}
never executed: end of block
0
497struct qt_meta_stringdata_QQuickRectangle_t {-
498 QByteArrayData data[11];-
499 char stringdata0[109];-
500};-
501#define QT_MOC_LITERAL(idx, ofs, len) \-
502 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
503 qptrdiff(offsetof(qt_meta_stringdata_QQuickRectangle_t, stringdata0) + ofs \-
504 - idx * sizeof(QByteArrayData)) \-
505 )-
506static const qt_meta_stringdata_QQuickRectangle_t qt_meta_stringdata_QQuickRectangle = {-
507 {-
508QT_MOC_LITERAL(0, 0, 15), // "QQuickRectangle"-
509QT_MOC_LITERAL(1, 16, 12), // "colorChanged"-
510QT_MOC_LITERAL(2, 29, 0), // ""-
511QT_MOC_LITERAL(3, 30, 13), // "radiusChanged"-
512QT_MOC_LITERAL(4, 44, 8), // "doUpdate"-
513QT_MOC_LITERAL(5, 53, 5), // "color"-
514QT_MOC_LITERAL(6, 59, 8), // "gradient"-
515QT_MOC_LITERAL(7, 68, 15), // "QQuickGradient*"-
516QT_MOC_LITERAL(8, 84, 6), // "border"-
517QT_MOC_LITERAL(9, 91, 10), // "QQuickPen*"-
518QT_MOC_LITERAL(10, 102, 6) // "radius"-
519-
520 },-
521 "QQuickRectangle\0colorChanged\0\0"-
522 "radiusChanged\0doUpdate\0color\0gradient\0"-
523 "QQuickGradient*\0border\0QQuickPen*\0"-
524 "radius"-
525};-
526#undef QT_MOC_LITERAL-
527-
528static const uint qt_meta_data_QQuickRectangle[] = {-
529-
530 // content:-
531 7, // revision-
532 0, // classname-
533 0, 0, // classinfo-
534 3, 14, // methods-
535 4, 32, // properties-
536 0, 0, // enums/sets-
537 0, 0, // constructors-
538 0, // flags-
539 2, // signalCount-
540-
541 // signals: name, argc, parameters, tag, flags-
542 1, 0, 29, 2, 0x06 /* Public */,-
543 3, 0, 30, 2, 0x06 /* Public */,-
544-
545 // slots: name, argc, parameters, tag, flags-
546 4, 0, 31, 2, 0x08 /* Private */,-
547-
548 // signals: parameters-
549 QMetaType::Void,-
550 QMetaType::Void,-
551-
552 // slots: parameters-
553 QMetaType::Void,-
554-
555 // properties: name, type, flags-
556 5, QMetaType::QColor, 0x00495103,-
557 6, 0x80000000 | 7, 0x0009510f,-
558 8, 0x80000000 | 9, 0x00095409,-
559 10, QMetaType::QReal, 0x00495103,-
560-
561 // properties: notify_signal_id-
562 0,-
563 0,-
564 0,-
565 1,-
566-
567 0 // eod-
568};-
569-
570void QQuickRectangle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
571{-
572 if (_c == QMetaObject::InvokeMetaMethod) {-
573 QQuickRectangle *_t = static_cast<QQuickRectangle *>(_o);-
574 Q_UNUSED(_t)-
575 switch (_id) {-
576 case 0: _t->colorChanged(); break;-
577 case 1: _t->radiusChanged(); break;-
578 case 2: _t->doUpdate(); break;-
579 default: ;-
580 }-
581 } else if (_c == QMetaObject::IndexOfMethod) {-
582 int *result = reinterpret_cast<int *>(_a[0]);-
583 {-
584 using _t = void (QQuickRectangle::*)();-
585 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickRectangle::colorChanged)) {-
586 *result = 0;-
587 return;-
588 }-
589 }-
590 {-
591 using _t = void (QQuickRectangle::*)();-
592 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickRectangle::radiusChanged)) {-
593 *result = 1;-
594 return;-
595 }-
596 }-
597 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
598 switch (_id) {-
599 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
600 case 1:-
601 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickGradient* >(); break;-
602 case 2:-
603 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPen* >(); break;-
604 }-
605 }-
606-
607#ifndef QT_NO_PROPERTIES-
608 else if (_c == QMetaObject::ReadProperty) {-
609 QQuickRectangle *_t = static_cast<QQuickRectangle *>(_o);-
610 Q_UNUSED(_t)-
611 void *_v = _a[0];-
612 switch (_id) {-
613 case 0: *reinterpret_cast< QColor*>(_v) = _t->color(); break;-
614 case 1: *reinterpret_cast< QQuickGradient**>(_v) = _t->gradient(); break;-
615 case 2: *reinterpret_cast< QQuickPen**>(_v) = _t->border(); break;-
616 case 3: *reinterpret_cast< qreal*>(_v) = _t->radius(); break;-
617 default: break;-
618 }-
619 } else if (_c == QMetaObject::WriteProperty) {-
620 QQuickRectangle *_t = static_cast<QQuickRectangle *>(_o);-
621 Q_UNUSED(_t)-
622 void *_v = _a[0];-
623 switch (_id) {-
624 case 0: _t->setColor(*reinterpret_cast< QColor*>(_v)); break;-
625 case 1: _t->setGradient(*reinterpret_cast< QQuickGradient**>(_v)); break;-
626 case 3: _t->setRadius(*reinterpret_cast< qreal*>(_v)); break;-
627 default: break;-
628 }-
629 } else if (_c == QMetaObject::ResetProperty) {-
630 QQuickRectangle *_t = static_cast<QQuickRectangle *>(_o);-
631 Q_UNUSED(_t)-
632 switch (_id) {-
633 case 1: _t->resetGradient(); break;-
634 default: break;-
635 }-
636 }-
637#endif // QT_NO_PROPERTIES-
638}-
639-
640QT_INIT_METAOBJECT const QMetaObject QQuickRectangle::staticMetaObject = {-
641 { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickRectangle.data,-
642 qt_meta_data_QQuickRectangle, qt_static_metacall, nullptr, nullptr}-
643};-
644-
645-
646const QMetaObject *QQuickRectangle::metaObject() const-
647{-
648 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
649}-
650-
651void *QQuickRectangle::qt_metacast(const char *_clname)-
652{-
653 if (!_clname) return nullptr;-
654 if (!strcmp(_clname, qt_meta_stringdata_QQuickRectangle.stringdata0))-
655 return static_cast<void*>(this);-
656 return QQuickItem::qt_metacast(_clname);-
657}-
658-
659int QQuickRectangle::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
660{-
661 _id = QQuickItem::qt_metacall(_c, _id, _a);-
662 if (_id < 0)-
663 return _id;-
664 if (_c == QMetaObject::InvokeMetaMethod) {-
665 if (_id < 3)-
666 qt_static_metacall(this, _c, _id, _a);-
667 _id -= 3;-
668 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
669 if (_id < 3)-
670 *reinterpret_cast<int*>(_a[0]) = -1;-
671 _id -= 3;-
672 }-
673#ifndef QT_NO_PROPERTIES-
674 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
675 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
676 qt_static_metacall(this, _c, _id, _a);-
677 _id -= 4;-
678 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
679 _id -= 4;-
680 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
681 _id -= 4;-
682 } else if (_c == QMetaObject::QueryPropertyStored) {-
683 _id -= 4;-
684 } else if (_c == QMetaObject::QueryPropertyEditable) {-
685 _id -= 4;-
686 } else if (_c == QMetaObject::QueryPropertyUser) {-
687 _id -= 4;-
688 }-
689#endif // QT_NO_PROPERTIES-
690 return _id;-
691}-
692-
693// SIGNAL 0-
694void QQuickRectangle::colorChanged()-
695{-
696 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
697}
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
698-
699// SIGNAL 1-
700void QQuickRectangle::radiusChanged()-
701{-
702 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
703}
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
704QT_WARNING_POP-
705QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0