OpenCoverage

moc_qquickpincharea_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickpincharea_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickpincharea_p.h'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include "../items/qquickpincharea_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickpincharea_p.h' doesn't include <QObject>."-
14#elif Q_MOC_OUTPUT_REVISION != 67-
15#error "This file was generated using the moc from 5.12.0. It"-
16#error "cannot be used with the include files from this version of Qt."-
17#error "(The moc has changed too much.)"-
18#endif-
19-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QQuickPinch_t {-
24 QByteArrayData data[31];-
25 char stringdata0[380];-
26};-
27#define QT_MOC_LITERAL(idx, ofs, len) \-
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
29 qptrdiff(offsetof(qt_meta_stringdata_QQuickPinch_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickPinch_t qt_meta_stringdata_QQuickPinch = {-
33 {-
34QT_MOC_LITERAL(0, 0, 11), // "QQuickPinch"-
35QT_MOC_LITERAL(1, 12, 13), // "targetChanged"-
36QT_MOC_LITERAL(2, 26, 0), // ""-
37QT_MOC_LITERAL(3, 27, 19), // "minimumScaleChanged"-
38QT_MOC_LITERAL(4, 47, 19), // "maximumScaleChanged"-
39QT_MOC_LITERAL(5, 67, 22), // "minimumRotationChanged"-
40QT_MOC_LITERAL(6, 90, 22), // "maximumRotationChanged"-
41QT_MOC_LITERAL(7, 113, 15), // "dragAxisChanged"-
42QT_MOC_LITERAL(8, 129, 15), // "minimumXChanged"-
43QT_MOC_LITERAL(9, 145, 15), // "maximumXChanged"-
44QT_MOC_LITERAL(10, 161, 15), // "minimumYChanged"-
45QT_MOC_LITERAL(11, 177, 15), // "maximumYChanged"-
46QT_MOC_LITERAL(12, 193, 13), // "activeChanged"-
47QT_MOC_LITERAL(13, 207, 6), // "target"-
48QT_MOC_LITERAL(14, 214, 11), // "QQuickItem*"-
49QT_MOC_LITERAL(15, 226, 12), // "minimumScale"-
50QT_MOC_LITERAL(16, 239, 12), // "maximumScale"-
51QT_MOC_LITERAL(17, 252, 15), // "minimumRotation"-
52QT_MOC_LITERAL(18, 268, 15), // "maximumRotation"-
53QT_MOC_LITERAL(19, 284, 8), // "dragAxis"-
54QT_MOC_LITERAL(20, 293, 4), // "Axis"-
55QT_MOC_LITERAL(21, 298, 8), // "minimumX"-
56QT_MOC_LITERAL(22, 307, 8), // "maximumX"-
57QT_MOC_LITERAL(23, 316, 8), // "minimumY"-
58QT_MOC_LITERAL(24, 325, 8), // "maximumY"-
59QT_MOC_LITERAL(25, 334, 6), // "active"-
60QT_MOC_LITERAL(26, 341, 6), // "NoDrag"-
61QT_MOC_LITERAL(27, 348, 5), // "XAxis"-
62QT_MOC_LITERAL(28, 354, 5), // "YAxis"-
63QT_MOC_LITERAL(29, 360, 9), // "XAndYAxis"-
64QT_MOC_LITERAL(30, 370, 9) // "XandYAxis"-
65-
66 },-
67 "QQuickPinch\0targetChanged\0\0"-
68 "minimumScaleChanged\0maximumScaleChanged\0"-
69 "minimumRotationChanged\0maximumRotationChanged\0"-
70 "dragAxisChanged\0minimumXChanged\0"-
71 "maximumXChanged\0minimumYChanged\0"-
72 "maximumYChanged\0activeChanged\0target\0"-
73 "QQuickItem*\0minimumScale\0maximumScale\0"-
74 "minimumRotation\0maximumRotation\0"-
75 "dragAxis\0Axis\0minimumX\0maximumX\0"-
76 "minimumY\0maximumY\0active\0NoDrag\0XAxis\0"-
77 "YAxis\0XAndYAxis\0XandYAxis"-
78};-
79#undef QT_MOC_LITERAL-
80-
81static const uint qt_meta_data_QQuickPinch[] = {-
82-
83 // content:-
84 7, // revision-
85 0, // classname-
86 0, 0, // classinfo-
87 11, 14, // methods-
88 11, 80, // properties-
89 1, 124, // enums/sets-
90 0, 0, // constructors-
91 0, // flags-
92 11, // signalCount-
93-
94 // signals: name, argc, parameters, tag, flags-
95 1, 0, 69, 2, 0x06 /* Public */,-
96 3, 0, 70, 2, 0x06 /* Public */,-
97 4, 0, 71, 2, 0x06 /* Public */,-
98 5, 0, 72, 2, 0x06 /* Public */,-
99 6, 0, 73, 2, 0x06 /* Public */,-
100 7, 0, 74, 2, 0x06 /* Public */,-
101 8, 0, 75, 2, 0x06 /* Public */,-
102 9, 0, 76, 2, 0x06 /* Public */,-
103 10, 0, 77, 2, 0x06 /* Public */,-
104 11, 0, 78, 2, 0x06 /* Public */,-
105 12, 0, 79, 2, 0x06 /* Public */,-
106-
107 // signals: parameters-
108 QMetaType::Void,-
109 QMetaType::Void,-
110 QMetaType::Void,-
111 QMetaType::Void,-
112 QMetaType::Void,-
113 QMetaType::Void,-
114 QMetaType::Void,-
115 QMetaType::Void,-
116 QMetaType::Void,-
117 QMetaType::Void,-
118 QMetaType::Void,-
119-
120 // properties: name, type, flags-
121 13, 0x80000000 | 14, 0x0009510f,-
122 15, QMetaType::QReal, 0x00495103,-
123 16, QMetaType::QReal, 0x00495103,-
124 17, QMetaType::QReal, 0x00495103,-
125 18, QMetaType::QReal, 0x00495103,-
126 19, 0x80000000 | 20, 0x0049500b,-
127 21, QMetaType::QReal, 0x00495003,-
128 22, QMetaType::QReal, 0x00495003,-
129 23, QMetaType::QReal, 0x00495003,-
130 24, QMetaType::QReal, 0x00495003,-
131 25, QMetaType::Bool, 0x00495001,-
132-
133 // properties: notify_signal_id-
134 0,-
135 1,-
136 2,-
137 3,-
138 4,-
139 5,-
140 6,-
141 7,-
142 8,-
143 9,-
144 10,-
145-
146 // enums: name, flags, count, data-
147 20, 0x0, 5, 128,-
148-
149 // enum data: key, value-
150 26, uint(QQuickPinch::NoDrag),-
151 27, uint(QQuickPinch::XAxis),-
152 28, uint(QQuickPinch::YAxis),-
153 29, uint(QQuickPinch::XAndYAxis),-
154 30, uint(QQuickPinch::XandYAxis),-
155-
156 0 // eod-
157};-
158-
159void QQuickPinch::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
160{-
161 if (_c == QMetaObject::InvokeMetaMethod) {-
162 QQuickPinch *_t = static_cast<QQuickPinch *>(_o);-
163 Q_UNUSED(_t)-
164 switch (_id) {-
165 case 0: _t->targetChanged(); break;-
166 case 1: _t->minimumScaleChanged(); break;-
167 case 2: _t->maximumScaleChanged(); break;-
168 case 3: _t->minimumRotationChanged(); break;-
169 case 4: _t->maximumRotationChanged(); break;-
170 case 5: _t->dragAxisChanged(); break;-
171 case 6: _t->minimumXChanged(); break;-
172 case 7: _t->maximumXChanged(); break;-
173 case 8: _t->minimumYChanged(); break;-
174 case 9: _t->maximumYChanged(); break;-
175 case 10: _t->activeChanged(); break;-
176 default: ;-
177 }-
178 } else if (_c == QMetaObject::IndexOfMethod) {-
179 int *result = reinterpret_cast<int *>(_a[0]);-
180 {-
181 using _t = void (QQuickPinch::*)();-
182 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::targetChanged)) {-
183 *result = 0;-
184 return;-
185 }-
186 }-
187 {-
188 using _t = void (QQuickPinch::*)();-
189 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::minimumScaleChanged)) {-
190 *result = 1;-
191 return;-
192 }-
193 }-
194 {-
195 using _t = void (QQuickPinch::*)();-
196 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::maximumScaleChanged)) {-
197 *result = 2;-
198 return;-
199 }-
200 }-
201 {-
202 using _t = void (QQuickPinch::*)();-
203 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::minimumRotationChanged)) {-
204 *result = 3;-
205 return;-
206 }-
207 }-
208 {-
209 using _t = void (QQuickPinch::*)();-
210 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::maximumRotationChanged)) {-
211 *result = 4;-
212 return;-
213 }-
214 }-
215 {-
216 using _t = void (QQuickPinch::*)();-
217 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::dragAxisChanged)) {-
218 *result = 5;-
219 return;-
220 }-
221 }-
222 {-
223 using _t = void (QQuickPinch::*)();-
224 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::minimumXChanged)) {-
225 *result = 6;-
226 return;-
227 }-
228 }-
229 {-
230 using _t = void (QQuickPinch::*)();-
231 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::maximumXChanged)) {-
232 *result = 7;-
233 return;-
234 }-
235 }-
236 {-
237 using _t = void (QQuickPinch::*)();-
238 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::minimumYChanged)) {-
239 *result = 8;-
240 return;-
241 }-
242 }-
243 {-
244 using _t = void (QQuickPinch::*)();-
245 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::maximumYChanged)) {-
246 *result = 9;-
247 return;-
248 }-
249 }-
250 {-
251 using _t = void (QQuickPinch::*)();-
252 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::activeChanged)) {-
253 *result = 10;-
254 return;-
255 }-
256 }-
257 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
258 switch (_id) {-
259 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
260 case 0:-
261 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;-
262 }-
263 }-
264-
265#ifndef QT_NO_PROPERTIES-
266 else if (_c == QMetaObject::ReadProperty) {-
267 QQuickPinch *_t = static_cast<QQuickPinch *>(_o);-
268 Q_UNUSED(_t)-
269 void *_v = _a[0];-
270 switch (_id) {-
271 case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->target(); break;-
272 case 1: *reinterpret_cast< qreal*>(_v) = _t->minimumScale(); break;-
273 case 2: *reinterpret_cast< qreal*>(_v) = _t->maximumScale(); break;-
274 case 3: *reinterpret_cast< qreal*>(_v) = _t->minimumRotation(); break;-
275 case 4: *reinterpret_cast< qreal*>(_v) = _t->maximumRotation(); break;-
276 case 5: *reinterpret_cast< Axis*>(_v) = _t->axis(); break;-
277 case 6: *reinterpret_cast< qreal*>(_v) = _t->xmin(); break;-
278 case 7: *reinterpret_cast< qreal*>(_v) = _t->xmax(); break;-
279 case 8: *reinterpret_cast< qreal*>(_v) = _t->ymin(); break;-
280 case 9: *reinterpret_cast< qreal*>(_v) = _t->ymax(); break;-
281 case 10: *reinterpret_cast< bool*>(_v) = _t->active(); break;-
282 default: break;-
283 }-
284 } else if (_c == QMetaObject::WriteProperty) {-
285 QQuickPinch *_t = static_cast<QQuickPinch *>(_o);-
286 Q_UNUSED(_t)-
287 void *_v = _a[0];-
288 switch (_id) {-
289 case 0: _t->setTarget(*reinterpret_cast< QQuickItem**>(_v)); break;-
290 case 1: _t->setMinimumScale(*reinterpret_cast< qreal*>(_v)); break;-
291 case 2: _t->setMaximumScale(*reinterpret_cast< qreal*>(_v)); break;-
292 case 3: _t->setMinimumRotation(*reinterpret_cast< qreal*>(_v)); break;-
293 case 4: _t->setMaximumRotation(*reinterpret_cast< qreal*>(_v)); break;-
294 case 5: _t->setAxis(*reinterpret_cast< Axis*>(_v)); break;-
295 case 6: _t->setXmin(*reinterpret_cast< qreal*>(_v)); break;-
296 case 7: _t->setXmax(*reinterpret_cast< qreal*>(_v)); break;-
297 case 8: _t->setYmin(*reinterpret_cast< qreal*>(_v)); break;-
298 case 9: _t->setYmax(*reinterpret_cast< qreal*>(_v)); break;-
299 default: break;-
300 }-
301 } else if (_c == QMetaObject::ResetProperty) {-
302 QQuickPinch *_t = static_cast<QQuickPinch *>(_o);-
303 Q_UNUSED(_t)-
304 switch (_id) {-
305 case 0: _t->resetTarget(); break;-
306 default: break;-
307 }-
308 }-
309#endif // QT_NO_PROPERTIES-
310}-
311-
312QT_INIT_METAOBJECT const QMetaObject QQuickPinch::staticMetaObject = {-
313 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPinch.data,-
314 qt_meta_data_QQuickPinch, qt_static_metacall, nullptr, nullptr}-
315};-
316-
317-
318const QMetaObject *QQuickPinch::metaObject() const-
319{-
320 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
321}-
322-
323void *QQuickPinch::qt_metacast(const char *_clname)-
324{-
325 if (!_clname) return nullptr;-
326 if (!strcmp(_clname, qt_meta_stringdata_QQuickPinch.stringdata0))-
327 return static_cast<void*>(this);-
328 return QObject::qt_metacast(_clname);-
329}-
330-
331int QQuickPinch::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
332{-
333 _id = QObject::qt_metacall(_c, _id, _a);-
334 if (_id < 0)-
335 return _id;-
336 if (_c == QMetaObject::InvokeMetaMethod) {-
337 if (_id < 11)-
338 qt_static_metacall(this, _c, _id, _a);-
339 _id -= 11;-
340 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
341 if (_id < 11)-
342 *reinterpret_cast<int*>(_a[0]) = -1;-
343 _id -= 11;-
344 }-
345#ifndef QT_NO_PROPERTIES-
346 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
347 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
348 qt_static_metacall(this, _c, _id, _a);-
349 _id -= 11;-
350 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
351 _id -= 11;-
352 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
353 _id -= 11;-
354 } else if (_c == QMetaObject::QueryPropertyStored) {-
355 _id -= 11;-
356 } else if (_c == QMetaObject::QueryPropertyEditable) {-
357 _id -= 11;-
358 } else if (_c == QMetaObject::QueryPropertyUser) {-
359 _id -= 11;-
360 }-
361#endif // QT_NO_PROPERTIES-
362 return _id;-
363}-
364-
365// SIGNAL 0-
366void QQuickPinch::targetChanged()-
367{-
368 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
369}
executed 32 times by 2 tests: end of block
Executed by:
  • tst_qquickpincharea
  • tst_touchmouse
