OpenCoverage

moc_qquickwander_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickwander_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_QQuickWanderAffector_t {-
9 QByteArrayData data[19];-
10 char stringdata0[247];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickWanderAffector_t qt_meta_stringdata_QQuickWanderAffector = {-
18 {-
19{ { { -1 } }, 20, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickWanderAffector_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 16, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickWanderAffector_t-
29, -
30stringdata0-
31) -
32+ 21 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickWanderAffector_t-
36, -
37stringdata0-
38) -
39+ 38 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 3, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickWanderAffector_t-
43, -
44stringdata0-
45) -
46+ 39 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 16, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickWanderAffector_t-
50, -
51stringdata0-
52) -
53+ 43 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 11, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickWanderAffector_t-
57, -
58stringdata0-
59) -
60+ 60 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 24, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickWanderAffector_t-
64, -
65stringdata0-
66) -
67+ 72 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 20, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickWanderAffector_t-
71, -
72stringdata0-
73) -
74+ 97 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 12, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickWanderAffector_t-
78, -
79stringdata0-
80) -
81+ 118 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 12, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickWanderAffector_t-
85, -
86stringdata0-
87) -
88+ 131 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 7, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickWanderAffector_t-
92, -
93stringdata0-
94) -
95+ 144 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 20, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickWanderAffector_t-
99, -
100stringdata0-
101) -
102+ 152 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 4, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickWanderAffector_t-
106, -
107stringdata0-
108) -
109+ 173 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 9, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickWanderAffector_t-
113, -
114stringdata0-
115) -
116+ 178 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 9, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickWanderAffector_t-
120, -
121stringdata0-
122) -
123+ 188 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 17, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickWanderAffector_t-
127, -
128stringdata0-
129) -
130+ 198 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 8, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickWanderAffector_t-
134, -
135stringdata0-
136) -
137+ 216 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 8, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickWanderAffector_t-
141, -
142stringdata0-
143) -
144+ 225 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 12, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickWanderAffector_t-
148, -
149stringdata0-
150) -
151+ 234 - 18 * sizeof(QByteArrayData)) }-
152-
153 },-
154 "QQuickWanderAffector\0xVarianceChanged\0"-
155 "\0arg\0yVarianceChanged\0paceChanged\0"-
156 "affectedParameterChanged\0AffectableParameters\0"-
157 "setXVariance\0setYVariance\0setPace\0"-
158 "setAffectedParameter\0pace\0xVariance\0"-
159 "yVariance\0affectedParameter\0Position\0"-
160 "Velocity\0Acceleration"-
161};-
162-
163-
164static const uint qt_meta_data_QQuickWanderAffector[] = {-
165-
166-
167 7,-
168 0,-
169 0, 0,-
170 8, 14,-
171 4, 78,-
172 1, 94,-
173 0, 0,-
174 0,-
175 4,-
176-
177-
178 1, 1, 54, 2, 0x06 ,-
179 4, 1, 57, 2, 0x06 ,-
180 5, 1, 60, 2, 0x06 ,-
181 6, 1, 63, 2, 0x06 ,-
182-
183-
184 8, 1, 66, 2, 0x0a ,-
185 9, 1, 69, 2, 0x0a ,-
186 10, 1, 72, 2, 0x0a ,-
187 11, 1, 75, 2, 0x0a ,-
188-
189-
190 QMetaType::Void, QMetaType::QReal, 3,-
191 QMetaType::Void, QMetaType::QReal, 3,-
192 QMetaType::Void, QMetaType::QReal, 3,-
193 QMetaType::Void, 0x80000000 | 7, 3,-
194-
195-
196 QMetaType::Void, QMetaType::QReal, 3,-
197 QMetaType::Void, QMetaType::QReal, 3,-
198 QMetaType::Void, QMetaType::QReal, 3,-
199 QMetaType::Void, 0x80000000 | 7, 3,-
200-
201-
202 12, QMetaType::QReal, 0x00495103,-
203 13, QMetaType::QReal, 0x00495103,-
204 14, QMetaType::QReal, 0x00495103,-
205 15, 0x80000000 | 7, 0x0049510b,-
206-
207-
208 2,-
209 0,-
210 1,-
211 3,-
212-
213-
214 7, 0x0, 3, 98,-
215-
216-
217 16, uint(QQuickWanderAffector::Position),-
218 17, uint(QQuickWanderAffector::Velocity),-
219 18, uint(QQuickWanderAffector::Acceleration),-
220-
221 0-
222};-
223-
224void QQuickWanderAffector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
225{-
226 if (_c == QMetaObject::InvokeMetaMethod) {-
227 QQuickWanderAffector *_t = static_cast<QQuickWanderAffector *>(_o);-
228 (void)_t;-
229 switch (_id) {-
230 case 0: _t->xVarianceChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
231 case 1: _t->yVarianceChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
232 case 2: _t->paceChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
233 case 3: _t->affectedParameterChanged((*reinterpret_cast< AffectableParameters(*)>(_a[1]))); break;-
234 case 4: _t->setXVariance((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
235 case 5: _t->setYVariance((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
236 case 6: _t->setPace((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
237 case 7: _t->setAffectedParameter((*reinterpret_cast< AffectableParameters(*)>(_a[1]))); break;-
238 default: ;-
239 }-
240 } else if (_c == QMetaObject::IndexOfMethod) {-
241 int *result = reinterpret_cast<int *>(_a[0]);-
242 {-
243 using _t = void (QQuickWanderAffector::*)(qreal );-
244 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWanderAffector::xVarianceChanged)) {-
245 *result = 0;-
246 return;-
247 }-
248 }-
249 {-
250 using _t = void (QQuickWanderAffector::*)(qreal );-
251 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWanderAffector::yVarianceChanged)) {-
252 *result = 1;-
253 return;-
254 }-
255 }-
256 {-
257 using _t = void (QQuickWanderAffector::*)(qreal );-
258 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWanderAffector::paceChanged)) {-
259 *result = 2;-
260 return;-
261 }-
262 }-
263 {-
264 using _t = void (QQuickWanderAffector::*)(AffectableParameters );-
265 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWanderAffector::affectedParameterChanged)) {-
266 *result = 3;-
267 return;-
268 }-
269 }-
270 }-
271-
272 else if (_c == QMetaObject::ReadProperty) {-
273 QQuickWanderAffector *_t = static_cast<QQuickWanderAffector *>(_o);-
274 (void)_t;-
275 void *_v = _a[0];-
276 switch (_id) {-
277 case 0: *reinterpret_cast< qreal*>(_v) = _t->pace(); break;-
278 case 1: *reinterpret_cast< qreal*>(_v) = _t->xVariance(); break;-
279 case 2: *reinterpret_cast< qreal*>(_v) = _t->yVariance(); break;-
280 case 3: *reinterpret_cast< AffectableParameters*>(_v) = _t->affectedParameter(); break;-
281 default: break;-
282 }-
283 } else if (_c == QMetaObject::WriteProperty) {-
284 QQuickWanderAffector *_t = static_cast<QQuickWanderAffector *>(_o);-
285 (void)_t;-
286 void *_v = _a[0];-
287 switch (_id) {-
288 case 0: _t->setPace(*reinterpret_cast< qreal*>(_v)); break;-
289 case 1: _t->setXVariance(*reinterpret_cast< qreal*>(_v)); break;-
290 case 2: _t->setYVariance(*reinterpret_cast< qreal*>(_v)); break;-
291 case 3: _t->setAffectedParameter(*reinterpret_cast< AffectableParameters*>(_v)); break;-
292 default: break;-
293 }-
294 } else if (_c == QMetaObject::ResetProperty) {-
295 }-
296-
297}-
298-
299 const QMetaObject QQuickWanderAffector::staticMetaObject = {-
300 { &QQuickParticleAffector::staticMetaObject, qt_meta_stringdata_QQuickWanderAffector.data,-
301 qt_meta_data_QQuickWanderAffector, qt_static_metacall, nullptr, nullptr}-
302};-
303-
304-
305const QMetaObject *QQuickWanderAffector::metaObject() const-
306{-
307 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
308}-
309-
310void *QQuickWanderAffector::qt_metacast(const char *_clname)-
311{-
312 if (!_clname) return nullptr;-
313 if (!strcmp(_clname, qt_meta_stringdata_QQuickWanderAffector.stringdata0))-
314 return static_cast<void*>(this);-
315 return QQuickParticleAffector::qt_metacast(_clname);-
316}-
317-
318int QQuickWanderAffector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
319{-
320 _id = QQuickParticleAffector::qt_metacall(_c, _id, _a);-
321 if (_id < 0)-
322 return _id;-
323 if (_c == QMetaObject::InvokeMetaMethod) {-
324 if (_id < 8)-
325 qt_static_metacall(this, _c, _id, _a);-
326 _id -= 8;-
327 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
328 if (_id < 8)-
329 *reinterpret_cast<int*>(_a[0]) = -1;-
330 _id -= 8;-
331 }-
332-
333 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
334 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
335 qt_static_metacall(this, _c, _id, _a);-
336 _id -= 4;-
337 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
338 _id -= 4;-
339 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
340 _id -= 4;-
341 } else if (_c == QMetaObject::QueryPropertyStored) {-
342 _id -= 4;-
343 } else if (_c == QMetaObject::QueryPropertyEditable) {-
344 _id -= 4;-
345 } else if (_c == QMetaObject::QueryPropertyUser) {-
346 _id -= 4;-
347 }-
348-
349 return _id;-
350}-
351-
352-
353void QQuickWanderAffector::xVarianceChanged(qreal _t1)-
354{-
355 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
356 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
357}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickwander
6
358-
359-
360void QQuickWanderAffector::yVarianceChanged(qreal _t1)-
361{-
362 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
363 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
364}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickwander
2
365-
366-
367void QQuickWanderAffector::paceChanged(qreal _t1)-
368{-
369 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
370 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
371}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickwander
6
372-
373-
374void QQuickWanderAffector::affectedParameterChanged(AffectableParameters _t1)-
375{-
376 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
377 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
378}
never executed: end of block
0
379-
380#pragma GCC diagnostic pop-
381-
382-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0