OpenCoverage

moc_qquickspriteengine_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickspriteengine_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickspriteengine_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/qquickspriteengine_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickspriteengine_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_QQuickStochasticState_t {-
24 QByteArrayData data[19];-
25 char stringdata0[226];-
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_QQuickStochasticState_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickStochasticState_t qt_meta_stringdata_QQuickStochasticState = {-
33 {-
34QT_MOC_LITERAL(0, 0, 21), // "QQuickStochasticState"-
35QT_MOC_LITERAL(1, 22, 15), // "durationChanged"-
36QT_MOC_LITERAL(2, 38, 0), // ""-
37QT_MOC_LITERAL(3, 39, 3), // "arg"-
38QT_MOC_LITERAL(4, 43, 11), // "nameChanged"-
39QT_MOC_LITERAL(5, 55, 9), // "toChanged"-
40QT_MOC_LITERAL(6, 65, 24), // "durationVariationChanged"-
41QT_MOC_LITERAL(7, 90, 7), // "entered"-
42QT_MOC_LITERAL(8, 98, 18), // "randomStartChanged"-
43QT_MOC_LITERAL(9, 117, 11), // "setDuration"-
44QT_MOC_LITERAL(10, 129, 7), // "setName"-
45QT_MOC_LITERAL(11, 137, 5), // "setTo"-
46QT_MOC_LITERAL(12, 143, 20), // "setDurationVariation"-
47QT_MOC_LITERAL(13, 164, 14), // "setRandomStart"-
48QT_MOC_LITERAL(14, 179, 8), // "duration"-
49QT_MOC_LITERAL(15, 188, 17), // "durationVariation"-
50QT_MOC_LITERAL(16, 206, 11), // "randomStart"-
51QT_MOC_LITERAL(17, 218, 2), // "to"-
52QT_MOC_LITERAL(18, 221, 4) // "name"-
53-
54 },-
55 "QQuickStochasticState\0durationChanged\0"-
56 "\0arg\0nameChanged\0toChanged\0"-
57 "durationVariationChanged\0entered\0"-
58 "randomStartChanged\0setDuration\0setName\0"-
59 "setTo\0setDurationVariation\0setRandomStart\0"-
60 "duration\0durationVariation\0randomStart\0"-
61 "to\0name"-
62};-
63#undef QT_MOC_LITERAL-
64-
65static const uint qt_meta_data_QQuickStochasticState[] = {-
66-
67 // content:-
68 7, // revision-
69 0, // classname-
70 0, 0, // classinfo-
71 11, 14, // methods-
72 5, 100, // properties-
73 0, 0, // enums/sets-
74 0, 0, // constructors-
75 0, // flags-
76 6, // signalCount-
77-
78 // signals: name, argc, parameters, tag, flags-
79 1, 1, 69, 2, 0x06 /* Public */,-
80 4, 1, 72, 2, 0x06 /* Public */,-
81 5, 1, 75, 2, 0x06 /* Public */,-
82 6, 1, 78, 2, 0x06 /* Public */,-
83 7, 0, 81, 2, 0x06 /* Public */,-
84 8, 1, 82, 2, 0x06 /* Public */,-
85-
86 // slots: name, argc, parameters, tag, flags-
87 9, 1, 85, 2, 0x0a /* Public */,-
88 10, 1, 88, 2, 0x0a /* Public */,-
89 11, 1, 91, 2, 0x0a /* Public */,-
90 12, 1, 94, 2, 0x0a /* Public */,-
91 13, 1, 97, 2, 0x0a /* Public */,-
92-
93 // signals: parameters-
94 QMetaType::Void, QMetaType::Int, 3,-
95 QMetaType::Void, QMetaType::QString, 3,-
96 QMetaType::Void, QMetaType::QVariantMap, 3,-
97 QMetaType::Void, QMetaType::Int, 3,-
98 QMetaType::Void,-
99 QMetaType::Void, QMetaType::Bool, 3,-
100-
101 // slots: parameters-
102 QMetaType::Void, QMetaType::Int, 3,-
103 QMetaType::Void, QMetaType::QString, 3,-
104 QMetaType::Void, QMetaType::QVariantMap, 3,-
105 QMetaType::Void, QMetaType::Int, 3,-
106 QMetaType::Void, QMetaType::Bool, 3,-
107-
108 // properties: name, type, flags-
109 14, QMetaType::Int, 0x00495103,-
110 15, QMetaType::Int, 0x00495103,-
111 16, QMetaType::Bool, 0x00495103,-
112 17, QMetaType::QVariantMap, 0x00495103,-
113 18, QMetaType::QString, 0x00495103,-
114-
115 // properties: notify_signal_id-
116 0,-
117 3,-
118 5,-
119 2,-
120 1,-
121-
122 0 // eod-
123};-
124-
125void QQuickStochasticState::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
126{-
127 if (_c == QMetaObject::InvokeMetaMethod) {-
128 QQuickStochasticState *_t = static_cast<QQuickStochasticState *>(_o);-
129 Q_UNUSED(_t)-
130 switch (_id) {-
131 case 0: _t->durationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;-
132 case 1: _t->nameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;-
133 case 2: _t->toChanged((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;-
134 case 3: _t->durationVariationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;-
135 case 4: _t->entered(); break;-
136 case 5: _t->randomStartChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;-
137 case 6: _t->setDuration((*reinterpret_cast< int(*)>(_a[1]))); break;-
138 case 7: _t->setName((*reinterpret_cast< const QString(*)>(_a[1]))); break;-
139 case 8: _t->setTo((*reinterpret_cast< const QVariantMap(*)>(_a[1]))); break;-
140 case 9: _t->setDurationVariation((*reinterpret_cast< int(*)>(_a[1]))); break;-
141 case 10: _t->setRandomStart((*reinterpret_cast< bool(*)>(_a[1]))); break;-
142 default: ;-
143 }-
144 } else if (_c == QMetaObject::IndexOfMethod) {-
145 int *result = reinterpret_cast<int *>(_a[0]);-
146 {-
147 using _t = void (QQuickStochasticState::*)(int );-
148 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickStochasticState::durationChanged)) {-
149 *result = 0;-
150 return;-
151 }-
152 }-
153 {-
154 using _t = void (QQuickStochasticState::*)(const QString & );-
155 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickStochasticState::nameChanged)) {-
156 *result = 1;-
157 return;-
158 }-
159 }-
160 {-
161 using _t = void (QQuickStochasticState::*)(const QVariantMap & );-
162 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickStochasticState::toChanged)) {-
163 *result = 2;-
164 return;-
165 }-
166 }-
167 {-
168 using _t = void (QQuickStochasticState::*)(int );-
169 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickStochasticState::durationVariationChanged)) {-
170 *result = 3;-
171 return;-
172 }-
173 }-
174 {-
175 using _t = void (QQuickStochasticState::*)();-
176 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickStochasticState::entered)) {-
177 *result = 4;-
178 return;-
179 }-
180 }-
181 {-
182 using _t = void (QQuickStochasticState::*)(bool );-
183 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickStochasticState::randomStartChanged)) {-
184 *result = 5;-
185 return;-
186 }-
187 }-
188 }-
189#ifndef QT_NO_PROPERTIES-
190 else if (_c == QMetaObject::ReadProperty) {-
191 QQuickStochasticState *_t = static_cast<QQuickStochasticState *>(_o);-
192 Q_UNUSED(_t)-
193 void *_v = _a[0];-
194 switch (_id) {-
195 case 0: *reinterpret_cast< int*>(_v) = _t->duration(); break;-
196 case 1: *reinterpret_cast< int*>(_v) = _t->durationVariation(); break;-
197 case 2: *reinterpret_cast< bool*>(_v) = _t->randomStart(); break;-
198 case 3: *reinterpret_cast< QVariantMap*>(_v) = _t->to(); break;-
199 case 4: *reinterpret_cast< QString*>(_v) = _t->name(); break;-
200 default: break;-
201 }-
202 } else if (_c == QMetaObject::WriteProperty) {-
203 QQuickStochasticState *_t = static_cast<QQuickStochasticState *>(_o);-
204 Q_UNUSED(_t)-
205 void *_v = _a[0];-
206 switch (_id) {-
207 case 0: _t->setDuration(*reinterpret_cast< int*>(_v)); break;-
208 case 1: _t->setDurationVariation(*reinterpret_cast< int*>(_v)); break;-
209 case 2: _t->setRandomStart(*reinterpret_cast< bool*>(_v)); break;-
210 case 3: _t->setTo(*reinterpret_cast< QVariantMap*>(_v)); break;-
211 case 4: _t->setName(*reinterpret_cast< QString*>(_v)); break;-
212 default: break;-
213 }-
214 } else if (_c == QMetaObject::ResetProperty) {-
215 }-
216#endif // QT_NO_PROPERTIES-
217}-
218-
219QT_INIT_METAOBJECT const QMetaObject QQuickStochasticState::staticMetaObject = {-
220 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickStochasticState.data,-
221 qt_meta_data_QQuickStochasticState, qt_static_metacall, nullptr, nullptr}-
222};-
223-
224-
225const QMetaObject *QQuickStochasticState::metaObject() const-
226{-
227 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
228}-
229-
230void *QQuickStochasticState::qt_metacast(const char *_clname)-
231{-
232 if (!_clname) return nullptr;-
233 if (!strcmp(_clname, qt_meta_stringdata_QQuickStochasticState.stringdata0))-
234 return static_cast<void*>(this);-
235 return QObject::qt_metacast(_clname);-
236}-
237-
238int QQuickStochasticState::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
239{-
240 _id = QObject::qt_metacall(_c, _id, _a);-
241 if (_id < 0)-
242 return _id;-
243 if (_c == QMetaObject::InvokeMetaMethod) {-
244 if (_id < 11)-
245 qt_static_metacall(this, _c, _id, _a);-
246 _id -= 11;-
247 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
248 if (_id < 11)-
249 *reinterpret_cast<int*>(_a[0]) = -1;-
250 _id -= 11;-
251 }-
252#ifndef QT_NO_PROPERTIES-
253 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
254 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
255 qt_static_metacall(this, _c, _id, _a);-
256 _id -= 5;-
257 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
258 _id -= 5;-
259 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
260 _id -= 5;-
261 } else if (_c == QMetaObject::QueryPropertyStored) {-
262 _id -= 5;-
263 } else if (_c == QMetaObject::QueryPropertyEditable) {-
264 _id -= 5;-
265 } else if (_c == QMetaObject::QueryPropertyUser) {-
266 _id -= 5;-
267 }-
268#endif // QT_NO_PROPERTIES-
269 return _id;-
270}-
271-
272// SIGNAL 0-
273void QQuickStochasticState::durationChanged(int _t1)-
274{-
275 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
276 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
277}
executed 14 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickparticlegroup
14
278-
279// SIGNAL 1-
280void QQuickStochasticState::nameChanged(const QString & _t1)-
281{-
282 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
283 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
284}
executed 90 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickimageparticle
  • tst_qquickparticlegroup
  • tst_qquickspritegoal
  • tst_qquickspritesequence
