OpenCoverage

moc_qquickparticlesystem_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickparticlesystem_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickparticlesystem_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 "../qquickparticlesystem_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickparticlesystem_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_QQuickParticleSystem_t {-
24 QByteArrayData data[26];-
25 char stringdata0[265];-
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_QQuickParticleSystem_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickParticleSystem_t qt_meta_stringdata_QQuickParticleSystem = {-
33 {-
34QT_MOC_LITERAL(0, 0, 20), // "QQuickParticleSystem"-
35QT_MOC_LITERAL(1, 21, 17), // "systemInitialized"-
36QT_MOC_LITERAL(2, 39, 0), // ""-
37QT_MOC_LITERAL(3, 40, 14), // "runningChanged"-
38QT_MOC_LITERAL(4, 55, 3), // "arg"-
39QT_MOC_LITERAL(5, 59, 13), // "pausedChanged"-
40QT_MOC_LITERAL(6, 73, 12), // "emptyChanged"-
41QT_MOC_LITERAL(7, 86, 5), // "start"-
42QT_MOC_LITERAL(8, 92, 4), // "stop"-
43QT_MOC_LITERAL(9, 97, 7), // "restart"-
44QT_MOC_LITERAL(10, 105, 5), // "pause"-
45QT_MOC_LITERAL(11, 111, 6), // "resume"-
46QT_MOC_LITERAL(12, 118, 5), // "reset"-
47QT_MOC_LITERAL(13, 124, 10), // "setRunning"-
48QT_MOC_LITERAL(14, 135, 9), // "setPaused"-
49QT_MOC_LITERAL(15, 145, 8), // "duration"-
50QT_MOC_LITERAL(16, 154, 15), // "emittersChanged"-
51QT_MOC_LITERAL(17, 170, 11), // "loadPainter"-
52QT_MOC_LITERAL(18, 182, 22), // "QQuickParticlePainter*"-
53QT_MOC_LITERAL(19, 205, 1), // "p"-
54QT_MOC_LITERAL(20, 207, 12), // "createEngine"-
55QT_MOC_LITERAL(21, 220, 19), // "particleStateChange"-
56QT_MOC_LITERAL(22, 240, 3), // "idx"-
57QT_MOC_LITERAL(23, 244, 7), // "running"-
58QT_MOC_LITERAL(24, 252, 6), // "paused"-
59QT_MOC_LITERAL(25, 259, 5) // "empty"-
60-
61 },-
62 "QQuickParticleSystem\0systemInitialized\0"-
63 "\0runningChanged\0arg\0pausedChanged\0"-
64 "emptyChanged\0start\0stop\0restart\0pause\0"-
65 "resume\0reset\0setRunning\0setPaused\0"-
66 "duration\0emittersChanged\0loadPainter\0"-
67 "QQuickParticlePainter*\0p\0createEngine\0"-
68 "particleStateChange\0idx\0running\0paused\0"-
69 "empty"-
70};-
71#undef QT_MOC_LITERAL-
72-
73static const uint qt_meta_data_QQuickParticleSystem[] = {-
74-
75 // content:-
76 7, // revision-
77 0, // classname-
78 0, 0, // classinfo-
79 17, 14, // methods-
80 3, 130, // properties-
81 0, 0, // enums/sets-
82 0, 0, // constructors-
83 0, // flags-
84 4, // signalCount-
85-
86 // signals: name, argc, parameters, tag, flags-
87 1, 0, 99, 2, 0x06 /* Public */,-
88 3, 1, 100, 2, 0x06 /* Public */,-
89 5, 1, 103, 2, 0x06 /* Public */,-
90 6, 1, 106, 2, 0x06 /* Public */,-
91-
92 // slots: name, argc, parameters, tag, flags-
93 7, 0, 109, 2, 0x0a /* Public */,-
94 8, 0, 110, 2, 0x0a /* Public */,-
95 9, 0, 111, 2, 0x0a /* Public */,-
96 10, 0, 112, 2, 0x0a /* Public */,-
97 11, 0, 113, 2, 0x0a /* Public */,-
98 12, 0, 114, 2, 0x0a /* Public */,-
99 13, 1, 115, 2, 0x0a /* Public */,-
100 14, 1, 118, 2, 0x0a /* Public */,-
101 15, 0, 121, 2, 0x0a /* Public */,-
102 16, 0, 122, 2, 0x08 /* Private */,-
103 17, 1, 123, 2, 0x08 /* Private */,-
104 20, 0, 126, 2, 0x08 /* Private */,-
105 21, 1, 127, 2, 0x08 /* Private */,-
106-
107 // signals: parameters-
108 QMetaType::Void,-
109 QMetaType::Void, QMetaType::Bool, 4,-
110 QMetaType::Void, QMetaType::Bool, 4,-
111 QMetaType::Void, QMetaType::Bool, 4,-
112-
113 // slots: parameters-
114 QMetaType::Void,-
115 QMetaType::Void,-
116 QMetaType::Void,-
117 QMetaType::Void,-
118 QMetaType::Void,-
119 QMetaType::Void,-
120 QMetaType::Void, QMetaType::Bool, 4,-
121 QMetaType::Void, QMetaType::Bool, 4,-
122 QMetaType::Int,-
123 QMetaType::Void,-
124 QMetaType::Void, 0x80000000 | 18, 19,-
125 QMetaType::Void,-
126 QMetaType::Void, QMetaType::Int, 22,-
127-
128 // properties: name, type, flags-
129 23, QMetaType::Bool, 0x00495103,-
130 24, QMetaType::Bool, 0x00495103,-
131 25, QMetaType::Bool, 0x00495001,-
132-
133 // properties: notify_signal_id-
134 1,-
135 2,-
136 3,-
137-
138 0 // eod-
139};-
140-
141void QQuickParticleSystem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
142{-
143 if (_c == QMetaObject::InvokeMetaMethod) {-
144 QQuickParticleSystem *_t = static_cast<QQuickParticleSystem *>(_o);-
145 Q_UNUSED(_t)-
146 switch (_id) {-
147 case 0: _t->systemInitialized(); break;-
148 case 1: _t->runningChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;-
149 case 2: _t->pausedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;-
150 case 3: _t->emptyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;-
151 case 4: _t->start(); break;-
152 case 5: _t->stop(); break;-
153 case 6: _t->restart(); break;-
154 case 7: _t->pause(); break;-
155 case 8: _t->resume(); break;-
156 case 9: _t->reset(); break;-
157 case 10: _t->setRunning((*reinterpret_cast< bool(*)>(_a[1]))); break;-
158 case 11: _t->setPaused((*reinterpret_cast< bool(*)>(_a[1]))); break;-
159 case 12: { int _r = _t->duration();-
160 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;-
161 case 13: _t->emittersChanged(); break;-
162 case 14: _t->loadPainter((*reinterpret_cast< QQuickParticlePainter*(*)>(_a[1]))); break;-
163 case 15: _t->createEngine(); break;-
164 case 16: _t->particleStateChange((*reinterpret_cast< int(*)>(_a[1]))); break;-
165 default: ;-
166 }-
167 } else if (_c == QMetaObject::IndexOfMethod) {-
168 int *result = reinterpret_cast<int *>(_a[0]);-
169 {-
170 using _t = void (QQuickParticleSystem::*)();-
171 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleSystem::systemInitialized)) {-
172 *result = 0;-
173 return;-
174 }-
175 }-
176 {-
177 using _t = void (QQuickParticleSystem::*)(bool );-
178 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleSystem::runningChanged)) {-
179 *result = 1;-
180 return;-
181 }-
182 }-
183 {-
184 using _t = void (QQuickParticleSystem::*)(bool );-
185 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleSystem::pausedChanged)) {-
186 *result = 2;-
187 return;-
188 }-
189 }-
190 {-
191 using _t = void (QQuickParticleSystem::*)(bool );-
192 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleSystem::emptyChanged)) {-
193 *result = 3;-
194 return;-
195 }-
196 }-
197 }-
198#ifndef QT_NO_PROPERTIES-
199 else if (_c == QMetaObject::ReadProperty) {-
200 QQuickParticleSystem *_t = static_cast<QQuickParticleSystem *>(_o);-
201 Q_UNUSED(_t)-
202 void *_v = _a[0];-
203 switch (_id) {-
204 case 0: *reinterpret_cast< bool*>(_v) = _t->isRunning(); break;-
205 case 1: *reinterpret_cast< bool*>(_v) = _t->isPaused(); break;-
206 case 2: *reinterpret_cast< bool*>(_v) = _t->isEmpty(); break;-
207 default: break;-
208 }-
209 } else if (_c == QMetaObject::WriteProperty) {-
210 QQuickParticleSystem *_t = static_cast<QQuickParticleSystem *>(_o);-
211 Q_UNUSED(_t)-
212 void *_v = _a[0];-
213 switch (_id) {-
214 case 0: _t->setRunning(*reinterpret_cast< bool*>(_v)); break;-
215 case 1: _t->setPaused(*reinterpret_cast< bool*>(_v)); break;-
216 default: break;-
217 }-
218 } else if (_c == QMetaObject::ResetProperty) {-
219 }-
220#endif // QT_NO_PROPERTIES-
221}-
222-
223QT_INIT_METAOBJECT const QMetaObject QQuickParticleSystem::staticMetaObject = {-
224 { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickParticleSystem.data,-
225 qt_meta_data_QQuickParticleSystem, qt_static_metacall, nullptr, nullptr}-
226};-
227-
228-
229const QMetaObject *QQuickParticleSystem::metaObject() const-
230{-
231 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
232}-
233-
234void *QQuickParticleSystem::qt_metacast(const char *_clname)-
235{-
236 if (!_clname) return nullptr;-
237 if (!strcmp(_clname, qt_meta_stringdata_QQuickParticleSystem.stringdata0))-
238 return static_cast<void*>(this);-
239 return QQuickItem::qt_metacast(_clname);-
240}-
241-
242int QQuickParticleSystem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
243{-
244 _id = QQuickItem::qt_metacall(_c, _id, _a);-
245 if (_id < 0)-
246 return _id;-
247 if (_c == QMetaObject::InvokeMetaMethod) {-
248 if (_id < 17)-
249 qt_static_metacall(this, _c, _id, _a);-
250 _id -= 17;-
251 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
252 if (_id < 17)-
253 *reinterpret_cast<int*>(_a[0]) = -1;-
254 _id -= 17;-
255 }-
256#ifndef QT_NO_PROPERTIES-
257 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
258 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
259 qt_static_metacall(this, _c, _id, _a);-
260 _id -= 3;-
261 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
262 _id -= 3;-
263 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
264 _id -= 3;-
265 } else if (_c == QMetaObject::QueryPropertyStored) {-
266 _id -= 3;-
267 } else if (_c == QMetaObject::QueryPropertyEditable) {-
268 _id -= 3;-
269 } else if (_c == QMetaObject::QueryPropertyUser) {-
270 _id -= 3;-
271 }-
272#endif // QT_NO_PROPERTIES-
273 return _id;-
274}-
275-
276// SIGNAL 0-
277void QQuickParticleSystem::systemInitialized()-
278{-
279 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
280}
never executed: end of block
0
281-
282// SIGNAL 1-
283void QQuickParticleSystem::runningChanged(bool _t1)-
284{-
285 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
286 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
287}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickparticlesystem
6
288-
289// SIGNAL 2-
290void QQuickParticleSystem::pausedChanged(bool _t1)-
291{-
292 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
293 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
294}
never executed: end of block
0
295-
296// SIGNAL 3-
297void QQuickParticleSystem::emptyChanged(bool _t1)-
298{-
299 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
300 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
301}
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
302struct qt_meta_stringdata_QQuickParticleSystemAnimation_t {-
303 QByteArrayData data[1];-
304 char stringdata0[30];-
305};-
306#define QT_MOC_LITERAL(idx, ofs, len) \-
307 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
308 qptrdiff(offsetof(qt_meta_stringdata_QQuickParticleSystemAnimation_t, stringdata0) + ofs \-
309 - idx * sizeof(QByteArrayData)) \-
310 )-
311static const qt_meta_stringdata_QQuickParticleSystemAnimation_t qt_meta_stringdata_QQuickParticleSystemAnimation = {-
312 {-
313QT_MOC_LITERAL(0, 0, 29) // "QQuickParticleSystemAnimation"-
314-
315 },-
316 "QQuickParticleSystemAnimation"-
317};-
318#undef QT_MOC_LITERAL-
319-
320static const uint qt_meta_data_QQuickParticleSystemAnimation[] = {-
321-
322 // content:-
323 7, // revision-
324 0, // classname-
325 0, 0, // classinfo-
326 0, 0, // methods-
327 0, 0, // properties-
328 0, 0, // enums/sets-
329 0, 0, // constructors-
330 0, // flags-
331 0, // signalCount-
332-
333 0 // eod-
334};-
335-
336void QQuickParticleSystemAnimation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
337{-
338 Q_UNUSED(_o);-
339 Q_UNUSED(_id);-
340 Q_UNUSED(_c);-
341 Q_UNUSED(_a);-
342}-
343-
344QT_INIT_METAOBJECT const QMetaObject QQuickParticleSystemAnimation::staticMetaObject = {-
345 { &QAbstractAnimation::staticMetaObject, qt_meta_stringdata_QQuickParticleSystemAnimation.data,-
346 qt_meta_data_QQuickParticleSystemAnimation, qt_static_metacall, nullptr, nullptr}-
347};-
348-
349-
350const QMetaObject *QQuickParticleSystemAnimation::metaObject() const-
351{-
352 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
353}-
354-
355void *QQuickParticleSystemAnimation::qt_metacast(const char *_clname)-
356{-
357 if (!_clname) return nullptr;-
358 if (!strcmp(_clname, qt_meta_stringdata_QQuickParticleSystemAnimation.stringdata0))-
359 return static_cast<void*>(this);-
360 return QAbstractAnimation::qt_metacast(_clname);-
361}-
362-
363int QQuickParticleSystemAnimation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
364{-
365 _id = QAbstractAnimation::qt_metacall(_c, _id, _a);-
366 return _id;-
367}-
368QT_WARNING_POP-
369QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0