OpenCoverage

moc_qquickdrag_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickdrag_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickdrag_p.h'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include "../items/qquickdrag_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickdrag_p.h' doesn't include <QObject>."-
14#elif Q_MOC_OUTPUT_REVISION != 67-
15#error "This file was generated using the moc from 5.12.0. It"-
16#error "cannot be used with the include files from this version of Qt."-
17#error "(The moc has changed too much.)"-
18#endif-
19-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QQuickDragMimeData_t {-
24 QByteArrayData data[1];-
25 char stringdata0[19];-
26};-
27#define QT_MOC_LITERAL(idx, ofs, len) \-
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
29 qptrdiff(offsetof(qt_meta_stringdata_QQuickDragMimeData_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickDragMimeData_t qt_meta_stringdata_QQuickDragMimeData = {-
33 {-
34QT_MOC_LITERAL(0, 0, 18) // "QQuickDragMimeData"-
35-
36 },-
37 "QQuickDragMimeData"-
38};-
39#undef QT_MOC_LITERAL-
40-
41static const uint qt_meta_data_QQuickDragMimeData[] = {-
42-
43 // content:-
44 7, // revision-
45 0, // classname-
46 0, 0, // classinfo-
47 0, 0, // methods-
48 0, 0, // properties-
49 0, 0, // enums/sets-
50 0, 0, // constructors-
51 0, // flags-
52 0, // signalCount-
53-
54 0 // eod-
55};-
56-
57void QQuickDragMimeData::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
58{-
59 Q_UNUSED(_o);-
60 Q_UNUSED(_id);-
61 Q_UNUSED(_c);-
62 Q_UNUSED(_a);-
63}-
64-
65QT_INIT_METAOBJECT const QMetaObject QQuickDragMimeData::staticMetaObject = {-
66 { &QMimeData::staticMetaObject, qt_meta_stringdata_QQuickDragMimeData.data,-
67 qt_meta_data_QQuickDragMimeData, qt_static_metacall, nullptr, nullptr}-
68};-
69-
70-
71const QMetaObject *QQuickDragMimeData::metaObject() const-
72{-
73 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
74}-
75-
76void *QQuickDragMimeData::qt_metacast(const char *_clname)-
77{-
78 if (!_clname) return nullptr;-
79 if (!strcmp(_clname, qt_meta_stringdata_QQuickDragMimeData.stringdata0))-
80 return static_cast<void*>(this);-
81 return QMimeData::qt_metacast(_clname);-
82}-
83-
84int QQuickDragMimeData::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
85{-
86 _id = QMimeData::qt_metacall(_c, _id, _a);-
87 return _id;-
88}-
89struct qt_meta_stringdata_QQuickDrag_t {-
90 QByteArrayData data[32];-
91 char stringdata0[342];-
92};-
93#define QT_MOC_LITERAL(idx, ofs, len) \-
94 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
95 qptrdiff(offsetof(qt_meta_stringdata_QQuickDrag_t, stringdata0) + ofs \-
96 - idx * sizeof(QByteArrayData)) \-
97 )-
98static const qt_meta_stringdata_QQuickDrag_t qt_meta_stringdata_QQuickDrag = {-
99 {-
100QT_MOC_LITERAL(0, 0, 10), // "QQuickDrag"-
101QT_MOC_LITERAL(1, 11, 13), // "targetChanged"-
102QT_MOC_LITERAL(2, 25, 0), // ""-
103QT_MOC_LITERAL(3, 26, 11), // "axisChanged"-
104QT_MOC_LITERAL(4, 38, 15), // "minimumXChanged"-
105QT_MOC_LITERAL(5, 54, 15), // "maximumXChanged"-
106QT_MOC_LITERAL(6, 70, 15), // "minimumYChanged"-
107QT_MOC_LITERAL(7, 86, 15), // "maximumYChanged"-
108QT_MOC_LITERAL(8, 102, 13), // "activeChanged"-
109QT_MOC_LITERAL(9, 116, 21), // "filterChildrenChanged"-
110QT_MOC_LITERAL(10, 138, 15), // "smoothedChanged"-
111QT_MOC_LITERAL(11, 154, 16), // "thresholdChanged"-
112QT_MOC_LITERAL(12, 171, 6), // "target"-
113QT_MOC_LITERAL(13, 178, 11), // "QQuickItem*"-
114QT_MOC_LITERAL(14, 190, 4), // "axis"-
115QT_MOC_LITERAL(15, 195, 4), // "Axis"-
116QT_MOC_LITERAL(16, 200, 8), // "minimumX"-
117QT_MOC_LITERAL(17, 209, 8), // "maximumX"-
118QT_MOC_LITERAL(18, 218, 8), // "minimumY"-
119QT_MOC_LITERAL(19, 227, 8), // "maximumY"-
120QT_MOC_LITERAL(20, 236, 6), // "active"-
121QT_MOC_LITERAL(21, 243, 14), // "filterChildren"-
122QT_MOC_LITERAL(22, 258, 8), // "smoothed"-
123QT_MOC_LITERAL(23, 267, 9), // "threshold"-
124QT_MOC_LITERAL(24, 277, 8), // "DragType"-
125QT_MOC_LITERAL(25, 286, 4), // "None"-
126QT_MOC_LITERAL(26, 291, 9), // "Automatic"-
127QT_MOC_LITERAL(27, 301, 8), // "Internal"-
128QT_MOC_LITERAL(28, 310, 5), // "XAxis"-
129QT_MOC_LITERAL(29, 316, 5), // "YAxis"-
130QT_MOC_LITERAL(30, 322, 9), // "XAndYAxis"-
131QT_MOC_LITERAL(31, 332, 9) // "XandYAxis"-
132-
133 },-
134 "QQuickDrag\0targetChanged\0\0axisChanged\0"-
135 "minimumXChanged\0maximumXChanged\0"-
136 "minimumYChanged\0maximumYChanged\0"-
137 "activeChanged\0filterChildrenChanged\0"-
138 "smoothedChanged\0thresholdChanged\0"-
139 "target\0QQuickItem*\0axis\0Axis\0minimumX\0"-
140 "maximumX\0minimumY\0maximumY\0active\0"-
141 "filterChildren\0smoothed\0threshold\0"-
142 "DragType\0None\0Automatic\0Internal\0XAxis\0"-
143 "YAxis\0XAndYAxis\0XandYAxis"-
144};-
145#undef QT_MOC_LITERAL-
146-
147static const uint qt_meta_data_QQuickDrag[] = {-
148-
149 // content:-
150 7, // revision-
151 0, // classname-
152 0, 0, // classinfo-
153 10, 14, // methods-
154 10, 74, // properties-
155 2, 114, // enums/sets-
156 0, 0, // constructors-
157 0, // flags-
158 10, // signalCount-
159-
160 // signals: name, argc, parameters, tag, flags-
161 1, 0, 64, 2, 0x06 /* Public */,-
162 3, 0, 65, 2, 0x06 /* Public */,-
163 4, 0, 66, 2, 0x06 /* Public */,-
164 5, 0, 67, 2, 0x06 /* Public */,-
165 6, 0, 68, 2, 0x06 /* Public */,-
166 7, 0, 69, 2, 0x06 /* Public */,-
167 8, 0, 70, 2, 0x06 /* Public */,-
168 9, 0, 71, 2, 0x06 /* Public */,-
169 10, 0, 72, 2, 0x06 /* Public */,-
170 11, 0, 73, 2, 0x06 /* Public */,-
171-
172 // signals: parameters-
173 QMetaType::Void,-
174 QMetaType::Void,-
175 QMetaType::Void,-
176 QMetaType::Void,-
177 QMetaType::Void,-
178 QMetaType::Void,-
179 QMetaType::Void,-
180 QMetaType::Void,-
181 QMetaType::Void,-
182 QMetaType::Void,-
183-
184 // properties: name, type, flags-
185 12, 0x80000000 | 13, 0x0049510f,-
186 14, 0x80000000 | 15, 0x0049510b,-
187 16, QMetaType::QReal, 0x00495003,-
188 17, QMetaType::QReal, 0x00495003,-
189 18, QMetaType::QReal, 0x00495003,-
190 19, QMetaType::QReal, 0x00495003,-
191 20, QMetaType::Bool, 0x00495001,-
192 21, QMetaType::Bool, 0x00495103,-
193 22, QMetaType::Bool, 0x00495103,-
194 23, QMetaType::QReal, 0x00495107,-
195-
196 // properties: notify_signal_id-
197 0,-
198 1,-
199 2,-
200 3,-
201 4,-
202 5,-
203 6,-
204 7,-
205 8,-
206 9,-
207-
208 // enums: name, flags, count, data-
209 24, 0x0, 3, 122,-
210 15, 0x0, 4, 128,-
211-
212 // enum data: key, value-
213 25, uint(QQuickDrag::None),-
214 26, uint(QQuickDrag::Automatic),-
215 27, uint(QQuickDrag::Internal),-
216 28, uint(QQuickDrag::XAxis),-
217 29, uint(QQuickDrag::YAxis),-
218 30, uint(QQuickDrag::XAndYAxis),-
219 31, uint(QQuickDrag::XandYAxis),-
220-
221 0 // eod-
222};-
223-
224void QQuickDrag::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
225{-
226 if (_c == QMetaObject::InvokeMetaMethod) {-
227 QQuickDrag *_t = static_cast<QQuickDrag *>(_o);-
228 Q_UNUSED(_t)-
229 switch (_id) {-
230 case 0: _t->targetChanged(); break;-
231 case 1: _t->axisChanged(); break;-
232 case 2: _t->minimumXChanged(); break;-
233 case 3: _t->maximumXChanged(); break;-
234 case 4: _t->minimumYChanged(); break;-
235 case 5: _t->maximumYChanged(); break;-
236 case 6: _t->activeChanged(); break;-
237 case 7: _t->filterChildrenChanged(); break;-
238 case 8: _t->smoothedChanged(); break;-
239 case 9: _t->thresholdChanged(); break;-
240 default: ;-
241 }-
242 } else if (_c == QMetaObject::IndexOfMethod) {-
243 int *result = reinterpret_cast<int *>(_a[0]);-
244 {-
245 using _t = void (QQuickDrag::*)();-
246 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDrag::targetChanged)) {-
247 *result = 0;-
248 return;-
249 }-
250 }-
251 {-
252 using _t = void (QQuickDrag::*)();-
253 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDrag::axisChanged)) {-
254 *result = 1;-
255 return;-
256 }-
257 }-
258 {-
259 using _t = void (QQuickDrag::*)();-
260 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDrag::minimumXChanged)) {-
261 *result = 2;-
262 return;-
263 }-
264 }-
265 {-
266 using _t = void (QQuickDrag::*)();-
267 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDrag::maximumXChanged)) {-
268 *result = 3;-
269 return;-
270 }-
271 }-
272 {-
273 using _t = void (QQuickDrag::*)();-
274 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDrag::minimumYChanged)) {-
275 *result = 4;-
276 return;-
277 }-
278 }-
279 {-
280 using _t = void (QQuickDrag::*)();-
281 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDrag::maximumYChanged)) {-
282 *result = 5;-
283 return;-
284 }-
285 }-
286 {-
287 using _t = void (QQuickDrag::*)();-
288 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDrag::activeChanged)) {-
289 *result = 6;-
290 return;-
291 }-
292 }-
293 {-
294 using _t = void (QQuickDrag::*)();-
295 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDrag::filterChildrenChanged)) {-
296 *result = 7;-
297 return;-
298 }-
299 }-
300 {-
301 using _t = void (QQuickDrag::*)();-
302 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDrag::smoothedChanged)) {-
303 *result = 8;-
304 return;-
305 }-
306 }-
307 {-
308 using _t = void (QQuickDrag::*)();-
309 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDrag::thresholdChanged)) {-
310 *result = 9;-
311 return;-
312 }-
313 }-
314 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
315 switch (_id) {-
316 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
317 case 0:-
318 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;-
319 }-
320 }-
321-
322#ifndef QT_NO_PROPERTIES-
323 else if (_c == QMetaObject::ReadProperty) {-
324 QQuickDrag *_t = static_cast<QQuickDrag *>(_o);-
325 Q_UNUSED(_t)-
326 void *_v = _a[0];-
327 switch (_id) {-
328 case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->target(); break;-
329 case 1: *reinterpret_cast< Axis*>(_v) = _t->axis(); break;-
330 case 2: *reinterpret_cast< qreal*>(_v) = _t->xmin(); break;-
331 case 3: *reinterpret_cast< qreal*>(_v) = _t->xmax(); break;-
332 case 4: *reinterpret_cast< qreal*>(_v) = _t->ymin(); break;-
333 case 5: *reinterpret_cast< qreal*>(_v) = _t->ymax(); break;-
334 case 6: *reinterpret_cast< bool*>(_v) = _t->active(); break;-
335 case 7: *reinterpret_cast< bool*>(_v) = _t->filterChildren(); break;-
336 case 8: *reinterpret_cast< bool*>(_v) = _t->smoothed(); break;-
337 case 9: *reinterpret_cast< qreal*>(_v) = _t->threshold(); break;-
338 default: break;-
339 }-
340 } else if (_c == QMetaObject::WriteProperty) {-
341 QQuickDrag *_t = static_cast<QQuickDrag *>(_o);-
342 Q_UNUSED(_t)-
343 void *_v = _a[0];-
344 switch (_id) {-
345 case 0: _t->setTarget(*reinterpret_cast< QQuickItem**>(_v)); break;-
346 case 1: _t->setAxis(*reinterpret_cast< Axis*>(_v)); break;-
347 case 2: _t->setXmin(*reinterpret_cast< qreal*>(_v)); break;-
348 case 3: _t->setXmax(*reinterpret_cast< qreal*>(_v)); break;-
349 case 4: _t->setYmin(*reinterpret_cast< qreal*>(_v)); break;-
350 case 5: _t->setYmax(*reinterpret_cast< qreal*>(_v)); break;-
351 case 7: _t->setFilterChildren(*reinterpret_cast< bool*>(_v)); break;-
352 case 8: _t->setSmoothed(*reinterpret_cast< bool*>(_v)); break;-
353 case 9: _t->setThreshold(*reinterpret_cast< qreal*>(_v)); break;-
354 default: break;-
355 }-
356 } else if (_c == QMetaObject::ResetProperty) {-
357 QQuickDrag *_t = static_cast<QQuickDrag *>(_o);-
358 Q_UNUSED(_t)-
359 switch (_id) {-
360 case 0: _t->resetTarget(); break;-
361 case 9: _t->resetThreshold(); break;-
362 default: break;-
363 }-
364 }-
365#endif // QT_NO_PROPERTIES-
366}-
367-
368QT_INIT_METAOBJECT const QMetaObject QQuickDrag::staticMetaObject = {-
369 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickDrag.data,-
370 qt_meta_data_QQuickDrag, qt_static_metacall, nullptr, nullptr}-
371};-
372-
373-
374const QMetaObject *QQuickDrag::metaObject() const-
375{-
376 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
377}-
378-
379void *QQuickDrag::qt_metacast(const char *_clname)-
380{-
381 if (!_clname) return nullptr;-
382 if (!strcmp(_clname, qt_meta_stringdata_QQuickDrag.stringdata0))-
383 return static_cast<void*>(this);-
384 return QObject::qt_metacast(_clname);-
385}-
386-
387int QQuickDrag::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
388{-
389 _id = QObject::qt_metacall(_c, _id, _a);-
390 if (_id < 0)-
391 return _id;-
392 if (_c == QMetaObject::InvokeMetaMethod) {-
393 if (_id < 10)-
394 qt_static_metacall(this, _c, _id, _a);-
395 _id -= 10;-
396 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
397 if (_id < 10)-
398 *reinterpret_cast<int*>(_a[0]) = -1;-
399 _id -= 10;-
400 }-
401#ifndef QT_NO_PROPERTIES-
402 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
403 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
404 qt_static_metacall(this, _c, _id, _a);-
405 _id -= 10;-
406 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
407 _id -= 10;-
408 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
409 _id -= 10;-
410 } else if (_c == QMetaObject::QueryPropertyStored) {-
411 _id -= 10;-
412 } else if (_c == QMetaObject::QueryPropertyEditable) {-
413 _id -= 10;-
414 } else if (_c == QMetaObject::QueryPropertyUser) {-
415 _id -= 10;-
416 }-
417#endif // QT_NO_PROPERTIES-
418 return _id;-
419}-
420-
421// SIGNAL 0-
422void QQuickDrag::targetChanged()-
423{-
424 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
425}
executed 410 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
410
426-
427// SIGNAL 1-
428void QQuickDrag::axisChanged()-
429{-
430 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
431}
executed 100 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickmousearea
100
432-
433// SIGNAL 2-
434void QQuickDrag::minimumXChanged()-
435{-
436 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
437}
executed 132 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickmousearea
132
438-
439// SIGNAL 3-
440void QQuickDrag::maximumXChanged()-
441{-
442 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
443}
executed 236 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickmousearea
236
444-
445// SIGNAL 4-
446void QQuickDrag::minimumYChanged()-
447{-
448 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
449}
executed 52 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickmousearea
52
450-
451// SIGNAL 5-
452void QQuickDrag::maximumYChanged()-
453{-
454 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
455}
executed 52 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickmousearea
52
456-
457// SIGNAL 6-
458void QQuickDrag::activeChanged()-
459{-
460 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
461}
executed 120 times by 4 tests: end of block
Executed by:
  • tst_qquickflickable
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
120
462-
463// SIGNAL 7-
464void QQuickDrag::filterChildrenChanged()-
465{-
466 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
467}
executed 18 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickflickable
  • tst_qquickmousearea
