OpenCoverage

moc_qquickparticlesystem_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickparticlesystem_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_QQuickParticleSystem_t {-
9 QByteArrayData data[26];-
10 char stringdata0[265];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickParticleSystem_t qt_meta_stringdata_QQuickParticleSystem = {-
18 {-
19{ { { -1 } }, 20, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickParticleSystem_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 17, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickParticleSystem_t-
29, -
30stringdata0-
31) -
32+ 21 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickParticleSystem_t-
36, -
37stringdata0-
38) -
39+ 39 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 14, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickParticleSystem_t-
43, -
44stringdata0-
45) -
46+ 40 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 3, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickParticleSystem_t-
50, -
51stringdata0-
52) -
53+ 55 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 13, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickParticleSystem_t-
57, -
58stringdata0-
59) -
60+ 59 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 12, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickParticleSystem_t-
64, -
65stringdata0-
66) -
67+ 73 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 5, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickParticleSystem_t-
71, -
72stringdata0-
73) -
74+ 86 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 4, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickParticleSystem_t-
78, -
79stringdata0-
80) -
81+ 92 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 7, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickParticleSystem_t-
85, -
86stringdata0-
87) -
88+ 97 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 5, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickParticleSystem_t-
92, -
93stringdata0-
94) -
95+ 105 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 6, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickParticleSystem_t-
99, -
100stringdata0-
101) -
102+ 111 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 5, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickParticleSystem_t-
106, -
107stringdata0-
108) -
109+ 118 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 10, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickParticleSystem_t-
113, -
114stringdata0-
115) -
116+ 124 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 9, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickParticleSystem_t-
120, -
121stringdata0-
122) -
123+ 135 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 8, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickParticleSystem_t-
127, -
128stringdata0-
129) -
130+ 145 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 15, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickParticleSystem_t-
134, -
135stringdata0-
136) -
137+ 154 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 11, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickParticleSystem_t-
141, -
142stringdata0-
143) -
144+ 170 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 22, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickParticleSystem_t-
148, -
149stringdata0-
150) -
151+ 182 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 1, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQuickParticleSystem_t-
155, -
156stringdata0-
157) -
158+ 205 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 12, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQuickParticleSystem_t-
162, -
163stringdata0-
164) -
165+ 207 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 19, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQuickParticleSystem_t-
169, -
170stringdata0-
171) -
172+ 220 - 21 * sizeof(QByteArrayData)) },-
173{ { { -1 } }, 3, 0, 0, qptrdiff(-
174__builtin_offsetof (-
175qt_meta_stringdata_QQuickParticleSystem_t-
176, -
177stringdata0-
178) -
179+ 240 - 22 * sizeof(QByteArrayData)) },-
180{ { { -1 } }, 7, 0, 0, qptrdiff(-
181__builtin_offsetof (-
182qt_meta_stringdata_QQuickParticleSystem_t-
183, -
184stringdata0-
185) -
186+ 244 - 23 * sizeof(QByteArrayData)) },-
187{ { { -1 } }, 6, 0, 0, qptrdiff(-
188__builtin_offsetof (-
189qt_meta_stringdata_QQuickParticleSystem_t-
190, -
191stringdata0-
192) -
193+ 252 - 24 * sizeof(QByteArrayData)) },-
194{ { { -1 } }, 5, 0, 0, qptrdiff(-
195__builtin_offsetof (-
196qt_meta_stringdata_QQuickParticleSystem_t-
197, -
198stringdata0-
199) -
200+ 259 - 25 * sizeof(QByteArrayData)) }-
201-
202 },-
203 "QQuickParticleSystem\0systemInitialized\0"-
204 "\0runningChanged\0arg\0pausedChanged\0"-
205 "emptyChanged\0start\0stop\0restart\0pause\0"-
206 "resume\0reset\0setRunning\0setPaused\0"-
207 "duration\0emittersChanged\0loadPainter\0"-
208 "QQuickParticlePainter*\0p\0createEngine\0"-
209 "particleStateChange\0idx\0running\0paused\0"-
210 "empty"-
211};-
212-
213-
214static const uint qt_meta_data_QQuickParticleSystem[] = {-
215-
216-
217 7,-
218 0,-
219 0, 0,-
220 17, 14,-
221 3, 130,-
222 0, 0,-
223 0, 0,-
224 0,-
225 4,-
226-
227-
228 1, 0, 99, 2, 0x06 ,-
229 3, 1, 100, 2, 0x06 ,-
230 5, 1, 103, 2, 0x06 ,-
231 6, 1, 106, 2, 0x06 ,-
232-
233-
234 7, 0, 109, 2, 0x0a ,-
235 8, 0, 110, 2, 0x0a ,-
236 9, 0, 111, 2, 0x0a ,-
237 10, 0, 112, 2, 0x0a ,-
238 11, 0, 113, 2, 0x0a ,-
239 12, 0, 114, 2, 0x0a ,-
240 13, 1, 115, 2, 0x0a ,-
241 14, 1, 118, 2, 0x0a ,-
242 15, 0, 121, 2, 0x0a ,-
243 16, 0, 122, 2, 0x08 ,-
244 17, 1, 123, 2, 0x08 ,-
245 20, 0, 126, 2, 0x08 ,-
246 21, 1, 127, 2, 0x08 ,-
247-
248-
249 QMetaType::Void,-
250 QMetaType::Void, QMetaType::Bool, 4,-
251 QMetaType::Void, QMetaType::Bool, 4,-
252 QMetaType::Void, QMetaType::Bool, 4,-
253-
254-
255 QMetaType::Void,-
256 QMetaType::Void,-
257 QMetaType::Void,-
258 QMetaType::Void,-
259 QMetaType::Void,-
260 QMetaType::Void,-
261 QMetaType::Void, QMetaType::Bool, 4,-
262 QMetaType::Void, QMetaType::Bool, 4,-
263 QMetaType::Int,-
264 QMetaType::Void,-
265 QMetaType::Void, 0x80000000 | 18, 19,-
266 QMetaType::Void,-
267 QMetaType::Void, QMetaType::Int, 22,-
268-
269-
270 23, QMetaType::Bool, 0x00495103,-
271 24, QMetaType::Bool, 0x00495103,-
272 25, QMetaType::Bool, 0x00495001,-
273-
274-
275 1,-
276 2,-
277 3,-
278-
279 0-
280};-
281-
282void QQuickParticleSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
283{-
284 if (_c == QMetaObject::InvokeMetaMethod) {-
285 QQuickParticleSystem *_t = static_cast<QQuickParticleSystem *>(_o);-
286 (void)_t;-
287 switch (_id) {-
288 case 0: _t->systemInitialized(); break;-
289 case 1: _t->runningChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;-
290 case 2: _t->pausedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;-
291 case 3: _t->emptyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;-
292 case 4: _t->start(); break;-
293 case 5: _t->stop(); break;-
294 case 6: _t->restart(); break;-
295 case 7: _t->pause(); break;-
296 case 8: _t->resume(); break;-
297 case 9: _t->reset(); break;-
298 case 10: _t->setRunning((*reinterpret_cast< bool(*)>(_a[1]))); break;-
299 case 11: _t->setPaused((*reinterpret_cast< bool(*)>(_a[1]))); break;-
300 case 12: { int _r = _t->duration();-
301 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;-
302 case 13: _t->emittersChanged(); break;-
303 case 14: _t->loadPainter((*reinterpret_cast< QQuickParticlePainter*(*)>(_a[1]))); break;-
304 case 15: _t->createEngine(); break;-
305 case 16: _t->particleStateChange((*reinterpret_cast< int(*)>(_a[1]))); break;-
306 default: ;-
307 }-
308 } else if (_c == QMetaObject::IndexOfMethod) {-
309 int *result = reinterpret_cast<int *>(_a[0]);-
310 {-
311 using _t = void (QQuickParticleSystem::*)();-
312 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleSystem::systemInitialized)) {-
313 *result = 0;-
314 return;-
315 }-
316 }-
317 {-
318 using _t = void (QQuickParticleSystem::*)(bool );-
319 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleSystem::runningChanged)) {-
320 *result = 1;-
321 return;-
322 }-
323 }-
324 {-
325 using _t = void (QQuickParticleSystem::*)(bool );-
326 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleSystem::pausedChanged)) {-
327 *result = 2;-
328 return;-
329 }-
330 }-
331 {-
332 using _t = void (QQuickParticleSystem::*)(bool );-
333 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleSystem::emptyChanged)) {-
334 *result = 3;-
335 return;-
336 }-
337 }-
338 }-
339-
340 else if (_c == QMetaObject::ReadProperty) {-
341 QQuickParticleSystem *_t = static_cast<QQuickParticleSystem *>(_o);-
342 (void)_t;-
343 void *_v = _a[0];-
344 switch (_id) {-
345 case 0: *reinterpret_cast< bool*>(_v) = _t->isRunning(); break;-
346 case 1: *reinterpret_cast< bool*>(_v) = _t->isPaused(); break;-
347 case 2: *reinterpret_cast< bool*>(_v) = _t->isEmpty(); break;-
348 default: break;-
349 }-
350 } else if (_c == QMetaObject::WriteProperty) {-
351 QQuickParticleSystem *_t = static_cast<QQuickParticleSystem *>(_o);-
352 (void)_t;-
353 void *_v = _a[0];-
354 switch (_id) {-
355 case 0: _t->setRunning(*reinterpret_cast< bool*>(_v)); break;-
356 case 1: _t->setPaused(*reinterpret_cast< bool*>(_v)); break;-
357 default: break;-
358 }-
359 } else if (_c == QMetaObject::ResetProperty) {-
360 }-
361-
362}-
363-
364 const QMetaObject QQuickParticleSystem::staticMetaObject = {-
365 { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickParticleSystem.data,-
366 qt_meta_data_QQuickParticleSystem, qt_static_metacall, nullptr, nullptr}-
367};-
368-
369-
370const QMetaObject *QQuickParticleSystem::metaObject() const-
371{-
372 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
373}-
374-
375void *QQuickParticleSystem::qt_metacast(const char *_clname)-
376{-
377 if (!_clname) return nullptr;-
378 if (!strcmp(_clname, qt_meta_stringdata_QQuickParticleSystem.stringdata0))-
379 return static_cast<void*>(this);-
380 return QQuickItem::qt_metacast(_clname);-
381}-
382-
383int QQuickParticleSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
384{-
385 _id = QQuickItem::qt_metacall(_c, _id, _a);-
386 if (_id < 0)-
387 return _id;-
388 if (_c == QMetaObject::InvokeMetaMethod) {-
389 if (_id < 17)-
390 qt_static_metacall(this, _c, _id, _a);-
391 _id -= 17;-
392 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
393 if (_id < 17)-
394 *reinterpret_cast<int*>(_a[0]) = -1;-
395 _id -= 17;-
396 }-
397-
398 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
399 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
400 qt_static_metacall(this, _c, _id, _a);-
401 _id -= 3;-
402 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
403 _id -= 3;-
404 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
405 _id -= 3;-
406 } else if (_c == QMetaObject::QueryPropertyStored) {-
407 _id -= 3;-
408 } else if (_c == QMetaObject::QueryPropertyEditable) {-
409 _id -= 3;-
410 } else if (_c == QMetaObject::QueryPropertyUser) {-
411 _id -= 3;-
412 }-
413-
414 return _id;-
415}-
416-
417-
418void QQuickParticleSystem::systemInitialized()-
419{-
420 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
421}
never executed: end of block
0
422-
423-
424void QQuickParticleSystem::runningChanged(bool _t1)-
425{-
426 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
427 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
428}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickparticlesystem
6
429-
430-
431void QQuickParticleSystem::pausedChanged(bool _t1)-
432{-
433 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
434 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
435}
never executed: end of block
0
436-
437-
438void QQuickParticleSystem::emptyChanged(bool _t1)-
439{-
440 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
441 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
442}
executed 74 times by 23 tests: end of block
Executed by:
  • tst_qquickage
  • tst_qquickangleddirection
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickellipseextruder
  • tst_qquickfriction
  • tst_qquickgravity
  • tst_qquickgroupgoal
  • tst_qquickimageparticle
  • tst_qquickitemparticle
  • tst_qquicklineextruder
  • tst_qquickmaskextruder
  • tst_qquickparticlegroup
  • tst_qquickparticlesystem
  • tst_qquickpointattractor
  • tst_qquickpointdirection
  • tst_qquickrectangleextruder
  • tst_qquickspritegoal
  • tst_qquicktargetdirection
  • tst_qquicktrailemitter
  • tst_qquickturbulence
  • tst_qquickwander
