OpenCoverage

moc_qquicktargetdirection_p.cpp

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

Generated by Squish Coco 4.2.0