OpenCoverage

moc_qquickpinchhandler_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickpinchhandler_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickpinchhandler_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 "../handlers/qquickpinchhandler_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickpinchhandler_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_QQuickPinchHandler_t {-
24 QByteArrayData data[29];-
25 char stringdata0[390];-
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_QQuickPinchHandler_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickPinchHandler_t qt_meta_stringdata_QQuickPinchHandler = {-
33 {-
34QT_MOC_LITERAL(0, 0, 18), // "QQuickPinchHandler"-
35QT_MOC_LITERAL(1, 19, 19), // "minimumScaleChanged"-
36QT_MOC_LITERAL(2, 39, 0), // ""-
37QT_MOC_LITERAL(3, 40, 19), // "maximumScaleChanged"-
38QT_MOC_LITERAL(4, 60, 22), // "minimumRotationChanged"-
39QT_MOC_LITERAL(5, 83, 22), // "maximumRotationChanged"-
40QT_MOC_LITERAL(6, 106, 15), // "minimumXChanged"-
41QT_MOC_LITERAL(7, 122, 15), // "maximumXChanged"-
42QT_MOC_LITERAL(8, 138, 15), // "minimumYChanged"-
43QT_MOC_LITERAL(9, 154, 15), // "maximumYChanged"-
44QT_MOC_LITERAL(10, 170, 18), // "pinchOriginChanged"-
45QT_MOC_LITERAL(11, 189, 7), // "updated"-
46QT_MOC_LITERAL(12, 197, 12), // "minimumScale"-
47QT_MOC_LITERAL(13, 210, 12), // "maximumScale"-
48QT_MOC_LITERAL(14, 223, 15), // "minimumRotation"-
49QT_MOC_LITERAL(15, 239, 15), // "maximumRotation"-
50QT_MOC_LITERAL(16, 255, 11), // "pinchOrigin"-
51QT_MOC_LITERAL(17, 267, 11), // "PinchOrigin"-
52QT_MOC_LITERAL(18, 279, 5), // "scale"-
53QT_MOC_LITERAL(19, 285, 11), // "activeScale"-
54QT_MOC_LITERAL(20, 297, 8), // "rotation"-
55QT_MOC_LITERAL(21, 306, 11), // "translation"-
56QT_MOC_LITERAL(22, 318, 8), // "minimumX"-
57QT_MOC_LITERAL(23, 327, 8), // "maximumX"-
58QT_MOC_LITERAL(24, 336, 8), // "minimumY"-
59QT_MOC_LITERAL(25, 345, 8), // "maximumY"-
60QT_MOC_LITERAL(26, 354, 10), // "FirstPoint"-
61QT_MOC_LITERAL(27, 365, 11), // "PinchCenter"-
62QT_MOC_LITERAL(28, 377, 12) // "TargetCenter"-
63-
64 },-
65 "QQuickPinchHandler\0minimumScaleChanged\0"-
66 "\0maximumScaleChanged\0minimumRotationChanged\0"-
67 "maximumRotationChanged\0minimumXChanged\0"-
68 "maximumXChanged\0minimumYChanged\0"-
69 "maximumYChanged\0pinchOriginChanged\0"-
70 "updated\0minimumScale\0maximumScale\0"-
71 "minimumRotation\0maximumRotation\0"-
72 "pinchOrigin\0PinchOrigin\0scale\0activeScale\0"-
73 "rotation\0translation\0minimumX\0maximumX\0"-
74 "minimumY\0maximumY\0FirstPoint\0PinchCenter\0"-
75 "TargetCenter"-
76};-
77#undef QT_MOC_LITERAL-
78-
79static const uint qt_meta_data_QQuickPinchHandler[] = {-
80-
81 // content:-
82 7, // revision-
83 0, // classname-
84 0, 0, // classinfo-
85 10, 14, // methods-
86 13, 74, // properties-
87 1, 126, // enums/sets-
88 0, 0, // constructors-
89 0, // flags-
90 10, // signalCount-
91-
92 // signals: name, argc, parameters, tag, flags-
93 1, 0, 64, 2, 0x06 /* Public */,-
94 3, 0, 65, 2, 0x06 /* Public */,-
95 4, 0, 66, 2, 0x06 /* Public */,-
96 5, 0, 67, 2, 0x06 /* Public */,-
97 6, 0, 68, 2, 0x06 /* Public */,-
98 7, 0, 69, 2, 0x06 /* Public */,-
99 8, 0, 70, 2, 0x06 /* Public */,-
100 9, 0, 71, 2, 0x06 /* Public */,-
101 10, 0, 72, 2, 0x06 /* Public */,-
102 11, 0, 73, 2, 0x06 /* Public */,-
103-
104 // signals: parameters-
105 QMetaType::Void,-
106 QMetaType::Void,-
107 QMetaType::Void,-
108 QMetaType::Void,-
109 QMetaType::Void,-
110 QMetaType::Void,-
111 QMetaType::Void,-
112 QMetaType::Void,-
113 QMetaType::Void,-
114 QMetaType::Void,-
115-
116 // properties: name, type, flags-
117 12, QMetaType::QReal, 0x00495103,-
118 13, QMetaType::QReal, 0x00495103,-
119 14, QMetaType::QReal, 0x00495103,-
120 15, QMetaType::QReal, 0x00495103,-
121 16, 0x80000000 | 17, 0x0049510b,-
122 18, QMetaType::QReal, 0x00495001,-
123 19, QMetaType::QReal, 0x00495001,-
124 20, QMetaType::QReal, 0x00495001,-
125 21, QMetaType::QVector2D, 0x00495001,-
126 22, QMetaType::QReal, 0x00495103,-
127 23, QMetaType::QReal, 0x00495103,-
128 24, QMetaType::QReal, 0x00495103,-
129 25, QMetaType::QReal, 0x00495103,-
130-
131 // properties: notify_signal_id-
132 0,-
133 1,-
134 2,-
135 3,-
136 8,-
137 9,-
138 9,-
139 9,-
140 9,-
141 4,-
142 5,-
143 6,-
144 7,-
145-
146 // enums: name, flags, count, data-
147 17, 0x0, 3, 130,-
148-
149 // enum data: key, value-
150 26, uint(QQuickPinchHandler::FirstPoint),-
151 27, uint(QQuickPinchHandler::PinchCenter),-
152 28, uint(QQuickPinchHandler::TargetCenter),-
153-
154 0 // eod-
155};-
156-
157void QQuickPinchHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
158{-
159 if (_c == QMetaObject::InvokeMetaMethod) {-
160 QQuickPinchHandler *_t = static_cast<QQuickPinchHandler *>(_o);-
161 Q_UNUSED(_t)-
162 switch (_id) {-
163 case 0: _t->minimumScaleChanged(); break;-
164 case 1: _t->maximumScaleChanged(); break;-
165 case 2: _t->minimumRotationChanged(); break;-
166 case 3: _t->maximumRotationChanged(); break;-
167 case 4: _t->minimumXChanged(); break;-
168 case 5: _t->maximumXChanged(); break;-
169 case 6: _t->minimumYChanged(); break;-
170 case 7: _t->maximumYChanged(); break;-
171 case 8: _t->pinchOriginChanged(); break;-
172 case 9: _t->updated(); break;-
173 default: ;-
174 }-
175 } else if (_c == QMetaObject::IndexOfMethod) {-
176 int *result = reinterpret_cast<int *>(_a[0]);-
177 {-
178 using _t = void (QQuickPinchHandler::*)();-
179 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::minimumScaleChanged)) {-
180 *result = 0;-
181 return;-
182 }-
183 }-
184 {-
185 using _t = void (QQuickPinchHandler::*)();-
186 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::maximumScaleChanged)) {-
187 *result = 1;-
188 return;-
189 }-
190 }-
191 {-
192 using _t = void (QQuickPinchHandler::*)();-
193 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::minimumRotationChanged)) {-
194 *result = 2;-
195 return;-
196 }-
197 }-
198 {-
199 using _t = void (QQuickPinchHandler::*)();-
200 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::maximumRotationChanged)) {-
201 *result = 3;-
202 return;-
203 }-
204 }-
205 {-
206 using _t = void (QQuickPinchHandler::*)();-
207 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::minimumXChanged)) {-
208 *result = 4;-
209 return;-
210 }-
211 }-
212 {-
213 using _t = void (QQuickPinchHandler::*)();-
214 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::maximumXChanged)) {-
215 *result = 5;-
216 return;-
217 }-
218 }-
219 {-
220 using _t = void (QQuickPinchHandler::*)();-
221 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::minimumYChanged)) {-
222 *result = 6;-
223 return;-
224 }-
225 }-
226 {-
227 using _t = void (QQuickPinchHandler::*)();-
228 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::maximumYChanged)) {-
229 *result = 7;-
230 return;-
231 }-
232 }-
233 {-
234 using _t = void (QQuickPinchHandler::*)();-
235 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::pinchOriginChanged)) {-
236 *result = 8;-
237 return;-
238 }-
239 }-
240 {-
241 using _t = void (QQuickPinchHandler::*)();-
242 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchHandler::updated)) {-
243 *result = 9;-
244 return;-
245 }-
246 }-
247 }-
248#ifndef QT_NO_PROPERTIES-
249 else if (_c == QMetaObject::ReadProperty) {-
250 QQuickPinchHandler *_t = static_cast<QQuickPinchHandler *>(_o);-
251 Q_UNUSED(_t)-
252 void *_v = _a[0];-
253 switch (_id) {-
254 case 0: *reinterpret_cast< qreal*>(_v) = _t->minimumScale(); break;-
255 case 1: *reinterpret_cast< qreal*>(_v) = _t->maximumScale(); break;-
256 case 2: *reinterpret_cast< qreal*>(_v) = _t->minimumRotation(); break;-
257 case 3: *reinterpret_cast< qreal*>(_v) = _t->maximumRotation(); break;-
258 case 4: *reinterpret_cast< PinchOrigin*>(_v) = _t->pinchOrigin(); break;-
259 case 5: *reinterpret_cast< qreal*>(_v) = _t->scale(); break;-
260 case 6: *reinterpret_cast< qreal*>(_v) = _t->activeScale(); break;-
261 case 7: *reinterpret_cast< qreal*>(_v) = _t->rotation(); break;-
262 case 8: *reinterpret_cast< QVector2D*>(_v) = _t->translation(); break;-
263 case 9: *reinterpret_cast< qreal*>(_v) = _t->minimumX(); break;-
264 case 10: *reinterpret_cast< qreal*>(_v) = _t->maximumX(); break;-
265 case 11: *reinterpret_cast< qreal*>(_v) = _t->minimumY(); break;-
266 case 12: *reinterpret_cast< qreal*>(_v) = _t->maximumY(); break;-
267 default: break;-
268 }-
269 } else if (_c == QMetaObject::WriteProperty) {-
270 QQuickPinchHandler *_t = static_cast<QQuickPinchHandler *>(_o);-
271 Q_UNUSED(_t)-
272 void *_v = _a[0];-
273 switch (_id) {-
274 case 0: _t->setMinimumScale(*reinterpret_cast< qreal*>(_v)); break;-
275 case 1: _t->setMaximumScale(*reinterpret_cast< qreal*>(_v)); break;-
276 case 2: _t->setMinimumRotation(*reinterpret_cast< qreal*>(_v)); break;-
277 case 3: _t->setMaximumRotation(*reinterpret_cast< qreal*>(_v)); break;-
278 case 4: _t->setPinchOrigin(*reinterpret_cast< PinchOrigin*>(_v)); break;-
279 case 9: _t->setMinimumX(*reinterpret_cast< qreal*>(_v)); break;-
280 case 10: _t->setMaximumX(*reinterpret_cast< qreal*>(_v)); break;-
281 case 11: _t->setMinimumY(*reinterpret_cast< qreal*>(_v)); break;-
282 case 12: _t->setMaximumY(*reinterpret_cast< qreal*>(_v)); break;-
283 default: break;-
284 }-
285 } else if (_c == QMetaObject::ResetProperty) {-
286 }-
287#endif // QT_NO_PROPERTIES-
288 Q_UNUSED(_a);-
289}-
290-
291QT_INIT_METAOBJECT const QMetaObject QQuickPinchHandler::staticMetaObject = {-
292 { &QQuickMultiPointHandler::staticMetaObject, qt_meta_stringdata_QQuickPinchHandler.data,-
293 qt_meta_data_QQuickPinchHandler, qt_static_metacall, nullptr, nullptr}-
294};-
295-
296-
297const QMetaObject *QQuickPinchHandler::metaObject() const-
298{-
299 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
300}-
301-
302void *QQuickPinchHandler::qt_metacast(const char *_clname)-
303{-
304 if (!_clname) return nullptr;-
305 if (!strcmp(_clname, qt_meta_stringdata_QQuickPinchHandler.stringdata0))-
306 return static_cast<void*>(this);-
307 return QQuickMultiPointHandler::qt_metacast(_clname);-
308}-
309-
310int QQuickPinchHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
311{-
312 _id = QQuickMultiPointHandler::qt_metacall(_c, _id, _a);-
313 if (_id < 0)-
314 return _id;-
315 if (_c == QMetaObject::InvokeMetaMethod) {-
316 if (_id < 10)-
317 qt_static_metacall(this, _c, _id, _a);-
318 _id -= 10;-
319 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
320 if (_id < 10)-
321 *reinterpret_cast<int*>(_a[0]) = -1;-
322 _id -= 10;-
323 }-
324#ifndef QT_NO_PROPERTIES-
325 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
326 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
327 qt_static_metacall(this, _c, _id, _a);-
328 _id -= 13;-
329 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
330 _id -= 13;-
331 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
332 _id -= 13;-
333 } else if (_c == QMetaObject::QueryPropertyStored) {-
334 _id -= 13;-
335 } else if (_c == QMetaObject::QueryPropertyEditable) {-
336 _id -= 13;-
337 } else if (_c == QMetaObject::QueryPropertyUser) {-
338 _id -= 13;-
339 }-
340#endif // QT_NO_PROPERTIES-
341 return _id;-
342}-
343-
344// SIGNAL 0-
345void QQuickPinchHandler::minimumScaleChanged()-
346{-
347 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
348}
executed 4 times by 1 test: end of block
Executed by:
  • tst_multipointtoucharea_interop
