OpenCoverage

moc_qquickpointattractor_p.cpp

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

Generated by Squish Coco 4.2.0