32
370-
371// SIGNAL 1-
372void QQuickPinch::minimumScaleChanged()-
373{-
374 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
375}
executed 4 times by 2 tests: end of block
Executed by:
  • tst_qquickpincharea
  • tst_touchmouse
4
376-
377// SIGNAL 2-
378void QQuickPinch::maximumScaleChanged()-
379{-
380 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
381}
executed 20 times by 2 tests: end of block
Executed by:
  • tst_qquickpincharea
  • tst_touchmouse
20
382-
383// SIGNAL 3-
384void QQuickPinch::minimumRotationChanged()-
385{-
386 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
387}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
2
388-
389// SIGNAL 4-
390void QQuickPinch::maximumRotationChanged()-
391{-
392 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
393}
executed 12 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
12
394-
395// SIGNAL 5-
396void QQuickPinch::dragAxisChanged()-
397{-
398 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
399}
executed 24 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
24
400-
401// SIGNAL 6-
402void QQuickPinch::minimumXChanged()-
403{-
404 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
405}
executed 12 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
12
406-
407// SIGNAL 7-
408void QQuickPinch::maximumXChanged()-
409{-
410 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
411}
executed 12 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
12
412-
413// SIGNAL 8-
414void QQuickPinch::minimumYChanged()-
415{-
416 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
417}
executed 12 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
12
418-
419// SIGNAL 9-
420void QQuickPinch::maximumYChanged()-
421{-
422 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);-
423}
executed 12 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
12
424-
425// SIGNAL 10-
426void QQuickPinch::activeChanged()-
427{-
428 QMetaObject::activate(this, &staticMetaObject, 10, nullptr);-
429}
executed 28 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
28
430struct qt_meta_stringdata_QQuickPinchEvent_t {-
431 QByteArrayData data[15];-
432 char stringdata0[158];-
433};-
434#define QT_MOC_LITERAL(idx, ofs, len) \-
435 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
436 qptrdiff(offsetof(qt_meta_stringdata_QQuickPinchEvent_t, stringdata0) + ofs \-
437 - idx * sizeof(QByteArrayData)) \-
438 )-
439static const qt_meta_stringdata_QQuickPinchEvent_t qt_meta_stringdata_QQuickPinchEvent = {-
440 {-
441QT_MOC_LITERAL(0, 0, 16), // "QQuickPinchEvent"-
442QT_MOC_LITERAL(1, 17, 6), // "center"-
443QT_MOC_LITERAL(2, 24, 11), // "startCenter"-
444QT_MOC_LITERAL(3, 36, 14), // "previousCenter"-
445QT_MOC_LITERAL(4, 51, 5), // "scale"-
446QT_MOC_LITERAL(5, 57, 13), // "previousScale"-
447QT_MOC_LITERAL(6, 71, 5), // "angle"-
448QT_MOC_LITERAL(7, 77, 13), // "previousAngle"-
449QT_MOC_LITERAL(8, 91, 8), // "rotation"-
450QT_MOC_LITERAL(9, 100, 6), // "point1"-
451QT_MOC_LITERAL(10, 107, 11), // "startPoint1"-
452QT_MOC_LITERAL(11, 119, 6), // "point2"-
453QT_MOC_LITERAL(12, 126, 11), // "startPoint2"-
454QT_MOC_LITERAL(13, 138, 10), // "pointCount"-
455QT_MOC_LITERAL(14, 149, 8) // "accepted"-
456-
457 },-
458 "QQuickPinchEvent\0center\0startCenter\0"-
459 "previousCenter\0scale\0previousScale\0"-
460 "angle\0previousAngle\0rotation\0point1\0"-
461 "startPoint1\0point2\0startPoint2\0"-
462 "pointCount\0accepted"-
463};-
464#undef QT_MOC_LITERAL-
465-
466static const uint qt_meta_data_QQuickPinchEvent[] = {-
467-
468 // content:-
469 7, // revision-
470 0, // classname-
471 0, 0, // classinfo-
472 0, 0, // methods-
473 14, 14, // properties-
474 0, 0, // enums/sets-
475 0, 0, // constructors-
476 0, // flags-
477 0, // signalCount-
478-
479 // properties: name, type, flags-
480 1, QMetaType::QPointF, 0x00095001,-
481 2, QMetaType::QPointF, 0x00095001,-
482 3, QMetaType::QPointF, 0x00095001,-
483 4, QMetaType::QReal, 0x00095001,-
484 5, QMetaType::QReal, 0x00095001,-
485 6, QMetaType::QReal, 0x00095001,-
486 7, QMetaType::QReal, 0x00095001,-
487 8, QMetaType::QReal, 0x00095001,-
488 9, QMetaType::QPointF, 0x00095001,-
489 10, QMetaType::QPointF, 0x00095001,-
490 11, QMetaType::QPointF, 0x00095001,-
491 12, QMetaType::QPointF, 0x00095001,-
492 13, QMetaType::Int, 0x00095001,-
493 14, QMetaType::Bool, 0x00095103,-
494-
495 0 // eod-
496};-
497-
498void QQuickPinchEvent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
499{-
500-
501#ifndef QT_NO_PROPERTIES-
502 if (_c == QMetaObject::ReadProperty) {-
503 QQuickPinchEvent *_t = static_cast<QQuickPinchEvent *>(_o);-
504 Q_UNUSED(_t)-
505 void *_v = _a[0];-
506 switch (_id) {-
507 case 0: *reinterpret_cast< QPointF*>(_v) = _t->center(); break;-
508 case 1: *reinterpret_cast< QPointF*>(_v) = _t->startCenter(); break;-
509 case 2: *reinterpret_cast< QPointF*>(_v) = _t->previousCenter(); break;-
510 case 3: *reinterpret_cast< qreal*>(_v) = _t->scale(); break;-
511 case 4: *reinterpret_cast< qreal*>(_v) = _t->previousScale(); break;-
512 case 5: *reinterpret_cast< qreal*>(_v) = _t->angle(); break;-
513 case 6: *reinterpret_cast< qreal*>(_v) = _t->previousAngle(); break;-
514 case 7: *reinterpret_cast< qreal*>(_v) = _t->rotation(); break;-
515 case 8: *reinterpret_cast< QPointF*>(_v) = _t->point1(); break;-
516 case 9: *reinterpret_cast< QPointF*>(_v) = _t->startPoint1(); break;-
517 case 10: *reinterpret_cast< QPointF*>(_v) = _t->point2(); break;-
518 case 11: *reinterpret_cast< QPointF*>(_v) = _t->startPoint2(); break;-
519 case 12: *reinterpret_cast< int*>(_v) = _t->pointCount(); break;-
520 case 13: *reinterpret_cast< bool*>(_v) = _t->accepted(); break;-
521 default: break;-
522 }-
523 } else if (_c == QMetaObject::WriteProperty) {-
524 QQuickPinchEvent *_t = static_cast<QQuickPinchEvent *>(_o);-
525 Q_UNUSED(_t)-
526 void *_v = _a[0];-
527 switch (_id) {-
528 case 13: _t->setAccepted(*reinterpret_cast< bool*>(_v)); break;-
529 default: break;-
530 }-
531 } else if (_c == QMetaObject::ResetProperty) {-
532 }-
533#endif // QT_NO_PROPERTIES-
534 Q_UNUSED(_o);-
535 Q_UNUSED(_id);-
536 Q_UNUSED(_c);-
537 Q_UNUSED(_a);-
538}-
539-
540QT_INIT_METAOBJECT const QMetaObject QQuickPinchEvent::staticMetaObject = {-
541 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPinchEvent.data,-
542 qt_meta_data_QQuickPinchEvent, qt_static_metacall, nullptr, nullptr}-
543};-
544-
545-
546const QMetaObject *QQuickPinchEvent::metaObject() const-
547{-
548 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
549}-
550-
551void *QQuickPinchEvent::qt_metacast(const char *_clname)-
552{-
553 if (!_clname) return nullptr;-
554 if (!strcmp(_clname, qt_meta_stringdata_QQuickPinchEvent.stringdata0))-
555 return static_cast<void*>(this);-
556 return QObject::qt_metacast(_clname);-
557}-
558-
559int QQuickPinchEvent::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
560{-
561 _id = QObject::qt_metacall(_c, _id, _a);-
562 if (_id < 0)-
563 return _id;-
564 -
565#ifndef QT_NO_PROPERTIES-
566 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
567 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
568 qt_static_metacall(this, _c, _id, _a);-
569 _id -= 14;-
570 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
571 _id -= 14;-
572 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
573 _id -= 14;-
574 } else if (_c == QMetaObject::QueryPropertyStored) {-
575 _id -= 14;-
576 } else if (_c == QMetaObject::QueryPropertyEditable) {-
577 _id -= 14;-
578 } else if (_c == QMetaObject::QueryPropertyUser) {-
579 _id -= 14;-
580 }-
581#endif // QT_NO_PROPERTIES-
582 return _id;-
583}-
584struct qt_meta_stringdata_QQuickPinchArea_t {-
585 QByteArrayData data[11];-
586 char stringdata0[127];-
587};-
588#define QT_MOC_LITERAL(idx, ofs, len) \-
589 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
590 qptrdiff(offsetof(qt_meta_stringdata_QQuickPinchArea_t, stringdata0) + ofs \-
591 - idx * sizeof(QByteArrayData)) \-
592 )-
593static const qt_meta_stringdata_QQuickPinchArea_t qt_meta_stringdata_QQuickPinchArea = {-
594 {-
595QT_MOC_LITERAL(0, 0, 15), // "QQuickPinchArea"-
596QT_MOC_LITERAL(1, 16, 14), // "enabledChanged"-
597QT_MOC_LITERAL(2, 31, 0), // ""-
598QT_MOC_LITERAL(3, 32, 12), // "pinchStarted"-
599QT_MOC_LITERAL(4, 45, 17), // "QQuickPinchEvent*"-
600QT_MOC_LITERAL(5, 63, 5), // "pinch"-
601QT_MOC_LITERAL(6, 69, 12), // "pinchUpdated"-
602QT_MOC_LITERAL(7, 82, 13), // "pinchFinished"-
603QT_MOC_LITERAL(8, 96, 9), // "smartZoom"-
604QT_MOC_LITERAL(9, 106, 7), // "enabled"-
605QT_MOC_LITERAL(10, 114, 12) // "QQuickPinch*"-
606-
607 },-
608 "QQuickPinchArea\0enabledChanged\0\0"-
609 "pinchStarted\0QQuickPinchEvent*\0pinch\0"-
610 "pinchUpdated\0pinchFinished\0smartZoom\0"-
611 "enabled\0QQuickPinch*"-
612};-
613#undef QT_MOC_LITERAL-
614-
615static const uint qt_meta_data_QQuickPinchArea[] = {-
616-
617 // content:-
618 7, // revision-
619 0, // classname-
620 0, 0, // classinfo-
621 5, 14, // methods-
622 2, 57, // properties-
623 0, 0, // enums/sets-
624 0, 0, // constructors-
625 0, // flags-
626 5, // signalCount-
627-
628 // signals: name, argc, parameters, tag, flags-
629 1, 0, 44, 2, 0x06 /* Public */,-
630 3, 1, 45, 2, 0x06 /* Public */,-
631 6, 1, 48, 2, 0x06 /* Public */,-
632 7, 1, 51, 2, 0x06 /* Public */,-
633 8, 1, 54, 2, 0x86 /* Public | MethodRevisioned */,-
634-
635 // signals: revision-
636 0,-
637 0,-
638 0,-
639 0,-
640 1,-
641-
642 // signals: parameters-
643 QMetaType::Void,-
644 QMetaType::Void, 0x80000000 | 4, 5,-
645 QMetaType::Void, 0x80000000 | 4, 5,-
646 QMetaType::Void, 0x80000000 | 4, 5,-
647 QMetaType::Void, 0x80000000 | 4, 5,-
648-
649 // properties: name, type, flags-
650 9, QMetaType::Bool, 0x00495103,-
651 5, 0x80000000 | 10, 0x00095409,-
652-
653 // properties: notify_signal_id-
654 0,-
655 0,-
656-
657 0 // eod-
658};-
659-
660void QQuickPinchArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
661{-
662 if (_c == QMetaObject::InvokeMetaMethod) {-
663 QQuickPinchArea *_t = static_cast<QQuickPinchArea *>(_o);-
664 Q_UNUSED(_t)-
665 switch (_id) {-
666 case 0: _t->enabledChanged(); break;-
667 case 1: _t->pinchStarted((*reinterpret_cast< QQuickPinchEvent*(*)>(_a[1]))); break;-
668 case 2: _t->pinchUpdated((*reinterpret_cast< QQuickPinchEvent*(*)>(_a[1]))); break;-
669 case 3: _t->pinchFinished((*reinterpret_cast< QQuickPinchEvent*(*)>(_a[1]))); break;-
670 case 4: _t->smartZoom((*reinterpret_cast< QQuickPinchEvent*(*)>(_a[1]))); break;-
671 default: ;-
672 }-
673 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
674 switch (_id) {-
675 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
676 case 1:-
677 switch (*reinterpret_cast<int*>(_a[1])) {-
678 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
679 case 0:-
680 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPinchEvent* >(); break;-
681 }-
682 break;-
683 case 2:-
684 switch (*reinterpret_cast<int*>(_a[1])) {-
685 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
686 case 0:-
687 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPinchEvent* >(); break;-
688 }-
689 break;-
690 case 3:-
691 switch (*reinterpret_cast<int*>(_a[1])) {-
692 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
693 case 0:-
694 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPinchEvent* >(); break;-
695 }-
696 break;-
697 case 4:-
698 switch (*reinterpret_cast<int*>(_a[1])) {-
699 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
700 case 0:-
701 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPinchEvent* >(); break;-
702 }-
703 break;-
704 }-
705 } else if (_c == QMetaObject::IndexOfMethod) {-
706 int *result = reinterpret_cast<int *>(_a[0]);-
707 {-
708 using _t = void (QQuickPinchArea::*)();-
709 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchArea::enabledChanged)) {-
710 *result = 0;-
711 return;-
712 }-
713 }-
714 {-
715 using _t = void (QQuickPinchArea::*)(QQuickPinchEvent * );-
716 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchArea::pinchStarted)) {-
717 *result = 1;-
718 return;-
719 }-
720 }-
721 {-
722 using _t = void (QQuickPinchArea::*)(QQuickPinchEvent * );-
723 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchArea::pinchUpdated)) {-
724 *result = 2;-
725 return;-
726 }-
727 }-
728 {-
729 using _t = void (QQuickPinchArea::*)(QQuickPinchEvent * );-
730 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchArea::pinchFinished)) {-
731 *result = 3;-
732 return;-
733 }-
734 }-
735 {-
736 using _t = void (QQuickPinchArea::*)(QQuickPinchEvent * );-
737 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchArea::smartZoom)) {-
738 *result = 4;-
739 return;-
740 }-
741 }-
742 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
743 switch (_id) {-
744 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
745 case 1:-
746 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPinch* >(); break;-
747 }-
748 }-
749-
750#ifndef QT_NO_PROPERTIES-
751 else if (_c == QMetaObject::ReadProperty) {-
752 QQuickPinchArea *_t = static_cast<QQuickPinchArea *>(_o);-
753 Q_UNUSED(_t)-
754 void *_v = _a[0];-
755 switch (_id) {-
756 case 0: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break;-
757 case 1: *reinterpret_cast< QQuickPinch**>(_v) = _t->pinch(); break;-
758 default: break;-
759 }-
760 } else if (_c == QMetaObject::WriteProperty) {-
761 QQuickPinchArea *_t = static_cast<QQuickPinchArea *>(_o);-
762 Q_UNUSED(_t)-
763 void *_v = _a[0];-
764 switch (_id) {-
765 case 0: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;-
766 default: break;-
767 }-
768 } else if (_c == QMetaObject::ResetProperty) {-
769 }-
770#endif // QT_NO_PROPERTIES-
771}-
772-
773QT_INIT_METAOBJECT const QMetaObject QQuickPinchArea::staticMetaObject = {-
774 { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickPinchArea.data,-
775 qt_meta_data_QQuickPinchArea, qt_static_metacall, nullptr, nullptr}-
776};-
777-
778-
779const QMetaObject *QQuickPinchArea::metaObject() const-
780{-
781 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
782}-
783-
784void *QQuickPinchArea::qt_metacast(const char *_clname)-
785{-
786 if (!_clname) return nullptr;-
787 if (!strcmp(_clname, qt_meta_stringdata_QQuickPinchArea.stringdata0))-
788 return static_cast<void*>(this);-
789 return QQuickItem::qt_metacast(_clname);-
790}-
791-
792int QQuickPinchArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
793{-
794 _id = QQuickItem::qt_metacall(_c, _id, _a);-
795 if (_id < 0)-
796 return _id;-
797 if (_c == QMetaObject::InvokeMetaMethod) {-
798 if (_id < 5)-
799 qt_static_metacall(this, _c, _id, _a);-
800 _id -= 5;-
801 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
802 if (_id < 5)-
803 qt_static_metacall(this, _c, _id, _a);-
804 _id -= 5;-
805 }-
806#ifndef QT_NO_PROPERTIES-
807 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
808 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
809 qt_static_metacall(this, _c, _id, _a);-
810 _id -= 2;-
811 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
812 _id -= 2;-
813 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
814 _id -= 2;-
815 } else if (_c == QMetaObject::QueryPropertyStored) {-
816 _id -= 2;-
817 } else if (_c == QMetaObject::QueryPropertyEditable) {-
818 _id -= 2;-
819 } else if (_c == QMetaObject::QueryPropertyUser) {-
820 _id -= 2;-
821 }-
822#endif // QT_NO_PROPERTIES-
823 return _id;-
824}-
825-
826// SIGNAL 0-
827void QQuickPinchArea::enabledChanged()-
828{-
829 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
830}
never executed: end of block
0
831-
832// SIGNAL 1-
833void QQuickPinchArea::pinchStarted(QQuickPinchEvent * _t1)-
834{-
835 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
836 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
837}
executed 16 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
16
838-
839// SIGNAL 2-
840void QQuickPinchArea::pinchUpdated(QQuickPinchEvent * _t1)-
841{-
842 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
843 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
844}
executed 20 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
20
845-
846// SIGNAL 3-
847void QQuickPinchArea::pinchFinished(QQuickPinchEvent * _t1)-
848{-
849 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
850 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
851}
executed 14 times by 1 test: end of block
Executed by:
  • tst_qquickpincharea
14
852-
853// SIGNAL 4-
854void QQuickPinchArea::smartZoom(QQuickPinchEvent * _t1)-
855{-
856 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
857 QMetaObject::activate(this, &staticMetaObject, 4, _a);-
858}
never executed: end of block
0
859QT_WARNING_POP-
860QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0