OpenCoverage

moc_qquickparticlegroup_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickparticlegroup_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_QQuickParticleGroup_t {-
9 QByteArrayData data[14];-
10 char stringdata0[191];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickParticleGroup_t qt_meta_stringdata_QQuickParticleGroup = {-
18 {-
19{ { { -1 } }, 19, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickParticleGroup_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 15, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickParticleGroup_t-
29, -
30stringdata0-
31) -
32+ 20 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 16, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickParticleGroup_t-
36, -
37stringdata0-
38) -
39+ 36 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 19, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickParticleGroup_t-
43, -
44stringdata0-
45) -
46+ 53 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 0, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickParticleGroup_t-
50, -
51stringdata0-
52) -
53+ 73 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 3, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickParticleGroup_t-
57, -
58stringdata0-
59) -
60+ 74 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 13, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickParticleGroup_t-
64, -
65stringdata0-
66) -
67+ 78 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 21, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickParticleGroup_t-
71, -
72stringdata0-
73) -
74+ 92 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 15, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickParticleGroup_t-
78, -
79stringdata0-
80) -
81+ 114 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 9, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickParticleGroup_t-
85, -
86stringdata0-
87) -
88+ 130 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 13, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickParticleGroup_t-
92, -
93stringdata0-
94) -
95+ 140 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 3, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickParticleGroup_t-
99, -
100stringdata0-
101) -
102+ 154 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 6, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickParticleGroup_t-
106, -
107stringdata0-
108) -
109+ 158 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 25, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickParticleGroup_t-
113, -
114stringdata0-
115) -
116+ 165 - 13 * sizeof(QByteArrayData)) }-
117-
118 },-
119 "QQuickParticleGroup\0DefaultProperty\0"-
120 "particleChildren\0maximumAliveChanged\0"-
121 "\0arg\0systemChanged\0QQuickParticleSystem*\0"-
122 "setMaximumAlive\0setSystem\0delayRedirect\0"-
123 "obj\0system\0QQmlListProperty<QObject>"-
124};-
125-
126-
127static const uint qt_meta_data_QQuickParticleGroup[] = {-
128-
129-
130 7,-
131 0,-
132 1, 14,-
133 5, 16,-
134 2, 56,-
135 0, 0,-
136 0, 0,-
137 0,-
138 2,-
139-
140-
141 1, 2,-
142-
143-
144 3, 1, 41, 4, 0x06 ,-
145 6, 1, 44, 4, 0x06 ,-
146-
147-
148 8, 1, 47, 4, 0x0a ,-
149 9, 1, 50, 4, 0x0a ,-
150 10, 1, 53, 4, 0x0a ,-
151-
152-
153 QMetaType::Void, QMetaType::Int, 5,-
154 QMetaType::Void, 0x80000000 | 7, 5,-
155-
156-
157 QMetaType::Void, QMetaType::Int, 5,-
158 QMetaType::Void, 0x80000000 | 7, 5,-
159 QMetaType::Void, QMetaType::QObjectStar, 11,-
160-
161-
162 12, 0x80000000 | 7, 0x0049510b,-
163 2, 0x80000000 | 13, 0x00094009,-
164-
165-
166 1,-
167 0,-
168-
169 0-
170};-
171-
172void QQuickParticleGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
173{-
174 if (_c == QMetaObject::InvokeMetaMethod) {-
175 QQuickParticleGroup *_t = static_cast<QQuickParticleGroup *>(_o);-
176 (void)_t;-
177 switch (_id) {-
178 case 0: _t->maximumAliveChanged((*reinterpret_cast< int(*)>(_a[1]))); break;-
179 case 1: _t->systemChanged((*reinterpret_cast< QQuickParticleSystem*(*)>(_a[1]))); break;-
180 case 2: _t->setMaximumAlive((*reinterpret_cast< int(*)>(_a[1]))); break;-
181 case 3: _t->setSystem((*reinterpret_cast< QQuickParticleSystem*(*)>(_a[1]))); break;-
182 case 4: _t->delayRedirect((*reinterpret_cast< QObject*(*)>(_a[1]))); break;-
183 default: ;-
184 }-
185 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
186 switch (_id) {-
187 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
188 case 1:-
189 switch (*reinterpret_cast<int*>(_a[1])) {-
190 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
191 case 0:-
192 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickParticleSystem* >(); break;-
193 }-
194 break;-
195 case 3:-
196 switch (*reinterpret_cast<int*>(_a[1])) {-
197 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
198 case 0:-
199 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickParticleSystem* >(); break;-
200 }-
201 break;-
202 }-
203 } else if (_c == QMetaObject::IndexOfMethod) {-
204 int *result = reinterpret_cast<int *>(_a[0]);-
205 {-
206 using _t = void (QQuickParticleGroup::*)(int );-
207 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleGroup::maximumAliveChanged)) {-
208 *result = 0;-
209 return;-
210 }-
211 }-
212 {-
213 using _t = void (QQuickParticleGroup::*)(QQuickParticleSystem * );-
214 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickParticleGroup::systemChanged)) {-
215 *result = 1;-
216 return;-
217 }-
218 }-
219 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
220 switch (_id) {-
221 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
222 case 1:-
223 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QObject> >(); break;-
224 case 0:-
225 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickParticleSystem* >(); break;-
226 }-
227 }-
228-
229-
230 else if (_c == QMetaObject::ReadProperty) {-
231 QQuickParticleGroup *_t = static_cast<QQuickParticleGroup *>(_o);-
232 (void)_t;-
233 void *_v = _a[0];-
234 switch (_id) {-
235 case 0: *reinterpret_cast< QQuickParticleSystem**>(_v) = _t->system(); break;-
236 case 1: *reinterpret_cast< QQmlListProperty<QObject>*>(_v) = _t->particleChildren(); break;-
237 default: break;-
238 }-
239 } else if (_c == QMetaObject::WriteProperty) {-
240 QQuickParticleGroup *_t = static_cast<QQuickParticleGroup *>(_o);-
241 (void)_t;-
242 void *_v = _a[0];-
243 switch (_id) {-
244 case 0: _t->setSystem(*reinterpret_cast< QQuickParticleSystem**>(_v)); break;-
245 default: break;-
246 }-
247 } else if (_c == QMetaObject::ResetProperty) {-
248 }-
249-
250}-
251-
252 const QMetaObject QQuickParticleGroup::staticMetaObject = {-
253 { &QQuickStochasticState::staticMetaObject, qt_meta_stringdata_QQuickParticleGroup.data,-
254 qt_meta_data_QQuickParticleGroup, qt_static_metacall, nullptr, nullptr}-
255};-
256-
257-
258const QMetaObject *QQuickParticleGroup::metaObject() const-
259{-
260 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
261}-
262-
263void *QQuickParticleGroup::qt_metacast(const char *_clname)-
264{-
265 if (!_clname) return nullptr;-
266 if (!strcmp(_clname, qt_meta_stringdata_QQuickParticleGroup.stringdata0))-
267 return static_cast<void*>(this);-
268 if (!strcmp(_clname, "QQmlParserStatus"))-
269 return static_cast< QQmlParserStatus*>(this);-
270 if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))-
271 return static_cast< QQmlParserStatus*>(this);-
272 return QQuickStochasticState::qt_metacast(_clname);-
273}-
274-
275int QQuickParticleGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
276{-
277 _id = QQuickStochasticState::qt_metacall(_c, _id, _a);-
278 if (_id < 0)-
279 return _id;-
280 if (_c == QMetaObject::InvokeMetaMethod) {-
281 if (_id < 5)-
282 qt_static_metacall(this, _c, _id, _a);-
283 _id -= 5;-
284 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
285 if (_id < 5)-
286 qt_static_metacall(this, _c, _id, _a);-
287 _id -= 5;-
288 }-
289-
290 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
291 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
292 qt_static_metacall(this, _c, _id, _a);-
293 _id -= 2;-
294 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
295 _id -= 2;-
296 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
297 _id -= 2;-
298 } else if (_c == QMetaObject::QueryPropertyStored) {-
299 _id -= 2;-
300 } else if (_c == QMetaObject::QueryPropertyEditable) {-
301 _id -= 2;-
302 } else if (_c == QMetaObject::QueryPropertyUser) {-
303 _id -= 2;-
304 }-
305-
306 return _id;-
307}-
308-
309-
310void QQuickParticleGroup::maximumAliveChanged(int _t1)-
311{-
312 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
313 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
314}
never executed: end of block
0
315-
316-
317void QQuickParticleGroup::systemChanged(QQuickParticleSystem * _t1)-
318{-
319 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
320 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
321}
executed 14 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickparticlegroup
14
322-
323#pragma GCC diagnostic pop-
324-
325-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0