OpenCoverage

moc_qquickspriteengine_p.cpp

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

Generated by Squish Coco 4.2.0