OpenCoverage

moc_qquickpinchhandler_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickpinchhandler_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_QQuickPinchHandler_t {-
9 QByteArrayData data[29];-
10 char stringdata0[390];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickPinchHandler_t qt_meta_stringdata_QQuickPinchHandler = {-
18 {-
19{ { { -1 } }, 18, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickPinchHandler_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 19, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickPinchHandler_t-
29, -
30stringdata0-
31) -
32+ 19 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickPinchHandler_t-
36, -
37stringdata0-
38) -
39+ 39 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 19, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickPinchHandler_t-
43, -
44stringdata0-
45) -
46+ 40 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 22, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickPinchHandler_t-
50, -
51stringdata0-
52) -
53+ 60 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 22, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickPinchHandler_t-
57, -
58stringdata0-
59) -
60+ 83 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 15, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickPinchHandler_t-
64, -
65stringdata0-
66) -
67+ 106 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 15, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickPinchHandler_t-
71, -
72stringdata0-
73) -
74+ 122 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 15, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickPinchHandler_t-
78, -
79stringdata0-
80) -
81+ 138 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 15, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickPinchHandler_t-
85, -
86stringdata0-
87) -
88+ 154 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 18, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickPinchHandler_t-
92, -
93stringdata0-
94) -
95+ 170 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 7, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickPinchHandler_t-
99, -
100stringdata0-
101) -
102+ 189 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 12, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickPinchHandler_t-
106, -
107stringdata0-
108) -
109+ 197 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 12, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickPinchHandler_t-
113, -
114stringdata0-
115) -
116+ 210 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 15, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickPinchHandler_t-
120, -
121stringdata0-
122) -
123+ 223 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 15, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickPinchHandler_t-
127, -
128stringdata0-
129) -
130+ 239 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 11, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickPinchHandler_t-
134, -
135stringdata0-
136) -
137+ 255 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 11, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickPinchHandler_t-
141, -
142stringdata0-
143) -
144+ 267 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 5, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickPinchHandler_t-
148, -
149stringdata0-
150) -
151+ 279 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 11, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQuickPinchHandler_t-
155, -
156stringdata0-
157) -
158+ 285 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 8, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQuickPinchHandler_t-
162, -
163stringdata0-
164) -
165+ 297 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 11, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQuickPinchHandler_t-
169, -
170stringdata0-
171) -
172+ 306 - 21 * sizeof(QByteArrayData)) },-
173{ { { -1 } }, 8, 0, 0, qptrdiff(-
174__builtin_offsetof (-
175qt_meta_stringdata_QQuickPinchHandler_t-
176, -
177stringdata0-
178) -
179+ 318 - 22 * sizeof(QByteArrayData)) },-
180{ { { -1 } }, 8, 0, 0, qptrdiff(-
181__builtin_offsetof (-
182qt_meta_stringdata_QQuickPinchHandler_t-
183, -
184stringdata0-
185) -
186+ 327 - 23 * sizeof(QByteArrayData)) },-
187{ { { -1 } }, 8, 0, 0, qptrdiff(-
188__builtin_offsetof (-
189qt_meta_stringdata_QQuickPinchHandler_t-
190, -
191stringdata0-
192) -
193+ 336 - 24 * sizeof(QByteArrayData)) },-
194{ { { -1 } }, 8, 0, 0, qptrdiff(-
195__builtin_offsetof (-
196qt_meta_stringdata_QQuickPinchHandler_t-
197, -
198stringdata0-
199) -
200+ 345 - 25 * sizeof(QByteArrayData)) },-
201{ { { -1 } }, 10, 0, 0, qptrdiff(-
202__builtin_offsetof (-
203qt_meta_stringdata_QQuickPinchHandler_t-
204, -
205stringdata0-
206) -
207+ 354 - 26 * sizeof(QByteArrayData)) },-
208{ { { -1 } }, 11, 0, 0, qptrdiff(-
209__builtin_offsetof (-
210qt_meta_stringdata_QQuickPinchHandler_t-
211, -
212stringdata0-
213) -
214+ 365 - 27 * sizeof(QByteArrayData)) },-
215{ { { -1 } }, 12, 0, 0, qptrdiff(-
216__builtin_offsetof (-
217qt_meta_stringdata_QQuickPinchHandler_t-
218, -
219stringdata0-
220) -
221+ 377 - 28 * sizeof(QByteArrayData)) }-
222-
223 },-
224 "QQuickPinchHandler\0minimumScaleChanged\0"-
225 "\0maximumScaleChanged\0minimumRotationChanged\0"-
226 "maximumRotationChanged\0minimumXChanged\0"-
227 "maximumXChanged\0minimumYChanged\0"-
228 "maximumYChanged\0pinchOriginChanged\0"-
229 "updated\0minimumScale\0maximumScale\0"-
230 "minimumRotation\0maximumRotation\0"-
231 "pinchOrigin\0PinchOrigin\0scale\0activeScale\0"-
232 "rotation\0translation\0minimumX\0maximumX\0"-
233 "minimumY\0maximumY\0FirstPoint\0PinchCenter\0"-
234 "TargetCenter"-
235};-
236-
237-
238static const uint qt_meta_data_QQuickPinchHandler[] = {-
239-
240-
241 7,-
242 0,-
243 0, 0,-
244 10, 14,-
245 13, 74,-
246 1, 126,-
247 0, 0,-
248 0,-
249 10,-
250-
251-
252 1, 0, 64, 2, 0x06 ,-
253 3, 0, 65, 2, 0x06 ,-
254 4, 0, 66, 2, 0x06 ,-
255 5, 0, 67, 2, 0x06 ,-
256 6, 0, 68, 2, 0x06 ,-
257 7, 0, 69, 2, 0x06 ,-
258 8, 0, 70, 2, 0x06 ,-
259 9, 0, 71, 2, 0x06 ,-
260 10, 0, 72, 2, 0x06 ,-
261 11, 0, 73, 2, 0x06 ,-
262-
263-
264 QMetaType::Void,-
265 QMetaType::Void,-
266 QMetaType::Void,-
267 QMetaType::Void,-
268 QMetaType::Void,-
269 QMetaType::Void,-
270 QMetaType::Void,-
271 QMetaType::Void,-
272 QMetaType::Void,-
273 QMetaType::Void,-
274-
275-
276 12, QMetaType::QReal, 0x00495103,-
277 13, QMetaType::QReal, 0x00495103,-
278 14, QMetaType::QReal, 0x00495103,-
279 15, QMetaType::QReal, 0x00495103,-
280 16, 0x80000000 | 17, 0x0049510b,-
281 18, QMetaType::QReal, 0x00495001,-
282 19, QMetaType::QReal, 0x00495001,-
283 20, QMetaType::QReal, 0x00495001,-
284 21, QMetaType::QVector2D, 0x00495001,-
285 22, QMetaType::QReal, 0x00495103,-
286 23, QMetaType::QReal, 0x00495103,-
287 24, QMetaType::QReal, 0x00495103,-
288 25, QMetaType::QReal, 0x00495103,-
289-
290-
291 0,-
292 1,-
293 2,-
294 3,-
295 8,-
296 9,-
297 9,-
298 9,-
299 9,-
300 4,-
301 5,-
302 6,-
303 7,-
304-
305-
306 17, 0x0, 3, 130,-
307-
308-
309 26, uint(QQuickPinchHandler::FirstPoint),-
310 27, uint(QQuickPinchHandler::PinchCenter),-
311 28, uint(QQuickPinchHandler::TargetCenter),-
312-
313 0-
314};-
315-
316void QQuickPinchHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
317{-
318 if (_c == QMetaObject::InvokeMetaMethod) {-
319 QQuickPinchHandler *_t = static_cast<QQuickPinchHandler *>(_o);-
320 (void)_t;-
321 switch (_id) {-
322 case 0: _t->minimumScaleChanged(); break;-
323 case 1: _t->maximumScaleChanged(); break;-
324 case 2: _t->minimumRotationChanged(); break;-
325 case 3: _t->maximumRotationChanged(); break;-
326 case 4: _t->minimumXChanged(); break;-
327 case 5: _t->maximumXChanged(); break;-
328 case 6: _t->minimumYChanged(); break;-
329 case 7: _t->maximumYChanged(); break;-
330 case 8: _t->pinchOriginChanged(); break;-
331 case 9: _t->updated(); break;-
332 default: ;-
333 }-
334 } else if (_c == QMetaObject::IndexOfMethod) {-
335 int *result = reinterpret_cast<int *>(_a[0]);-
336 {-
337 using _t = void (QQuickPinchHandler::*)();-
338 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::minimumScaleChanged)) {-
339 *result = 0;-
340 return;-
341 }-
342 }-
343 {-
344 using _t = void (QQuickPinchHandler::*)();-
345 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::maximumScaleChanged)) {-
346 *result = 1;-
347 return;-
348 }-
349 }-
350 {-
351 using _t = void (QQuickPinchHandler::*)();-
352 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::minimumRotationChanged)) {-
353 *result = 2;-
354 return;-
355 }-
356 }-
357 {-
358 using _t = void (QQuickPinchHandler::*)();-
359 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::maximumRotationChanged)) {-
360 *result = 3;-
361 return;-
362 }-
363 }-
364 {-
365 using _t = void (QQuickPinchHandler::*)();-
366 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::minimumXChanged)) {-
367 *result = 4;-
368 return;-
369 }-
370 }-
371 {-
372 using _t = void (QQuickPinchHandler::*)();-
373 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::maximumXChanged)) {-
374 *result = 5;-
375 return;-
376 }-
377 }-
378 {-
379 using _t = void (QQuickPinchHandler::*)();-
380 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::minimumYChanged)) {-
381 *result = 6;-
382 return;-
383 }-
384 }-
385 {-
386 using _t = void (QQuickPinchHandler::*)();-
387 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::maximumYChanged)) {-
388 *result = 7;-
389 return;-
390 }-
391 }-
392 {-
393 using _t = void (QQuickPinchHandler::*)();-
394 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::pinchOriginChanged)) {-
395 *result = 8;-
396 return;-
397 }-
398 }-
399 {-
400 using _t = void (QQuickPinchHandler::*)();-
401 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::updated)) {-
402 *result = 9;-
403 return;-
404 }-
405 }-
406 }-
407-
408 else if (_c == QMetaObject::ReadProperty) {-
409 QQuickPinchHandler *_t = static_cast<QQuickPinchHandler *>(_o);-
410 (void)_t;-
411 void *_v = _a[0];-
412 switch (_id) {-
413 case 0: *reinterpret_cast< qreal*>(_v) = _t->minimumScale(); break;-
414 case 1: *reinterpret_cast< qreal*>(_v) = _t->maximumScale(); break;-
415 case 2: *reinterpret_cast< qreal*>(_v) = _t->minimumRotation(); break;-
416 case 3: *reinterpret_cast< qreal*>(_v) = _t->maximumRotation(); break;-
417 case 4: *reinterpret_cast< PinchOrigin*>(_v) = _t->pinchOrigin(); break;-
418 case 5: *reinterpret_cast< qreal*>(_v) = _t->scale(); break;-
419 case 6: *reinterpret_cast< qreal*>(_v) = _t->activeScale(); break;-
420 case 7: *reinterpret_cast< qreal*>(_v) = _t->rotation(); break;-
421 case 8: *reinterpret_cast< QVector2D*>(_v) = _t->translation(); break;-
422 case 9: *reinterpret_cast< qreal*>(_v) = _t->minimumX(); break;-
423 case 10: *reinterpret_cast< qreal*>(_v) = _t->maximumX(); break;-
424 case 11: *reinterpret_cast< qreal*>(_v) = _t->minimumY(); break;-
425 case 12: *reinterpret_cast< qreal*>(_v) = _t->maximumY(); break;-
426 default: break;-
427 }-
428 } else if (_c == QMetaObject::WriteProperty) {-
429 QQuickPinchHandler *_t = static_cast<QQuickPinchHandler *>(_o);-
430 (void)_t;-
431 void *_v = _a[0];-
432 switch (_id) {-
433 case 0: _t->setMinimumScale(*reinterpret_cast< qreal*>(_v)); break;-
434 case 1: _t->setMaximumScale(*reinterpret_cast< qreal*>(_v)); break;-
435 case 2: _t->setMinimumRotation(*reinterpret_cast< qreal*>(_v)); break;-
436 case 3: _t->setMaximumRotation(*reinterpret_cast< qreal*>(_v)); break;-
437 case 4: _t->setPinchOrigin(*reinterpret_cast< PinchOrigin*>(_v)); break;-
438 case 9: _t->setMinimumX(*reinterpret_cast< qreal*>(_v)); break;-
439 case 10: _t->setMaximumX(*reinterpret_cast< qreal*>(_v)); break;-
440 case 11: _t->setMinimumY(*reinterpret_cast< qreal*>(_v)); break;-
441 case 12: _t->setMaximumY(*reinterpret_cast< qreal*>(_v)); break;-
442 default: break;-
443 }-
444 } else if (_c == QMetaObject::ResetProperty) {-
445 }-
446-
447 (void)_a;;-
448}-
449-
450 const QMetaObject QQuickPinchHandler::staticMetaObject = {-
451 { &QQuickMultiPointHandler::staticMetaObject, qt_meta_stringdata_QQuickPinchHandler.data,-
452 qt_meta_data_QQuickPinchHandler, qt_static_metacall, nullptr, nullptr}-
453};-
454-
455-
456const QMetaObject *QQuickPinchHandler::metaObject() const-
457{-
458 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
459}-
460-
461void *QQuickPinchHandler::qt_metacast(const char *_clname)-
462{-
463 if (!_clname) return nullptr;-
464 if (!strcmp(_clname, qt_meta_stringdata_QQuickPinchHandler.stringdata0))-
465 return static_cast<void*>(this);-
466 return QQuickMultiPointHandler::qt_metacast(_clname);-
467}-
468-
469int QQuickPinchHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
470{-
471 _id = QQuickMultiPointHandler::qt_metacall(_c, _id, _a);-
472 if (_id < 0)-
473 return _id;-
474 if (_c == QMetaObject::InvokeMetaMethod) {-
475 if (_id < 10)-
476 qt_static_metacall(this, _c, _id, _a);-
477 _id -= 10;-
478 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
479 if (_id < 10)-
480 *reinterpret_cast<int*>(_a[0]) = -1;-
481 _id -= 10;-
482 }-
483-
484 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
485 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
486 qt_static_metacall(this, _c, _id, _a);-
487 _id -= 13;-
488 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
489 _id -= 13;-
490 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
491 _id -= 13;-
492 } else if (_c == QMetaObject::QueryPropertyStored) {-
493 _id -= 13;-
494 } else if (_c == QMetaObject::QueryPropertyEditable) {-
495 _id -= 13;-
496 } else if (_c == QMetaObject::QueryPropertyUser) {-
497 _id -= 13;-
498 }-
499-
500 return _id;-
501}-
502-
503-
504void QQuickPinchHandler::minimumScaleChanged()-
505{-
506 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
507}
executed 4 times by 1 test: end of block
Executed by:
  • tst_multipointtoucharea_interop
