OpenCoverage

moc_qquickitemanimation_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickitemanimation_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickitemanimation_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/qquickitemanimation_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickitemanimation_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_QQuickParentAnimation_t {-
24 QByteArrayData data[9];-
25 char stringdata0[98];-
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_QQuickParentAnimation_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickParentAnimation_t qt_meta_stringdata_QQuickParentAnimation = {-
33 {-
34QT_MOC_LITERAL(0, 0, 21), // "QQuickParentAnimation"-
35QT_MOC_LITERAL(1, 22, 13), // "targetChanged"-
36QT_MOC_LITERAL(2, 36, 0), // ""-
37QT_MOC_LITERAL(3, 37, 16), // "newParentChanged"-
38QT_MOC_LITERAL(4, 54, 10), // "viaChanged"-
39QT_MOC_LITERAL(5, 65, 6), // "target"-
40QT_MOC_LITERAL(6, 72, 11), // "QQuickItem*"-
41QT_MOC_LITERAL(7, 84, 9), // "newParent"-
42QT_MOC_LITERAL(8, 94, 3) // "via"-
43-
44 },-
45 "QQuickParentAnimation\0targetChanged\0"-
46 "\0newParentChanged\0viaChanged\0target\0"-
47 "QQuickItem*\0newParent\0via"-
48};-
49#undef QT_MOC_LITERAL-
50-
51static const uint qt_meta_data_QQuickParentAnimation[] = {-
52-
53 // content:-
54 7, // revision-
55 0, // classname-
56 0, 0, // classinfo-
57 3, 14, // methods-
58 3, 32, // properties-
59 0, 0, // enums/sets-
60 0, 0, // constructors-
61 0, // flags-
62 3, // signalCount-
63-
64 // signals: name, argc, parameters, tag, flags-
65 1, 0, 29, 2, 0x06 /* Public */,-
66 3, 0, 30, 2, 0x06 /* Public */,-
67 4, 0, 31, 2, 0x06 /* Public */,-
68-
69 // signals: parameters-
70 QMetaType::Void,-
71 QMetaType::Void,-
72 QMetaType::Void,-
73-
74 // properties: name, type, flags-
75 5, 0x80000000 | 6, 0x0049500b,-
76 7, 0x80000000 | 6, 0x0049510b,-
77 8, 0x80000000 | 6, 0x0049510b,-
78-
79 // properties: notify_signal_id-
80 0,-
81 1,-
82 2,-
83-
84 0 // eod-
85};-
86-
87void QQuickParentAnimation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
88{-
89 if (_c == QMetaObject::InvokeMetaMethod) {-
90 QQuickParentAnimation *_t = static_cast<QQuickParentAnimation *>(_o);-
91 Q_UNUSED(_t)-
92 switch (_id) {-
93 case 0: _t->targetChanged(); break;-
94 case 1: _t->newParentChanged(); break;-
95 case 2: _t->viaChanged(); break;-
96 default: ;-
97 }-
98 } else if (_c == QMetaObject::IndexOfMethod) {-
99 int *result = reinterpret_cast<int *>(_a[0]);-
100 {-
101 using _t = void (QQuickParentAnimation::*)();-
102 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParentAnimation::targetChanged)) {-
103 *result = 0;-
104 return;-
105 }-
106 }-
107 {-
108 using _t = void (QQuickParentAnimation::*)();-
109 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParentAnimation::newParentChanged)) {-
110 *result = 1;-
111 return;-
112 }-
113 }-
114 {-
115 using _t = void (QQuickParentAnimation::*)();-
116 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParentAnimation::viaChanged)) {-
117 *result = 2;-
118 return;-
119 }-
120 }-
121 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
122 switch (_id) {-
123 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
124 case 2:-
125 case 1:-
126 case 0:-
127 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;-
128 }-
129 }-
130-
131#ifndef QT_NO_PROPERTIES-
132 else if (_c == QMetaObject::ReadProperty) {-
133 QQuickParentAnimation *_t = static_cast<QQuickParentAnimation *>(_o);-
134 Q_UNUSED(_t)-
135 void *_v = _a[0];-
136 switch (_id) {-
137 case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->target(); break;-
138 case 1: *reinterpret_cast< QQuickItem**>(_v) = _t->newParent(); break;-
139 case 2: *reinterpret_cast< QQuickItem**>(_v) = _t->via(); break;-
140 default: break;-
141 }-
142 } else if (_c == QMetaObject::WriteProperty) {-
143 QQuickParentAnimation *_t = static_cast<QQuickParentAnimation *>(_o);-
144 Q_UNUSED(_t)-
145 void *_v = _a[0];-
146 switch (_id) {-
147 case 0: _t->setTargetObject(*reinterpret_cast< QQuickItem**>(_v)); break;-
148 case 1: _t->setNewParent(*reinterpret_cast< QQuickItem**>(_v)); break;-
149 case 2: _t->setVia(*reinterpret_cast< QQuickItem**>(_v)); break;-
150 default: break;-
151 }-
152 } else if (_c == QMetaObject::ResetProperty) {-
153 }-
154#endif // QT_NO_PROPERTIES-
155}-
156-
157QT_INIT_METAOBJECT const QMetaObject QQuickParentAnimation::staticMetaObject = {-
158 { &QQuickAnimationGroup::staticMetaObject, qt_meta_stringdata_QQuickParentAnimation.data,-
159 qt_meta_data_QQuickParentAnimation, qt_static_metacall, nullptr, nullptr}-
160};-
161-
162-
163const QMetaObject *QQuickParentAnimation::metaObject() const-
164{-
165 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
166}-
167-
168void *QQuickParentAnimation::qt_metacast(const char *_clname)-
169{-
170 if (!_clname) return nullptr;-
171 if (!strcmp(_clname, qt_meta_stringdata_QQuickParentAnimation.stringdata0))-
172 return static_cast<void*>(this);-
173 return QQuickAnimationGroup::qt_metacast(_clname);-
174}-
175-
176int QQuickParentAnimation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
177{-
178 _id = QQuickAnimationGroup::qt_metacall(_c, _id, _a);-
179 if (_id < 0)-
180 return _id;-
181 if (_c == QMetaObject::InvokeMetaMethod) {-
182 if (_id < 3)-
183 qt_static_metacall(this, _c, _id, _a);-
184 _id -= 3;-
185 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
186 if (_id < 3)-
187 *reinterpret_cast<int*>(_a[0]) = -1;-
188 _id -= 3;-
189 }-
190#ifndef QT_NO_PROPERTIES-
191 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
192 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
193 qt_static_metacall(this, _c, _id, _a);-
194 _id -= 3;-
195 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
196 _id -= 3;-
197 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
198 _id -= 3;-
199 } else if (_c == QMetaObject::QueryPropertyStored) {-
200 _id -= 3;-
201 } else if (_c == QMetaObject::QueryPropertyEditable) {-
202 _id -= 3;-
203 } else if (_c == QMetaObject::QueryPropertyUser) {-
204 _id -= 3;-
205 }-
206#endif // QT_NO_PROPERTIES-
207 return _id;-
208}-
209-
210// SIGNAL 0-
211void QQuickParentAnimation::targetChanged()-
212{-
213 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
214}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
2
215-
216// SIGNAL 1-
217void QQuickParentAnimation::newParentChanged()-
218{-
219 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
220}
never executed: end of block
0
221-
222// SIGNAL 2-
223void QQuickParentAnimation::viaChanged()-
224{-
225 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
226}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
2
227struct qt_meta_stringdata_QQuickAnchorAnimation_t {-
228 QByteArrayData data[8];-
229 char stringdata0[106];-
230};-
231#define QT_MOC_LITERAL(idx, ofs, len) \-
232 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
233 qptrdiff(offsetof(qt_meta_stringdata_QQuickAnchorAnimation_t, stringdata0) + ofs \-
234 - idx * sizeof(QByteArrayData)) \-
235 )-
236static const qt_meta_stringdata_QQuickAnchorAnimation_t qt_meta_stringdata_QQuickAnchorAnimation = {-
237 {-
238QT_MOC_LITERAL(0, 0, 21), // "QQuickAnchorAnimation"-
239QT_MOC_LITERAL(1, 22, 15), // "durationChanged"-
240QT_MOC_LITERAL(2, 38, 0), // ""-
241QT_MOC_LITERAL(3, 39, 13), // "easingChanged"-
242QT_MOC_LITERAL(4, 53, 7), // "targets"-
243QT_MOC_LITERAL(5, 61, 28), // "QQmlListProperty<QQuickItem>"-
244QT_MOC_LITERAL(6, 90, 8), // "duration"-
245QT_MOC_LITERAL(7, 99, 6) // "easing"-
246-
247 },-
248 "QQuickAnchorAnimation\0durationChanged\0"-
249 "\0easingChanged\0targets\0"-
250 "QQmlListProperty<QQuickItem>\0duration\0"-
251 "easing"-
252};-
253#undef QT_MOC_LITERAL-
254-
255static const uint qt_meta_data_QQuickAnchorAnimation[] = {-
256-
257 // content:-
258 7, // revision-
259 0, // classname-
260 0, 0, // classinfo-
261 2, 14, // methods-
262 3, 30, // properties-
263 0, 0, // enums/sets-
264 0, 0, // constructors-
265 0, // flags-
266 2, // signalCount-
267-
268 // signals: name, argc, parameters, tag, flags-
269 1, 1, 24, 2, 0x06 /* Public */,-
270 3, 1, 27, 2, 0x06 /* Public */,-
271-
272 // signals: parameters-
273 QMetaType::Void, QMetaType::Int, 2,-
274 QMetaType::Void, QMetaType::QEasingCurve, 2,-
275-
276 // properties: name, type, flags-
277 4, 0x80000000 | 5, 0x00095009,-
278 6, QMetaType::Int, 0x00495103,-
279 7, QMetaType::QEasingCurve, 0x00495103,-
280-
281 // properties: notify_signal_id-
282 0,-
283 0,-
284 1,-
285-
286 0 // eod-
287};-
288-
289void QQuickAnchorAnimation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
290{-
291 if (_c == QMetaObject::InvokeMetaMethod) {-
292 QQuickAnchorAnimation *_t = static_cast<QQuickAnchorAnimation *>(_o);-
293 Q_UNUSED(_t)-
294 switch (_id) {-
295 case 0: _t->durationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;-
296 case 1: _t->easingChanged((*reinterpret_cast< const QEasingCurve(*)>(_a[1]))); break;-
297 default: ;-
298 }-
299 } else if (_c == QMetaObject::IndexOfMethod) {-
300 int *result = reinterpret_cast<int *>(_a[0]);-
301 {-
302 using _t = void (QQuickAnchorAnimation::*)(int );-
303 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnchorAnimation::durationChanged)) {-
304 *result = 0;-
305 return;-
306 }-
307 }-
308 {-
309 using _t = void (QQuickAnchorAnimation::*)(const QEasingCurve & );-
310 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnchorAnimation::easingChanged)) {-
311 *result = 1;-
312 return;-
313 }-
314 }-
315 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
316 switch (_id) {-
317 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
318 case 0:-
319 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QQuickItem> >(); break;-
320 }-
321 }-
322-
323#ifndef QT_NO_PROPERTIES-
324 else if (_c == QMetaObject::ReadProperty) {-
325 QQuickAnchorAnimation *_t = static_cast<QQuickAnchorAnimation *>(_o);-
326 Q_UNUSED(_t)-
327 void *_v = _a[0];-
328 switch (_id) {-
329 case 0: *reinterpret_cast< QQmlListProperty<QQuickItem>*>(_v) = _t->targets(); break;-
330 case 1: *reinterpret_cast< int*>(_v) = _t->duration(); break;-
331 case 2: *reinterpret_cast< QEasingCurve*>(_v) = _t->easing(); break;-
332 default: break;-
333 }-
334 } else if (_c == QMetaObject::WriteProperty) {-
335 QQuickAnchorAnimation *_t = static_cast<QQuickAnchorAnimation *>(_o);-
336 Q_UNUSED(_t)-
337 void *_v = _a[0];-
338 switch (_id) {-
339 case 1: _t->setDuration(*reinterpret_cast< int*>(_v)); break;-
340 case 2: _t->setEasing(*reinterpret_cast< QEasingCurve*>(_v)); break;-
341 default: break;-
342 }-
343 } else if (_c == QMetaObject::ResetProperty) {-
344 }-
345#endif // QT_NO_PROPERTIES-
346}-
347-
348QT_INIT_METAOBJECT const QMetaObject QQuickAnchorAnimation::staticMetaObject = {-
349 { &QQuickAbstractAnimation::staticMetaObject, qt_meta_stringdata_QQuickAnchorAnimation.data,-
350 qt_meta_data_QQuickAnchorAnimation, qt_static_metacall, nullptr, nullptr}-
351};-
352-
353-
354const QMetaObject *QQuickAnchorAnimation::metaObject() const-
355{-
356 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
357}-
358-
359void *QQuickAnchorAnimation::qt_metacast(const char *_clname)-
360{-
361 if (!_clname) return nullptr;-
362 if (!strcmp(_clname, qt_meta_stringdata_QQuickAnchorAnimation.stringdata0))-
363 return static_cast<void*>(this);-
364 return QQuickAbstractAnimation::qt_metacast(_clname);-
365}-
366-
367int QQuickAnchorAnimation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
368{-
369 _id = QQuickAbstractAnimation::qt_metacall(_c, _id, _a);-
370 if (_id < 0)-
371 return _id;-
372 if (_c == QMetaObject::InvokeMetaMethod) {-
373 if (_id < 2)-
374 qt_static_metacall(this, _c, _id, _a);-
375 _id -= 2;-
376 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
377 if (_id < 2)-
378 *reinterpret_cast<int*>(_a[0]) = -1;-
379 _id -= 2;-
380 }-
381#ifndef QT_NO_PROPERTIES-
382 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
383 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
384 qt_static_metacall(this, _c, _id, _a);-
385 _id -= 3;-
386 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
387 _id -= 3;-
388 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
389 _id -= 3;-
390 } else if (_c == QMetaObject::QueryPropertyStored) {-
391 _id -= 3;-
392 } else if (_c == QMetaObject::QueryPropertyEditable) {-
393 _id -= 3;-
394 } else if (_c == QMetaObject::QueryPropertyUser) {-
395 _id -= 3;-
396 }-
397#endif // QT_NO_PROPERTIES-
398 return _id;-
399}-
400-
401// SIGNAL 0-
402void QQuickAnchorAnimation::durationChanged(int _t1)-
403{-
404 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
405 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
406}
executed 4 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
4
407-
408// SIGNAL 1-
409void QQuickAnchorAnimation::easingChanged(const QEasingCurve & _t1)-
410{-
411 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
412 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
413}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
2
414struct qt_meta_stringdata_QQuickPathAnimation_t {-
415 QByteArrayData data[28];-
416 char stringdata0[394];-
417};-
418#define QT_MOC_LITERAL(idx, ofs, len) \-
419 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
420 qptrdiff(offsetof(qt_meta_stringdata_QQuickPathAnimation_t, stringdata0) + ofs \-
421 - idx * sizeof(QByteArrayData)) \-
422 )-
423static const qt_meta_stringdata_QQuickPathAnimation_t qt_meta_stringdata_QQuickPathAnimation = {-
424 {-
425QT_MOC_LITERAL(0, 0, 19), // "QQuickPathAnimation"-
426QT_MOC_LITERAL(1, 20, 15), // "durationChanged"-
427QT_MOC_LITERAL(2, 36, 0), // ""-
428QT_MOC_LITERAL(3, 37, 13), // "easingChanged"-
429QT_MOC_LITERAL(4, 51, 11), // "pathChanged"-
430QT_MOC_LITERAL(5, 63, 13), // "targetChanged"-
431QT_MOC_LITERAL(6, 77, 18), // "orientationChanged"-
432QT_MOC_LITERAL(7, 96, 11), // "Orientation"-
433QT_MOC_LITERAL(8, 108, 18), // "anchorPointChanged"-
434QT_MOC_LITERAL(9, 127, 31), // "orientationEntryDurationChanged"-
435QT_MOC_LITERAL(10, 159, 30), // "orientationExitDurationChanged"-
436QT_MOC_LITERAL(11, 190, 18), // "endRotationChanged"-
437QT_MOC_LITERAL(12, 209, 8), // "duration"-
438QT_MOC_LITERAL(13, 218, 6), // "easing"-
439QT_MOC_LITERAL(14, 225, 4), // "path"-
440QT_MOC_LITERAL(15, 230, 11), // "QQuickPath*"-
441QT_MOC_LITERAL(16, 242, 6), // "target"-
442QT_MOC_LITERAL(17, 249, 11), // "QQuickItem*"-
443QT_MOC_LITERAL(18, 261, 11), // "orientation"-
444QT_MOC_LITERAL(19, 273, 11), // "anchorPoint"-
445QT_MOC_LITERAL(20, 285, 24), // "orientationEntryDuration"-
446QT_MOC_LITERAL(21, 310, 23), // "orientationExitDuration"-
447QT_MOC_LITERAL(22, 334, 11), // "endRotation"-
448QT_MOC_LITERAL(23, 346, 5), // "Fixed"-
449QT_MOC_LITERAL(24, 352, 10), // "RightFirst"-
450QT_MOC_LITERAL(25, 363, 9), // "LeftFirst"-
451QT_MOC_LITERAL(26, 373, 11), // "BottomFirst"-
452QT_MOC_LITERAL(27, 385, 8) // "TopFirst"-
453-
454 },-
455 "QQuickPathAnimation\0durationChanged\0"-
456 "\0easingChanged\0pathChanged\0targetChanged\0"-
457 "orientationChanged\0Orientation\0"-
458 "anchorPointChanged\0orientationEntryDurationChanged\0"-
459 "orientationExitDurationChanged\0"-
460 "endRotationChanged\0duration\0easing\0"-
461 "path\0QQuickPath*\0target\0QQuickItem*\0"-
462 "orientation\0anchorPoint\0"-
463 "orientationEntryDuration\0"-
464 "orientationExitDuration\0endRotation\0"-
465 "Fixed\0RightFirst\0LeftFirst\0BottomFirst\0"-
466 "TopFirst"-
467};-
468#undef QT_MOC_LITERAL-
469-
470static const uint qt_meta_data_QQuickPathAnimation[] = {-
471-
472 // content:-
473 7, // revision-
474 0, // classname-
475 0, 0, // classinfo-
476 9, 14, // methods-
477 9, 82, // properties-
478 1, 118, // enums/sets-
479 0, 0, // constructors-
480 0, // flags-
481 9, // signalCount-
482-
483 // signals: name, argc, parameters, tag, flags-
484 1, 1, 59, 2, 0x06 /* Public */,-
485 3, 1, 62, 2, 0x06 /* Public */,-
486 4, 0, 65, 2, 0x06 /* Public */,-
487 5, 0, 66, 2, 0x06 /* Public */,-
488 6, 1, 67, 2, 0x06 /* Public */,-
489 8, 1, 70, 2, 0x06 /* Public */,-
490 9, 1, 73, 2, 0x06 /* Public */,-
491 10, 1, 76, 2, 0x06 /* Public */,-
492 11, 1, 79, 2, 0x06 /* Public */,-
493-
494 // signals: parameters-
495 QMetaType::Void, QMetaType::Int, 2,-
496 QMetaType::Void, QMetaType::QEasingCurve, 2,-
497 QMetaType::Void,-
498 QMetaType::Void,-
499 QMetaType::Void, 0x80000000 | 7, 2,-
500 QMetaType::Void, QMetaType::QPointF, 2,-
501 QMetaType::Void, QMetaType::QReal, 2,-
502 QMetaType::Void, QMetaType::QReal, 2,-
503 QMetaType::Void, QMetaType::QReal, 2,-
504-
505 // properties: name, type, flags-
506 12, QMetaType::Int, 0x00495103,-
507 13, QMetaType::QEasingCurve, 0x00495103,-
508 14, 0x80000000 | 15, 0x0049510b,-
509 16, 0x80000000 | 17, 0x0049500b,-
510 18, 0x80000000 | 7, 0x0049510b,-
511 19, QMetaType::QPointF, 0x00495103,-
512 20, QMetaType::Int, 0x00495103,-
513 21, QMetaType::Int, 0x00495103,-
514 22, QMetaType::QReal, 0x00495103,-
515-
516 // properties: notify_signal_id-
517 0,-
518 1,-
519 2,-
520 3,-
521 4,-
522 5,-
523 6,-
524 7,-
525 8,-
526-
527 // enums: name, flags, count, data-
528 7, 0x0, 5, 122,-
529-
530 // enum data: key, value-
531 23, uint(QQuickPathAnimation::Fixed),-
532 24, uint(QQuickPathAnimation::RightFirst),-
533 25, uint(QQuickPathAnimation::LeftFirst),-
534 26, uint(QQuickPathAnimation::BottomFirst),-
535 27, uint(QQuickPathAnimation::TopFirst),-
536-
537 0 // eod-
538};-
539-
540void QQuickPathAnimation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
541{-
542 if (_c == QMetaObject::InvokeMetaMethod) {-
543 QQuickPathAnimation *_t = static_cast<QQuickPathAnimation *>(_o);-
544 Q_UNUSED(_t)-
545 switch (_id) {-
546 case 0: _t->durationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;-
547 case 1: _t->easingChanged((*reinterpret_cast< const QEasingCurve(*)>(_a[1]))); break;-
548 case 2: _t->pathChanged(); break;-
549 case 3: _t->targetChanged(); break;-
550 case 4: _t->orientationChanged((*reinterpret_cast< Orientation(*)>(_a[1]))); break;-
551 case 5: _t->anchorPointChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;-
552 case 6: _t->orientationEntryDurationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
553 case 7: _t->orientationExitDurationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
554 case 8: _t->endRotationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
555 default: ;-
556 }-
557 } else if (_c == QMetaObject::IndexOfMethod) {-
558 int *result = reinterpret_cast<int *>(_a[0]);-
559 {-
560 using _t = void (QQuickPathAnimation::*)(int );-
561 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathAnimation::durationChanged)) {-
562 *result = 0;-
563 return;-
564 }-
565 }-
566 {-
567 using _t = void (QQuickPathAnimation::*)(const QEasingCurve & );-
568 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathAnimation::easingChanged)) {-
569 *result = 1;-
570 return;-
571 }-
572 }-
573 {-
574 using _t = void (QQuickPathAnimation::*)();-
575 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathAnimation::pathChanged)) {-
576 *result = 2;-
577 return;-
578 }-
579 }-
580 {-
581 using _t = void (QQuickPathAnimation::*)();-
582 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathAnimation::targetChanged)) {-
583 *result = 3;-
584 return;-
585 }-
586 }-
587 {-
588 using _t = void (QQuickPathAnimation::*)(Orientation );-
589 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathAnimation::orientationChanged)) {-
590 *result = 4;-
591 return;-
592 }-
593 }-
594 {-
595 using _t = void (QQuickPathAnimation::*)(const QPointF & );-
596 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathAnimation::anchorPointChanged)) {-
597 *result = 5;-
598 return;-
599 }-
600 }-
601 {-
602 using _t = void (QQuickPathAnimation::*)(qreal );-
603 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathAnimation::orientationEntryDurationChanged)) {-
604 *result = 6;-
605 return;-
606 }-
607 }-
608 {-
609 using _t = void (QQuickPathAnimation::*)(qreal );-
610 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathAnimation::orientationExitDurationChanged)) {-
611 *result = 7;-
612 return;-
613 }-
614 }-
615 {-
616 using _t = void (QQuickPathAnimation::*)(qreal );-
617 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathAnimation::endRotationChanged)) {-
618 *result = 8;-
619 return;-
620 }-
621 }-
622 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
623 switch (_id) {-
624 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
625 case 3:-
626 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;-
627 }-
628 }-
629-
630#ifndef QT_NO_PROPERTIES-
631 else if (_c == QMetaObject::ReadProperty) {-
632 QQuickPathAnimation *_t = static_cast<QQuickPathAnimation *>(_o);-
633 Q_UNUSED(_t)-
634 void *_v = _a[0];-
635 switch (_id) {-
636 case 0: *reinterpret_cast< int*>(_v) = _t->duration(); break;-
637 case 1: *reinterpret_cast< QEasingCurve*>(_v) = _t->easing(); break;-
638 case 2: *reinterpret_cast< QQuickPath**>(_v) = _t->path(); break;-
639 case 3: *reinterpret_cast< QQuickItem**>(_v) = _t->target(); break;-
640 case 4: *reinterpret_cast< Orientation*>(_v) = _t->orientation(); break;-
641 case 5: *reinterpret_cast< QPointF*>(_v) = _t->anchorPoint(); break;-
642 case 6: *reinterpret_cast< int*>(_v) = _t->orientationEntryDuration(); break;-
643 case 7: *reinterpret_cast< int*>(_v) = _t->orientationExitDuration(); break;-
644 case 8: *reinterpret_cast< qreal*>(_v) = _t->endRotation(); break;-
645 default: break;-
646 }-
647 } else if (_c == QMetaObject::WriteProperty) {-
648 QQuickPathAnimation *_t = static_cast<QQuickPathAnimation *>(_o);-
649 Q_UNUSED(_t)-
650 void *_v = _a[0];-
651 switch (_id) {-
652 case 0: _t->setDuration(*reinterpret_cast< int*>(_v)); break;-
653 case 1: _t->setEasing(*reinterpret_cast< QEasingCurve*>(_v)); break;-
654 case 2: _t->setPath(*reinterpret_cast< QQuickPath**>(_v)); break;-
655 case 3: _t->setTargetObject(*reinterpret_cast< QQuickItem**>(_v)); break;-
656 case 4: _t->setOrientation(*reinterpret_cast< Orientation*>(_v)); break;-
657 case 5: _t->setAnchorPoint(*reinterpret_cast< QPointF*>(_v)); break;-
658 case 6: _t->setOrientationEntryDuration(*reinterpret_cast< int*>(_v)); break;-
659 case 7: _t->setOrientationExitDuration(*reinterpret_cast< int*>(_v)); break;-
660 case 8: _t->setEndRotation(*reinterpret_cast< qreal*>(_v)); break;-
661 default: break;-
662 }-
663 } else if (_c == QMetaObject::ResetProperty) {-
664 }-
665#endif // QT_NO_PROPERTIES-
666}-
667-
668QT_INIT_METAOBJECT const QMetaObject QQuickPathAnimation::staticMetaObject = {-
669 { &QQuickAbstractAnimation::staticMetaObject, qt_meta_stringdata_QQuickPathAnimation.data,-
670 qt_meta_data_QQuickPathAnimation, qt_static_metacall, nullptr, nullptr}-
671};-
672-
673-
674const QMetaObject *QQuickPathAnimation::metaObject() const-
675{-
676 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
677}-
678-
679void *QQuickPathAnimation::qt_metacast(const char *_clname)-
680{-
681 if (!_clname) return nullptr;-
682 if (!strcmp(_clname, qt_meta_stringdata_QQuickPathAnimation.stringdata0))-
683 return static_cast<void*>(this);-
684 return QQuickAbstractAnimation::qt_metacast(_clname);-
685}-
686-
687int QQuickPathAnimation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
688{-
689 _id = QQuickAbstractAnimation::qt_metacall(_c, _id, _a);-
690 if (_id < 0)-
691 return _id;-
692 if (_c == QMetaObject::InvokeMetaMethod) {-
693 if (_id < 9)-
694 qt_static_metacall(this, _c, _id, _a);-
695 _id -= 9;-
696 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
697 if (_id < 9)-
698 *reinterpret_cast<int*>(_a[0]) = -1;-
699 _id -= 9;-
700 }-
701#ifndef QT_NO_PROPERTIES-
702 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
703 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
704 qt_static_metacall(this, _c, _id, _a);-
705 _id -= 9;-
706 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
707 _id -= 9;-
708 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
709 _id -= 9;-
710 } else if (_c == QMetaObject::QueryPropertyStored) {-
711 _id -= 9;-
712 } else if (_c == QMetaObject::QueryPropertyEditable) {-
713 _id -= 9;-
714 } else if (_c == QMetaObject::QueryPropertyUser) {-
715 _id -= 9;-
716 }-
717#endif // QT_NO_PROPERTIES-
718 return _id;-
719}-
720-
721// SIGNAL 0-
722void QQuickPathAnimation::durationChanged(int _t1)-
723{-
724 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
725 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
726}
executed 16 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
16
727-
728// SIGNAL 1-
729void QQuickPathAnimation::easingChanged(const QEasingCurve & _t1)-
730{-
731 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
732 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
733}
executed 4 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
4
734-
735// SIGNAL 2-
736void QQuickPathAnimation::pathChanged()-
737{-
738 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
739}
executed 16 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
16
740-
741// SIGNAL 3-
742void QQuickPathAnimation::targetChanged()-
743{-
744 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
745}
executed 16 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
16
746-
747// SIGNAL 4-
748void QQuickPathAnimation::orientationChanged(Orientation _t1)-
749{-
750 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
751 QMetaObject::activate(this, &staticMetaObject, 4, _a);-
752}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
6
753-
754// SIGNAL 5-
755void QQuickPathAnimation::anchorPointChanged(const QPointF & _t1)-
756{-
757 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
758 QMetaObject::activate(this, &staticMetaObject, 5, _a);-
759}
executed 2 times by 1 test: end of block
Executed by:
  • tst_examples
2
760-
761// SIGNAL 6-
762void QQuickPathAnimation::orientationEntryDurationChanged(qreal _t1)-
763{-
764 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
765 QMetaObject::activate(this, &staticMetaObject, 6, _a);-
766}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
2
767-
768// SIGNAL 7-
769void QQuickPathAnimation::orientationExitDurationChanged(qreal _t1)-
770{-
771 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
772 QMetaObject::activate(this, &staticMetaObject, 7, _a);-
773}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
2
774-
775// SIGNAL 8-
776void QQuickPathAnimation::endRotationChanged(qreal _t1)-
777{-
778 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
779 QMetaObject::activate(this, &staticMetaObject, 8, _a);-
780}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
2
781QT_WARNING_POP-
782QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0