Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickdroparea_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_QQuickDropEvent_t { | - |
9 | QByteArrayData data[27]; | - |
10 | char stringdata0[271]; | - |
11 | }; | - |
12 | - | |
13 | - | |
14 | - | |
15 | - | |
16 | - | |
17 | static const qt_meta_stringdata_QQuickDropEvent_t qt_meta_stringdata_QQuickDropEvent = { | - |
18 | { | - |
19 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQuickDropEvent_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQuickDropEvent_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 16 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQuickDropEvent_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 32 - 2 * sizeof(QByteArrayData)) }, | - |
40 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
41 | __builtin_offsetof ( | - |
42 | qt_meta_stringdata_QQuickDropEvent_t | - |
43 | , | - |
44 | stringdata0 | - |
45 | ) | - |
46 | + 33 - 3 * sizeof(QByteArrayData)) }, | - |
47 | { { { -1 } }, 20, 0, 0, qptrdiff( | - |
48 | __builtin_offsetof ( | - |
49 | qt_meta_stringdata_QQuickDropEvent_t | - |
50 | , | - |
51 | stringdata0 | - |
52 | ) | - |
53 | + 49 - 4 * sizeof(QByteArrayData)) }, | - |
54 | { { { -1 } }, 20, 0, 0, qptrdiff( | - |
55 | __builtin_offsetof ( | - |
56 | qt_meta_stringdata_QQuickDropEvent_t | - |
57 | , | - |
58 | stringdata0 | - |
59 | ) | - |
60 | + 70 - 5 * sizeof(QByteArrayData)) }, | - |
61 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
62 | __builtin_offsetof ( | - |
63 | qt_meta_stringdata_QQuickDropEvent_t | - |
64 | , | - |
65 | stringdata0 | - |
66 | ) | - |
67 | + 91 - 6 * sizeof(QByteArrayData)) }, | - |
68 | { { { -1 } }, 1, 0, 0, qptrdiff( | - |
69 | __builtin_offsetof ( | - |
70 | qt_meta_stringdata_QQuickDropEvent_t | - |
71 | , | - |
72 | stringdata0 | - |
73 | ) | - |
74 | + 98 - 7 * sizeof(QByteArrayData)) }, | - |
75 | { { { -1 } }, 1, 0, 0, qptrdiff( | - |
76 | __builtin_offsetof ( | - |
77 | qt_meta_stringdata_QQuickDropEvent_t | - |
78 | , | - |
79 | stringdata0 | - |
80 | ) | - |
81 | + 100 - 8 * sizeof(QByteArrayData)) }, | - |
82 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
83 | __builtin_offsetof ( | - |
84 | qt_meta_stringdata_QQuickDropEvent_t | - |
85 | , | - |
86 | stringdata0 | - |
87 | ) | - |
88 | + 102 - 9 * sizeof(QByteArrayData)) }, | - |
89 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
90 | __builtin_offsetof ( | - |
91 | qt_meta_stringdata_QQuickDropEvent_t | - |
92 | , | - |
93 | stringdata0 | - |
94 | ) | - |
95 | + 109 - 10 * sizeof(QByteArrayData)) }, | - |
96 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
97 | __builtin_offsetof ( | - |
98 | qt_meta_stringdata_QQuickDropEvent_t | - |
99 | , | - |
100 | stringdata0 | - |
101 | ) | - |
102 | + 114 - 11 * sizeof(QByteArrayData)) }, | - |
103 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
104 | __builtin_offsetof ( | - |
105 | qt_meta_stringdata_QQuickDropEvent_t | - |
106 | , | - |
107 | stringdata0 | - |
108 | ) | - |
109 | + 131 - 12 * sizeof(QByteArrayData)) }, | - |
110 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
111 | __builtin_offsetof ( | - |
112 | qt_meta_stringdata_QQuickDropEvent_t | - |
113 | , | - |
114 | stringdata0 | - |
115 | ) | - |
116 | + 147 - 13 * sizeof(QByteArrayData)) }, | - |
117 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
118 | __builtin_offsetof ( | - |
119 | qt_meta_stringdata_QQuickDropEvent_t | - |
120 | , | - |
121 | stringdata0 | - |
122 | ) | - |
123 | + 162 - 14 * sizeof(QByteArrayData)) }, | - |
124 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
125 | __builtin_offsetof ( | - |
126 | qt_meta_stringdata_QQuickDropEvent_t | - |
127 | , | - |
128 | stringdata0 | - |
129 | ) | - |
130 | + 169 - 15 * sizeof(QByteArrayData)) }, | - |
131 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
132 | __builtin_offsetof ( | - |
133 | qt_meta_stringdata_QQuickDropEvent_t | - |
134 | , | - |
135 | stringdata0 | - |
136 | ) | - |
137 | + 184 - 16 * sizeof(QByteArrayData)) }, | - |
138 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
139 | __builtin_offsetof ( | - |
140 | qt_meta_stringdata_QQuickDropEvent_t | - |
141 | , | - |
142 | stringdata0 | - |
143 | ) | - |
144 | + 193 - 17 * sizeof(QByteArrayData)) }, | - |
145 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
146 | __builtin_offsetof ( | - |
147 | qt_meta_stringdata_QQuickDropEvent_t | - |
148 | , | - |
149 | stringdata0 | - |
150 | ) | - |
151 | + 202 - 18 * sizeof(QByteArrayData)) }, | - |
152 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
153 | __builtin_offsetof ( | - |
154 | qt_meta_stringdata_QQuickDropEvent_t | - |
155 | , | - |
156 | stringdata0 | - |
157 | ) | - |
158 | + 210 - 19 * sizeof(QByteArrayData)) }, | - |
159 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
160 | __builtin_offsetof ( | - |
161 | qt_meta_stringdata_QQuickDropEvent_t | - |
162 | , | - |
163 | stringdata0 | - |
164 | ) | - |
165 | + 218 - 20 * sizeof(QByteArrayData)) }, | - |
166 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
167 | __builtin_offsetof ( | - |
168 | qt_meta_stringdata_QQuickDropEvent_t | - |
169 | , | - |
170 | stringdata0 | - |
171 | ) | - |
172 | + 226 - 21 * sizeof(QByteArrayData)) }, | - |
173 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
174 | __builtin_offsetof ( | - |
175 | qt_meta_stringdata_QQuickDropEvent_t | - |
176 | , | - |
177 | stringdata0 | - |
178 | ) | - |
179 | + 236 - 22 * sizeof(QByteArrayData)) }, | - |
180 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
181 | __builtin_offsetof ( | - |
182 | qt_meta_stringdata_QQuickDropEvent_t | - |
183 | , | - |
184 | stringdata0 | - |
185 | ) | - |
186 | + 241 - 23 * sizeof(QByteArrayData)) }, | - |
187 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
188 | __builtin_offsetof ( | - |
189 | qt_meta_stringdata_QQuickDropEvent_t | - |
190 | , | - |
191 | stringdata0 | - |
192 | ) | - |
193 | + 246 - 24 * sizeof(QByteArrayData)) }, | - |
194 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
195 | __builtin_offsetof ( | - |
196 | qt_meta_stringdata_QQuickDropEvent_t | - |
197 | , | - |
198 | stringdata0 | - |
199 | ) | - |
200 | + 251 - 25 * sizeof(QByteArrayData)) }, | - |
201 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
202 | __builtin_offsetof ( | - |
203 | qt_meta_stringdata_QQuickDropEvent_t | - |
204 | , | - |
205 | stringdata0 | - |
206 | ) | - |
207 | + 263 - 26 * sizeof(QByteArrayData)) } | - |
208 | - | |
209 | }, | - |
210 | "QQuickDropEvent\0getDataAsString\0\0" | - |
211 | "QQmlV4Function*\0getDataAsArrayBuffer\0" | - |
212 | "acceptProposedAction\0accept\0x\0y\0source\0" | - |
213 | "keys\0supportedActions\0Qt::DropActions\0" | - |
214 | "proposedAction\0action\0Qt::DropAction\0" | - |
215 | "accepted\0hasColor\0hasHtml\0hasText\0" | - |
216 | "hasUrls\0colorData\0html\0text\0urls\0" | - |
217 | "QList<QUrl>\0formats" | - |
218 | }; | - |
219 | - | |
220 | - | |
221 | static const uint qt_meta_data_QQuickDropEvent[] = { | - |
222 | - | |
223 | - | |
224 | 7, | - |
225 | 0, | - |
226 | 0, 0, | - |
227 | 4, 14, | - |
228 | 17, 46, | - |
229 | 0, 0, | - |
230 | 0, 0, | - |
231 | 0, | - |
232 | 0, | - |
233 | - | |
234 | - | |
235 | 1, 1, 34, 2, 0x02 , | - |
236 | 4, 1, 37, 2, 0x02 , | - |
237 | 5, 1, 40, 2, 0x02 , | - |
238 | 6, 1, 43, 2, 0x02 , | - |
239 | - | |
240 | - | |
241 | QMetaType::Void, 0x80000000 | 3, 2, | - |
242 | QMetaType::Void, 0x80000000 | 3, 2, | - |
243 | QMetaType::Void, 0x80000000 | 3, 2, | - |
244 | QMetaType::Void, 0x80000000 | 3, 2, | - |
245 | - | |
246 | - | |
247 | 7, QMetaType::QReal, 0x00095001, | - |
248 | 8, QMetaType::QReal, 0x00095001, | - |
249 | 9, QMetaType::QObjectStar, 0x00095001, | - |
250 | 10, QMetaType::QStringList, 0x00095001, | - |
251 | 11, 0x80000000 | 12, 0x00095009, | - |
252 | 13, 0x80000000 | 12, 0x00095009, | - |
253 | 14, 0x80000000 | 15, 0x0009510f, | - |
254 | 16, QMetaType::Bool, 0x00095103, | - |
255 | 17, QMetaType::Bool, 0x00095001, | - |
256 | 18, QMetaType::Bool, 0x00095001, | - |
257 | 19, QMetaType::Bool, 0x00095001, | - |
258 | 20, QMetaType::Bool, 0x00095001, | - |
259 | 21, QMetaType::QVariant, 0x00095001, | - |
260 | 22, QMetaType::QString, 0x00095001, | - |
261 | 23, QMetaType::QString, 0x00095001, | - |
262 | 24, 0x80000000 | 25, 0x00095009, | - |
263 | 26, QMetaType::QStringList, 0x00095001, | - |
264 | - | |
265 | 0 | - |
266 | }; | - |
267 | - | |
268 | void QQuickDropEvent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
269 | { | - |
270 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
271 | QQuickDropEvent *_t = static_cast<QQuickDropEvent *>(_o); | - |
272 | (void)_t; | - |
273 | switch (_id) { | - |
274 | case 0: _t->getDataAsString((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
275 | case 1: _t->getDataAsArrayBuffer((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
276 | case 2: _t->acceptProposedAction((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
277 | case 3: _t->accept((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
278 | default: ; | - |
279 | } | - |
280 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
281 | switch (_id) { | - |
282 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
283 | case 15: | - |
284 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); break; | - |
285 | } | - |
286 | } | - |
287 | - | |
288 | - | |
289 | else if (_c == QMetaObject::ReadProperty) { | - |
290 | QQuickDropEvent *_t = static_cast<QQuickDropEvent *>(_o); | - |
291 | (void)_t; | - |
292 | void *_v = _a[0]; | - |
293 | switch (_id) { | - |
294 | case 0: *reinterpret_cast< qreal*>(_v) = _t->x(); break; | - |
295 | case 1: *reinterpret_cast< qreal*>(_v) = _t->y(); break; | - |
296 | case 2: *reinterpret_cast< QObject**>(_v) = _t->source(); break; | - |
297 | case 3: *reinterpret_cast< QStringList*>(_v) = _t->keys(); break; | - |
298 | case 4: *reinterpret_cast< Qt::DropActions*>(_v) = _t->supportedActions(); break; | - |
299 | case 5: *reinterpret_cast< Qt::DropActions*>(_v) = _t->proposedAction(); break; | - |
300 | case 6: *reinterpret_cast< Qt::DropAction*>(_v) = _t->action(); break; | - |
301 | case 7: *reinterpret_cast< bool*>(_v) = _t->accepted(); break; | - |
302 | case 8: *reinterpret_cast< bool*>(_v) = _t->hasColor(); break; | - |
303 | case 9: *reinterpret_cast< bool*>(_v) = _t->hasHtml(); break; | - |
304 | case 10: *reinterpret_cast< bool*>(_v) = _t->hasText(); break; | - |
305 | case 11: *reinterpret_cast< bool*>(_v) = _t->hasUrls(); break; | - |
306 | case 12: *reinterpret_cast< QVariant*>(_v) = _t->colorData(); break; | - |
307 | case 13: *reinterpret_cast< QString*>(_v) = _t->html(); break; | - |
308 | case 14: *reinterpret_cast< QString*>(_v) = _t->text(); break; | - |
309 | case 15: *reinterpret_cast< QList<QUrl>*>(_v) = _t->urls(); break; | - |
310 | case 16: *reinterpret_cast< QStringList*>(_v) = _t->formats(); break; | - |
311 | default: break; | - |
312 | } | - |
313 | } else if (_c == QMetaObject::WriteProperty) { | - |
314 | QQuickDropEvent *_t = static_cast<QQuickDropEvent *>(_o); | - |
315 | (void)_t; | - |
316 | void *_v = _a[0]; | - |
317 | switch (_id) { | - |
318 | case 6: _t->setAction(*reinterpret_cast< Qt::DropAction*>(_v)); break; | - |
319 | case 7: _t->setAccepted(*reinterpret_cast< bool*>(_v)); break; | - |
320 | default: break; | - |
321 | } | - |
322 | } else if (_c == QMetaObject::ResetProperty) { | - |
323 | QQuickDropEvent *_t = static_cast<QQuickDropEvent *>(_o); | - |
324 | (void)_t; | - |
325 | switch (_id) { | - |
326 | case 6: _t->resetAction(); break; | - |
327 | default: break; | - |
328 | } | - |
329 | } | - |
330 | - | |
331 | } | - |
332 | - | |
333 | const QMetaObject QQuickDropEvent::staticMetaObject = { | - |
334 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickDropEvent.data, | - |
335 | qt_meta_data_QQuickDropEvent, qt_static_metacall, nullptr, nullptr} | - |
336 | }; | - |
337 | - | |
338 | - | |
339 | const QMetaObject *QQuickDropEvent::metaObject() const | - |
340 | { | - |
341 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
342 | } | - |
343 | - | |
344 | void *QQuickDropEvent::qt_metacast(const char *_clname) | - |
345 | { | - |
346 | if (!_clname) return nullptr; | - |
347 | if (!strcmp(_clname, qt_meta_stringdata_QQuickDropEvent.stringdata0)) | - |
348 | return static_cast<void*>(this); | - |
349 | return QObject::qt_metacast(_clname); | - |
350 | } | - |
351 | - | |
352 | int QQuickDropEvent::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
353 | { | - |
354 | _id = QObject::qt_metacall(_c, _id, _a); | - |
355 | if (_id < 0) | - |
356 | return _id; | - |
357 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
358 | if (_id < 4) | - |
359 | qt_static_metacall(this, _c, _id, _a); | - |
360 | _id -= 4; | - |
361 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
362 | if (_id < 4) | - |
363 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
364 | _id -= 4; | - |
365 | } | - |
366 | - | |
367 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
368 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
369 | qt_static_metacall(this, _c, _id, _a); | - |
370 | _id -= 17; | - |
371 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
372 | _id -= 17; | - |
373 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
374 | _id -= 17; | - |
375 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
376 | _id -= 17; | - |
377 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
378 | _id -= 17; | - |
379 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
380 | _id -= 17; | - |
381 | } | - |
382 | - | |
383 | return _id; | - |
384 | } | - |
385 | struct qt_meta_stringdata_QQuickDropAreaDrag_t { | - |
386 | QByteArrayData data[7]; | - |
387 | char stringdata0[61]; | - |
388 | }; | - |
389 | - | |
390 | - | |
391 | - | |
392 | - | |
393 | - | |
394 | static const qt_meta_stringdata_QQuickDropAreaDrag_t qt_meta_stringdata_QQuickDropAreaDrag = { | - |
395 | { | - |
396 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
397 | __builtin_offsetof ( | - |
398 | qt_meta_stringdata_QQuickDropAreaDrag_t | - |
399 | , | - |
400 | stringdata0 | - |
401 | ) | - |
402 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
403 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
404 | __builtin_offsetof ( | - |
405 | qt_meta_stringdata_QQuickDropAreaDrag_t | - |
406 | , | - |
407 | stringdata0 | - |
408 | ) | - |
409 | + 19 - 1 * sizeof(QByteArrayData)) }, | - |
410 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
411 | __builtin_offsetof ( | - |
412 | qt_meta_stringdata_QQuickDropAreaDrag_t | - |
413 | , | - |
414 | stringdata0 | - |
415 | ) | - |
416 | + 35 - 2 * sizeof(QByteArrayData)) }, | - |
417 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
418 | __builtin_offsetof ( | - |
419 | qt_meta_stringdata_QQuickDropAreaDrag_t | - |
420 | , | - |
421 | stringdata0 | - |
422 | ) | - |
423 | + 36 - 3 * sizeof(QByteArrayData)) }, | - |
424 | { { { -1 } }, 1, 0, 0, qptrdiff( | - |
425 | __builtin_offsetof ( | - |
426 | qt_meta_stringdata_QQuickDropAreaDrag_t | - |
427 | , | - |
428 | stringdata0 | - |
429 | ) | - |
430 | + 50 - 4 * sizeof(QByteArrayData)) }, | - |
431 | { { { -1 } }, 1, 0, 0, qptrdiff( | - |
432 | __builtin_offsetof ( | - |
433 | qt_meta_stringdata_QQuickDropAreaDrag_t | - |
434 | , | - |
435 | stringdata0 | - |
436 | ) | - |
437 | + 52 - 5 * sizeof(QByteArrayData)) }, | - |
438 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
439 | __builtin_offsetof ( | - |
440 | qt_meta_stringdata_QQuickDropAreaDrag_t | - |
441 | , | - |
442 | stringdata0 | - |
443 | ) | - |
444 | + 54 - 6 * sizeof(QByteArrayData)) } | - |
445 | - | |
446 | }, | - |
447 | "QQuickDropAreaDrag\0positionChanged\0\0" | - |
448 | "sourceChanged\0x\0y\0source" | - |
449 | }; | - |
450 | - | |
451 | - | |
452 | static const uint qt_meta_data_QQuickDropAreaDrag[] = { | - |
453 | - | |
454 | - | |
455 | 7, | - |
456 | 0, | - |
457 | 0, 0, | - |
458 | 2, 14, | - |
459 | 3, 26, | - |
460 | 0, 0, | - |
461 | 0, 0, | - |
462 | 0, | - |
463 | 2, | - |
464 | - | |
465 | - | |
466 | 1, 0, 24, 2, 0x06 , | - |
467 | 3, 0, 25, 2, 0x06 , | - |
468 | - | |
469 | - | |
470 | QMetaType::Void, | - |
471 | QMetaType::Void, | - |
472 | - | |
473 | - | |
474 | 4, QMetaType::QReal, 0x00495001, | - |
475 | 5, QMetaType::QReal, 0x00495001, | - |
476 | 6, QMetaType::QObjectStar, 0x00495001, | - |
477 | - | |
478 | - | |
479 | 0, | - |
480 | 0, | - |
481 | 1, | - |
482 | - | |
483 | 0 | - |
484 | }; | - |
485 | - | |
486 | void QQuickDropAreaDrag::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
487 | { | - |
488 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
489 | QQuickDropAreaDrag *_t = static_cast<QQuickDropAreaDrag *>(_o); | - |
490 | (void)_t; | - |
491 | switch (_id) { | - |
492 | case 0: _t->positionChanged(); break; | - |
493 | case 1: _t->sourceChanged(); break; | - |
494 | default: ; | - |
495 | } | - |
496 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
497 | int *result = reinterpret_cast<int *>(_a[0]); | - |
498 | { | - |
499 | using _t = void (QQuickDropAreaDrag::*)(); | - |
500 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropAreaDrag::positionChanged)) { | - |
501 | *result = 0; | - |
502 | return; | - |
503 | } | - |
504 | } | - |
505 | { | - |
506 | using _t = void (QQuickDropAreaDrag::*)(); | - |
507 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropAreaDrag::sourceChanged)) { | - |
508 | *result = 1; | - |
509 | return; | - |
510 | } | - |
511 | } | - |
512 | } | - |
513 | - | |
514 | else if (_c == QMetaObject::ReadProperty) { | - |
515 | QQuickDropAreaDrag *_t = static_cast<QQuickDropAreaDrag *>(_o); | - |
516 | (void)_t; | - |
517 | void *_v = _a[0]; | - |
518 | switch (_id) { | - |
519 | case 0: *reinterpret_cast< qreal*>(_v) = _t->x(); break; | - |
520 | case 1: *reinterpret_cast< qreal*>(_v) = _t->y(); break; | - |
521 | case 2: *reinterpret_cast< QObject**>(_v) = _t->source(); break; | - |
522 | default: break; | - |
523 | } | - |
524 | } else if (_c == QMetaObject::WriteProperty) { | - |
525 | } else if (_c == QMetaObject::ResetProperty) { | - |
526 | } | - |
527 | - | |
528 | (void)_a;; | - |
529 | } | - |
530 | - | |
531 | const QMetaObject QQuickDropAreaDrag::staticMetaObject = { | - |
532 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickDropAreaDrag.data, | - |
533 | qt_meta_data_QQuickDropAreaDrag, qt_static_metacall, nullptr, nullptr} | - |
534 | }; | - |
535 | - | |
536 | - | |
537 | const QMetaObject *QQuickDropAreaDrag::metaObject() const | - |
538 | { | - |
539 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
540 | } | - |
541 | - | |
542 | void *QQuickDropAreaDrag::qt_metacast(const char *_clname) | - |
543 | { | - |
544 | if (!_clname) return nullptr; | - |
545 | if (!strcmp(_clname, qt_meta_stringdata_QQuickDropAreaDrag.stringdata0)) | - |
546 | return static_cast<void*>(this); | - |
547 | return QObject::qt_metacast(_clname); | - |
548 | } | - |
549 | - | |
550 | int QQuickDropAreaDrag::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
551 | { | - |
552 | _id = QObject::qt_metacall(_c, _id, _a); | - |
553 | if (_id < 0) | - |
554 | return _id; | - |
555 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
556 | if (_id < 2) | - |
557 | qt_static_metacall(this, _c, _id, _a); | - |
558 | _id -= 2; | - |
559 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
560 | if (_id < 2) | - |
561 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
562 | _id -= 2; | - |
563 | } | - |
564 | - | |
565 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
566 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
567 | qt_static_metacall(this, _c, _id, _a); | - |
568 | _id -= 3; | - |
569 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
570 | _id -= 3; | - |
571 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
572 | _id -= 3; | - |
573 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
574 | _id -= 3; | - |
575 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
576 | _id -= 3; | - |
577 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
578 | _id -= 3; | - |
579 | } | - |
580 | - | |
581 | return _id; | - |
582 | } | - |
583 | - | |
584 | - | |
585 | void QQuickDropAreaDrag::positionChanged() | - |
586 | { | - |
587 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
588 | } executed 18 times by 1 test: end of block Executed by:
| 18 |
589 | - | |
590 | - | |
591 | void QQuickDropAreaDrag::sourceChanged() | - |
592 | { | - |
593 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
594 | } executed 16 times by 1 test: end of block Executed by:
| 16 |
595 | struct qt_meta_stringdata_QQuickDropArea_t { | - |
596 | QByteArrayData data[15]; | - |
597 | char stringdata0[166]; | - |
598 | }; | - |
599 | - | |
600 | - | |
601 | - | |
602 | - | |
603 | - | |
604 | static const qt_meta_stringdata_QQuickDropArea_t qt_meta_stringdata_QQuickDropArea = { | - |
605 | { | - |
606 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
607 | __builtin_offsetof ( | - |
608 | qt_meta_stringdata_QQuickDropArea_t | - |
609 | , | - |
610 | stringdata0 | - |
611 | ) | - |
612 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
613 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
614 | __builtin_offsetof ( | - |
615 | qt_meta_stringdata_QQuickDropArea_t | - |
616 | , | - |
617 | stringdata0 | - |
618 | ) | - |
619 | + 15 - 1 * sizeof(QByteArrayData)) }, | - |
620 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
621 | __builtin_offsetof ( | - |
622 | qt_meta_stringdata_QQuickDropArea_t | - |
623 | , | - |
624 | stringdata0 | - |
625 | ) | - |
626 | + 35 - 2 * sizeof(QByteArrayData)) }, | - |
627 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
628 | __builtin_offsetof ( | - |
629 | qt_meta_stringdata_QQuickDropArea_t | - |
630 | , | - |
631 | stringdata0 | - |
632 | ) | - |
633 | + 36 - 3 * sizeof(QByteArrayData)) }, | - |
634 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
635 | __builtin_offsetof ( | - |
636 | qt_meta_stringdata_QQuickDropArea_t | - |
637 | , | - |
638 | stringdata0 | - |
639 | ) | - |
640 | + 48 - 4 * sizeof(QByteArrayData)) }, | - |
641 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
642 | __builtin_offsetof ( | - |
643 | qt_meta_stringdata_QQuickDropArea_t | - |
644 | , | - |
645 | stringdata0 | - |
646 | ) | - |
647 | + 62 - 5 * sizeof(QByteArrayData)) }, | - |
648 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
649 | __builtin_offsetof ( | - |
650 | qt_meta_stringdata_QQuickDropArea_t | - |
651 | , | - |
652 | stringdata0 | - |
653 | ) | - |
654 | + 70 - 6 * sizeof(QByteArrayData)) }, | - |
655 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
656 | __builtin_offsetof ( | - |
657 | qt_meta_stringdata_QQuickDropArea_t | - |
658 | , | - |
659 | stringdata0 | - |
660 | ) | - |
661 | + 87 - 7 * sizeof(QByteArrayData)) }, | - |
662 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
663 | __builtin_offsetof ( | - |
664 | qt_meta_stringdata_QQuickDropArea_t | - |
665 | , | - |
666 | stringdata0 | - |
667 | ) | - |
668 | + 92 - 8 * sizeof(QByteArrayData)) }, | - |
669 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
670 | __builtin_offsetof ( | - |
671 | qt_meta_stringdata_QQuickDropArea_t | - |
672 | , | - |
673 | stringdata0 | - |
674 | ) | - |
675 | + 99 - 9 * sizeof(QByteArrayData)) }, | - |
676 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
677 | __builtin_offsetof ( | - |
678 | qt_meta_stringdata_QQuickDropArea_t | - |
679 | , | - |
680 | stringdata0 | - |
681 | ) | - |
682 | + 115 - 10 * sizeof(QByteArrayData)) }, | - |
683 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
684 | __builtin_offsetof ( | - |
685 | qt_meta_stringdata_QQuickDropArea_t | - |
686 | , | - |
687 | stringdata0 | - |
688 | ) | - |
689 | + 123 - 11 * sizeof(QByteArrayData)) }, | - |
690 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
691 | __builtin_offsetof ( | - |
692 | qt_meta_stringdata_QQuickDropArea_t | - |
693 | , | - |
694 | stringdata0 | - |
695 | ) | - |
696 | + 128 - 12 * sizeof(QByteArrayData)) }, | - |
697 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
698 | __builtin_offsetof ( | - |
699 | qt_meta_stringdata_QQuickDropArea_t | - |
700 | , | - |
701 | stringdata0 | - |
702 | ) | - |
703 | + 141 - 13 * sizeof(QByteArrayData)) }, | - |
704 | { { { -1 } }, 19, 0, 0, qptrdiff( | - |
705 | __builtin_offsetof ( | - |
706 | qt_meta_stringdata_QQuickDropArea_t | - |
707 | , | - |
708 | stringdata0 | - |
709 | ) | - |
710 | + 146 - 14 * sizeof(QByteArrayData)) } | - |
711 | - | |
712 | }, | - |
713 | "QQuickDropArea\0containsDragChanged\0\0" | - |
714 | "keysChanged\0sourceChanged\0entered\0" | - |
715 | "QQuickDropEvent*\0drag\0exited\0" | - |
716 | "positionChanged\0dropped\0drop\0containsDrag\0" | - |
717 | "keys\0QQuickDropAreaDrag*" | - |
718 | }; | - |
719 | - | |
720 | - | |
721 | static const uint qt_meta_data_QQuickDropArea[] = { | - |
722 | - | |
723 | - | |
724 | 7, | - |
725 | 0, | - |
726 | 0, 0, | - |
727 | 7, 14, | - |
728 | 3, 62, | - |
729 | 0, 0, | - |
730 | 0, 0, | - |
731 | 0, | - |
732 | 7, | - |
733 | - | |
734 | - | |
735 | 1, 0, 49, 2, 0x06 , | - |
736 | 3, 0, 50, 2, 0x06 , | - |
737 | 4, 0, 51, 2, 0x06 , | - |
738 | 5, 1, 52, 2, 0x06 , | - |
739 | 8, 0, 55, 2, 0x06 , | - |
740 | 9, 1, 56, 2, 0x06 , | - |
741 | 10, 1, 59, 2, 0x06 , | - |
742 | - | |
743 | - | |
744 | QMetaType::Void, | - |
745 | QMetaType::Void, | - |
746 | QMetaType::Void, | - |
747 | QMetaType::Void, 0x80000000 | 6, 7, | - |
748 | QMetaType::Void, | - |
749 | QMetaType::Void, 0x80000000 | 6, 7, | - |
750 | QMetaType::Void, 0x80000000 | 6, 11, | - |
751 | - | |
752 | - | |
753 | 12, QMetaType::Bool, 0x00495001, | - |
754 | 13, QMetaType::QStringList, 0x00495103, | - |
755 | 7, 0x80000000 | 14, 0x00095409, | - |
756 | - | |
757 | - | |
758 | 0, | - |
759 | 1, | - |
760 | 0, | - |
761 | - | |
762 | 0 | - |
763 | }; | - |
764 | - | |
765 | void QQuickDropArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
766 | { | - |
767 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
768 | QQuickDropArea *_t = static_cast<QQuickDropArea *>(_o); | - |
769 | (void)_t; | - |
770 | switch (_id) { | - |
771 | case 0: _t->containsDragChanged(); break; | - |
772 | case 1: _t->keysChanged(); break; | - |
773 | case 2: _t->sourceChanged(); break; | - |
774 | case 3: _t->entered((*reinterpret_cast< QQuickDropEvent*(*)>(_a[1]))); break; | - |
775 | case 4: _t->exited(); break; | - |
776 | case 5: _t->positionChanged((*reinterpret_cast< QQuickDropEvent*(*)>(_a[1]))); break; | - |
777 | case 6: _t->dropped((*reinterpret_cast< QQuickDropEvent*(*)>(_a[1]))); break; | - |
778 | default: ; | - |
779 | } | - |
780 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
781 | switch (_id) { | - |
782 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
783 | case 3: | - |
784 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
785 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
786 | case 0: | - |
787 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickDropEvent* >(); break; | - |
788 | } | - |
789 | break; | - |
790 | case 5: | - |
791 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
792 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
793 | case 0: | - |
794 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickDropEvent* >(); break; | - |
795 | } | - |
796 | break; | - |
797 | case 6: | - |
798 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
799 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
800 | case 0: | - |
801 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickDropEvent* >(); break; | - |
802 | } | - |
803 | break; | - |
804 | } | - |
805 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
806 | int *result = reinterpret_cast<int *>(_a[0]); | - |
807 | { | - |
808 | using _t = void (QQuickDropArea::*)(); | - |
809 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::containsDragChanged)) { | - |
810 | *result = 0; | - |
811 | return; | - |
812 | } | - |
813 | } | - |
814 | { | - |
815 | using _t = void (QQuickDropArea::*)(); | - |
816 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::keysChanged)) { | - |
817 | *result = 1; | - |
818 | return; | - |
819 | } | - |
820 | } | - |
821 | { | - |
822 | using _t = void (QQuickDropArea::*)(); | - |
823 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::sourceChanged)) { | - |
824 | *result = 2; | - |
825 | return; | - |
826 | } | - |
827 | } | - |
828 | { | - |
829 | using _t = void (QQuickDropArea::*)(QQuickDropEvent * ); | - |
830 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::entered)) { | - |
831 | *result = 3; | - |
832 | return; | - |
833 | } | - |
834 | } | - |
835 | { | - |
836 | using _t = void (QQuickDropArea::*)(); | - |
837 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::exited)) { | - |
838 | *result = 4; | - |
839 | return; | - |
840 | } | - |
841 | } | - |
842 | { | - |
843 | using _t = void (QQuickDropArea::*)(QQuickDropEvent * ); | - |
844 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::positionChanged)) { | - |
845 | *result = 5; | - |
846 | return; | - |
847 | } | - |
848 | } | - |
849 | { | - |
850 | using _t = void (QQuickDropArea::*)(QQuickDropEvent * ); | - |
851 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::dropped)) { | - |
852 | *result = 6; | - |
853 | return; | - |
854 | } | - |
855 | } | - |
856 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
857 | switch (_id) { | - |
858 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
859 | case 2: | - |
860 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickDropAreaDrag* >(); break; | - |
861 | } | - |
862 | } | - |
863 | - | |
864 | - | |
865 | else if (_c == QMetaObject::ReadProperty) { | - |
866 | QQuickDropArea *_t = static_cast<QQuickDropArea *>(_o); | - |
867 | (void)_t; | - |
868 | void *_v = _a[0]; | - |
869 | switch (_id) { | - |
870 | case 0: *reinterpret_cast< bool*>(_v) = _t->containsDrag(); break; | - |
871 | case 1: *reinterpret_cast< QStringList*>(_v) = _t->keys(); break; | - |
872 | case 2: *reinterpret_cast< QQuickDropAreaDrag**>(_v) = _t->drag(); break; | - |
873 | default: break; | - |
874 | } | - |
875 | } else if (_c == QMetaObject::WriteProperty) { | - |
876 | QQuickDropArea *_t = static_cast<QQuickDropArea *>(_o); | - |
877 | (void)_t; | - |
878 | void *_v = _a[0]; | - |
879 | switch (_id) { | - |
880 | case 1: _t->setKeys(*reinterpret_cast< QStringList*>(_v)); break; | - |
881 | default: break; | - |
882 | } | - |
883 | } else if (_c == QMetaObject::ResetProperty) { | - |
884 | } | - |
885 | - | |
886 | } | - |
887 | - | |
888 | const QMetaObject QQuickDropArea::staticMetaObject = { | - |
889 | { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickDropArea.data, | - |
890 | qt_meta_data_QQuickDropArea, qt_static_metacall, nullptr, nullptr} | - |
891 | }; | - |
892 | - | |
893 | - | |
894 | const QMetaObject *QQuickDropArea::metaObject() const | - |
895 | { | - |
896 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
897 | } | - |
898 | - | |
899 | void *QQuickDropArea::qt_metacast(const char *_clname) | - |
900 | { | - |
901 | if (!_clname) return nullptr; | - |
902 | if (!strcmp(_clname, qt_meta_stringdata_QQuickDropArea.stringdata0)) | - |
903 | return static_cast<void*>(this); | - |
904 | return QQuickItem::qt_metacast(_clname); | - |
905 | } | - |
906 | - | |
907 | int QQuickDropArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
908 | { | - |
909 | _id = QQuickItem::qt_metacall(_c, _id, _a); | - |
910 | if (_id < 0) | - |
911 | return _id; | - |
912 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
913 | if (_id < 7) | - |
914 | qt_static_metacall(this, _c, _id, _a); | - |
915 | _id -= 7; | - |
916 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
917 | if (_id < 7) | - |
918 | qt_static_metacall(this, _c, _id, _a); | - |
919 | _id -= 7; | - |
920 | } | - |
921 | - | |
922 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
923 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
924 | qt_static_metacall(this, _c, _id, _a); | - |
925 | _id -= 3; | - |
926 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
927 | _id -= 3; | - |
928 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
929 | _id -= 3; | - |
930 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
931 | _id -= 3; | - |
932 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
933 | _id -= 3; | - |
934 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
935 | _id -= 3; | - |
936 | } | - |
937 | - | |
938 | return _id; | - |
939 | } | - |
940 | - | |
941 | - | |
942 | void QQuickDropArea::containsDragChanged() | - |
943 | { | - |
944 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
945 | } executed 204 times by 2 tests: end of block Executed by:
| 204 |
946 | - | |
947 | - | |
948 | void QQuickDropArea::keysChanged() | - |
949 | { | - |
950 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
951 | } executed 60 times by 2 tests: end of block Executed by:
| 60 |
952 | - | |
953 | - | |
954 | void QQuickDropArea::sourceChanged() | - |
955 | { | - |
956 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
957 | } never executed: end of block | 0 |
958 | - | |
959 | - | |
960 | void QQuickDropArea::entered(QQuickDropEvent * _t1) | - |
961 | { | - |
962 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
963 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | - |
964 | } executed 106 times by 2 tests: end of block Executed by:
| 106 |
965 | - | |
966 | - | |
967 | void QQuickDropArea::exited() | - |
968 | { | - |
969 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
970 | } executed 72 times by 2 tests: end of block Executed by:
| 72 |
971 | - | |
972 | - | |
973 | void QQuickDropArea::positionChanged(QQuickDropEvent * _t1) | - |
974 | { | - |
975 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
976 | QMetaObject::activate(this, &staticMetaObject, 5, _a); | - |
977 | } executed 140 times by 2 tests: end of block Executed by:
| 140 |
978 | - | |
979 | - | |
980 | void QQuickDropArea::dropped(QQuickDropEvent * _t1) | - |
981 | { | - |
982 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
983 | QMetaObject::activate(this, &staticMetaObject, 6, _a); | - |
984 | } executed 28 times by 1 test: end of block Executed by:
| 28 |
985 | - | |
986 | #pragma GCC diagnostic pop | - |
987 | - | |
988 | - | |
Switch to Source code | Preprocessed file |