OpenCoverage

moc_qquickanimator_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickanimator_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQuickAnimator_t {-
9 QByteArrayData data[14];-
10 char stringdata0[135];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickAnimator_t qt_meta_stringdata_QQuickAnimator = {-
18 {-
19{ { { -1 } }, 14, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickAnimator_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 17, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickAnimator_t-
29, -
30stringdata0-
31) -
32+ 15 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickAnimator_t-
36, -
37stringdata0-
38) -
39+ 33 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 11, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickAnimator_t-
43, -
44stringdata0-
45) -
46+ 34 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 15, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickAnimator_t-
50, -
51stringdata0-
52) -
53+ 46 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 8, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickAnimator_t-
57, -
58stringdata0-
59) -
60+ 62 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 13, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickAnimator_t-
64, -
65stringdata0-
66) -
67+ 71 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 5, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickAnimator_t-
71, -
72stringdata0-
73) -
74+ 85 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 9, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickAnimator_t-
78, -
79stringdata0-
80) -
81+ 91 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 2, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickAnimator_t-
85, -
86stringdata0-
87) -
88+ 101 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 11, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickAnimator_t-
92, -
93stringdata0-
94) -
95+ 104 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 4, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickAnimator_t-
99, -
100stringdata0-
101) -
102+ 116 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 6, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickAnimator_t-
106, -
107stringdata0-
108) -
109+ 121 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 6, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickAnimator_t-
113, -
114stringdata0-
115) -
116+ 128 - 13 * sizeof(QByteArrayData)) }-
117-
118 },-
119 "QQuickAnimator\0targetItemChanged\0\0"-
120 "QQuickItem*\0durationChanged\0duration\0"-
121 "easingChanged\0curve\0toChanged\0to\0"-
122 "fromChanged\0from\0target\0easing"-
123};-
124-
125-
126static const uint qt_meta_data_QQuickAnimator[] = {-
127-
128-
129 7,-
130 0,-
131 0, 0,-
132 5, 14,-
133 5, 54,-
134 0, 0,-
135 0, 0,-
136 0,-
137 5,-
138-
139-
140 1, 1, 39, 2, 0x06 ,-
141 4, 1, 42, 2, 0x06 ,-
142 6, 1, 45, 2, 0x06 ,-
143 8, 1, 48, 2, 0x06 ,-
144 10, 1, 51, 2, 0x06 ,-
145-
146-
147 QMetaType::Void, 0x80000000 | 3, 2,-
148 QMetaType::Void, QMetaType::Int, 5,-
149 QMetaType::Void, QMetaType::QEasingCurve, 7,-
150 QMetaType::Void, QMetaType::QReal, 9,-
151 QMetaType::Void, QMetaType::QReal, 11,-
152-
153-
154 12, 0x80000000 | 3, 0x0049500b,-
155 13, QMetaType::QEasingCurve, 0x00495103,-
156 5, QMetaType::Int, 0x00495103,-
157 9, QMetaType::QReal, 0x00495103,-
158 11, QMetaType::QReal, 0x00495103,-
159-
160-
161 0,-
162 2,-
163 1,-
164 3,-
165 4,-
166-
167 0-
168};-
169-
170void QQuickAnimator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
171{-
172 if (_c == QMetaObject::InvokeMetaMethod) {-
173 QQuickAnimator *_t = static_cast<QQuickAnimator *>(_o);-
174 (void)_t;-
175 switch (_id) {-
176 case 0: _t->targetItemChanged((*reinterpret_cast< QQuickItem*(*)>(_a[1]))); break;-
177 case 1: _t->durationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;-
178 case 2: _t->easingChanged((*reinterpret_cast< const QEasingCurve(*)>(_a[1]))); break;-
179 case 3: _t->toChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
180 case 4: _t->fromChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
181 default: ;-
182 }-
183 } else if (_c == QMetaObject::IndexOfMethod) {-
184 int *result = reinterpret_cast<int *>(_a[0]);-
185 {-
186 using _t = void (QQuickAnimator::*)(QQuickItem * );-
187 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimator::targetItemChanged)) {-
188 *result = 0;-
189 return;-
190 }-
191 }-
192 {-
193 using _t = void (QQuickAnimator::*)(int );-
194 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimator::durationChanged)) {-
195 *result = 1;-
196 return;-
197 }-
198 }-
199 {-
200 using _t = void (QQuickAnimator::*)(const QEasingCurve & );-
201 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimator::easingChanged)) {-
202 *result = 2;-
203 return;-
204 }-
205 }-
206 {-
207 using _t = void (QQuickAnimator::*)(qreal );-
208 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimator::toChanged)) {-
209 *result = 3;-
210 return;-
211 }-
212 }-
213 {-
214 using _t = void (QQuickAnimator::*)(qreal );-
215 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimator::fromChanged)) {-
216 *result = 4;-
217 return;-
218 }-
219 }-
220 }-
221-
222 else if (_c == QMetaObject::ReadProperty) {-
223 QQuickAnimator *_t = static_cast<QQuickAnimator *>(_o);-
224 (void)_t;-
225 void *_v = _a[0];-
226 switch (_id) {-
227 case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->targetItem(); break;-
228 case 1: *reinterpret_cast< QEasingCurve*>(_v) = _t->easing(); break;-
229 case 2: *reinterpret_cast< int*>(_v) = _t->duration(); break;-
230 case 3: *reinterpret_cast< qreal*>(_v) = _t->to(); break;-
231 case 4: *reinterpret_cast< qreal*>(_v) = _t->from(); break;-
232 default: break;-
233 }-
234 } else if (_c == QMetaObject::WriteProperty) {-
235 QQuickAnimator *_t = static_cast<QQuickAnimator *>(_o);-
236 (void)_t;-
237 void *_v = _a[0];-
238 switch (_id) {-
239 case 0: _t->setTargetItem(*reinterpret_cast< QQuickItem**>(_v)); break;-
240 case 1: _t->setEasing(*reinterpret_cast< QEasingCurve*>(_v)); break;-
241 case 2: _t->setDuration(*reinterpret_cast< int*>(_v)); break;-
242 case 3: _t->setTo(*reinterpret_cast< qreal*>(_v)); break;-
243 case 4: _t->setFrom(*reinterpret_cast< qreal*>(_v)); break;-
244 default: break;-
245 }-
246 } else if (_c == QMetaObject::ResetProperty) {-
247 }-
248-
249}-
250-
251 const QMetaObject QQuickAnimator::staticMetaObject = {-
252 { &QQuickAbstractAnimation::staticMetaObject, qt_meta_stringdata_QQuickAnimator.data,-
253 qt_meta_data_QQuickAnimator, qt_static_metacall, nullptr, nullptr}-
254};-
255-
256-
257const QMetaObject *QQuickAnimator::metaObject() const-
258{-
259 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
260}-
261-
262void *QQuickAnimator::qt_metacast(const char *_clname)-
263{-
264 if (!_clname) return nullptr;-
265 if (!strcmp(_clname, qt_meta_stringdata_QQuickAnimator.stringdata0))-
266 return static_cast<void*>(this);-
267 return QQuickAbstractAnimation::qt_metacast(_clname);-
268}-
269-
270int QQuickAnimator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
271{-
272 _id = QQuickAbstractAnimation::qt_metacall(_c, _id, _a);-
273 if (_id < 0)-
274 return _id;-
275 if (_c == QMetaObject::InvokeMetaMethod) {-
276 if (_id < 5)-
277 qt_static_metacall(this, _c, _id, _a);-
278 _id -= 5;-
279 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
280 if (_id < 5)-
281 *reinterpret_cast<int*>(_a[0]) = -1;-
282 _id -= 5;-
283 }-
284-
285 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
286 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
287 qt_static_metacall(this, _c, _id, _a);-
288 _id -= 5;-
289 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
290 _id -= 5;-
291 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
292 _id -= 5;-
293 } else if (_c == QMetaObject::QueryPropertyStored) {-
294 _id -= 5;-
295 } else if (_c == QMetaObject::QueryPropertyEditable) {-
296 _id -= 5;-
297 } else if (_c == QMetaObject::QueryPropertyUser) {-
298 _id -= 5;-
299 }-
300-
301 return _id;-
302}-
303-
304-
305void QQuickAnimator::targetItemChanged(QQuickItem * _t1)-
306{-
307 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
308 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
309}
executed 24 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
24
310-
311-
312void QQuickAnimator::durationChanged(int _t1)-
313{-
314 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
315 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
316}
executed 36 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
36
317-
318-
319void QQuickAnimator::easingChanged(const QEasingCurve & _t1)-
320{-
321 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
322 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
323}
executed 8 times by 1 test: end of block
Executed by:
  • tst_examples