74
443struct qt_meta_stringdata_QQuickParticleSystemAnimation_t {-
444 QByteArrayData data[1];-
445 char stringdata0[30];-
446};-
447-
448-
449-
450-
451-
452static const qt_meta_stringdata_QQuickParticleSystemAnimation_t qt_meta_stringdata_QQuickParticleSystemAnimation = {-
453 {-
454{ { { -1 } }, 29, 0, 0, qptrdiff(-
455__builtin_offsetof (-
456qt_meta_stringdata_QQuickParticleSystemAnimation_t-
457, -
458stringdata0-
459) -
460+ 0 - 0 * sizeof(QByteArrayData)) }-
461-
462 },-
463 "QQuickParticleSystemAnimation"-
464};-
465-
466-
467static const uint qt_meta_data_QQuickParticleSystemAnimation[] = {-
468-
469-
470 7,-
471 0,-
472 0, 0,-
473 0, 0,-
474 0, 0,-
475 0, 0,-
476 0, 0,-
477 0,-
478 0,-
479-
480 0-
481};-
482-
483void QQuickParticleSystemAnimation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
484{-
485 (void)_o;;-
486 (void)_id;;-
487 (void)_c;;-
488 (void)_a;;-
489}-
490-
491 const QMetaObject QQuickParticleSystemAnimation::staticMetaObject = {-
492 { &QAbstractAnimation::staticMetaObject, qt_meta_stringdata_QQuickParticleSystemAnimation.data,-
493 qt_meta_data_QQuickParticleSystemAnimation, qt_static_metacall, nullptr, nullptr}-
494};-
495-
496-
497const QMetaObject *QQuickParticleSystemAnimation::metaObject() const-
498{-
499 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
500}-
501-
502void *QQuickParticleSystemAnimation::qt_metacast(const char *_clname)-
503{-
504 if (!_clname) return nullptr;-
505 if (!strcmp(_clname, qt_meta_stringdata_QQuickParticleSystemAnimation.stringdata0))-
506 return static_cast<void*>(this);-
507 return QAbstractAnimation::qt_metacast(_clname);-
508}-
509-
510int QQuickParticleSystemAnimation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
511{-
512 _id = QAbstractAnimation::qt_metacall(_c, _id, _a);-
513 return _id;-
514}-
515-
516#pragma GCC diagnostic pop-
517-
518-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0