4
349-
350// SIGNAL 1-
351void QQuickPinchHandler::maximumScaleChanged()-
352{-
353 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
354}
executed 4 times by 1 test: end of block
Executed by:
  • tst_multipointtoucharea_interop
4
355-
356// SIGNAL 2-
357void QQuickPinchHandler::minimumRotationChanged()-
358{-
359 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
360}
never executed: end of block
0
361-
362// SIGNAL 3-
363void QQuickPinchHandler::maximumRotationChanged()-
364{-
365 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
366}
never executed: end of block
0
367-
368// SIGNAL 4-
369void QQuickPinchHandler::minimumXChanged()-
370{-
371 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
372}
never executed: end of block
0
373-
374// SIGNAL 5-
375void QQuickPinchHandler::maximumXChanged()-
376{-
377 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
378}
never executed: end of block
0
379-
380// SIGNAL 6-
381void QQuickPinchHandler::minimumYChanged()-
382{-
383 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
384}
never executed: end of block
0
385-
386// SIGNAL 7-
387void QQuickPinchHandler::maximumYChanged()-
388{-
389 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
390}
never executed: end of block
0
391-
392// SIGNAL 8-
393void QQuickPinchHandler::pinchOriginChanged()-
394{-
395 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
396}
never executed: end of block
0
397-
398// SIGNAL 9-
399void QQuickPinchHandler::updated()-
400{-
401 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);-
402}
executed 29 times by 1 test: end of block
Executed by:
  • tst_multipointtoucharea_interop
29
403QT_WARNING_POP-
404QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0