4
508-
509-
510void QQuickPinchHandler::maximumScaleChanged()-
511{-
512 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
513}
executed 4 times by 1 test: end of block
Executed by:
  • tst_multipointtoucharea_interop
4
514-
515-
516void QQuickPinchHandler::minimumRotationChanged()-
517{-
518 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
519}
never executed: end of block
0
520-
521-
522void QQuickPinchHandler::maximumRotationChanged()-
523{-
524 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
525}
never executed: end of block
0
526-
527-
528void QQuickPinchHandler::minimumXChanged()-
529{-
530 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
531}
never executed: end of block
0
532-
533-
534void QQuickPinchHandler::maximumXChanged()-
535{-
536 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
537}
never executed: end of block
0
538-
539-
540void QQuickPinchHandler::minimumYChanged()-
541{-
542 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
543}
never executed: end of block
0
544-
545-
546void QQuickPinchHandler::maximumYChanged()-
547{-
548 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
549}
never executed: end of block
0
550-
551-
552void QQuickPinchHandler::pinchOriginChanged()-
553{-
554 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
555}
never executed: end of block
0
556-
557-
558void QQuickPinchHandler::updated()-
559{-
560 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);-
561}
executed 29 times by 1 test: end of block
Executed by:
  • tst_multipointtoucharea_interop
29
562-
563#pragma GCC diagnostic pop-
564-
565-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0