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