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