OpenCoverage

moc_qquickdroparea_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickdroparea_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQuickDropEvent_t {-
9 QByteArrayData data[27];-
10 char stringdata0[271];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickDropEvent_t qt_meta_stringdata_QQuickDropEvent = {-
18 {-
19{ { { -1 } }, 15, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickDropEvent_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 15, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickDropEvent_t-
29, -
30stringdata0-
31) -
32+ 16 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickDropEvent_t-
36, -
37stringdata0-
38) -
39+ 32 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 15, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickDropEvent_t-
43, -
44stringdata0-
45) -
46+ 33 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 20, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickDropEvent_t-
50, -
51stringdata0-
52) -
53+ 49 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 20, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickDropEvent_t-
57, -
58stringdata0-
59) -
60+ 70 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 6, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickDropEvent_t-
64, -
65stringdata0-
66) -
67+ 91 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 1, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickDropEvent_t-
71, -
72stringdata0-
73) -
74+ 98 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 1, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickDropEvent_t-
78, -
79stringdata0-
80) -
81+ 100 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 6, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickDropEvent_t-
85, -
86stringdata0-
87) -
88+ 102 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 4, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickDropEvent_t-
92, -
93stringdata0-
94) -
95+ 109 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 16, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickDropEvent_t-
99, -
100stringdata0-
101) -
102+ 114 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 15, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickDropEvent_t-
106, -
107stringdata0-
108) -
109+ 131 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 14, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickDropEvent_t-
113, -
114stringdata0-
115) -
116+ 147 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 6, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickDropEvent_t-
120, -
121stringdata0-
122) -
123+ 162 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 14, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickDropEvent_t-
127, -
128stringdata0-
129) -
130+ 169 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 8, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickDropEvent_t-
134, -
135stringdata0-
136) -
137+ 184 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 8, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickDropEvent_t-
141, -
142stringdata0-
143) -
144+ 193 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 7, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickDropEvent_t-
148, -
149stringdata0-
150) -
151+ 202 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 7, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQuickDropEvent_t-
155, -
156stringdata0-
157) -
158+ 210 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 7, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQuickDropEvent_t-
162, -
163stringdata0-
164) -
165+ 218 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 9, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQuickDropEvent_t-
169, -
170stringdata0-
171) -
172+ 226 - 21 * sizeof(QByteArrayData)) },-
173{ { { -1 } }, 4, 0, 0, qptrdiff(-
174__builtin_offsetof (-
175qt_meta_stringdata_QQuickDropEvent_t-
176, -
177stringdata0-
178) -
179+ 236 - 22 * sizeof(QByteArrayData)) },-
180{ { { -1 } }, 4, 0, 0, qptrdiff(-
181__builtin_offsetof (-
182qt_meta_stringdata_QQuickDropEvent_t-
183, -
184stringdata0-
185) -
186+ 241 - 23 * sizeof(QByteArrayData)) },-
187{ { { -1 } }, 4, 0, 0, qptrdiff(-
188__builtin_offsetof (-
189qt_meta_stringdata_QQuickDropEvent_t-
190, -
191stringdata0-
192) -
193+ 246 - 24 * sizeof(QByteArrayData)) },-
194{ { { -1 } }, 11, 0, 0, qptrdiff(-
195__builtin_offsetof (-
196qt_meta_stringdata_QQuickDropEvent_t-
197, -
198stringdata0-
199) -
200+ 251 - 25 * sizeof(QByteArrayData)) },-
201{ { { -1 } }, 7, 0, 0, qptrdiff(-
202__builtin_offsetof (-
203qt_meta_stringdata_QQuickDropEvent_t-
204, -
205stringdata0-
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-
221static 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-
268void 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-
339const QMetaObject *QQuickDropEvent::metaObject() const-
340{-
341 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
342}-
343-
344void *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-
352int 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}-
385struct qt_meta_stringdata_QQuickDropAreaDrag_t {-
386 QByteArrayData data[7];-
387 char stringdata0[61];-
388};-
389-
390-
391-
392-
393-
394static const qt_meta_stringdata_QQuickDropAreaDrag_t qt_meta_stringdata_QQuickDropAreaDrag = {-
395 {-
396{ { { -1 } }, 18, 0, 0, qptrdiff(-
397__builtin_offsetof (-
398qt_meta_stringdata_QQuickDropAreaDrag_t-
399, -
400stringdata0-
401) -
402+ 0 - 0 * sizeof(QByteArrayData)) },-
403{ { { -1 } }, 15, 0, 0, qptrdiff(-
404__builtin_offsetof (-
405qt_meta_stringdata_QQuickDropAreaDrag_t-
406, -
407stringdata0-
408) -
409+ 19 - 1 * sizeof(QByteArrayData)) },-
410{ { { -1 } }, 0, 0, 0, qptrdiff(-
411__builtin_offsetof (-
412qt_meta_stringdata_QQuickDropAreaDrag_t-
413, -
414stringdata0-
415) -
416+ 35 - 2 * sizeof(QByteArrayData)) },-
417{ { { -1 } }, 13, 0, 0, qptrdiff(-
418__builtin_offsetof (-
419qt_meta_stringdata_QQuickDropAreaDrag_t-
420, -
421stringdata0-
422) -
423+ 36 - 3 * sizeof(QByteArrayData)) },-
424{ { { -1 } }, 1, 0, 0, qptrdiff(-
425__builtin_offsetof (-
426qt_meta_stringdata_QQuickDropAreaDrag_t-
427, -
428stringdata0-
429) -
430+ 50 - 4 * sizeof(QByteArrayData)) },-
431{ { { -1 } }, 1, 0, 0, qptrdiff(-
432__builtin_offsetof (-
433qt_meta_stringdata_QQuickDropAreaDrag_t-
434, -
435stringdata0-
436) -
437+ 52 - 5 * sizeof(QByteArrayData)) },-
438{ { { -1 } }, 6, 0, 0, qptrdiff(-
439__builtin_offsetof (-
440qt_meta_stringdata_QQuickDropAreaDrag_t-
441, -
442stringdata0-
443) -
444+ 54 - 6 * sizeof(QByteArrayData)) }-
445-
446 },-
447 "QQuickDropAreaDrag\0positionChanged\0\0"-
448 "sourceChanged\0x\0y\0source"-
449};-
450-
451-
452static 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-
486void 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-
537const QMetaObject *QQuickDropAreaDrag::metaObject() const-
538{-
539 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
540}-
541-
542void *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-
550int 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-
585void QQuickDropAreaDrag::positionChanged()-
586{-
587 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
588}
executed 18 times by 1 test: end of block
Executed by:
  • tst_qquickdroparea
18
589-
590-
591void QQuickDropAreaDrag::sourceChanged()-
592{-
593 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
594}
executed 16 times by 1 test: end of block
Executed by:
  • tst_qquickdroparea
16
595struct qt_meta_stringdata_QQuickDropArea_t {-
596 QByteArrayData data[15];-
597 char stringdata0[166];-
598};-
599-
600-
601-
602-
603-
604static const qt_meta_stringdata_QQuickDropArea_t qt_meta_stringdata_QQuickDropArea = {-
605 {-
606{ { { -1 } }, 14, 0, 0, qptrdiff(-
607__builtin_offsetof (-
608qt_meta_stringdata_QQuickDropArea_t-
609, -
610stringdata0-
611) -
612+ 0 - 0 * sizeof(QByteArrayData)) },-
613{ { { -1 } }, 19, 0, 0, qptrdiff(-
614__builtin_offsetof (-
615qt_meta_stringdata_QQuickDropArea_t-
616, -
617stringdata0-
618) -
619+ 15 - 1 * sizeof(QByteArrayData)) },-
620{ { { -1 } }, 0, 0, 0, qptrdiff(-
621__builtin_offsetof (-
622qt_meta_stringdata_QQuickDropArea_t-
623, -
624stringdata0-
625) -
626+ 35 - 2 * sizeof(QByteArrayData)) },-
627{ { { -1 } }, 11, 0, 0, qptrdiff(-
628__builtin_offsetof (-
629qt_meta_stringdata_QQuickDropArea_t-
630, -
631stringdata0-
632) -
633+ 36 - 3 * sizeof(QByteArrayData)) },-
634{ { { -1 } }, 13, 0, 0, qptrdiff(-
635__builtin_offsetof (-
636qt_meta_stringdata_QQuickDropArea_t-
637, -
638stringdata0-
639) -
640+ 48 - 4 * sizeof(QByteArrayData)) },-
641{ { { -1 } }, 7, 0, 0, qptrdiff(-
642__builtin_offsetof (-
643qt_meta_stringdata_QQuickDropArea_t-
644, -
645stringdata0-
646) -
647+ 62 - 5 * sizeof(QByteArrayData)) },-
648{ { { -1 } }, 16, 0, 0, qptrdiff(-
649__builtin_offsetof (-
650qt_meta_stringdata_QQuickDropArea_t-
651, -
652stringdata0-
653) -
654+ 70 - 6 * sizeof(QByteArrayData)) },-
655{ { { -1 } }, 4, 0, 0, qptrdiff(-
656__builtin_offsetof (-
657qt_meta_stringdata_QQuickDropArea_t-
658, -
659stringdata0-
660) -
661+ 87 - 7 * sizeof(QByteArrayData)) },-
662{ { { -1 } }, 6, 0, 0, qptrdiff(-
663__builtin_offsetof (-
664qt_meta_stringdata_QQuickDropArea_t-
665, -
666stringdata0-
667) -
668+ 92 - 8 * sizeof(QByteArrayData)) },-
669{ { { -1 } }, 15, 0, 0, qptrdiff(-
670__builtin_offsetof (-
671qt_meta_stringdata_QQuickDropArea_t-
672, -
673stringdata0-
674) -
675+ 99 - 9 * sizeof(QByteArrayData)) },-
676{ { { -1 } }, 7, 0, 0, qptrdiff(-
677__builtin_offsetof (-
678qt_meta_stringdata_QQuickDropArea_t-
679, -
680stringdata0-
681) -
682+ 115 - 10 * sizeof(QByteArrayData)) },-
683{ { { -1 } }, 4, 0, 0, qptrdiff(-
684__builtin_offsetof (-
685qt_meta_stringdata_QQuickDropArea_t-
686, -
687stringdata0-
688) -
689+ 123 - 11 * sizeof(QByteArrayData)) },-
690{ { { -1 } }, 12, 0, 0, qptrdiff(-
691__builtin_offsetof (-
692qt_meta_stringdata_QQuickDropArea_t-
693, -
694stringdata0-
695) -
696+ 128 - 12 * sizeof(QByteArrayData)) },-
697{ { { -1 } }, 4, 0, 0, qptrdiff(-
698__builtin_offsetof (-
699qt_meta_stringdata_QQuickDropArea_t-
700, -
701stringdata0-
702) -
703+ 141 - 13 * sizeof(QByteArrayData)) },-
704{ { { -1 } }, 19, 0, 0, qptrdiff(-
705__builtin_offsetof (-
706qt_meta_stringdata_QQuickDropArea_t-
707, -
708stringdata0-
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-
721static 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-
765void 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-
894const QMetaObject *QQuickDropArea::metaObject() const-
895{-
896 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
897}-
898-
899void *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-
907int 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-
942void QQuickDropArea::containsDragChanged()-
943{-
944 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
945}
executed 204 times by 2 tests: end of block
Executed by:
  • tst_qquickdroparea
  • tst_qquicklistview
204
946-
947-
948void QQuickDropArea::keysChanged()-
949{-
950 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
951}
executed 60 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickdroparea
60
952-
953-
954void QQuickDropArea::sourceChanged()-
955{-
956 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
957}
never executed: end of block
0
958-
959-
960void 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:
  • tst_qquickdroparea
  • tst_qquicklistview
106
965-
966-
967void QQuickDropArea::exited()-
968{-
969 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
970}
executed 72 times by 2 tests: end of block
Executed by:
  • tst_qquickdroparea
  • tst_qquicklistview
72
971-
972-
973void 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:
  • tst_qquickdroparea
  • tst_qquicklistview
140
978-
979-
980void 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:
  • tst_qquickdroparea
28
985-
986#pragma GCC diagnostic pop-
987-
988-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0