18
468-
469// SIGNAL 8-
470void QQuickDrag::smoothedChanged()-
471{-
472 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
473}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickmousearea
2
474-
475// SIGNAL 9-
476void QQuickDrag::thresholdChanged()-
477{-
478 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);-
479}
executed 22 times by 1 test: end of block
Executed by:
  • tst_qquickmousearea
22
480struct qt_meta_stringdata_QQuickDragAttached_t {-
481 QByteArrayData data[33];-
482 char stringdata0[414];-
483};-
484#define QT_MOC_LITERAL(idx, ofs, len) \-
485 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
486 qptrdiff(offsetof(qt_meta_stringdata_QQuickDragAttached_t, stringdata0) + ofs \-
487 - idx * sizeof(QByteArrayData)) \-
488 )-
489static const qt_meta_stringdata_QQuickDragAttached_t qt_meta_stringdata_QQuickDragAttached = {-
490 {-
491QT_MOC_LITERAL(0, 0, 18), // "QQuickDragAttached"-
492QT_MOC_LITERAL(1, 19, 11), // "dragStarted"-
493QT_MOC_LITERAL(2, 31, 0), // ""-
494QT_MOC_LITERAL(3, 32, 12), // "dragFinished"-
495QT_MOC_LITERAL(4, 45, 14), // "Qt::DropAction"-
496QT_MOC_LITERAL(5, 60, 10), // "dropAction"-
497QT_MOC_LITERAL(6, 71, 13), // "activeChanged"-
498QT_MOC_LITERAL(7, 85, 13), // "sourceChanged"-
499QT_MOC_LITERAL(8, 99, 13), // "targetChanged"-
500QT_MOC_LITERAL(9, 113, 14), // "hotSpotChanged"-
501QT_MOC_LITERAL(10, 128, 18), // "imageSourceChanged"-
502QT_MOC_LITERAL(11, 147, 11), // "keysChanged"-
503QT_MOC_LITERAL(12, 159, 15), // "mimeDataChanged"-
504QT_MOC_LITERAL(13, 175, 23), // "supportedActionsChanged"-
505QT_MOC_LITERAL(14, 199, 21), // "proposedActionChanged"-
506QT_MOC_LITERAL(15, 221, 15), // "dragTypeChanged"-
507QT_MOC_LITERAL(16, 237, 5), // "start"-
508QT_MOC_LITERAL(17, 243, 15), // "QQmlV4Function*"-
509QT_MOC_LITERAL(18, 259, 9), // "startDrag"-
510QT_MOC_LITERAL(19, 269, 6), // "cancel"-
511QT_MOC_LITERAL(20, 276, 4), // "drop"-
512QT_MOC_LITERAL(21, 281, 6), // "active"-
513QT_MOC_LITERAL(22, 288, 6), // "source"-
514QT_MOC_LITERAL(23, 295, 6), // "target"-
515QT_MOC_LITERAL(24, 302, 7), // "hotSpot"-
516QT_MOC_LITERAL(25, 310, 11), // "imageSource"-
517QT_MOC_LITERAL(26, 322, 4), // "keys"-
518QT_MOC_LITERAL(27, 327, 8), // "mimeData"-
519QT_MOC_LITERAL(28, 336, 16), // "supportedActions"-
520QT_MOC_LITERAL(29, 353, 15), // "Qt::DropActions"-
521QT_MOC_LITERAL(30, 369, 14), // "proposedAction"-
522QT_MOC_LITERAL(31, 384, 8), // "dragType"-
523QT_MOC_LITERAL(32, 393, 20) // "QQuickDrag::DragType"-
524-
525 },-
526 "QQuickDragAttached\0dragStarted\0\0"-
527 "dragFinished\0Qt::DropAction\0dropAction\0"-
528 "activeChanged\0sourceChanged\0targetChanged\0"-
529 "hotSpotChanged\0imageSourceChanged\0"-
530 "keysChanged\0mimeDataChanged\0"-
531 "supportedActionsChanged\0proposedActionChanged\0"-
532 "dragTypeChanged\0start\0QQmlV4Function*\0"-
533 "startDrag\0cancel\0drop\0active\0source\0"-
534 "target\0hotSpot\0imageSource\0keys\0"-
535 "mimeData\0supportedActions\0Qt::DropActions\0"-
536 "proposedAction\0dragType\0QQuickDrag::DragType"-
537};-
538#undef QT_MOC_LITERAL-
539-
540static const uint qt_meta_data_QQuickDragAttached[] = {-
541-
542 // content:-
543 7, // revision-
544 0, // classname-
545 0, 0, // classinfo-
546 16, 14, // methods-
547 10, 116, // properties-
548 0, 0, // enums/sets-
549 0, 0, // constructors-
550 0, // flags-
551 12, // signalCount-
552-
553 // signals: name, argc, parameters, tag, flags-
554 1, 0, 94, 2, 0x06 /* Public */,-
555 3, 1, 95, 2, 0x06 /* Public */,-
556 6, 0, 98, 2, 0x06 /* Public */,-
557 7, 0, 99, 2, 0x06 /* Public */,-
558 8, 0, 100, 2, 0x06 /* Public */,-
559 9, 0, 101, 2, 0x06 /* Public */,-
560 10, 0, 102, 2, 0x06 /* Public */,-
561 11, 0, 103, 2, 0x06 /* Public */,-
562 12, 0, 104, 2, 0x06 /* Public */,-
563 13, 0, 105, 2, 0x06 /* Public */,-
564 14, 0, 106, 2, 0x06 /* Public */,-
565 15, 0, 107, 2, 0x06 /* Public */,-
566-
567 // slots: name, argc, parameters, tag, flags-
568 16, 1, 108, 2, 0x0a /* Public */,-
569 18, 1, 111, 2, 0x0a /* Public */,-
570 19, 0, 114, 2, 0x0a /* Public */,-
571-
572 // methods: name, argc, parameters, tag, flags-
573 20, 0, 115, 2, 0x02 /* Public */,-
574-
575 // signals: parameters-
576 QMetaType::Void,-
577 QMetaType::Void, 0x80000000 | 4, 5,-
578 QMetaType::Void,-
579 QMetaType::Void,-
580 QMetaType::Void,-
581 QMetaType::Void,-
582 QMetaType::Void,-
583 QMetaType::Void,-
584 QMetaType::Void,-
585 QMetaType::Void,-
586 QMetaType::Void,-
587 QMetaType::Void,-
588-
589 // slots: parameters-
590 QMetaType::Void, 0x80000000 | 17, 2,-
591 QMetaType::Void, 0x80000000 | 17, 2,-
592 QMetaType::Void,-
593-
594 // methods: parameters-
595 QMetaType::Int,-
596-
597 // properties: name, type, flags-
598 21, QMetaType::Bool, 0x00495103,-
599 22, QMetaType::QObjectStar, 0x00495107,-
600 23, QMetaType::QObjectStar, 0x00495001,-
601 24, QMetaType::QPointF, 0x00495103,-
602 25, QMetaType::QUrl, 0x00495103,-
603 26, QMetaType::QStringList, 0x00495103,-
604 27, QMetaType::QVariantMap, 0x00495103,-
605 28, 0x80000000 | 29, 0x0049510b,-
606 30, 0x80000000 | 4, 0x0049510b,-
607 31, 0x80000000 | 32, 0x0049510b,-
608-
609 // properties: notify_signal_id-
610 2,-
611 3,-
612 4,-
613 5,-
614 6,-
615 7,-
616 8,-
617 9,-
618 10,-
619 11,-
620-
621 0 // eod-
622};-
623-
624void QQuickDragAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
625{-
626 if (_c == QMetaObject::InvokeMetaMethod) {-
627 QQuickDragAttached *_t = static_cast<QQuickDragAttached *>(_o);-
628 Q_UNUSED(_t)-
629 switch (_id) {-
630 case 0: _t->dragStarted(); break;-
631 case 1: _t->dragFinished((*reinterpret_cast< Qt::DropAction(*)>(_a[1]))); break;-
632 case 2: _t->activeChanged(); break;-
633 case 3: _t->sourceChanged(); break;-
634 case 4: _t->targetChanged(); break;-
635 case 5: _t->hotSpotChanged(); break;-
636 case 6: _t->imageSourceChanged(); break;-
637 case 7: _t->keysChanged(); break;-
638 case 8: _t->mimeDataChanged(); break;-
639 case 9: _t->supportedActionsChanged(); break;-
640 case 10: _t->proposedActionChanged(); break;-
641 case 11: _t->dragTypeChanged(); break;-
642 case 12: _t->start((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break;-
643 case 13: _t->startDrag((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break;-
644 case 14: _t->cancel(); break;-
645 case 15: { int _r = _t->drop();-
646 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;-
647 default: ;-
648 }-
649 } else if (_c == QMetaObject::IndexOfMethod) {-
650 int *result = reinterpret_cast<int *>(_a[0]);-
651 {-
652 using _t = void (QQuickDragAttached::*)();-
653 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::dragStarted)) {-
654 *result = 0;-
655 return;-
656 }-
657 }-
658 {-
659 using _t = void (QQuickDragAttached::*)(Qt::DropAction );-
660 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::dragFinished)) {-
661 *result = 1;-
662 return;-
663 }-
664 }-
665 {-
666 using _t = void (QQuickDragAttached::*)();-
667 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::activeChanged)) {-
668 *result = 2;-
669 return;-
670 }-
671 }-
672 {-
673 using _t = void (QQuickDragAttached::*)();-
674 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::sourceChanged)) {-
675 *result = 3;-
676 return;-
677 }-
678 }-
679 {-
680 using _t = void (QQuickDragAttached::*)();-
681 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::targetChanged)) {-
682 *result = 4;-
683 return;-
684 }-
685 }-
686 {-
687 using _t = void (QQuickDragAttached::*)();-
688 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::hotSpotChanged)) {-
689 *result = 5;-
690 return;-
691 }-
692 }-
693 {-
694 using _t = void (QQuickDragAttached::*)();-
695 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::imageSourceChanged)) {-
696 *result = 6;-
697 return;-
698 }-
699 }-
700 {-
701 using _t = void (QQuickDragAttached::*)();-
702 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::keysChanged)) {-
703 *result = 7;-
704 return;-
705 }-
706 }-
707 {-
708 using _t = void (QQuickDragAttached::*)();-
709 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::mimeDataChanged)) {-
710 *result = 8;-
711 return;-
712 }-
713 }-
714 {-
715 using _t = void (QQuickDragAttached::*)();-
716 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::supportedActionsChanged)) {-
717 *result = 9;-
718 return;-
719 }-
720 }-
721 {-
722 using _t = void (QQuickDragAttached::*)();-
723 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::proposedActionChanged)) {-
724 *result = 10;-
725 return;-
726 }-
727 }-
728 {-
729 using _t = void (QQuickDragAttached::*)();-
730 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAttached::dragTypeChanged)) {-
731 *result = 11;-
732 return;-
733 }-
734 }-
735 }-
736#ifndef QT_NO_PROPERTIES-
737 else if (_c == QMetaObject::ReadProperty) {-
738 QQuickDragAttached *_t = static_cast<QQuickDragAttached *>(_o);-
739 Q_UNUSED(_t)-
740 void *_v = _a[0];-
741 switch (_id) {-
742 case 0: *reinterpret_cast< bool*>(_v) = _t->isActive(); break;-
743 case 1: *reinterpret_cast< QObject**>(_v) = _t->source(); break;-
744 case 2: *reinterpret_cast< QObject**>(_v) = _t->target(); break;-
745 case 3: *reinterpret_cast< QPointF*>(_v) = _t->hotSpot(); break;-
746 case 4: *reinterpret_cast< QUrl*>(_v) = _t->imageSource(); break;-
747 case 5: *reinterpret_cast< QStringList*>(_v) = _t->keys(); break;-
748 case 6: *reinterpret_cast< QVariantMap*>(_v) = _t->mimeData(); break;-
749 case 7: *reinterpret_cast< Qt::DropActions*>(_v) = _t->supportedActions(); break;-
750 case 8: *reinterpret_cast< Qt::DropAction*>(_v) = _t->proposedAction(); break;-
751 case 9: *reinterpret_cast< QQuickDrag::DragType*>(_v) = _t->dragType(); break;-
752 default: break;-
753 }-
754 } else if (_c == QMetaObject::WriteProperty) {-
755 QQuickDragAttached *_t = static_cast<QQuickDragAttached *>(_o);-
756 Q_UNUSED(_t)-
757 void *_v = _a[0];-
758 switch (_id) {-
759 case 0: _t->setActive(*reinterpret_cast< bool*>(_v)); break;-
760 case 1: _t->setSource(*reinterpret_cast< QObject**>(_v)); break;-
761 case 3: _t->setHotSpot(*reinterpret_cast< QPointF*>(_v)); break;-
762 case 4: _t->setImageSource(*reinterpret_cast< QUrl*>(_v)); break;-
763 case 5: _t->setKeys(*reinterpret_cast< QStringList*>(_v)); break;-
764 case 6: _t->setMimeData(*reinterpret_cast< QVariantMap*>(_v)); break;-
765 case 7: _t->setSupportedActions(*reinterpret_cast< Qt::DropActions*>(_v)); break;-
766 case 8: _t->setProposedAction(*reinterpret_cast< Qt::DropAction*>(_v)); break;-
767 case 9: _t->setDragType(*reinterpret_cast< QQuickDrag::DragType*>(_v)); break;-
768 default: break;-
769 }-
770 } else if (_c == QMetaObject::ResetProperty) {-
771 QQuickDragAttached *_t = static_cast<QQuickDragAttached *>(_o);-
772 Q_UNUSED(_t)-
773 switch (_id) {-
774 case 1: _t->resetSource(); break;-
775 default: break;-
776 }-
777 }-
778#endif // QT_NO_PROPERTIES-
779}-
780-
781static const QMetaObject * const qt_meta_extradata_QQuickDragAttached[] = {-
782 &QQuickDrag::staticMetaObject,-
783 nullptr-
784};-
785-
786QT_INIT_METAOBJECT const QMetaObject QQuickDragAttached::staticMetaObject = {-
787 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickDragAttached.data,-
788 qt_meta_data_QQuickDragAttached, qt_static_metacall, qt_meta_extradata_QQuickDragAttached, nullptr}-
789};-
790-
791-
792const QMetaObject *QQuickDragAttached::metaObject() const-
793{-
794 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
795}-
796-
797void *QQuickDragAttached::qt_metacast(const char *_clname)-
798{-
799 if (!_clname) return nullptr;-
800 if (!strcmp(_clname, qt_meta_stringdata_QQuickDragAttached.stringdata0))-
801 return static_cast<void*>(this);-
802 return QObject::qt_metacast(_clname);-
803}-
804-
805int QQuickDragAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
806{-
807 _id = QObject::qt_metacall(_c, _id, _a);-
808 if (_id < 0)-
809 return _id;-
810 if (_c == QMetaObject::InvokeMetaMethod) {-
811 if (_id < 16)-
812 qt_static_metacall(this, _c, _id, _a);-
813 _id -= 16;-
814 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
815 if (_id < 16)-
816 *reinterpret_cast<int*>(_a[0]) = -1;-
817 _id -= 16;-
818 }-
819#ifndef QT_NO_PROPERTIES-
820 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
821 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
822 qt_static_metacall(this, _c, _id, _a);-
823 _id -= 10;-
824 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
825 _id -= 10;-
826 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
827 _id -= 10;-
828 } else if (_c == QMetaObject::QueryPropertyStored) {-
829 _id -= 10;-
830 } else if (_c == QMetaObject::QueryPropertyEditable) {-
831 _id -= 10;-
832 } else if (_c == QMetaObject::QueryPropertyUser) {-
833 _id -= 10;-
834 }-
835#endif // QT_NO_PROPERTIES-
836 return _id;-
837}-
838-
839// SIGNAL 0-
840void QQuickDragAttached::dragStarted()-
841{-
842 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
843}
never executed: end of block
0
844-
845// SIGNAL 1-
846void QQuickDragAttached::dragFinished(Qt::DropAction _t1)-
847{-
848 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
849 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
850}
never executed: end of block
0
851-
852// SIGNAL 2-
853void QQuickDragAttached::activeChanged()-
854{-
855 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
856}
executed 356 times by 3 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
356
857-
858// SIGNAL 3-
859void QQuickDragAttached::sourceChanged()-
860{-
861 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
862}
executed 200 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
200
863-
864// SIGNAL 4-
865void QQuickDragAttached::targetChanged()-
866{-
867 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
868}
executed 282 times by 3 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
  • tst_qquicklistview
