OpenCoverage

moc_qquicktrailemitter_p.cpp

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

Generated by Squish Coco 4.2.0