OpenCoverage

moc_qquickanimator_p.cpp

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

Generated by Squish Coco 4.2.0