90
285-
286// SIGNAL 2-
287void QQuickStochasticState::toChanged(const QVariantMap & _t1)-
288{-
289 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
290 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
291}
executed 32 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickparticlegroup
  • tst_qquickspritesequence
32
292-
293// SIGNAL 3-
294void QQuickStochasticState::durationVariationChanged(int _t1)-
295{-
296 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
297 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
298}
executed 2 times by 1 test: end of block
Executed by:
  • tst_examples
2
299-
300// SIGNAL 4-
301void QQuickStochasticState::entered()-
302{-
303 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
304}
executed 19670 times by 4 tests: end of block
Executed by:
  • tst_qquickanimatedsprite
  • tst_qquickparticlegroup
  • tst_qquickspritegoal
  • tst_qquickspritesequence
19670
305-
306// SIGNAL 5-
307void QQuickStochasticState::randomStartChanged(bool _t1)-
308{-
309 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
310 QMetaObject::activate(this, &staticMetaObject, 5, _a);-
311}
executed 2 times by 1 test: end of block
Executed by:
  • tst_examples
2
312struct qt_meta_stringdata_QQuickStochasticEngine_t {-
313 QByteArrayData data[12];-
314 char stringdata0[154];-
315};-
316#define QT_MOC_LITERAL(idx, ofs, len) \-
317 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
318 qptrdiff(offsetof(qt_meta_stringdata_QQuickStochasticEngine_t, stringdata0) + ofs \-
319 - idx * sizeof(QByteArrayData)) \-
320 )-
321static const qt_meta_stringdata_QQuickStochasticEngine_t qt_meta_stringdata_QQuickStochasticEngine = {-
322 {-
323QT_MOC_LITERAL(0, 0, 22), // "QQuickStochasticEngine"-
324QT_MOC_LITERAL(1, 23, 17), // "globalGoalChanged"-
325QT_MOC_LITERAL(2, 41, 0), // ""-
326QT_MOC_LITERAL(3, 42, 3), // "arg"-
327QT_MOC_LITERAL(4, 46, 12), // "stateChanged"-
328QT_MOC_LITERAL(5, 59, 3), // "idx"-
329QT_MOC_LITERAL(6, 63, 13), // "setGlobalGoal"-
330QT_MOC_LITERAL(7, 77, 13), // "updateSprites"-
331QT_MOC_LITERAL(8, 91, 4), // "time"-
332QT_MOC_LITERAL(9, 96, 10), // "globalGoal"-
333QT_MOC_LITERAL(10, 107, 6), // "states"-
334QT_MOC_LITERAL(11, 114, 39) // "QQmlListProperty<QQuickStocha..."-
335-
336 },-
337 "QQuickStochasticEngine\0globalGoalChanged\0"-
338 "\0arg\0stateChanged\0idx\0setGlobalGoal\0"-
339 "updateSprites\0time\0globalGoal\0states\0"-
340 "QQmlListProperty<QQuickStochasticState>"-
341};-
342#undef QT_MOC_LITERAL-
343-
344static const uint qt_meta_data_QQuickStochasticEngine[] = {-
345-
346 // content:-
347 7, // revision-
348 0, // classname-
349 0, 0, // classinfo-
350 4, 14, // methods-
351 2, 46, // properties-
352 0, 0, // enums/sets-
353 0, 0, // constructors-
354 0, // flags-
355 2, // signalCount-
356-
357 // signals: name, argc, parameters, tag, flags-
358 1, 1, 34, 2, 0x06 /* Public */,-
359 4, 1, 37, 2, 0x06 /* Public */,-
360-
361 // slots: name, argc, parameters, tag, flags-
362 6, 1, 40, 2, 0x0a /* Public */,-
363 7, 1, 43, 2, 0x0a /* Public */,-
364-
365 // signals: parameters-
366 QMetaType::Void, QMetaType::QString, 3,-
367 QMetaType::Void, QMetaType::Int, 5,-
368-
369 // slots: parameters-
370 QMetaType::Void, QMetaType::QString, 3,-
371 QMetaType::UInt, QMetaType::UInt, 8,-
372-
373 // properties: name, type, flags-
374 9, QMetaType::QString, 0x00495103,-
375 10, 0x80000000 | 11, 0x00095009,-
376-
377 // properties: notify_signal_id-
378 0,-
379 0,-
380-
381 0 // eod-
382};-
383-
384void QQuickStochasticEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
385{-
386 if (_c == QMetaObject::InvokeMetaMethod) {-
387 QQuickStochasticEngine *_t = static_cast<QQuickStochasticEngine *>(_o);-
388 Q_UNUSED(_t)-
389 switch (_id) {-
390 case 0: _t->globalGoalChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;-
391 case 1: _t->stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;-
392 case 2: _t->setGlobalGoal((*reinterpret_cast< const QString(*)>(_a[1]))); break;-
393 case 3: { uint _r = _t->updateSprites((*reinterpret_cast< uint(*)>(_a[1])));-
394 if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = std::move(_r); } break;-
395 default: ;-
396 }-
397 } else if (_c == QMetaObject::IndexOfMethod) {-
398 int *result = reinterpret_cast<int *>(_a[0]);-
399 {-
400 using _t = void (QQuickStochasticEngine::*)(const QString & );-
401 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickStochasticEngine::globalGoalChanged)) {-
402 *result = 0;-
403 return;-
404 }-
405 }-
406 {-
407 using _t = void (QQuickStochasticEngine::*)(int );-
408 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickStochasticEngine::stateChanged)) {-
409 *result = 1;-
410 return;-
411 }-
412 }-
413 }-
414#ifndef QT_NO_PROPERTIES-
415 else if (_c == QMetaObject::ReadProperty) {-
416 QQuickStochasticEngine *_t = static_cast<QQuickStochasticEngine *>(_o);-
417 Q_UNUSED(_t)-
418 void *_v = _a[0];-
419 switch (_id) {-
420 case 0: *reinterpret_cast< QString*>(_v) = _t->globalGoal(); break;-
421 case 1: *reinterpret_cast< QQmlListProperty<QQuickStochasticState>*>(_v) = _t->states(); break;-
422 default: break;-
423 }-
424 } else if (_c == QMetaObject::WriteProperty) {-
425 QQuickStochasticEngine *_t = static_cast<QQuickStochasticEngine *>(_o);-
426 Q_UNUSED(_t)-
427 void *_v = _a[0];-
428 switch (_id) {-
429 case 0: _t->setGlobalGoal(*reinterpret_cast< QString*>(_v)); break;-
430 default: break;-
431 }-
432 } else if (_c == QMetaObject::ResetProperty) {-
433 }-
434#endif // QT_NO_PROPERTIES-
435}-
436-
437QT_INIT_METAOBJECT const QMetaObject QQuickStochasticEngine::staticMetaObject = {-
438 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickStochasticEngine.data,-
439 qt_meta_data_QQuickStochasticEngine, qt_static_metacall, nullptr, nullptr}-
440};-
441-
442-
443const QMetaObject *QQuickStochasticEngine::metaObject() const-
444{-
445 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
446}-
447-
448void *QQuickStochasticEngine::qt_metacast(const char *_clname)-
449{-
450 if (!_clname) return nullptr;-
451 if (!strcmp(_clname, qt_meta_stringdata_QQuickStochasticEngine.stringdata0))-
452 return static_cast<void*>(this);-
453 return QObject::qt_metacast(_clname);-
454}-
455-
456int QQuickStochasticEngine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
457{-
458 _id = QObject::qt_metacall(_c, _id, _a);-
459 if (_id < 0)-
460 return _id;-
461 if (_c == QMetaObject::InvokeMetaMethod) {-
462 if (_id < 4)-
463 qt_static_metacall(this, _c, _id, _a);-
464 _id -= 4;-
465 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
466 if (_id < 4)-
467 *reinterpret_cast<int*>(_a[0]) = -1;-
468 _id -= 4;-
469 }-
470#ifndef QT_NO_PROPERTIES-
471 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
472 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
473 qt_static_metacall(this, _c, _id, _a);-
474 _id -= 2;-
475 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
476 _id -= 2;-
477 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
478 _id -= 2;-
479 } else if (_c == QMetaObject::QueryPropertyStored) {-
480 _id -= 2;-
481 } else if (_c == QMetaObject::QueryPropertyEditable) {-
482 _id -= 2;-
483 } else if (_c == QMetaObject::QueryPropertyUser) {-
484 _id -= 2;-
485 }-
486#endif // QT_NO_PROPERTIES-
487 return _id;-
488}-
489-
490// SIGNAL 0-
491void QQuickStochasticEngine::globalGoalChanged(const QString & _t1)-
492{-
493 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
494 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
495}
never executed: end of block
0
496-
497// SIGNAL 1-
498void QQuickStochasticEngine::stateChanged(int _t1)-
499{-
500 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
501 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
502}
executed 19694 times by 4 tests: end of block
Executed by:
  • tst_qquickanimatedsprite
  • tst_qquickparticlegroup
  • tst_qquickspritegoal
  • tst_qquickspritesequence
