OpenCoverage

moc_qquickpath_p.cpp

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

Generated by Squish Coco 4.2.0