Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickpincharea_p.cpp |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | #pragma GCC diagnostic push | - |
4 | - | |
5 | - | |
6 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" | - |
7 | - | |
8 | struct qt_meta_stringdata_QQuickPinch_t { | - |
9 | QByteArrayData data[31]; | - |
10 | char stringdata0[380]; | - |
11 | }; | - |
12 | - | |
13 | - | |
14 | - | |
15 | - | |
16 | - | |
17 | static const qt_meta_stringdata_QQuickPinch_t qt_meta_stringdata_QQuickPinch = { | - |
18 | { | - |
19 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQuickPinch_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQuickPinch_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 12 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQuickPinch_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 26 - 2 * sizeof(QByteArrayData)) }, | - |
40 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
41 | __builtin_offsetof ( | - |
42 | qt_meta_stringdata_QQuickPinch_t | - |
43 | , | - |
44 | stringdata0 | - |
45 | ) | - |
46 | + 27 - 3 * sizeof(QByteArrayData)) }, | - |
47 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
48 | __builtin_offsetof ( | - |
49 | qt_meta_stringdata_QQuickPinch_t | - |
50 | , | - |
51 | stringdata0 | - |
52 | ) | - |
53 | + 47 - 4 * sizeof(QByteArrayData)) }, | - |
54 | { { { -1 } }, 22, 0, 0, qptrdiff( | - |
55 | __builtin_offsetof ( | - |
56 | qt_meta_stringdata_QQuickPinch_t | - |
57 | , | - |
58 | stringdata0 | - |
59 | ) | - |
60 | + 67 - 5 * sizeof(QByteArrayData)) }, | - |
61 | { { { -1 } }, 22, 0, 0, qptrdiff( | - |
62 | __builtin_offsetof ( | - |
63 | qt_meta_stringdata_QQuickPinch_t | - |
64 | , | - |
65 | stringdata0 | - |
66 | ) | - |
67 | + 90 - 6 * sizeof(QByteArrayData)) }, | - |
68 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
69 | __builtin_offsetof ( | - |
70 | qt_meta_stringdata_QQuickPinch_t | - |
71 | , | - |
72 | stringdata0 | - |
73 | ) | - |
74 | + 113 - 7 * sizeof(QByteArrayData)) }, | - |
75 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
76 | __builtin_offsetof ( | - |
77 | qt_meta_stringdata_QQuickPinch_t | - |
78 | , | - |
79 | stringdata0 | - |
80 | ) | - |
81 | + 129 - 8 * sizeof(QByteArrayData)) }, | - |
82 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
83 | __builtin_offsetof ( | - |
84 | qt_meta_stringdata_QQuickPinch_t | - |
85 | , | - |
86 | stringdata0 | - |
87 | ) | - |
88 | + 145 - 9 * sizeof(QByteArrayData)) }, | - |
89 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
90 | __builtin_offsetof ( | - |
91 | qt_meta_stringdata_QQuickPinch_t | - |
92 | , | - |
93 | stringdata0 | - |
94 | ) | - |
95 | + 161 - 10 * sizeof(QByteArrayData)) }, | - |
96 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
97 | __builtin_offsetof ( | - |
98 | qt_meta_stringdata_QQuickPinch_t | - |
99 | , | - |
100 | stringdata0 | - |
101 | ) | - |
102 | + 177 - 11 * sizeof(QByteArrayData)) }, | - |
103 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
104 | __builtin_offsetof ( | - |
105 | qt_meta_stringdata_QQuickPinch_t | - |
106 | , | - |
107 | stringdata0 | - |
108 | ) | - |
109 | + 193 - 12 * sizeof(QByteArrayData)) }, | - |
110 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
111 | __builtin_offsetof ( | - |
112 | qt_meta_stringdata_QQuickPinch_t | - |
113 | , | - |
114 | stringdata0 | - |
115 | ) | - |
116 | + 207 - 13 * sizeof(QByteArrayData)) }, | - |
117 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
118 | __builtin_offsetof ( | - |
119 | qt_meta_stringdata_QQuickPinch_t | - |
120 | , | - |
121 | stringdata0 | - |
122 | ) | - |
123 | + 214 - 14 * sizeof(QByteArrayData)) }, | - |
124 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
125 | __builtin_offsetof ( | - |
126 | qt_meta_stringdata_QQuickPinch_t | - |
127 | , | - |
128 | stringdata0 | - |
129 | ) | - |
130 | + 226 - 15 * sizeof(QByteArrayData)) }, | - |
131 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
132 | __builtin_offsetof ( | - |
133 | qt_meta_stringdata_QQuickPinch_t | - |
134 | , | - |
135 | stringdata0 | - |
136 | ) | - |
137 | + 239 - 16 * sizeof(QByteArrayData)) }, | - |
138 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
139 | __builtin_offsetof ( | - |
140 | qt_meta_stringdata_QQuickPinch_t | - |
141 | , | - |
142 | stringdata0 | - |
143 | ) | - |
144 | + 252 - 17 * sizeof(QByteArrayData)) }, | - |
145 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
146 | __builtin_offsetof ( | - |
147 | qt_meta_stringdata_QQuickPinch_t | - |
148 | , | - |
149 | stringdata0 | - |
150 | ) | - |
151 | + 268 - 18 * sizeof(QByteArrayData)) }, | - |
152 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
153 | __builtin_offsetof ( | - |
154 | qt_meta_stringdata_QQuickPinch_t | - |
155 | , | - |
156 | stringdata0 | - |
157 | ) | - |
158 | + 284 - 19 * sizeof(QByteArrayData)) }, | - |
159 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
160 | __builtin_offsetof ( | - |
161 | qt_meta_stringdata_QQuickPinch_t | - |
162 | , | - |
163 | stringdata0 | - |
164 | ) | - |
165 | + 293 - 20 * sizeof(QByteArrayData)) }, | - |
166 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
167 | __builtin_offsetof ( | - |
168 | qt_meta_stringdata_QQuickPinch_t | - |
169 | , | - |
170 | stringdata0 | - |
171 | ) | - |
172 | + 298 - 21 * sizeof(QByteArrayData)) }, | - |
173 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
174 | __builtin_offsetof ( | - |
175 | qt_meta_stringdata_QQuickPinch_t | - |
176 | , | - |
177 | stringdata0 | - |
178 | ) | - |
179 | + 307 - 22 * sizeof(QByteArrayData)) }, | - |
180 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
181 | __builtin_offsetof ( | - |
182 | qt_meta_stringdata_QQuickPinch_t | - |
183 | , | - |
184 | stringdata0 | - |
185 | ) | - |
186 | + 316 - 23 * sizeof(QByteArrayData)) }, | - |
187 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
188 | __builtin_offsetof ( | - |
189 | qt_meta_stringdata_QQuickPinch_t | - |
190 | , | - |
191 | stringdata0 | - |
192 | ) | - |
193 | + 325 - 24 * sizeof(QByteArrayData)) }, | - |
194 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
195 | __builtin_offsetof ( | - |
196 | qt_meta_stringdata_QQuickPinch_t | - |
197 | , | - |
198 | stringdata0 | - |
199 | ) | - |
200 | + 334 - 25 * sizeof(QByteArrayData)) }, | - |
201 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
202 | __builtin_offsetof ( | - |
203 | qt_meta_stringdata_QQuickPinch_t | - |
204 | , | - |
205 | stringdata0 | - |
206 | ) | - |
207 | + 341 - 26 * sizeof(QByteArrayData)) }, | - |
208 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
209 | __builtin_offsetof ( | - |
210 | qt_meta_stringdata_QQuickPinch_t | - |
211 | , | - |
212 | stringdata0 | - |
213 | ) | - |
214 | + 348 - 27 * sizeof(QByteArrayData)) }, | - |
215 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
216 | __builtin_offsetof ( | - |
217 | qt_meta_stringdata_QQuickPinch_t | - |
218 | , | - |
219 | stringdata0 | - |
220 | ) | - |
221 | + 354 - 28 * sizeof(QByteArrayData)) }, | - |
222 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
223 | __builtin_offsetof ( | - |
224 | qt_meta_stringdata_QQuickPinch_t | - |
225 | , | - |
226 | stringdata0 | - |
227 | ) | - |
228 | + 360 - 29 * sizeof(QByteArrayData)) }, | - |
229 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
230 | __builtin_offsetof ( | - |
231 | qt_meta_stringdata_QQuickPinch_t | - |
232 | , | - |
233 | stringdata0 | - |
234 | ) | - |
235 | + 370 - 30 * sizeof(QByteArrayData)) } | - |
236 | - | |
237 | }, | - |
238 | "QQuickPinch\0targetChanged\0\0" | - |
239 | "minimumScaleChanged\0maximumScaleChanged\0" | - |
240 | "minimumRotationChanged\0maximumRotationChanged\0" | - |
241 | "dragAxisChanged\0minimumXChanged\0" | - |
242 | "maximumXChanged\0minimumYChanged\0" | - |
243 | "maximumYChanged\0activeChanged\0target\0" | - |
244 | "QQuickItem*\0minimumScale\0maximumScale\0" | - |
245 | "minimumRotation\0maximumRotation\0" | - |
246 | "dragAxis\0Axis\0minimumX\0maximumX\0" | - |
247 | "minimumY\0maximumY\0active\0NoDrag\0XAxis\0" | - |
248 | "YAxis\0XAndYAxis\0XandYAxis" | - |
249 | }; | - |
250 | - | |
251 | - | |
252 | static const uint qt_meta_data_QQuickPinch[] = { | - |
253 | - | |
254 | - | |
255 | 7, | - |
256 | 0, | - |
257 | 0, 0, | - |
258 | 11, 14, | - |
259 | 11, 80, | - |
260 | 1, 124, | - |
261 | 0, 0, | - |
262 | 0, | - |
263 | 11, | - |
264 | - | |
265 | - | |
266 | 1, 0, 69, 2, 0x06 , | - |
267 | 3, 0, 70, 2, 0x06 , | - |
268 | 4, 0, 71, 2, 0x06 , | - |
269 | 5, 0, 72, 2, 0x06 , | - |
270 | 6, 0, 73, 2, 0x06 , | - |
271 | 7, 0, 74, 2, 0x06 , | - |
272 | 8, 0, 75, 2, 0x06 , | - |
273 | 9, 0, 76, 2, 0x06 , | - |
274 | 10, 0, 77, 2, 0x06 , | - |
275 | 11, 0, 78, 2, 0x06 , | - |
276 | 12, 0, 79, 2, 0x06 , | - |
277 | - | |
278 | - | |
279 | QMetaType::Void, | - |
280 | QMetaType::Void, | - |
281 | QMetaType::Void, | - |
282 | QMetaType::Void, | - |
283 | QMetaType::Void, | - |
284 | QMetaType::Void, | - |
285 | QMetaType::Void, | - |
286 | QMetaType::Void, | - |
287 | QMetaType::Void, | - |
288 | QMetaType::Void, | - |
289 | QMetaType::Void, | - |
290 | - | |
291 | - | |
292 | 13, 0x80000000 | 14, 0x0009510f, | - |
293 | 15, QMetaType::QReal, 0x00495103, | - |
294 | 16, QMetaType::QReal, 0x00495103, | - |
295 | 17, QMetaType::QReal, 0x00495103, | - |
296 | 18, QMetaType::QReal, 0x00495103, | - |
297 | 19, 0x80000000 | 20, 0x0049500b, | - |
298 | 21, QMetaType::QReal, 0x00495003, | - |
299 | 22, QMetaType::QReal, 0x00495003, | - |
300 | 23, QMetaType::QReal, 0x00495003, | - |
301 | 24, QMetaType::QReal, 0x00495003, | - |
302 | 25, QMetaType::Bool, 0x00495001, | - |
303 | - | |
304 | - | |
305 | 0, | - |
306 | 1, | - |
307 | 2, | - |
308 | 3, | - |
309 | 4, | - |
310 | 5, | - |
311 | 6, | - |
312 | 7, | - |
313 | 8, | - |
314 | 9, | - |
315 | 10, | - |
316 | - | |
317 | - | |
318 | 20, 0x0, 5, 128, | - |
319 | - | |
320 | - | |
321 | 26, uint(QQuickPinch::NoDrag), | - |
322 | 27, uint(QQuickPinch::XAxis), | - |
323 | 28, uint(QQuickPinch::YAxis), | - |
324 | 29, uint(QQuickPinch::XAndYAxis), | - |
325 | 30, uint(QQuickPinch::XandYAxis), | - |
326 | - | |
327 | 0 | - |
328 | }; | - |
329 | - | |
330 | void QQuickPinch::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
331 | { | - |
332 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
333 | QQuickPinch *_t = static_cast<QQuickPinch *>(_o); | - |
334 | (void)_t; | - |
335 | switch (_id) { | - |
336 | case 0: _t->targetChanged(); break; | - |
337 | case 1: _t->minimumScaleChanged(); break; | - |
338 | case 2: _t->maximumScaleChanged(); break; | - |
339 | case 3: _t->minimumRotationChanged(); break; | - |
340 | case 4: _t->maximumRotationChanged(); break; | - |
341 | case 5: _t->dragAxisChanged(); break; | - |
342 | case 6: _t->minimumXChanged(); break; | - |
343 | case 7: _t->maximumXChanged(); break; | - |
344 | case 8: _t->minimumYChanged(); break; | - |
345 | case 9: _t->maximumYChanged(); break; | - |
346 | case 10: _t->activeChanged(); break; | - |
347 | default: ; | - |
348 | } | - |
349 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
350 | int *result = reinterpret_cast<int *>(_a[0]); | - |
351 | { | - |
352 | using _t = void (QQuickPinch::*)(); | - |
353 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::targetChanged)) { | - |
354 | *result = 0; | - |
355 | return; | - |
356 | } | - |
357 | } | - |
358 | { | - |
359 | using _t = void (QQuickPinch::*)(); | - |
360 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::minimumScaleChanged)) { | - |
361 | *result = 1; | - |
362 | return; | - |
363 | } | - |
364 | } | - |
365 | { | - |
366 | using _t = void (QQuickPinch::*)(); | - |
367 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::maximumScaleChanged)) { | - |
368 | *result = 2; | - |
369 | return; | - |
370 | } | - |
371 | } | - |
372 | { | - |
373 | using _t = void (QQuickPinch::*)(); | - |
374 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::minimumRotationChanged)) { | - |
375 | *result = 3; | - |
376 | return; | - |
377 | } | - |
378 | } | - |
379 | { | - |
380 | using _t = void (QQuickPinch::*)(); | - |
381 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::maximumRotationChanged)) { | - |
382 | *result = 4; | - |
383 | return; | - |
384 | } | - |
385 | } | - |
386 | { | - |
387 | using _t = void (QQuickPinch::*)(); | - |
388 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::dragAxisChanged)) { | - |
389 | *result = 5; | - |
390 | return; | - |
391 | } | - |
392 | } | - |
393 | { | - |
394 | using _t = void (QQuickPinch::*)(); | - |
395 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::minimumXChanged)) { | - |
396 | *result = 6; | - |
397 | return; | - |
398 | } | - |
399 | } | - |
400 | { | - |
401 | using _t = void (QQuickPinch::*)(); | - |
402 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::maximumXChanged)) { | - |
403 | *result = 7; | - |
404 | return; | - |
405 | } | - |
406 | } | - |
407 | { | - |
408 | using _t = void (QQuickPinch::*)(); | - |
409 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::minimumYChanged)) { | - |
410 | *result = 8; | - |
411 | return; | - |
412 | } | - |
413 | } | - |
414 | { | - |
415 | using _t = void (QQuickPinch::*)(); | - |
416 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::maximumYChanged)) { | - |
417 | *result = 9; | - |
418 | return; | - |
419 | } | - |
420 | } | - |
421 | { | - |
422 | using _t = void (QQuickPinch::*)(); | - |
423 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinch::activeChanged)) { | - |
424 | *result = 10; | - |
425 | return; | - |
426 | } | - |
427 | } | - |
428 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
429 | switch (_id) { | - |
430 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
431 | case 0: | - |
432 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break; | - |
433 | } | - |
434 | } | - |
435 | - | |
436 | - | |
437 | else if (_c == QMetaObject::ReadProperty) { | - |
438 | QQuickPinch *_t = static_cast<QQuickPinch *>(_o); | - |
439 | (void)_t; | - |
440 | void *_v = _a[0]; | - |
441 | switch (_id) { | - |
442 | case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->target(); break; | - |
443 | case 1: *reinterpret_cast< qreal*>(_v) = _t->minimumScale(); break; | - |
444 | case 2: *reinterpret_cast< qreal*>(_v) = _t->maximumScale(); break; | - |
445 | case 3: *reinterpret_cast< qreal*>(_v) = _t->minimumRotation(); break; | - |
446 | case 4: *reinterpret_cast< qreal*>(_v) = _t->maximumRotation(); break; | - |
447 | case 5: *reinterpret_cast< Axis*>(_v) = _t->axis(); break; | - |
448 | case 6: *reinterpret_cast< qreal*>(_v) = _t->xmin(); break; | - |
449 | case 7: *reinterpret_cast< qreal*>(_v) = _t->xmax(); break; | - |
450 | case 8: *reinterpret_cast< qreal*>(_v) = _t->ymin(); break; | - |
451 | case 9: *reinterpret_cast< qreal*>(_v) = _t->ymax(); break; | - |
452 | case 10: *reinterpret_cast< bool*>(_v) = _t->active(); break; | - |
453 | default: break; | - |
454 | } | - |
455 | } else if (_c == QMetaObject::WriteProperty) { | - |
456 | QQuickPinch *_t = static_cast<QQuickPinch *>(_o); | - |
457 | (void)_t; | - |
458 | void *_v = _a[0]; | - |
459 | switch (_id) { | - |
460 | case 0: _t->setTarget(*reinterpret_cast< QQuickItem**>(_v)); break; | - |
461 | case 1: _t->setMinimumScale(*reinterpret_cast< qreal*>(_v)); break; | - |
462 | case 2: _t->setMaximumScale(*reinterpret_cast< qreal*>(_v)); break; | - |
463 | case 3: _t->setMinimumRotation(*reinterpret_cast< qreal*>(_v)); break; | - |
464 | case 4: _t->setMaximumRotation(*reinterpret_cast< qreal*>(_v)); break; | - |
465 | case 5: _t->setAxis(*reinterpret_cast< Axis*>(_v)); break; | - |
466 | case 6: _t->setXmin(*reinterpret_cast< qreal*>(_v)); break; | - |
467 | case 7: _t->setXmax(*reinterpret_cast< qreal*>(_v)); break; | - |
468 | case 8: _t->setYmin(*reinterpret_cast< qreal*>(_v)); break; | - |
469 | case 9: _t->setYmax(*reinterpret_cast< qreal*>(_v)); break; | - |
470 | default: break; | - |
471 | } | - |
472 | } else if (_c == QMetaObject::ResetProperty) { | - |
473 | QQuickPinch *_t = static_cast<QQuickPinch *>(_o); | - |
474 | (void)_t; | - |
475 | switch (_id) { | - |
476 | case 0: _t->resetTarget(); break; | - |
477 | default: break; | - |
478 | } | - |
479 | } | - |
480 | - | |
481 | } | - |
482 | - | |
483 | const QMetaObject QQuickPinch::staticMetaObject = { | - |
484 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPinch.data, | - |
485 | qt_meta_data_QQuickPinch, qt_static_metacall, nullptr, nullptr} | - |
486 | }; | - |
487 | - | |
488 | - | |
489 | const QMetaObject *QQuickPinch::metaObject() const | - |
490 | { | - |
491 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
492 | } | - |
493 | - | |
494 | void *QQuickPinch::qt_metacast(const char *_clname) | - |
495 | { | - |
496 | if (!_clname) return nullptr; | - |
497 | if (!strcmp(_clname, qt_meta_stringdata_QQuickPinch.stringdata0)) | - |
498 | return static_cast<void*>(this); | - |
499 | return QObject::qt_metacast(_clname); | - |
500 | } | - |
501 | - | |
502 | int QQuickPinch::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
503 | { | - |
504 | _id = QObject::qt_metacall(_c, _id, _a); | - |
505 | if (_id < 0) | - |
506 | return _id; | - |
507 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
508 | if (_id < 11) | - |
509 | qt_static_metacall(this, _c, _id, _a); | - |
510 | _id -= 11; | - |
511 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
512 | if (_id < 11) | - |
513 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
514 | _id -= 11; | - |
515 | } | - |
516 | - | |
517 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
518 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
519 | qt_static_metacall(this, _c, _id, _a); | - |
520 | _id -= 11; | - |
521 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
522 | _id -= 11; | - |
523 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
524 | _id -= 11; | - |
525 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
526 | _id -= 11; | - |
527 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
528 | _id -= 11; | - |
529 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
530 | _id -= 11; | - |
531 | } | - |
532 | - | |
533 | return _id; | - |
534 | } | - |
535 | - | |
536 | - | |
537 | void QQuickPinch::targetChanged() | - |
538 | { | - |
539 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
540 | } executed 32 times by 2 tests: end of block Executed by:
| 32 |
541 | - | |
542 | - | |
543 | void QQuickPinch::minimumScaleChanged() | - |
544 | { | - |
545 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
546 | } executed 4 times by 2 tests: end of block Executed by:
| 4 |
547 | - | |
548 | - | |
549 | void QQuickPinch::maximumScaleChanged() | - |
550 | { | - |
551 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
552 | } executed 20 times by 2 tests: end of block Executed by:
| 20 |
553 | - | |
554 | - | |
555 | void QQuickPinch::minimumRotationChanged() | - |
556 | { | - |
557 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
558 | } executed 2 times by 1 test: end of block Executed by:
| 2 |
559 | - | |
560 | - | |
561 | void QQuickPinch::maximumRotationChanged() | - |
562 | { | - |
563 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
564 | } executed 12 times by 1 test: end of block Executed by:
| 12 |
565 | - | |
566 | - | |
567 | void QQuickPinch::dragAxisChanged() | - |
568 | { | - |
569 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | - |
570 | } executed 24 times by 1 test: end of block Executed by:
| 24 |
571 | - | |
572 | - | |
573 | void QQuickPinch::minimumXChanged() | - |
574 | { | - |
575 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | - |
576 | } executed 12 times by 1 test: end of block Executed by:
| 12 |
577 | - | |
578 | - | |
579 | void QQuickPinch::maximumXChanged() | - |
580 | { | - |
581 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | - |
582 | } executed 12 times by 1 test: end of block Executed by:
| 12 |
583 | - | |
584 | - | |
585 | void QQuickPinch::minimumYChanged() | - |
586 | { | - |
587 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | - |
588 | } executed 12 times by 1 test: end of block Executed by:
| 12 |
589 | - | |
590 | - | |
591 | void QQuickPinch::maximumYChanged() | - |
592 | { | - |
593 | QMetaObject::activate(this, &staticMetaObject, 9, nullptr); | - |
594 | } executed 12 times by 1 test: end of block Executed by:
| 12 |
595 | - | |
596 | - | |
597 | void QQuickPinch::activeChanged() | - |
598 | { | - |
599 | QMetaObject::activate(this, &staticMetaObject, 10, nullptr); | - |
600 | } executed 28 times by 1 test: end of block Executed by:
| 28 |
601 | struct qt_meta_stringdata_QQuickPinchEvent_t { | - |
602 | QByteArrayData data[15]; | - |
603 | char stringdata0[158]; | - |
604 | }; | - |
605 | - | |
606 | - | |
607 | - | |
608 | - | |
609 | - | |
610 | static const qt_meta_stringdata_QQuickPinchEvent_t qt_meta_stringdata_QQuickPinchEvent = { | - |
611 | { | - |
612 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
613 | __builtin_offsetof ( | - |
614 | qt_meta_stringdata_QQuickPinchEvent_t | - |
615 | , | - |
616 | stringdata0 | - |
617 | ) | - |
618 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
619 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
620 | __builtin_offsetof ( | - |
621 | qt_meta_stringdata_QQuickPinchEvent_t | - |
622 | , | - |
623 | stringdata0 | - |
624 | ) | - |
625 | + 17 - 1 * sizeof(QByteArrayData)) }, | - |
626 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
627 | __builtin_offsetof ( | - |
628 | qt_meta_stringdata_QQuickPinchEvent_t | - |
629 | , | - |
630 | stringdata0 | - |
631 | ) | - |
632 | + 24 - 2 * sizeof(QByteArrayData)) }, | - |
633 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
634 | __builtin_offsetof ( | - |
635 | qt_meta_stringdata_QQuickPinchEvent_t | - |
636 | , | - |
637 | stringdata0 | - |
638 | ) | - |
639 | + 36 - 3 * sizeof(QByteArrayData)) }, | - |
640 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
641 | __builtin_offsetof ( | - |
642 | qt_meta_stringdata_QQuickPinchEvent_t | - |
643 | , | - |
644 | stringdata0 | - |
645 | ) | - |
646 | + 51 - 4 * sizeof(QByteArrayData)) }, | - |
647 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
648 | __builtin_offsetof ( | - |
649 | qt_meta_stringdata_QQuickPinchEvent_t | - |
650 | , | - |
651 | stringdata0 | - |
652 | ) | - |
653 | + 57 - 5 * sizeof(QByteArrayData)) }, | - |
654 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
655 | __builtin_offsetof ( | - |
656 | qt_meta_stringdata_QQuickPinchEvent_t | - |
657 | , | - |
658 | stringdata0 | - |
659 | ) | - |
660 | + 71 - 6 * sizeof(QByteArrayData)) }, | - |
661 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
662 | __builtin_offsetof ( | - |
663 | qt_meta_stringdata_QQuickPinchEvent_t | - |
664 | , | - |
665 | stringdata0 | - |
666 | ) | - |
667 | + 77 - 7 * sizeof(QByteArrayData)) }, | - |
668 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
669 | __builtin_offsetof ( | - |
670 | qt_meta_stringdata_QQuickPinchEvent_t | - |
671 | , | - |
672 | stringdata0 | - |
673 | ) | - |
674 | + 91 - 8 * sizeof(QByteArrayData)) }, | - |
675 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
676 | __builtin_offsetof ( | - |
677 | qt_meta_stringdata_QQuickPinchEvent_t | - |
678 | , | - |
679 | stringdata0 | - |
680 | ) | - |
681 | + 100 - 9 * sizeof(QByteArrayData)) }, | - |
682 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
683 | __builtin_offsetof ( | - |
684 | qt_meta_stringdata_QQuickPinchEvent_t | - |
685 | , | - |
686 | stringdata0 | - |
687 | ) | - |
688 | + 107 - 10 * sizeof(QByteArrayData)) }, | - |
689 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
690 | __builtin_offsetof ( | - |
691 | qt_meta_stringdata_QQuickPinchEvent_t | - |
692 | , | - |
693 | stringdata0 | - |
694 | ) | - |
695 | + 119 - 11 * sizeof(QByteArrayData)) }, | - |
696 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
697 | __builtin_offsetof ( | - |
698 | qt_meta_stringdata_QQuickPinchEvent_t | - |
699 | , | - |
700 | stringdata0 | - |
701 | ) | - |
702 | + 126 - 12 * sizeof(QByteArrayData)) }, | - |
703 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
704 | __builtin_offsetof ( | - |
705 | qt_meta_stringdata_QQuickPinchEvent_t | - |
706 | , | - |
707 | stringdata0 | - |
708 | ) | - |
709 | + 138 - 13 * sizeof(QByteArrayData)) }, | - |
710 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
711 | __builtin_offsetof ( | - |
712 | qt_meta_stringdata_QQuickPinchEvent_t | - |
713 | , | - |
714 | stringdata0 | - |
715 | ) | - |
716 | + 149 - 14 * sizeof(QByteArrayData)) } | - |
717 | - | |
718 | }, | - |
719 | "QQuickPinchEvent\0center\0startCenter\0" | - |
720 | "previousCenter\0scale\0previousScale\0" | - |
721 | "angle\0previousAngle\0rotation\0point1\0" | - |
722 | "startPoint1\0point2\0startPoint2\0" | - |
723 | "pointCount\0accepted" | - |
724 | }; | - |
725 | - | |
726 | - | |
727 | static const uint qt_meta_data_QQuickPinchEvent[] = { | - |
728 | - | |
729 | - | |
730 | 7, | - |
731 | 0, | - |
732 | 0, 0, | - |
733 | 0, 0, | - |
734 | 14, 14, | - |
735 | 0, 0, | - |
736 | 0, 0, | - |
737 | 0, | - |
738 | 0, | - |
739 | - | |
740 | - | |
741 | 1, QMetaType::QPointF, 0x00095001, | - |
742 | 2, QMetaType::QPointF, 0x00095001, | - |
743 | 3, QMetaType::QPointF, 0x00095001, | - |
744 | 4, QMetaType::QReal, 0x00095001, | - |
745 | 5, QMetaType::QReal, 0x00095001, | - |
746 | 6, QMetaType::QReal, 0x00095001, | - |
747 | 7, QMetaType::QReal, 0x00095001, | - |
748 | 8, QMetaType::QReal, 0x00095001, | - |
749 | 9, QMetaType::QPointF, 0x00095001, | - |
750 | 10, QMetaType::QPointF, 0x00095001, | - |
751 | 11, QMetaType::QPointF, 0x00095001, | - |
752 | 12, QMetaType::QPointF, 0x00095001, | - |
753 | 13, QMetaType::Int, 0x00095001, | - |
754 | 14, QMetaType::Bool, 0x00095103, | - |
755 | - | |
756 | 0 | - |
757 | }; | - |
758 | - | |
759 | void QQuickPinchEvent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
760 | { | - |
761 | - | |
762 | - | |
763 | if (_c == QMetaObject::ReadProperty) { | - |
764 | QQuickPinchEvent *_t = static_cast<QQuickPinchEvent *>(_o); | - |
765 | (void)_t; | - |
766 | void *_v = _a[0]; | - |
767 | switch (_id) { | - |
768 | case 0: *reinterpret_cast< QPointF*>(_v) = _t->center(); break; | - |
769 | case 1: *reinterpret_cast< QPointF*>(_v) = _t->startCenter(); break; | - |
770 | case 2: *reinterpret_cast< QPointF*>(_v) = _t->previousCenter(); break; | - |
771 | case 3: *reinterpret_cast< qreal*>(_v) = _t->scale(); break; | - |
772 | case 4: *reinterpret_cast< qreal*>(_v) = _t->previousScale(); break; | - |
773 | case 5: *reinterpret_cast< qreal*>(_v) = _t->angle(); break; | - |
774 | case 6: *reinterpret_cast< qreal*>(_v) = _t->previousAngle(); break; | - |
775 | case 7: *reinterpret_cast< qreal*>(_v) = _t->rotation(); break; | - |
776 | case 8: *reinterpret_cast< QPointF*>(_v) = _t->point1(); break; | - |
777 | case 9: *reinterpret_cast< QPointF*>(_v) = _t->startPoint1(); break; | - |
778 | case 10: *reinterpret_cast< QPointF*>(_v) = _t->point2(); break; | - |
779 | case 11: *reinterpret_cast< QPointF*>(_v) = _t->startPoint2(); break; | - |
780 | case 12: *reinterpret_cast< int*>(_v) = _t->pointCount(); break; | - |
781 | case 13: *reinterpret_cast< bool*>(_v) = _t->accepted(); break; | - |
782 | default: break; | - |
783 | } | - |
784 | } else if (_c == QMetaObject::WriteProperty) { | - |
785 | QQuickPinchEvent *_t = static_cast<QQuickPinchEvent *>(_o); | - |
786 | (void)_t; | - |
787 | void *_v = _a[0]; | - |
788 | switch (_id) { | - |
789 | case 13: _t->setAccepted(*reinterpret_cast< bool*>(_v)); break; | - |
790 | default: break; | - |
791 | } | - |
792 | } else if (_c == QMetaObject::ResetProperty) { | - |
793 | } | - |
794 | - | |
795 | (void)_o;; | - |
796 | (void)_id;; | - |
797 | (void)_c;; | - |
798 | (void)_a;; | - |
799 | } | - |
800 | - | |
801 | const QMetaObject QQuickPinchEvent::staticMetaObject = { | - |
802 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPinchEvent.data, | - |
803 | qt_meta_data_QQuickPinchEvent, qt_static_metacall, nullptr, nullptr} | - |
804 | }; | - |
805 | - | |
806 | - | |
807 | const QMetaObject *QQuickPinchEvent::metaObject() const | - |
808 | { | - |
809 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
810 | } | - |
811 | - | |
812 | void *QQuickPinchEvent::qt_metacast(const char *_clname) | - |
813 | { | - |
814 | if (!_clname) return nullptr; | - |
815 | if (!strcmp(_clname, qt_meta_stringdata_QQuickPinchEvent.stringdata0)) | - |
816 | return static_cast<void*>(this); | - |
817 | return QObject::qt_metacast(_clname); | - |
818 | } | - |
819 | - | |
820 | int QQuickPinchEvent::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
821 | { | - |
822 | _id = QObject::qt_metacall(_c, _id, _a); | - |
823 | if (_id < 0) | - |
824 | return _id; | - |
825 | - | |
826 | - | |
827 | if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
828 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
829 | qt_static_metacall(this, _c, _id, _a); | - |
830 | _id -= 14; | - |
831 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
832 | _id -= 14; | - |
833 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
834 | _id -= 14; | - |
835 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
836 | _id -= 14; | - |
837 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
838 | _id -= 14; | - |
839 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
840 | _id -= 14; | - |
841 | } | - |
842 | - | |
843 | return _id; | - |
844 | } | - |
845 | struct qt_meta_stringdata_QQuickPinchArea_t { | - |
846 | QByteArrayData data[11]; | - |
847 | char stringdata0[127]; | - |
848 | }; | - |
849 | - | |
850 | - | |
851 | - | |
852 | - | |
853 | - | |
854 | static const qt_meta_stringdata_QQuickPinchArea_t qt_meta_stringdata_QQuickPinchArea = { | - |
855 | { | - |
856 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
857 | __builtin_offsetof ( | - |
858 | qt_meta_stringdata_QQuickPinchArea_t | - |
859 | , | - |
860 | stringdata0 | - |
861 | ) | - |
862 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
863 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
864 | __builtin_offsetof ( | - |
865 | qt_meta_stringdata_QQuickPinchArea_t | - |
866 | , | - |
867 | stringdata0 | - |
868 | ) | - |
869 | + 16 - 1 * sizeof(QByteArrayData)) }, | - |
870 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
871 | __builtin_offsetof ( | - |
872 | qt_meta_stringdata_QQuickPinchArea_t | - |
873 | , | - |
874 | stringdata0 | - |
875 | ) | - |
876 | + 31 - 2 * sizeof(QByteArrayData)) }, | - |
877 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
878 | __builtin_offsetof ( | - |
879 | qt_meta_stringdata_QQuickPinchArea_t | - |
880 | , | - |
881 | stringdata0 | - |
882 | ) | - |
883 | + 32 - 3 * sizeof(QByteArrayData)) }, | - |
884 | { { { -1 } }, 17, 0, 0, qptrdiff( | - |
885 | __builtin_offsetof ( | - |
886 | qt_meta_stringdata_QQuickPinchArea_t | - |
887 | , | - |
888 | stringdata0 | - |
889 | ) | - |
890 | + 45 - 4 * sizeof(QByteArrayData)) }, | - |
891 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
892 | __builtin_offsetof ( | - |
893 | qt_meta_stringdata_QQuickPinchArea_t | - |
894 | , | - |
895 | stringdata0 | - |
896 | ) | - |
897 | + 63 - 5 * sizeof(QByteArrayData)) }, | - |
898 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
899 | __builtin_offsetof ( | - |
900 | qt_meta_stringdata_QQuickPinchArea_t | - |
901 | , | - |
902 | stringdata0 | - |
903 | ) | - |
904 | + 69 - 6 * sizeof(QByteArrayData)) }, | - |
905 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
906 | __builtin_offsetof ( | - |
907 | qt_meta_stringdata_QQuickPinchArea_t | - |
908 | , | - |
909 | stringdata0 | - |
910 | ) | - |
911 | + 82 - 7 * sizeof(QByteArrayData)) }, | - |
912 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
913 | __builtin_offsetof ( | - |
914 | qt_meta_stringdata_QQuickPinchArea_t | - |
915 | , | - |
916 | stringdata0 | - |
917 | ) | - |
918 | + 96 - 8 * sizeof(QByteArrayData)) }, | - |
919 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
920 | __builtin_offsetof ( | - |
921 | qt_meta_stringdata_QQuickPinchArea_t | - |
922 | , | - |
923 | stringdata0 | - |
924 | ) | - |
925 | + 106 - 9 * sizeof(QByteArrayData)) }, | - |
926 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
927 | __builtin_offsetof ( | - |
928 | qt_meta_stringdata_QQuickPinchArea_t | - |
929 | , | - |
930 | stringdata0 | - |
931 | ) | - |
932 | + 114 - 10 * sizeof(QByteArrayData)) } | - |
933 | - | |
934 | }, | - |
935 | "QQuickPinchArea\0enabledChanged\0\0" | - |
936 | "pinchStarted\0QQuickPinchEvent*\0pinch\0" | - |
937 | "pinchUpdated\0pinchFinished\0smartZoom\0" | - |
938 | "enabled\0QQuickPinch*" | - |
939 | }; | - |
940 | - | |
941 | - | |
942 | static const uint qt_meta_data_QQuickPinchArea[] = { | - |
943 | - | |
944 | - | |
945 | 7, | - |
946 | 0, | - |
947 | 0, 0, | - |
948 | 5, 14, | - |
949 | 2, 57, | - |
950 | 0, 0, | - |
951 | 0, 0, | - |
952 | 0, | - |
953 | 5, | - |
954 | - | |
955 | - | |
956 | 1, 0, 44, 2, 0x06 , | - |
957 | 3, 1, 45, 2, 0x06 , | - |
958 | 6, 1, 48, 2, 0x06 , | - |
959 | 7, 1, 51, 2, 0x06 , | - |
960 | 8, 1, 54, 2, 0x86 , | - |
961 | - | |
962 | - | |
963 | 0, | - |
964 | 0, | - |
965 | 0, | - |
966 | 0, | - |
967 | 1, | - |
968 | - | |
969 | - | |
970 | QMetaType::Void, | - |
971 | QMetaType::Void, 0x80000000 | 4, 5, | - |
972 | QMetaType::Void, 0x80000000 | 4, 5, | - |
973 | QMetaType::Void, 0x80000000 | 4, 5, | - |
974 | QMetaType::Void, 0x80000000 | 4, 5, | - |
975 | - | |
976 | - | |
977 | 9, QMetaType::Bool, 0x00495103, | - |
978 | 5, 0x80000000 | 10, 0x00095409, | - |
979 | - | |
980 | - | |
981 | 0, | - |
982 | 0, | - |
983 | - | |
984 | 0 | - |
985 | }; | - |
986 | - | |
987 | void QQuickPinchArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
988 | { | - |
989 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
990 | QQuickPinchArea *_t = static_cast<QQuickPinchArea *>(_o); | - |
991 | (void)_t; | - |
992 | switch (_id) { | - |
993 | case 0: _t->enabledChanged(); break; | - |
994 | case 1: _t->pinchStarted((*reinterpret_cast< QQuickPinchEvent*(*)>(_a[1]))); break; | - |
995 | case 2: _t->pinchUpdated((*reinterpret_cast< QQuickPinchEvent*(*)>(_a[1]))); break; | - |
996 | case 3: _t->pinchFinished((*reinterpret_cast< QQuickPinchEvent*(*)>(_a[1]))); break; | - |
997 | case 4: _t->smartZoom((*reinterpret_cast< QQuickPinchEvent*(*)>(_a[1]))); break; | - |
998 | default: ; | - |
999 | } | - |
1000 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
1001 | switch (_id) { | - |
1002 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
1003 | case 1: | - |
1004 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
1005 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
1006 | case 0: | - |
1007 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPinchEvent* >(); break; | - |
1008 | } | - |
1009 | break; | - |
1010 | case 2: | - |
1011 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
1012 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
1013 | case 0: | - |
1014 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPinchEvent* >(); break; | - |
1015 | } | - |
1016 | break; | - |
1017 | case 3: | - |
1018 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
1019 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
1020 | case 0: | - |
1021 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPinchEvent* >(); break; | - |
1022 | } | - |
1023 | break; | - |
1024 | case 4: | - |
1025 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
1026 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
1027 | case 0: | - |
1028 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPinchEvent* >(); break; | - |
1029 | } | - |
1030 | break; | - |
1031 | } | - |
1032 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
1033 | int *result = reinterpret_cast<int *>(_a[0]); | - |
1034 | { | - |
1035 | using _t = void (QQuickPinchArea::*)(); | - |
1036 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchArea::enabledChanged)) { | - |
1037 | *result = 0; | - |
1038 | return; | - |
1039 | } | - |
1040 | } | - |
1041 | { | - |
1042 | using _t = void (QQuickPinchArea::*)(QQuickPinchEvent * ); | - |
1043 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchArea::pinchStarted)) { | - |
1044 | *result = 1; | - |
1045 | return; | - |
1046 | } | - |
1047 | } | - |
1048 | { | - |
1049 | using _t = void (QQuickPinchArea::*)(QQuickPinchEvent * ); | - |
1050 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchArea::pinchUpdated)) { | - |
1051 | *result = 2; | - |
1052 | return; | - |
1053 | } | - |
1054 | } | - |
1055 | { | - |
1056 | using _t = void (QQuickPinchArea::*)(QQuickPinchEvent * ); | - |
1057 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchArea::pinchFinished)) { | - |
1058 | *result = 3; | - |
1059 | return; | - |
1060 | } | - |
1061 | } | - |
1062 | { | - |
1063 | using _t = void (QQuickPinchArea::*)(QQuickPinchEvent * ); | - |
1064 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPinchArea::smartZoom)) { | - |
1065 | *result = 4; | - |
1066 | return; | - |
1067 | } | - |
1068 | } | - |
1069 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
1070 | switch (_id) { | - |
1071 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
1072 | case 1: | - |
1073 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickPinch* >(); break; | - |
1074 | } | - |
1075 | } | - |
1076 | - | |
1077 | - | |
1078 | else if (_c == QMetaObject::ReadProperty) { | - |
1079 | QQuickPinchArea *_t = static_cast<QQuickPinchArea *>(_o); | - |
1080 | (void)_t; | - |
1081 | void *_v = _a[0]; | - |
1082 | switch (_id) { | - |
1083 | case 0: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break; | - |
1084 | case 1: *reinterpret_cast< QQuickPinch**>(_v) = _t->pinch(); break; | - |
1085 | default: break; | - |
1086 | } | - |
1087 | } else if (_c == QMetaObject::WriteProperty) { | - |
1088 | QQuickPinchArea *_t = static_cast<QQuickPinchArea *>(_o); | - |
1089 | (void)_t; | - |
1090 | void *_v = _a[0]; | - |
1091 | switch (_id) { | - |
1092 | case 0: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break; | - |
1093 | default: break; | - |
1094 | } | - |
1095 | } else if (_c == QMetaObject::ResetProperty) { | - |
1096 | } | - |
1097 | - | |
1098 | } | - |
1099 | - | |
1100 | const QMetaObject QQuickPinchArea::staticMetaObject = { | - |
1101 | { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickPinchArea.data, | - |
1102 | qt_meta_data_QQuickPinchArea, qt_static_metacall, nullptr, nullptr} | - |
1103 | }; | - |
1104 | - | |
1105 | - | |
1106 | const QMetaObject *QQuickPinchArea::metaObject() const | - |
1107 | { | - |
1108 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
1109 | } | - |
1110 | - | |
1111 | void *QQuickPinchArea::qt_metacast(const char *_clname) | - |
1112 | { | - |
1113 | if (!_clname) return nullptr; | - |
1114 | if (!strcmp(_clname, qt_meta_stringdata_QQuickPinchArea.stringdata0)) | - |
1115 | return static_cast<void*>(this); | - |
1116 | return QQuickItem::qt_metacast(_clname); | - |
1117 | } | - |
1118 | - | |
1119 | int QQuickPinchArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
1120 | { | - |
1121 | _id = QQuickItem::qt_metacall(_c, _id, _a); | - |
1122 | if (_id < 0) | - |
1123 | return _id; | - |
1124 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
1125 | if (_id < 5) | - |
1126 | qt_static_metacall(this, _c, _id, _a); | - |
1127 | _id -= 5; | - |
1128 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
1129 | if (_id < 5) | - |
1130 | qt_static_metacall(this, _c, _id, _a); | - |
1131 | _id -= 5; | - |
1132 | } | - |
1133 | - | |
1134 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
1135 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
1136 | qt_static_metacall(this, _c, _id, _a); | - |
1137 | _id -= 2; | - |
1138 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
1139 | _id -= 2; | - |
1140 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
1141 | _id -= 2; | - |
1142 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
1143 | _id -= 2; | - |
1144 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
1145 | _id -= 2; | - |
1146 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
1147 | _id -= 2; | - |
1148 | } | - |
1149 | - | |
1150 | return _id; | - |
1151 | } | - |
1152 | - | |
1153 | - | |
1154 | void QQuickPinchArea::enabledChanged() | - |
1155 | { | - |
1156 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
1157 | } never executed: end of block | 0 |
1158 | - | |
1159 | - | |
1160 | void QQuickPinchArea::pinchStarted(QQuickPinchEvent * _t1) | - |
1161 | { | - |
1162 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
1163 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | - |
1164 | } executed 16 times by 1 test: end of block Executed by:
| 16 |
1165 | - | |
1166 | - | |
1167 | void QQuickPinchArea::pinchUpdated(QQuickPinchEvent * _t1) | - |
1168 | { | - |
1169 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
1170 | QMetaObject::activate(this, &staticMetaObject, 2, _a); | - |
1171 | } executed 20 times by 1 test: end of block Executed by:
| 20 |
1172 | - | |
1173 | - | |
1174 | void QQuickPinchArea::pinchFinished(QQuickPinchEvent * _t1) | - |
1175 | { | - |
1176 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
1177 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | - |
1178 | } executed 14 times by 1 test: end of block Executed by:
| 14 |
1179 | - | |
1180 | - | |
1181 | void QQuickPinchArea::smartZoom(QQuickPinchEvent * _t1) | - |
1182 | { | - |
1183 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
1184 | QMetaObject::activate(this, &staticMetaObject, 4, _a); | - |
1185 | } never executed: end of block | 0 |
1186 | - | |
1187 | #pragma GCC diagnostic pop | - |
1188 | - | |
1189 | - | |
Switch to Source code | Preprocessed file |