282
869-
870// SIGNAL 5-
871void QQuickDragAttached::hotSpotChanged()-
872{-
873 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
874}
executed 294 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickdrag
  • tst_qquicklistview
294
875-
876// SIGNAL 6-
877void QQuickDragAttached::imageSourceChanged()-
878{-
879 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
880}
never executed: end of block
0
881-
882// SIGNAL 7-
883void QQuickDragAttached::keysChanged()-
884{-
885 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
886}
executed 54 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickdrag
  • tst_qquickdroparea
54
887-
888// SIGNAL 8-
889void QQuickDragAttached::mimeDataChanged()-
890{-
891 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
892}
executed 2 times by 1 test: end of block
Executed by:
  • tst_examples
2
893-
894// SIGNAL 9-
895void QQuickDragAttached::supportedActionsChanged()-
896{-
897 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);-
898}
executed 8 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickdrag
  • tst_qquickdroparea
8
899-
900// SIGNAL 10-
901void QQuickDragAttached::proposedActionChanged()-
902{-
903 QMetaObject::activate(this, &staticMetaObject, 10, nullptr);-
904}
executed 8 times by 2 tests: end of block
Executed by:
  • tst_qquickdrag
  • tst_qquickdroparea
8
905-
906// SIGNAL 11-
907void QQuickDragAttached::dragTypeChanged()-
908{-
909 QMetaObject::activate(this, &staticMetaObject, 11, nullptr);-
910}
executed 4 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickdrag
4
911QT_WARNING_POP-
912QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0