| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickdroparea_p.cpp |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /**************************************************************************** | - |
| 2 | ** Meta object code from reading C++ file 'qquickdroparea_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/qquickdroparea_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #include <QtCore/QList> | - |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 14 | #error "The header file 'qquickdroparea_p.h' doesn't include <QObject>." | - |
| 15 | #elif Q_MOC_OUTPUT_REVISION != 67 | - |
| 16 | #error "This file was generated using the moc from 5.12.0. It" | - |
| 17 | #error "cannot be used with the include files from this version of Qt." | - |
| 18 | #error "(The moc has changed too much.)" | - |
| 19 | #endif | - |
| 20 | - | |
| 21 | QT_BEGIN_MOC_NAMESPACE | - |
| 22 | QT_WARNING_PUSH | - |
| 23 | QT_WARNING_DISABLE_DEPRECATED | - |
| 24 | struct qt_meta_stringdata_QQuickDropEvent_t { | - |
| 25 | QByteArrayData data[27]; | - |
| 26 | char stringdata0[271]; | - |
| 27 | }; | - |
| 28 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 29 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 30 | qptrdiff(offsetof(qt_meta_stringdata_QQuickDropEvent_t, stringdata0) + ofs \ | - |
| 31 | - idx * sizeof(QByteArrayData)) \ | - |
| 32 | ) | - |
| 33 | static const qt_meta_stringdata_QQuickDropEvent_t qt_meta_stringdata_QQuickDropEvent = { | - |
| 34 | { | - |
| 35 | QT_MOC_LITERAL(0, 0, 15), // "QQuickDropEvent" | - |
| 36 | QT_MOC_LITERAL(1, 16, 15), // "getDataAsString" | - |
| 37 | QT_MOC_LITERAL(2, 32, 0), // "" | - |
| 38 | QT_MOC_LITERAL(3, 33, 15), // "QQmlV4Function*" | - |
| 39 | QT_MOC_LITERAL(4, 49, 20), // "getDataAsArrayBuffer" | - |
| 40 | QT_MOC_LITERAL(5, 70, 20), // "acceptProposedAction" | - |
| 41 | QT_MOC_LITERAL(6, 91, 6), // "accept" | - |
| 42 | QT_MOC_LITERAL(7, 98, 1), // "x" | - |
| 43 | QT_MOC_LITERAL(8, 100, 1), // "y" | - |
| 44 | QT_MOC_LITERAL(9, 102, 6), // "source" | - |
| 45 | QT_MOC_LITERAL(10, 109, 4), // "keys" | - |
| 46 | QT_MOC_LITERAL(11, 114, 16), // "supportedActions" | - |
| 47 | QT_MOC_LITERAL(12, 131, 15), // "Qt::DropActions" | - |
| 48 | QT_MOC_LITERAL(13, 147, 14), // "proposedAction" | - |
| 49 | QT_MOC_LITERAL(14, 162, 6), // "action" | - |
| 50 | QT_MOC_LITERAL(15, 169, 14), // "Qt::DropAction" | - |
| 51 | QT_MOC_LITERAL(16, 184, 8), // "accepted" | - |
| 52 | QT_MOC_LITERAL(17, 193, 8), // "hasColor" | - |
| 53 | QT_MOC_LITERAL(18, 202, 7), // "hasHtml" | - |
| 54 | QT_MOC_LITERAL(19, 210, 7), // "hasText" | - |
| 55 | QT_MOC_LITERAL(20, 218, 7), // "hasUrls" | - |
| 56 | QT_MOC_LITERAL(21, 226, 9), // "colorData" | - |
| 57 | QT_MOC_LITERAL(22, 236, 4), // "html" | - |
| 58 | QT_MOC_LITERAL(23, 241, 4), // "text" | - |
| 59 | QT_MOC_LITERAL(24, 246, 4), // "urls" | - |
| 60 | QT_MOC_LITERAL(25, 251, 11), // "QList<QUrl>" | - |
| 61 | QT_MOC_LITERAL(26, 263, 7) // "formats" | - |
| 62 | - | |
| 63 | }, | - |
| 64 | "QQuickDropEvent\0getDataAsString\0\0" | - |
| 65 | "QQmlV4Function*\0getDataAsArrayBuffer\0" | - |
| 66 | "acceptProposedAction\0accept\0x\0y\0source\0" | - |
| 67 | "keys\0supportedActions\0Qt::DropActions\0" | - |
| 68 | "proposedAction\0action\0Qt::DropAction\0" | - |
| 69 | "accepted\0hasColor\0hasHtml\0hasText\0" | - |
| 70 | "hasUrls\0colorData\0html\0text\0urls\0" | - |
| 71 | "QList<QUrl>\0formats" | - |
| 72 | }; | - |
| 73 | #undef QT_MOC_LITERAL | - |
| 74 | - | |
| 75 | static const uint qt_meta_data_QQuickDropEvent[] = { | - |
| 76 | - | |
| 77 | // content: | - |
| 78 | 7, // revision | - |
| 79 | 0, // classname | - |
| 80 | 0, 0, // classinfo | - |
| 81 | 4, 14, // methods | - |
| 82 | 17, 46, // properties | - |
| 83 | 0, 0, // enums/sets | - |
| 84 | 0, 0, // constructors | - |
| 85 | 0, // flags | - |
| 86 | 0, // signalCount | - |
| 87 | - | |
| 88 | // methods: name, argc, parameters, tag, flags | - |
| 89 | 1, 1, 34, 2, 0x02 /* Public */, | - |
| 90 | 4, 1, 37, 2, 0x02 /* Public */, | - |
| 91 | 5, 1, 40, 2, 0x02 /* Public */, | - |
| 92 | 6, 1, 43, 2, 0x02 /* Public */, | - |
| 93 | - | |
| 94 | // methods: parameters | - |
| 95 | QMetaType::Void, 0x80000000 | 3, 2, | - |
| 96 | QMetaType::Void, 0x80000000 | 3, 2, | - |
| 97 | QMetaType::Void, 0x80000000 | 3, 2, | - |
| 98 | QMetaType::Void, 0x80000000 | 3, 2, | - |
| 99 | - | |
| 100 | // properties: name, type, flags | - |
| 101 | 7, QMetaType::QReal, 0x00095001, | - |
| 102 | 8, QMetaType::QReal, 0x00095001, | - |
| 103 | 9, QMetaType::QObjectStar, 0x00095001, | - |
| 104 | 10, QMetaType::QStringList, 0x00095001, | - |
| 105 | 11, 0x80000000 | 12, 0x00095009, | - |
| 106 | 13, 0x80000000 | 12, 0x00095009, | - |
| 107 | 14, 0x80000000 | 15, 0x0009510f, | - |
| 108 | 16, QMetaType::Bool, 0x00095103, | - |
| 109 | 17, QMetaType::Bool, 0x00095001, | - |
| 110 | 18, QMetaType::Bool, 0x00095001, | - |
| 111 | 19, QMetaType::Bool, 0x00095001, | - |
| 112 | 20, QMetaType::Bool, 0x00095001, | - |
| 113 | 21, QMetaType::QVariant, 0x00095001, | - |
| 114 | 22, QMetaType::QString, 0x00095001, | - |
| 115 | 23, QMetaType::QString, 0x00095001, | - |
| 116 | 24, 0x80000000 | 25, 0x00095009, | - |
| 117 | 26, QMetaType::QStringList, 0x00095001, | - |
| 118 | - | |
| 119 | 0 // eod | - |
| 120 | }; | - |
| 121 | - | |
| 122 | void QQuickDropEvent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 123 | { | - |
| 124 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 125 | QQuickDropEvent *_t = static_cast<QQuickDropEvent *>(_o); | - |
| 126 | Q_UNUSED(_t) | - |
| 127 | switch (_id) { | - |
| 128 | case 0: _t->getDataAsString((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
| 129 | case 1: _t->getDataAsArrayBuffer((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
| 130 | case 2: _t->acceptProposedAction((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
| 131 | case 3: _t->accept((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
| 132 | default: ; | - |
| 133 | } | - |
| 134 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
| 135 | switch (_id) { | - |
| 136 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 137 | case 15: | - |
| 138 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); break; | - |
| 139 | } | - |
| 140 | } | - |
| 141 | - | |
| 142 | #ifndef QT_NO_PROPERTIES | - |
| 143 | else if (_c == QMetaObject::ReadProperty) { | - |
| 144 | QQuickDropEvent *_t = static_cast<QQuickDropEvent *>(_o); | - |
| 145 | Q_UNUSED(_t) | - |
| 146 | void *_v = _a[0]; | - |
| 147 | switch (_id) { | - |
| 148 | case 0: *reinterpret_cast< qreal*>(_v) = _t->x(); break; | - |
| 149 | case 1: *reinterpret_cast< qreal*>(_v) = _t->y(); break; | - |
| 150 | case 2: *reinterpret_cast< QObject**>(_v) = _t->source(); break; | - |
| 151 | case 3: *reinterpret_cast< QStringList*>(_v) = _t->keys(); break; | - |
| 152 | case 4: *reinterpret_cast< Qt::DropActions*>(_v) = _t->supportedActions(); break; | - |
| 153 | case 5: *reinterpret_cast< Qt::DropActions*>(_v) = _t->proposedAction(); break; | - |
| 154 | case 6: *reinterpret_cast< Qt::DropAction*>(_v) = _t->action(); break; | - |
| 155 | case 7: *reinterpret_cast< bool*>(_v) = _t->accepted(); break; | - |
| 156 | case 8: *reinterpret_cast< bool*>(_v) = _t->hasColor(); break; | - |
| 157 | case 9: *reinterpret_cast< bool*>(_v) = _t->hasHtml(); break; | - |
| 158 | case 10: *reinterpret_cast< bool*>(_v) = _t->hasText(); break; | - |
| 159 | case 11: *reinterpret_cast< bool*>(_v) = _t->hasUrls(); break; | - |
| 160 | case 12: *reinterpret_cast< QVariant*>(_v) = _t->colorData(); break; | - |
| 161 | case 13: *reinterpret_cast< QString*>(_v) = _t->html(); break; | - |
| 162 | case 14: *reinterpret_cast< QString*>(_v) = _t->text(); break; | - |
| 163 | case 15: *reinterpret_cast< QList<QUrl>*>(_v) = _t->urls(); break; | - |
| 164 | case 16: *reinterpret_cast< QStringList*>(_v) = _t->formats(); break; | - |
| 165 | default: break; | - |
| 166 | } | - |
| 167 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 168 | QQuickDropEvent *_t = static_cast<QQuickDropEvent *>(_o); | - |
| 169 | Q_UNUSED(_t) | - |
| 170 | void *_v = _a[0]; | - |
| 171 | switch (_id) { | - |
| 172 | case 6: _t->setAction(*reinterpret_cast< Qt::DropAction*>(_v)); break; | - |
| 173 | case 7: _t->setAccepted(*reinterpret_cast< bool*>(_v)); break; | - |
| 174 | default: break; | - |
| 175 | } | - |
| 176 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 177 | QQuickDropEvent *_t = static_cast<QQuickDropEvent *>(_o); | - |
| 178 | Q_UNUSED(_t) | - |
| 179 | switch (_id) { | - |
| 180 | case 6: _t->resetAction(); break; | - |
| 181 | default: break; | - |
| 182 | } | - |
| 183 | } | - |
| 184 | #endif // QT_NO_PROPERTIES | - |
| 185 | } | - |
| 186 | - | |
| 187 | QT_INIT_METAOBJECT const QMetaObject QQuickDropEvent::staticMetaObject = { | - |
| 188 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickDropEvent.data, | - |
| 189 | qt_meta_data_QQuickDropEvent, qt_static_metacall, nullptr, nullptr} | - |
| 190 | }; | - |
| 191 | - | |
| 192 | - | |
| 193 | const QMetaObject *QQuickDropEvent::metaObject() const | - |
| 194 | { | - |
| 195 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 196 | } | - |
| 197 | - | |
| 198 | void *QQuickDropEvent::qt_metacast(const char *_clname) | - |
| 199 | { | - |
| 200 | if (!_clname) return nullptr; | - |
| 201 | if (!strcmp(_clname, qt_meta_stringdata_QQuickDropEvent.stringdata0)) | - |
| 202 | return static_cast<void*>(this); | - |
| 203 | return QObject::qt_metacast(_clname); | - |
| 204 | } | - |
| 205 | - | |
| 206 | int QQuickDropEvent::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 207 | { | - |
| 208 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 209 | if (_id < 0) | - |
| 210 | return _id; | - |
| 211 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 212 | if (_id < 4) | - |
| 213 | qt_static_metacall(this, _c, _id, _a); | - |
| 214 | _id -= 4; | - |
| 215 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 216 | if (_id < 4) | - |
| 217 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 218 | _id -= 4; | - |
| 219 | } | - |
| 220 | #ifndef QT_NO_PROPERTIES | - |
| 221 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 222 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 223 | qt_static_metacall(this, _c, _id, _a); | - |
| 224 | _id -= 17; | - |
| 225 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 226 | _id -= 17; | - |
| 227 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 228 | _id -= 17; | - |
| 229 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 230 | _id -= 17; | - |
| 231 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 232 | _id -= 17; | - |
| 233 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 234 | _id -= 17; | - |
| 235 | } | - |
| 236 | #endif // QT_NO_PROPERTIES | - |
| 237 | return _id; | - |
| 238 | } | - |
| 239 | struct qt_meta_stringdata_QQuickDropAreaDrag_t { | - |
| 240 | QByteArrayData data[7]; | - |
| 241 | char stringdata0[61]; | - |
| 242 | }; | - |
| 243 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 244 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 245 | qptrdiff(offsetof(qt_meta_stringdata_QQuickDropAreaDrag_t, stringdata0) + ofs \ | - |
| 246 | - idx * sizeof(QByteArrayData)) \ | - |
| 247 | ) | - |
| 248 | static const qt_meta_stringdata_QQuickDropAreaDrag_t qt_meta_stringdata_QQuickDropAreaDrag = { | - |
| 249 | { | - |
| 250 | QT_MOC_LITERAL(0, 0, 18), // "QQuickDropAreaDrag" | - |
| 251 | QT_MOC_LITERAL(1, 19, 15), // "positionChanged" | - |
| 252 | QT_MOC_LITERAL(2, 35, 0), // "" | - |
| 253 | QT_MOC_LITERAL(3, 36, 13), // "sourceChanged" | - |
| 254 | QT_MOC_LITERAL(4, 50, 1), // "x" | - |
| 255 | QT_MOC_LITERAL(5, 52, 1), // "y" | - |
| 256 | QT_MOC_LITERAL(6, 54, 6) // "source" | - |
| 257 | - | |
| 258 | }, | - |
| 259 | "QQuickDropAreaDrag\0positionChanged\0\0" | - |
| 260 | "sourceChanged\0x\0y\0source" | - |
| 261 | }; | - |
| 262 | #undef QT_MOC_LITERAL | - |
| 263 | - | |
| 264 | static const uint qt_meta_data_QQuickDropAreaDrag[] = { | - |
| 265 | - | |
| 266 | // content: | - |
| 267 | 7, // revision | - |
| 268 | 0, // classname | - |
| 269 | 0, 0, // classinfo | - |
| 270 | 2, 14, // methods | - |
| 271 | 3, 26, // properties | - |
| 272 | 0, 0, // enums/sets | - |
| 273 | 0, 0, // constructors | - |
| 274 | 0, // flags | - |
| 275 | 2, // signalCount | - |
| 276 | - | |
| 277 | // signals: name, argc, parameters, tag, flags | - |
| 278 | 1, 0, 24, 2, 0x06 /* Public */, | - |
| 279 | 3, 0, 25, 2, 0x06 /* Public */, | - |
| 280 | - | |
| 281 | // signals: parameters | - |
| 282 | QMetaType::Void, | - |
| 283 | QMetaType::Void, | - |
| 284 | - | |
| 285 | // properties: name, type, flags | - |
| 286 | 4, QMetaType::QReal, 0x00495001, | - |
| 287 | 5, QMetaType::QReal, 0x00495001, | - |
| 288 | 6, QMetaType::QObjectStar, 0x00495001, | - |
| 289 | - | |
| 290 | // properties: notify_signal_id | - |
| 291 | 0, | - |
| 292 | 0, | - |
| 293 | 1, | - |
| 294 | - | |
| 295 | 0 // eod | - |
| 296 | }; | - |
| 297 | - | |
| 298 | void QQuickDropAreaDrag::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 299 | { | - |
| 300 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 301 | QQuickDropAreaDrag *_t = static_cast<QQuickDropAreaDrag *>(_o); | - |
| 302 | Q_UNUSED(_t) | - |
| 303 | switch (_id) { | - |
| 304 | case 0: _t->positionChanged(); break; | - |
| 305 | case 1: _t->sourceChanged(); break; | - |
| 306 | default: ; | - |
| 307 | } | - |
| 308 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 309 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 310 | { | - |
| 311 | using _t = void (QQuickDropAreaDrag::*)(); | - |
| 312 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropAreaDrag::positionChanged)) { | - |
| 313 | *result = 0; | - |
| 314 | return; | - |
| 315 | } | - |
| 316 | } | - |
| 317 | { | - |
| 318 | using _t = void (QQuickDropAreaDrag::*)(); | - |
| 319 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropAreaDrag::sourceChanged)) { | - |
| 320 | *result = 1; | - |
| 321 | return; | - |
| 322 | } | - |
| 323 | } | - |
| 324 | } | - |
| 325 | #ifndef QT_NO_PROPERTIES | - |
| 326 | else if (_c == QMetaObject::ReadProperty) { | - |
| 327 | QQuickDropAreaDrag *_t = static_cast<QQuickDropAreaDrag *>(_o); | - |
| 328 | Q_UNUSED(_t) | - |
| 329 | void *_v = _a[0]; | - |
| 330 | switch (_id) { | - |
| 331 | case 0: *reinterpret_cast< qreal*>(_v) = _t->x(); break; | - |
| 332 | case 1: *reinterpret_cast< qreal*>(_v) = _t->y(); break; | - |
| 333 | case 2: *reinterpret_cast< QObject**>(_v) = _t->source(); break; | - |
| 334 | default: break; | - |
| 335 | } | - |
| 336 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 337 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 338 | } | - |
| 339 | #endif // QT_NO_PROPERTIES | - |
| 340 | Q_UNUSED(_a); | - |
| 341 | } | - |
| 342 | - | |
| 343 | QT_INIT_METAOBJECT const QMetaObject QQuickDropAreaDrag::staticMetaObject = { | - |
| 344 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickDropAreaDrag.data, | - |
| 345 | qt_meta_data_QQuickDropAreaDrag, qt_static_metacall, nullptr, nullptr} | - |
| 346 | }; | - |
| 347 | - | |
| 348 | - | |
| 349 | const QMetaObject *QQuickDropAreaDrag::metaObject() const | - |
| 350 | { | - |
| 351 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 352 | } | - |
| 353 | - | |
| 354 | void *QQuickDropAreaDrag::qt_metacast(const char *_clname) | - |
| 355 | { | - |
| 356 | if (!_clname) return nullptr; | - |
| 357 | if (!strcmp(_clname, qt_meta_stringdata_QQuickDropAreaDrag.stringdata0)) | - |
| 358 | return static_cast<void*>(this); | - |
| 359 | return QObject::qt_metacast(_clname); | - |
| 360 | } | - |
| 361 | - | |
| 362 | int QQuickDropAreaDrag::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 363 | { | - |
| 364 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 365 | if (_id < 0) | - |
| 366 | return _id; | - |
| 367 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 368 | if (_id < 2) | - |
| 369 | qt_static_metacall(this, _c, _id, _a); | - |
| 370 | _id -= 2; | - |
| 371 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 372 | if (_id < 2) | - |
| 373 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 374 | _id -= 2; | - |
| 375 | } | - |
| 376 | #ifndef QT_NO_PROPERTIES | - |
| 377 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 378 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 379 | qt_static_metacall(this, _c, _id, _a); | - |
| 380 | _id -= 3; | - |
| 381 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 382 | _id -= 3; | - |
| 383 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 384 | _id -= 3; | - |
| 385 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 386 | _id -= 3; | - |
| 387 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 388 | _id -= 3; | - |
| 389 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 390 | _id -= 3; | - |
| 391 | } | - |
| 392 | #endif // QT_NO_PROPERTIES | - |
| 393 | return _id; | - |
| 394 | } | - |
| 395 | - | |
| 396 | // SIGNAL 0 | - |
| 397 | void QQuickDropAreaDrag::positionChanged() | - |
| 398 | { | - |
| 399 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 400 | } executed 18 times by 1 test: end of blockExecuted by:
| 18 |
| 401 | - | |
| 402 | // SIGNAL 1 | - |
| 403 | void QQuickDropAreaDrag::sourceChanged() | - |
| 404 | { | - |
| 405 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 406 | } executed 16 times by 1 test: end of blockExecuted by:
| 16 |
| 407 | struct qt_meta_stringdata_QQuickDropArea_t { | - |
| 408 | QByteArrayData data[15]; | - |
| 409 | char stringdata0[166]; | - |
| 410 | }; | - |
| 411 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 412 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 413 | qptrdiff(offsetof(qt_meta_stringdata_QQuickDropArea_t, stringdata0) + ofs \ | - |
| 414 | - idx * sizeof(QByteArrayData)) \ | - |
| 415 | ) | - |
| 416 | static const qt_meta_stringdata_QQuickDropArea_t qt_meta_stringdata_QQuickDropArea = { | - |
| 417 | { | - |
| 418 | QT_MOC_LITERAL(0, 0, 14), // "QQuickDropArea" | - |
| 419 | QT_MOC_LITERAL(1, 15, 19), // "containsDragChanged" | - |
| 420 | QT_MOC_LITERAL(2, 35, 0), // "" | - |
| 421 | QT_MOC_LITERAL(3, 36, 11), // "keysChanged" | - |
| 422 | QT_MOC_LITERAL(4, 48, 13), // "sourceChanged" | - |
| 423 | QT_MOC_LITERAL(5, 62, 7), // "entered" | - |
| 424 | QT_MOC_LITERAL(6, 70, 16), // "QQuickDropEvent*" | - |
| 425 | QT_MOC_LITERAL(7, 87, 4), // "drag" | - |
| 426 | QT_MOC_LITERAL(8, 92, 6), // "exited" | - |
| 427 | QT_MOC_LITERAL(9, 99, 15), // "positionChanged" | - |
| 428 | QT_MOC_LITERAL(10, 115, 7), // "dropped" | - |
| 429 | QT_MOC_LITERAL(11, 123, 4), // "drop" | - |
| 430 | QT_MOC_LITERAL(12, 128, 12), // "containsDrag" | - |
| 431 | QT_MOC_LITERAL(13, 141, 4), // "keys" | - |
| 432 | QT_MOC_LITERAL(14, 146, 19) // "QQuickDropAreaDrag*" | - |
| 433 | - | |
| 434 | }, | - |
| 435 | "QQuickDropArea\0containsDragChanged\0\0" | - |
| 436 | "keysChanged\0sourceChanged\0entered\0" | - |
| 437 | "QQuickDropEvent*\0drag\0exited\0" | - |
| 438 | "positionChanged\0dropped\0drop\0containsDrag\0" | - |
| 439 | "keys\0QQuickDropAreaDrag*" | - |
| 440 | }; | - |
| 441 | #undef QT_MOC_LITERAL | - |
| 442 | - | |
| 443 | static const uint qt_meta_data_QQuickDropArea[] = { | - |
| 444 | - | |
| 445 | // content: | - |
| 446 | 7, // revision | - |
| 447 | 0, // classname | - |
| 448 | 0, 0, // classinfo | - |
| 449 | 7, 14, // methods | - |
| 450 | 3, 62, // properties | - |
| 451 | 0, 0, // enums/sets | - |
| 452 | 0, 0, // constructors | - |
| 453 | 0, // flags | - |
| 454 | 7, // signalCount | - |
| 455 | - | |
| 456 | // signals: name, argc, parameters, tag, flags | - |
| 457 | 1, 0, 49, 2, 0x06 /* Public */, | - |
| 458 | 3, 0, 50, 2, 0x06 /* Public */, | - |
| 459 | 4, 0, 51, 2, 0x06 /* Public */, | - |
| 460 | 5, 1, 52, 2, 0x06 /* Public */, | - |
| 461 | 8, 0, 55, 2, 0x06 /* Public */, | - |
| 462 | 9, 1, 56, 2, 0x06 /* Public */, | - |
| 463 | 10, 1, 59, 2, 0x06 /* Public */, | - |
| 464 | - | |
| 465 | // signals: parameters | - |
| 466 | QMetaType::Void, | - |
| 467 | QMetaType::Void, | - |
| 468 | QMetaType::Void, | - |
| 469 | QMetaType::Void, 0x80000000 | 6, 7, | - |
| 470 | QMetaType::Void, | - |
| 471 | QMetaType::Void, 0x80000000 | 6, 7, | - |
| 472 | QMetaType::Void, 0x80000000 | 6, 11, | - |
| 473 | - | |
| 474 | // properties: name, type, flags | - |
| 475 | 12, QMetaType::Bool, 0x00495001, | - |
| 476 | 13, QMetaType::QStringList, 0x00495103, | - |
| 477 | 7, 0x80000000 | 14, 0x00095409, | - |
| 478 | - | |
| 479 | // properties: notify_signal_id | - |
| 480 | 0, | - |
| 481 | 1, | - |
| 482 | 0, | - |
| 483 | - | |
| 484 | 0 // eod | - |
| 485 | }; | - |
| 486 | - | |
| 487 | void QQuickDropArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 488 | { | - |
| 489 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 490 | QQuickDropArea *_t = static_cast<QQuickDropArea *>(_o); | - |
| 491 | Q_UNUSED(_t) | - |
| 492 | switch (_id) { | - |
| 493 | case 0: _t->containsDragChanged(); break; | - |
| 494 | case 1: _t->keysChanged(); break; | - |
| 495 | case 2: _t->sourceChanged(); break; | - |
| 496 | case 3: _t->entered((*reinterpret_cast< QQuickDropEvent*(*)>(_a[1]))); break; | - |
| 497 | case 4: _t->exited(); break; | - |
| 498 | case 5: _t->positionChanged((*reinterpret_cast< QQuickDropEvent*(*)>(_a[1]))); break; | - |
| 499 | case 6: _t->dropped((*reinterpret_cast< QQuickDropEvent*(*)>(_a[1]))); break; | - |
| 500 | default: ; | - |
| 501 | } | - |
| 502 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 503 | switch (_id) { | - |
| 504 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 505 | case 3: | - |
| 506 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 507 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 508 | case 0: | - |
| 509 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickDropEvent* >(); break; | - |
| 510 | } | - |
| 511 | break; | - |
| 512 | case 5: | - |
| 513 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 514 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 515 | case 0: | - |
| 516 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickDropEvent* >(); break; | - |
| 517 | } | - |
| 518 | break; | - |
| 519 | case 6: | - |
| 520 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 521 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 522 | case 0: | - |
| 523 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickDropEvent* >(); break; | - |
| 524 | } | - |
| 525 | break; | - |
| 526 | } | - |
| 527 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 528 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 529 | { | - |
| 530 | using _t = void (QQuickDropArea::*)(); | - |
| 531 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::containsDragChanged)) { | - |
| 532 | *result = 0; | - |
| 533 | return; | - |
| 534 | } | - |
| 535 | } | - |
| 536 | { | - |
| 537 | using _t = void (QQuickDropArea::*)(); | - |
| 538 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::keysChanged)) { | - |
| 539 | *result = 1; | - |
| 540 | return; | - |
| 541 | } | - |
| 542 | } | - |
| 543 | { | - |
| 544 | using _t = void (QQuickDropArea::*)(); | - |
| 545 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::sourceChanged)) { | - |
| 546 | *result = 2; | - |
| 547 | return; | - |
| 548 | } | - |
| 549 | } | - |
| 550 | { | - |
| 551 | using _t = void (QQuickDropArea::*)(QQuickDropEvent * ); | - |
| 552 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::entered)) { | - |
| 553 | *result = 3; | - |
| 554 | return; | - |
| 555 | } | - |
| 556 | } | - |
| 557 | { | - |
| 558 | using _t = void (QQuickDropArea::*)(); | - |
| 559 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::exited)) { | - |
| 560 | *result = 4; | - |
| 561 | return; | - |
| 562 | } | - |
| 563 | } | - |
| 564 | { | - |
| 565 | using _t = void (QQuickDropArea::*)(QQuickDropEvent * ); | - |
| 566 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::positionChanged)) { | - |
| 567 | *result = 5; | - |
| 568 | return; | - |
| 569 | } | - |
| 570 | } | - |
| 571 | { | - |
| 572 | using _t = void (QQuickDropArea::*)(QQuickDropEvent * ); | - |
| 573 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDropArea::dropped)) { | - |
| 574 | *result = 6; | - |
| 575 | return; | - |
| 576 | } | - |
| 577 | } | - |
| 578 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
| 579 | switch (_id) { | - |
| 580 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 581 | case 2: | - |
| 582 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickDropAreaDrag* >(); break; | - |
| 583 | } | - |
| 584 | } | - |
| 585 | - | |
| 586 | #ifndef QT_NO_PROPERTIES | - |
| 587 | else if (_c == QMetaObject::ReadProperty) { | - |
| 588 | QQuickDropArea *_t = static_cast<QQuickDropArea *>(_o); | - |
| 589 | Q_UNUSED(_t) | - |
| 590 | void *_v = _a[0]; | - |
| 591 | switch (_id) { | - |
| 592 | case 0: *reinterpret_cast< bool*>(_v) = _t->containsDrag(); break; | - |
| 593 | case 1: *reinterpret_cast< QStringList*>(_v) = _t->keys(); break; | - |
| 594 | case 2: *reinterpret_cast< QQuickDropAreaDrag**>(_v) = _t->drag(); break; | - |
| 595 | default: break; | - |
| 596 | } | - |
| 597 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 598 | QQuickDropArea *_t = static_cast<QQuickDropArea *>(_o); | - |
| 599 | Q_UNUSED(_t) | - |
| 600 | void *_v = _a[0]; | - |
| 601 | switch (_id) { | - |
| 602 | case 1: _t->setKeys(*reinterpret_cast< QStringList*>(_v)); break; | - |
| 603 | default: break; | - |
| 604 | } | - |
| 605 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 606 | } | - |
| 607 | #endif // QT_NO_PROPERTIES | - |
| 608 | } | - |
| 609 | - | |
| 610 | QT_INIT_METAOBJECT const QMetaObject QQuickDropArea::staticMetaObject = { | - |
| 611 | { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickDropArea.data, | - |
| 612 | qt_meta_data_QQuickDropArea, qt_static_metacall, nullptr, nullptr} | - |
| 613 | }; | - |
| 614 | - | |
| 615 | - | |
| 616 | const QMetaObject *QQuickDropArea::metaObject() const | - |
| 617 | { | - |
| 618 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 619 | } | - |
| 620 | - | |
| 621 | void *QQuickDropArea::qt_metacast(const char *_clname) | - |
| 622 | { | - |
| 623 | if (!_clname) return nullptr; | - |
| 624 | if (!strcmp(_clname, qt_meta_stringdata_QQuickDropArea.stringdata0)) | - |
| 625 | return static_cast<void*>(this); | - |
| 626 | return QQuickItem::qt_metacast(_clname); | - |
| 627 | } | - |
| 628 | - | |
| 629 | int QQuickDropArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 630 | { | - |
| 631 | _id = QQuickItem::qt_metacall(_c, _id, _a); | - |
| 632 | if (_id < 0) | - |
| 633 | return _id; | - |
| 634 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 635 | if (_id < 7) | - |
| 636 | qt_static_metacall(this, _c, _id, _a); | - |
| 637 | _id -= 7; | - |
| 638 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 639 | if (_id < 7) | - |
| 640 | qt_static_metacall(this, _c, _id, _a); | - |
| 641 | _id -= 7; | - |
| 642 | } | - |
| 643 | #ifndef QT_NO_PROPERTIES | - |
| 644 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 645 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 646 | qt_static_metacall(this, _c, _id, _a); | - |
| 647 | _id -= 3; | - |
| 648 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 649 | _id -= 3; | - |
| 650 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 651 | _id -= 3; | - |
| 652 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 653 | _id -= 3; | - |
| 654 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 655 | _id -= 3; | - |
| 656 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 657 | _id -= 3; | - |
| 658 | } | - |
| 659 | #endif // QT_NO_PROPERTIES | - |
| 660 | return _id; | - |
| 661 | } | - |
| 662 | - | |
| 663 | // SIGNAL 0 | - |
| 664 | void QQuickDropArea::containsDragChanged() | - |
| 665 | { | - |
| 666 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 667 | } executed 204 times by 2 tests: end of blockExecuted by:
| 204 |
| 668 | - | |
| 669 | // SIGNAL 1 | - |
| 670 | void QQuickDropArea::keysChanged() | - |
| 671 | { | - |
| 672 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 673 | } executed 60 times by 2 tests: end of blockExecuted by:
| 60 |
| 674 | - | |
| 675 | // SIGNAL 2 | - |
| 676 | void QQuickDropArea::sourceChanged() | - |
| 677 | { | - |
| 678 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 679 | } never executed: end of block | 0 |
| 680 | - | |
| 681 | // SIGNAL 3 | - |
| 682 | void QQuickDropArea::entered(QQuickDropEvent * _t1) | - |
| 683 | { | - |
| 684 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
| 685 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | - |
| 686 | } executed 106 times by 2 tests: end of blockExecuted by:
| 106 |
| 687 | - | |
| 688 | // SIGNAL 4 | - |
| 689 | void QQuickDropArea::exited() | - |
| 690 | { | - |
| 691 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
| 692 | } executed 72 times by 2 tests: end of blockExecuted by:
| 72 |
| 693 | - | |
| 694 | // SIGNAL 5 | - |
| 695 | void QQuickDropArea::positionChanged(QQuickDropEvent * _t1) | - |
| 696 | { | - |
| 697 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
| 698 | QMetaObject::activate(this, &staticMetaObject, 5, _a); | - |
| 699 | } executed 140 times by 2 tests: end of blockExecuted by:
| 140 |
| 700 | - | |
| 701 | // SIGNAL 6 | - |
| 702 | void QQuickDropArea::dropped(QQuickDropEvent * _t1) | - |
| 703 | { | - |
| 704 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
| 705 | QMetaObject::activate(this, &staticMetaObject, 6, _a); | - |
| 706 | } executed 28 times by 1 test: end of blockExecuted by:
| 28 |
| 707 | QT_WARNING_POP | - |
| 708 | QT_END_MOC_NAMESPACE | - |
| Source code | Switch to Preprocessed file |