19694
503struct qt_meta_stringdata_QQuickSpriteEngine_t {-
504 QByteArrayData data[3];-
505 char stringdata0[58];-
506};-
507#define QT_MOC_LITERAL(idx, ofs, len) \-
508 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
509 qptrdiff(offsetof(qt_meta_stringdata_QQuickSpriteEngine_t, stringdata0) + ofs \-
510 - idx * sizeof(QByteArrayData)) \-
511 )-
512static const qt_meta_stringdata_QQuickSpriteEngine_t qt_meta_stringdata_QQuickSpriteEngine = {-
513 {-
514QT_MOC_LITERAL(0, 0, 18), // "QQuickSpriteEngine"-
515QT_MOC_LITERAL(1, 19, 7), // "sprites"-
516QT_MOC_LITERAL(2, 27, 30) // "QQmlListProperty<QQuickSprite>"-
517-
518 },-
519 "QQuickSpriteEngine\0sprites\0"-
520 "QQmlListProperty<QQuickSprite>"-
521};-
522#undef QT_MOC_LITERAL-
523-
524static const uint qt_meta_data_QQuickSpriteEngine[] = {-
525-
526 // content:-
527 7, // revision-
528 0, // classname-
529 0, 0, // classinfo-
530 0, 0, // methods-
531 1, 14, // properties-
532 0, 0, // enums/sets-
533 0, 0, // constructors-
534 0, // flags-
535 0, // signalCount-
536-
537 // properties: name, type, flags-
538 1, 0x80000000 | 2, 0x00095009,-
539-
540 0 // eod-
541};-
542-
543void QQuickSpriteEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
544{-
545-
546#ifndef QT_NO_PROPERTIES-
547 if (_c == QMetaObject::ReadProperty) {-
548 QQuickSpriteEngine *_t = static_cast<QQuickSpriteEngine *>(_o);-
549 Q_UNUSED(_t)-
550 void *_v = _a[0];-
551 switch (_id) {-
552 case 0: *reinterpret_cast< QQmlListProperty<QQuickSprite>*>(_v) = _t->sprites(); break;-
553 default: break;-
554 }-
555 } else if (_c == QMetaObject::WriteProperty) {-
556 } else if (_c == QMetaObject::ResetProperty) {-
557 }-
558#endif // QT_NO_PROPERTIES-
559 Q_UNUSED(_o);-
560 Q_UNUSED(_id);-
561 Q_UNUSED(_c);-
562 Q_UNUSED(_a);-
563}-
564-
565QT_INIT_METAOBJECT const QMetaObject QQuickSpriteEngine::staticMetaObject = {-
566 { &QQuickStochasticEngine::staticMetaObject, qt_meta_stringdata_QQuickSpriteEngine.data,-
567 qt_meta_data_QQuickSpriteEngine, qt_static_metacall, nullptr, nullptr}-
568};-
569-
570-
571const QMetaObject *QQuickSpriteEngine::metaObject() const-
572{-
573 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
574}-
575-
576void *QQuickSpriteEngine::qt_metacast(const char *_clname)-
577{-
578 if (!_clname) return nullptr;-
579 if (!strcmp(_clname, qt_meta_stringdata_QQuickSpriteEngine.stringdata0))-
580 return static_cast<void*>(this);-
581 return QQuickStochasticEngine::qt_metacast(_clname);-
582}-
583-
584int QQuickSpriteEngine::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
585{-
586 _id = QQuickStochasticEngine::qt_metacall(_c, _id, _a);-
587 if (_id < 0)-
588 return _id;-
589 -
590#ifndef QT_NO_PROPERTIES-
591 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
592 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
593 qt_static_metacall(this, _c, _id, _a);-
594 _id -= 1;-
595 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
596 _id -= 1;-
597 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
598 _id -= 1;-
599 } else if (_c == QMetaObject::QueryPropertyStored) {-
600 _id -= 1;-
601 } else if (_c == QMetaObject::QueryPropertyEditable) {-
602 _id -= 1;-
603 } else if (_c == QMetaObject::QueryPropertyUser) {-
604 _id -= 1;-
605 }-
606#endif // QT_NO_PROPERTIES-
607 return _id;-
608}-
609QT_WARNING_POP-
610QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0