8
324-
325-
326void QQuickAnimator::toChanged(qreal _t1)-
327{-
328 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
329 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
330}
executed 26 times by 1 test: end of block
Executed by:
  • tst_examples
26
331-
332-
333void QQuickAnimator::fromChanged(qreal _t1)-
334{-
335 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
336 QMetaObject::activate(this, &staticMetaObject, 4, _a);-
337}
executed 24 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
24
338struct qt_meta_stringdata_QQuickScaleAnimator_t {-
339 QByteArrayData data[1];-
340 char stringdata0[20];-
341};-
342-
343-
344-
345-
346-
347static const qt_meta_stringdata_QQuickScaleAnimator_t qt_meta_stringdata_QQuickScaleAnimator = {-
348 {-
349{ { { -1 } }, 19, 0, 0, qptrdiff(-
350__builtin_offsetof (-
351qt_meta_stringdata_QQuickScaleAnimator_t-
352, -
353stringdata0-
354) -
355+ 0 - 0 * sizeof(QByteArrayData)) }-
356-
357 },-
358 "QQuickScaleAnimator"-
359};-
360-
361-
362static const uint qt_meta_data_QQuickScaleAnimator[] = {-
363-
364-
365 7,-
366 0,-
367 0, 0,-
368 0, 0,-
369 0, 0,-
370 0, 0,-
371 0, 0,-
372 0,-
373 0,-
374-
375 0-
376};-
377-
378void QQuickScaleAnimator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
379{-
380 (void)_o;;-
381 (void)_id;;-
382 (void)_c;;-
383 (void)_a;;-
384}-
385-
386 const QMetaObject QQuickScaleAnimator::staticMetaObject = {-
387 { &QQuickAnimator::staticMetaObject, qt_meta_stringdata_QQuickScaleAnimator.data,-
388 qt_meta_data_QQuickScaleAnimator, qt_static_metacall, nullptr, nullptr}-
389};-
390-
391-
392const QMetaObject *QQuickScaleAnimator::metaObject() const-
393{-
394 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
395}-
396-
397void *QQuickScaleAnimator::qt_metacast(const char *_clname)-
398{-
399 if (!_clname) return nullptr;-
400 if (!strcmp(_clname, qt_meta_stringdata_QQuickScaleAnimator.stringdata0))-
401 return static_cast<void*>(this);-
402 return QQuickAnimator::qt_metacast(_clname);-
403}-
404-
405int QQuickScaleAnimator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
406{-
407 _id = QQuickAnimator::qt_metacall(_c, _id, _a);-
408 return _id;-
409}-
410struct qt_meta_stringdata_QQuickXAnimator_t {-
411 QByteArrayData data[1];-
412 char stringdata0[16];-
413};-
414-
415-
416-
417-
418-
419static const qt_meta_stringdata_QQuickXAnimator_t qt_meta_stringdata_QQuickXAnimator = {-
420 {-
421{ { { -1 } }, 15, 0, 0, qptrdiff(-
422__builtin_offsetof (-
423qt_meta_stringdata_QQuickXAnimator_t-
424, -
425stringdata0-
426) -
427+ 0 - 0 * sizeof(QByteArrayData)) }-
428-
429 },-
430 "QQuickXAnimator"-
431};-
432-
433-
434static const uint qt_meta_data_QQuickXAnimator[] = {-
435-
436-
437 7,-
438 0,-
439 0, 0,-
440 0, 0,-
441 0, 0,-
442 0, 0,-
443 0, 0,-
444 0,-
445 0,-
446-
447 0-
448};-
449-
450void QQuickXAnimator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
451{-
452 (void)_o;;-
453 (void)_id;;-
454 (void)_c;;-
455 (void)_a;;-
456}-
457-
458 const QMetaObject QQuickXAnimator::staticMetaObject = {-
459 { &QQuickAnimator::staticMetaObject, qt_meta_stringdata_QQuickXAnimator.data,-
460 qt_meta_data_QQuickXAnimator, qt_static_metacall, nullptr, nullptr}-
461};-
462-
463-
464const QMetaObject *QQuickXAnimator::metaObject() const-
465{-
466 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
467}-
468-
469void *QQuickXAnimator::qt_metacast(const char *_clname)-
470{-
471 if (!_clname) return nullptr;-
472 if (!strcmp(_clname, qt_meta_stringdata_QQuickXAnimator.stringdata0))-
473 return static_cast<void*>(this);-
474 return QQuickAnimator::qt_metacast(_clname);-
475}-
476-
477int QQuickXAnimator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
478{-
479 _id = QQuickAnimator::qt_metacall(_c, _id, _a);-
480 return _id;-
481}-
482struct qt_meta_stringdata_QQuickYAnimator_t {-
483 QByteArrayData data[1];-
484 char stringdata0[16];-
485};-
486-
487-
488-
489-
490-
491static const qt_meta_stringdata_QQuickYAnimator_t qt_meta_stringdata_QQuickYAnimator = {-
492 {-
493{ { { -1 } }, 15, 0, 0, qptrdiff(-
494__builtin_offsetof (-
495qt_meta_stringdata_QQuickYAnimator_t-
496, -
497stringdata0-
498) -
499+ 0 - 0 * sizeof(QByteArrayData)) }-
500-
501 },-
502 "QQuickYAnimator"-
503};-
504-
505-
506static const uint qt_meta_data_QQuickYAnimator[] = {-
507-
508-
509 7,-
510 0,-
511 0, 0,-
512 0, 0,-
513 0, 0,-
514 0, 0,-
515 0, 0,-
516 0,-
517 0,-
518-
519 0-
520};-
521-
522void QQuickYAnimator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
523{-
524 (void)_o;;-
525 (void)_id;;-
526 (void)_c;;-
527 (void)_a;;-
528}-
529-
530 const QMetaObject QQuickYAnimator::staticMetaObject = {-
531 { &QQuickAnimator::staticMetaObject, qt_meta_stringdata_QQuickYAnimator.data,-
532 qt_meta_data_QQuickYAnimator, qt_static_metacall, nullptr, nullptr}-
533};-
534-
535-
536const QMetaObject *QQuickYAnimator::metaObject() const-
537{-
538 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
539}-
540-
541void *QQuickYAnimator::qt_metacast(const char *_clname)-
542{-
543 if (!_clname) return nullptr;-
544 if (!strcmp(_clname, qt_meta_stringdata_QQuickYAnimator.stringdata0))-
545 return static_cast<void*>(this);-
546 return QQuickAnimator::qt_metacast(_clname);-
547}-
548-
549int QQuickYAnimator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
550{-
551 _id = QQuickAnimator::qt_metacall(_c, _id, _a);-
552 return _id;-
553}-
554struct qt_meta_stringdata_QQuickOpacityAnimator_t {-
555 QByteArrayData data[1];-
556 char stringdata0[22];-
557};-
558-
559-
560-
561-
562-
563static const qt_meta_stringdata_QQuickOpacityAnimator_t qt_meta_stringdata_QQuickOpacityAnimator = {-
564 {-
565{ { { -1 } }, 21, 0, 0, qptrdiff(-
566__builtin_offsetof (-
567qt_meta_stringdata_QQuickOpacityAnimator_t-
568, -
569stringdata0-
570) -
571+ 0 - 0 * sizeof(QByteArrayData)) }-
572-
573 },-
574 "QQuickOpacityAnimator"-
575};-
576-
577-
578static const uint qt_meta_data_QQuickOpacityAnimator[] = {-
579-
580-
581 7,-
582 0,-
583 0, 0,-
584 0, 0,-
585 0, 0,-
586 0, 0,-
587 0, 0,-
588 0,-
589 0,-
590-
591 0-
592};-
593-
594void QQuickOpacityAnimator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
595{-
596 (void)_o;;-
597 (void)_id;;-
598 (void)_c;;-
599 (void)_a;;-
600}-
601-
602 const QMetaObject QQuickOpacityAnimator::staticMetaObject = {-
603 { &QQuickAnimator::staticMetaObject, qt_meta_stringdata_QQuickOpacityAnimator.data,-
604 qt_meta_data_QQuickOpacityAnimator, qt_static_metacall, nullptr, nullptr}-
605};-
606-
607-
608const QMetaObject *QQuickOpacityAnimator::metaObject() const-
609{-
610 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
611}-
612-
613void *QQuickOpacityAnimator::qt_metacast(const char *_clname)-
614{-
615 if (!_clname) return nullptr;-
616 if (!strcmp(_clname, qt_meta_stringdata_QQuickOpacityAnimator.stringdata0))-
617 return static_cast<void*>(this);-
618 return QQuickAnimator::qt_metacast(_clname);-
619}-
620-
621int QQuickOpacityAnimator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
622{-
623 _id = QQuickAnimator::qt_metacall(_c, _id, _a);-
624 return _id;-
625}-
626struct qt_meta_stringdata_QQuickRotationAnimator_t {-
627 QByteArrayData data[10];-
628 char stringdata0[119];-
629};-
630-
631-
632-
633-
634-
635static const qt_meta_stringdata_QQuickRotationAnimator_t qt_meta_stringdata_QQuickRotationAnimator = {-
636 {-
637{ { { -1 } }, 22, 0, 0, qptrdiff(-
638__builtin_offsetof (-
639qt_meta_stringdata_QQuickRotationAnimator_t-
640, -
641stringdata0-
642) -
643+ 0 - 0 * sizeof(QByteArrayData)) },-
644{ { { -1 } }, 16, 0, 0, qptrdiff(-
645__builtin_offsetof (-
646qt_meta_stringdata_QQuickRotationAnimator_t-
647, -
648stringdata0-
649) -
650+ 23 - 1 * sizeof(QByteArrayData)) },-
651{ { { -1 } }, 0, 0, 0, qptrdiff(-
652__builtin_offsetof (-
653qt_meta_stringdata_QQuickRotationAnimator_t-
654, -
655stringdata0-
656) -
657+ 40 - 2 * sizeof(QByteArrayData)) },-
658{ { { -1 } }, 17, 0, 0, qptrdiff(-
659__builtin_offsetof (-
660qt_meta_stringdata_QQuickRotationAnimator_t-
661, -
662stringdata0-
663) -
664+ 41 - 3 * sizeof(QByteArrayData)) },-
665{ { { -1 } }, 3, 0, 0, qptrdiff(-
666__builtin_offsetof (-
667qt_meta_stringdata_QQuickRotationAnimator_t-
668, -
669stringdata0-
670) -
671+ 59 - 4 * sizeof(QByteArrayData)) },-
672{ { { -1 } }, 9, 0, 0, qptrdiff(-
673__builtin_offsetof (-
674qt_meta_stringdata_QQuickRotationAnimator_t-
675, -
676stringdata0-
677) -
678+ 63 - 5 * sizeof(QByteArrayData)) },-
679{ { { -1 } }, 9, 0, 0, qptrdiff(-
680__builtin_offsetof (-
681qt_meta_stringdata_QQuickRotationAnimator_t-
682, -
683stringdata0-
684) -
685+ 73 - 6 * sizeof(QByteArrayData)) },-
686{ { { -1 } }, 8, 0, 0, qptrdiff(-
687__builtin_offsetof (-
688qt_meta_stringdata_QQuickRotationAnimator_t-
689, -
690stringdata0-
691) -
692+ 83 - 7 * sizeof(QByteArrayData)) },-
693{ { { -1 } }, 9, 0, 0, qptrdiff(-
694__builtin_offsetof (-
695qt_meta_stringdata_QQuickRotationAnimator_t-
696, -
697stringdata0-
698) -
699+ 92 - 8 * sizeof(QByteArrayData)) },-
700{ { { -1 } }, 16, 0, 0, qptrdiff(-
701__builtin_offsetof (-
702qt_meta_stringdata_QQuickRotationAnimator_t-
703, -
704stringdata0-
705) -
706+ 102 - 9 * sizeof(QByteArrayData)) }-
707-
708 },-
709 "QQuickRotationAnimator\0directionChanged\0"-
710 "\0RotationDirection\0dir\0direction\0"-
711 "Numerical\0Shortest\0Clockwise\0"-
712 "Counterclockwise"-
713};-
714-
715-
716static const uint qt_meta_data_QQuickRotationAnimator[] = {-
717-
718-
719 7,-
720 0,-
721 0, 0,-
722 1, 14,-
723 1, 22,-
724 1, 26,-
725 0, 0,-
726 0,-
727 1,-
728-
729-
730 1, 1, 19, 2, 0x06 ,-
731-
732-
733 QMetaType::Void, 0x80000000 | 3, 4,-
734-
735-
736 5, 0x80000000 | 3, 0x0049510b,-
737-
738-
739 0,-
740-
741-
742 3, 0x0, 4, 30,-
743-
744-
745 6, uint(QQuickRotationAnimator::Numerical),-
746 7, uint(QQuickRotationAnimator::Shortest),-
747 8, uint(QQuickRotationAnimator::Clockwise),-
748 9, uint(QQuickRotationAnimator::Counterclockwise),-
749-
750 0-
751};-
752-
753void QQuickRotationAnimator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
754{-
755 if (_c == QMetaObject::InvokeMetaMethod) {-
756 QQuickRotationAnimator *_t = static_cast<QQuickRotationAnimator *>(_o);-
757 (void)_t;-
758 switch (_id) {-
759 case 0: _t->directionChanged((*reinterpret_cast< RotationDirection(*)>(_a[1]))); break;-
760 default: ;-
761 }-
762 } else if (_c == QMetaObject::IndexOfMethod) {-
763 int *result = reinterpret_cast<int *>(_a[0]);-
764 {-
765 using _t = void (QQuickRotationAnimator::*)(RotationDirection );-
766 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickRotationAnimator::directionChanged)) {-
767 *result = 0;-
768 return;-
769 }-
770 }-
771 }-
772-
773 else if (_c == QMetaObject::ReadProperty) {-
774 QQuickRotationAnimator *_t = static_cast<QQuickRotationAnimator *>(_o);-
775 (void)_t;-
776 void *_v = _a[0];-
777 switch (_id) {-
778 case 0: *reinterpret_cast< RotationDirection*>(_v) = _t->direction(); break;-
779 default: break;-
780 }-
781 } else if (_c == QMetaObject::WriteProperty) {-
782 QQuickRotationAnimator *_t = static_cast<QQuickRotationAnimator *>(_o);-
783 (void)_t;-
784 void *_v = _a[0];-
785 switch (_id) {-
786 case 0: _t->setDirection(*reinterpret_cast< RotationDirection*>(_v)); break;-
787 default: break;-
788 }-
789 } else if (_c == QMetaObject::ResetProperty) {-
790 }-
791-
792}-
793-
794 const QMetaObject QQuickRotationAnimator::staticMetaObject = {-
795 { &QQuickAnimator::staticMetaObject, qt_meta_stringdata_QQuickRotationAnimator.data,-
796 qt_meta_data_QQuickRotationAnimator, qt_static_metacall, nullptr, nullptr}-
797};-
798-
799-
800const QMetaObject *QQuickRotationAnimator::metaObject() const-
801{-
802 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
803}-
804-
805void *QQuickRotationAnimator::qt_metacast(const char *_clname)-
806{-
807 if (!_clname) return nullptr;-
808 if (!strcmp(_clname, qt_meta_stringdata_QQuickRotationAnimator.stringdata0))-
809 return static_cast<void*>(this);-
810 return QQuickAnimator::qt_metacast(_clname);-
811}-
812-
813int QQuickRotationAnimator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
814{-
815 _id = QQuickAnimator::qt_metacall(_c, _id, _a);-
816 if (_id < 0)-
817 return _id;-
818 if (_c == QMetaObject::InvokeMetaMethod) {-
819 if (_id < 1)-
820 qt_static_metacall(this, _c, _id, _a);-
821 _id -= 1;-
822 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
823 if (_id < 1)-
824 *reinterpret_cast<int*>(_a[0]) = -1;-
825 _id -= 1;-
826 }-
827-
828 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
829 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
830 qt_static_metacall(this, _c, _id, _a);-
831 _id -= 1;-
832 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
833 _id -= 1;-
834 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
835 _id -= 1;-
836 } else if (_c == QMetaObject::QueryPropertyStored) {-
837 _id -= 1;-
838 } else if (_c == QMetaObject::QueryPropertyEditable) {-
839 _id -= 1;-
840 } else if (_c == QMetaObject::QueryPropertyUser) {-
841 _id -= 1;-
842 }-
843-
844 return _id;-
845}-
846-
847-
848void QQuickRotationAnimator::directionChanged(RotationDirection _t1)-
849{-
850 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
851 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
852}
never executed: end of block
0
853struct qt_meta_stringdata_QQuickUniformAnimator_t {-
854 QByteArrayData data[4];-
855 char stringdata0[46];-
856};-
857-
858-
859-
860-
861-
862static const qt_meta_stringdata_QQuickUniformAnimator_t qt_meta_stringdata_QQuickUniformAnimator = {-
863 {-
864{ { { -1 } }, 21, 0, 0, qptrdiff(-
865__builtin_offsetof (-
866qt_meta_stringdata_QQuickUniformAnimator_t-
867, -
868stringdata0-
869) -
870+ 0 - 0 * sizeof(QByteArrayData)) },-
871{ { { -1 } }, 14, 0, 0, qptrdiff(-
872__builtin_offsetof (-
873qt_meta_stringdata_QQuickUniformAnimator_t-
874, -
875stringdata0-
876) -
877+ 22 - 1 * sizeof(QByteArrayData)) },-
878{ { { -1 } }, 0, 0, 0, qptrdiff(-
879__builtin_offsetof (-
880qt_meta_stringdata_QQuickUniformAnimator_t-
881, -
882stringdata0-
883) -
884+ 37 - 2 * sizeof(QByteArrayData)) },-
885{ { { -1 } }, 7, 0, 0, qptrdiff(-
886__builtin_offsetof (-
887qt_meta_stringdata_QQuickUniformAnimator_t-
888, -
889stringdata0-
890) -
891+ 38 - 3 * sizeof(QByteArrayData)) }-
892-
893 },-
894 "QQuickUniformAnimator\0uniformChanged\0"-
895 "\0uniform"-
896};-
897-
898-
899static const uint qt_meta_data_QQuickUniformAnimator[] = {-
900-
901-
902 7,-
903 0,-
904 0, 0,-
905 1, 14,-
906 1, 22,-
907 0, 0,-
908 0, 0,-
909 0,-
910 1,-
911-
912-
913 1, 1, 19, 2, 0x06 ,-
914-
915-
916 QMetaType::Void, QMetaType::QString, 2,-
917-
918-
919 3, QMetaType::QString, 0x00495103,-
920-
921-
922 0,-
923-
924 0-
925};-
926-
927void QQuickUniformAnimator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
928{-
929 if (_c == QMetaObject::InvokeMetaMethod) {-
930 QQuickUniformAnimator *_t = static_cast<QQuickUniformAnimator *>(_o);-
931 (void)_t;-
932 switch (_id) {-
933 case 0: _t->uniformChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;-
934 default: ;-
935 }-
936 } else if (_c == QMetaObject::IndexOfMethod) {-
937 int *result = reinterpret_cast<int *>(_a[0]);-
938 {-
939 using _t = void (QQuickUniformAnimator::*)(const QString & );-
940 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickUniformAnimator::uniformChanged)) {-
941 *result = 0;-
942 return;-
943 }-
944 }-
945 }-
946-
947 else if (_c == QMetaObject::ReadProperty) {-
948 QQuickUniformAnimator *_t = static_cast<QQuickUniformAnimator *>(_o);-
949 (void)_t;-
950 void *_v = _a[0];-
951 switch (_id) {-
952 case 0: *reinterpret_cast< QString*>(_v) = _t->uniform(); break;-
953 default: break;-
954 }-
955 } else if (_c == QMetaObject::WriteProperty) {-
956 QQuickUniformAnimator *_t = static_cast<QQuickUniformAnimator *>(_o);-
957 (void)_t;-
958 void *_v = _a[0];-
959 switch (_id) {-
960 case 0: _t->setUniform(*reinterpret_cast< QString*>(_v)); break;-
961 default: break;-
962 }-
963 } else if (_c == QMetaObject::ResetProperty) {-
964 }-
965-
966}-
967-
968 const QMetaObject QQuickUniformAnimator::staticMetaObject = {-
969 { &QQuickAnimator::staticMetaObject, qt_meta_stringdata_QQuickUniformAnimator.data,-
970 qt_meta_data_QQuickUniformAnimator, qt_static_metacall, nullptr, nullptr}-
971};-
972-
973-
974const QMetaObject *QQuickUniformAnimator::metaObject() const-
975{-
976 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
977}-
978-
979void *QQuickUniformAnimator::qt_metacast(const char *_clname)-
980{-
981 if (!_clname) return nullptr;-
982 if (!strcmp(_clname, qt_meta_stringdata_QQuickUniformAnimator.stringdata0))-
983 return static_cast<void*>(this);-
984 return QQuickAnimator::qt_metacast(_clname);-
985}-
986-
987int QQuickUniformAnimator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
988{-
989 _id = QQuickAnimator::qt_metacall(_c, _id, _a);-
990 if (_id < 0)-
991 return _id;-
992 if (_c == QMetaObject::InvokeMetaMethod) {-
993 if (_id < 1)-
994 qt_static_metacall(this, _c, _id, _a);-
995 _id -= 1;-
996 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
997 if (_id < 1)-
998 *reinterpret_cast<int*>(_a[0]) = -1;-
999 _id -= 1;-
1000 }-
1001-
1002 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
1003 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
1004 qt_static_metacall(this, _c, _id, _a);-
1005 _id -= 1;-
1006 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
1007 _id -= 1;-
1008 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
1009 _id -= 1;-
1010 } else if (_c == QMetaObject::QueryPropertyStored) {-
1011 _id -= 1;-
1012 } else if (_c == QMetaObject::QueryPropertyEditable) {-
1013 _id -= 1;-
1014 } else if (_c == QMetaObject::QueryPropertyUser) {-
1015 _id -= 1;-
1016 }-
1017-
1018 return _id;-
1019}-
1020-
1021-
1022void QQuickUniformAnimator::uniformChanged(const QString & _t1)-
1023{-
1024 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
1025 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
1026}
executed 2 times by 1 test: end of block
Executed by:
  • tst_examples
2
1027-
1028#pragma GCC diagnostic pop-
1029-
1030-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0