| 1 | /**************************************************************************** |
| 2 | ** Meta object code from reading C++ file 'qevent.h' |
| 3 | ** |
| 4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
| 5 | ** |
| 6 | ** WARNING! All changes made in this file will be lost! |
| 7 | *****************************************************************************/ |
| 8 | |
| 9 | #include <memory> |
| 10 | #include "kernel/qevent.h" |
| 11 | #include <QtCore/qbytearray.h> |
| 12 | #include <QtCore/qmetatype.h> |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
| 14 | #error "The header file 'qevent.h' doesn't include <QObject>." |
| 15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
| 16 | #error "This file was generated using the moc from 6.0.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_QEventPoint_t { |
| 25 | const uint offsetsAndSize[46]; |
| 26 | char stringdata0[242]; |
| 27 | }; |
| 28 | #define QT_MOC_LITERAL(ofs, len) \ |
| 29 | uint(offsetof(qt_meta_stringdata_QEventPoint_t, stringdata0) + ofs), len |
| 30 | static const qt_meta_stringdata_QEventPoint_t qt_meta_stringdata_QEventPoint = { |
| 31 | { |
| 32 | QT_MOC_LITERAL(0, 11), // "QEventPoint" |
| 33 | QT_MOC_LITERAL(12, 6), // "device" |
| 34 | QT_MOC_LITERAL(19, 22), // "const QPointingDevice*" |
| 35 | QT_MOC_LITERAL(42, 2), // "id" |
| 36 | QT_MOC_LITERAL(45, 8), // "uniqueId" |
| 37 | QT_MOC_LITERAL(54, 23), // "QPointingDeviceUniqueId" |
| 38 | QT_MOC_LITERAL(78, 5), // "state" |
| 39 | QT_MOC_LITERAL(84, 5), // "State" |
| 40 | QT_MOC_LITERAL(90, 9), // "timestamp" |
| 41 | QT_MOC_LITERAL(100, 8), // "timeHeld" |
| 42 | QT_MOC_LITERAL(109, 8), // "pressure" |
| 43 | QT_MOC_LITERAL(118, 8), // "rotation" |
| 44 | QT_MOC_LITERAL(127, 16), // "ellipseDiameters" |
| 45 | QT_MOC_LITERAL(144, 8), // "velocity" |
| 46 | QT_MOC_LITERAL(153, 8), // "position" |
| 47 | QT_MOC_LITERAL(162, 13), // "scenePosition" |
| 48 | QT_MOC_LITERAL(176, 14), // "globalPosition" |
| 49 | QT_MOC_LITERAL(191, 6), // "States" |
| 50 | QT_MOC_LITERAL(198, 7), // "Unknown" |
| 51 | QT_MOC_LITERAL(206, 10), // "Stationary" |
| 52 | QT_MOC_LITERAL(217, 7), // "Pressed" |
| 53 | QT_MOC_LITERAL(225, 7), // "Updated" |
| 54 | QT_MOC_LITERAL(233, 8) // "Released" |
| 55 | |
| 56 | }, |
| 57 | "QEventPoint\0device\0const QPointingDevice*\0" |
| 58 | "id\0uniqueId\0QPointingDeviceUniqueId\0" |
| 59 | "state\0State\0timestamp\0timeHeld\0pressure\0" |
| 60 | "rotation\0ellipseDiameters\0velocity\0" |
| 61 | "position\0scenePosition\0globalPosition\0" |
| 62 | "States\0Unknown\0Stationary\0Pressed\0" |
| 63 | "Updated\0Released" |
| 64 | }; |
| 65 | #undef QT_MOC_LITERAL |
| 66 | |
| 67 | static const uint qt_meta_data_QEventPoint[] = { |
| 68 | |
| 69 | // content: |
| 70 | 9, // revision |
| 71 | 0, // classname |
| 72 | 0, 0, // classinfo |
| 73 | 0, 0, // methods |
| 74 | 13, 14, // properties |
| 75 | 1, 79, // enums/sets |
| 76 | 0, 0, // constructors |
| 77 | 4, // flags |
| 78 | 0, // signalCount |
| 79 | |
| 80 | // properties: name, type, flags |
| 81 | 1, 0x80000000 | 2, 0x00015009, uint(-1), 0, |
| 82 | 3, QMetaType::Int, 0x00015001, uint(-1), 0, |
| 83 | 4, 0x80000000 | 5, 0x00015009, uint(-1), 0, |
| 84 | 6, 0x80000000 | 7, 0x00015009, uint(-1), 0, |
| 85 | 8, QMetaType::ULong, 0x00015001, uint(-1), 0, |
| 86 | 9, QMetaType::QReal, 0x00015001, uint(-1), 0, |
| 87 | 10, QMetaType::QReal, 0x00015001, uint(-1), 0, |
| 88 | 11, QMetaType::QReal, 0x00015001, uint(-1), 0, |
| 89 | 12, QMetaType::QSizeF, 0x00015001, uint(-1), 0, |
| 90 | 13, QMetaType::QVector2D, 0x00015001, uint(-1), 0, |
| 91 | 14, QMetaType::QPointF, 0x00015001, uint(-1), 0, |
| 92 | 15, QMetaType::QPointF, 0x00015001, uint(-1), 0, |
| 93 | 16, QMetaType::QPointF, 0x00015001, uint(-1), 0, |
| 94 | |
| 95 | // enums: name, alias, flags, count, data |
| 96 | 17, 7, 0x1, 5, 84, |
| 97 | |
| 98 | // enum data: key, value |
| 99 | 18, uint(QEventPoint::Unknown), |
| 100 | 19, uint(QEventPoint::Stationary), |
| 101 | 20, uint(QEventPoint::Pressed), |
| 102 | 21, uint(QEventPoint::Updated), |
| 103 | 22, uint(QEventPoint::Released), |
| 104 | |
| 105 | 0 // eod |
| 106 | }; |
| 107 | |
| 108 | void QEventPoint::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 109 | { |
| 110 | |
| 111 | #ifndef QT_NO_PROPERTIES |
| 112 | if (_c == QMetaObject::ReadProperty) { |
| 113 | auto *_t = reinterpret_cast<QEventPoint *>(_o); |
| 114 | Q_UNUSED(_t) |
| 115 | void *_v = _a[0]; |
| 116 | switch (_id) { |
| 117 | case 0: *reinterpret_cast< const QPointingDevice**>(_v) = _t->device(); break; |
| 118 | case 1: *reinterpret_cast< int*>(_v) = _t->id(); break; |
| 119 | case 2: *reinterpret_cast< QPointingDeviceUniqueId*>(_v) = _t->uniqueId(); break; |
| 120 | case 3: *reinterpret_cast< State*>(_v) = _t->state(); break; |
| 121 | case 4: *reinterpret_cast< ulong*>(_v) = _t->timestamp(); break; |
| 122 | case 5: *reinterpret_cast< qreal*>(_v) = _t->timeHeld(); break; |
| 123 | case 6: *reinterpret_cast< qreal*>(_v) = _t->pressure(); break; |
| 124 | case 7: *reinterpret_cast< qreal*>(_v) = _t->rotation(); break; |
| 125 | case 8: *reinterpret_cast< QSizeF*>(_v) = _t->ellipseDiameters(); break; |
| 126 | case 9: *reinterpret_cast< QVector2D*>(_v) = _t->velocity(); break; |
| 127 | case 10: *reinterpret_cast< QPointF*>(_v) = _t->position(); break; |
| 128 | case 11: *reinterpret_cast< QPointF*>(_v) = _t->scenePosition(); break; |
| 129 | case 12: *reinterpret_cast< QPointF*>(_v) = _t->globalPosition(); break; |
| 130 | default: break; |
| 131 | } |
| 132 | } else if (_c == QMetaObject::WriteProperty) { |
| 133 | } else if (_c == QMetaObject::ResetProperty) { |
| 134 | } else if (_c == QMetaObject::BindableProperty) { |
| 135 | } |
| 136 | #endif // QT_NO_PROPERTIES |
| 137 | Q_UNUSED(_o); |
| 138 | Q_UNUSED(_id); |
| 139 | Q_UNUSED(_c); |
| 140 | Q_UNUSED(_a); |
| 141 | } |
| 142 | |
| 143 | const QMetaObject QEventPoint::staticMetaObject = { { |
| 144 | nullptr, |
| 145 | qt_meta_stringdata_QEventPoint.offsetsAndSize, |
| 146 | qt_meta_data_QEventPoint, |
| 147 | qt_static_metacall, |
| 148 | nullptr, |
| 149 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QEventPoint_t |
| 150 | , QtPrivate::TypeAndForceComplete<const QPointingDevice*, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<QPointingDeviceUniqueId, std::true_type>, QtPrivate::TypeAndForceComplete<State, std::true_type>, QtPrivate::TypeAndForceComplete<ulong, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<QSizeF, std::true_type>, QtPrivate::TypeAndForceComplete<QVector2D, std::true_type>, QtPrivate::TypeAndForceComplete<QPointF, std::true_type>, QtPrivate::TypeAndForceComplete<QPointF, std::true_type>, QtPrivate::TypeAndForceComplete<QPointF, std::true_type> |
| 151 | |
| 152 | |
| 153 | |
| 154 | >, |
| 155 | nullptr |
| 156 | } }; |
| 157 | |
| 158 | struct qt_meta_stringdata_QSinglePointEvent_t { |
| 159 | const uint offsetsAndSize[4]; |
| 160 | char stringdata0[40]; |
| 161 | }; |
| 162 | #define QT_MOC_LITERAL(ofs, len) \ |
| 163 | uint(offsetof(qt_meta_stringdata_QSinglePointEvent_t, stringdata0) + ofs), len |
| 164 | static const qt_meta_stringdata_QSinglePointEvent_t qt_meta_stringdata_QSinglePointEvent = { |
| 165 | { |
| 166 | QT_MOC_LITERAL(0, 17), // "QSinglePointEvent" |
| 167 | QT_MOC_LITERAL(18, 21) // "exclusivePointGrabber" |
| 168 | |
| 169 | }, |
| 170 | "QSinglePointEvent\0exclusivePointGrabber" |
| 171 | }; |
| 172 | #undef QT_MOC_LITERAL |
| 173 | |
| 174 | static const uint qt_meta_data_QSinglePointEvent[] = { |
| 175 | |
| 176 | // content: |
| 177 | 9, // revision |
| 178 | 0, // classname |
| 179 | 0, 0, // classinfo |
| 180 | 0, 0, // methods |
| 181 | 1, 14, // properties |
| 182 | 0, 0, // enums/sets |
| 183 | 0, 0, // constructors |
| 184 | 4, // flags |
| 185 | 0, // signalCount |
| 186 | |
| 187 | // properties: name, type, flags |
| 188 | 1, QMetaType::QObjectStar, 0x00015103, uint(-1), 0, |
| 189 | |
| 190 | 0 // eod |
| 191 | }; |
| 192 | |
| 193 | void QSinglePointEvent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 194 | { |
| 195 | |
| 196 | #ifndef QT_NO_PROPERTIES |
| 197 | if (_c == QMetaObject::ReadProperty) { |
| 198 | auto *_t = reinterpret_cast<QSinglePointEvent *>(_o); |
| 199 | Q_UNUSED(_t) |
| 200 | void *_v = _a[0]; |
| 201 | switch (_id) { |
| 202 | case 0: *reinterpret_cast< QObject**>(_v) = _t->exclusivePointGrabber(); break; |
| 203 | default: break; |
| 204 | } |
| 205 | } else if (_c == QMetaObject::WriteProperty) { |
| 206 | auto *_t = reinterpret_cast<QSinglePointEvent *>(_o); |
| 207 | Q_UNUSED(_t) |
| 208 | void *_v = _a[0]; |
| 209 | switch (_id) { |
| 210 | case 0: _t->setExclusivePointGrabber(*reinterpret_cast< QObject**>(_v)); break; |
| 211 | default: break; |
| 212 | } |
| 213 | } else if (_c == QMetaObject::ResetProperty) { |
| 214 | } else if (_c == QMetaObject::BindableProperty) { |
| 215 | } |
| 216 | #endif // QT_NO_PROPERTIES |
| 217 | Q_UNUSED(_o); |
| 218 | Q_UNUSED(_id); |
| 219 | Q_UNUSED(_c); |
| 220 | Q_UNUSED(_a); |
| 221 | } |
| 222 | |
| 223 | const QMetaObject QSinglePointEvent::staticMetaObject = { { |
| 224 | QtPrivate::MetaObjectForType<QPointerEvent>::value(), |
| 225 | qt_meta_stringdata_QSinglePointEvent.offsetsAndSize, |
| 226 | qt_meta_data_QSinglePointEvent, |
| 227 | qt_static_metacall, |
| 228 | nullptr, |
| 229 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QSinglePointEvent_t |
| 230 | , QtPrivate::TypeAndForceComplete<QObject*, std::true_type> |
| 231 | |
| 232 | |
| 233 | |
| 234 | >, |
| 235 | nullptr |
| 236 | } }; |
| 237 | |
| 238 | struct qt_meta_stringdata_QWheelEvent_t { |
| 239 | const uint offsetsAndSize[16]; |
| 240 | char stringdata0[95]; |
| 241 | }; |
| 242 | #define QT_MOC_LITERAL(ofs, len) \ |
| 243 | uint(offsetof(qt_meta_stringdata_QWheelEvent_t, stringdata0) + ofs), len |
| 244 | static const qt_meta_stringdata_QWheelEvent_t qt_meta_stringdata_QWheelEvent = { |
| 245 | { |
| 246 | QT_MOC_LITERAL(0, 11), // "QWheelEvent" |
| 247 | QT_MOC_LITERAL(12, 6), // "device" |
| 248 | QT_MOC_LITERAL(19, 22), // "const QPointingDevice*" |
| 249 | QT_MOC_LITERAL(42, 10), // "pixelDelta" |
| 250 | QT_MOC_LITERAL(53, 10), // "angleDelta" |
| 251 | QT_MOC_LITERAL(64, 5), // "phase" |
| 252 | QT_MOC_LITERAL(70, 15), // "Qt::ScrollPhase" |
| 253 | QT_MOC_LITERAL(86, 8) // "inverted" |
| 254 | |
| 255 | }, |
| 256 | "QWheelEvent\0device\0const QPointingDevice*\0" |
| 257 | "pixelDelta\0angleDelta\0phase\0Qt::ScrollPhase\0" |
| 258 | "inverted" |
| 259 | }; |
| 260 | #undef QT_MOC_LITERAL |
| 261 | |
| 262 | static const uint qt_meta_data_QWheelEvent[] = { |
| 263 | |
| 264 | // content: |
| 265 | 9, // revision |
| 266 | 0, // classname |
| 267 | 0, 0, // classinfo |
| 268 | 0, 0, // methods |
| 269 | 5, 14, // properties |
| 270 | 0, 0, // enums/sets |
| 271 | 0, 0, // constructors |
| 272 | 4, // flags |
| 273 | 0, // signalCount |
| 274 | |
| 275 | // properties: name, type, flags |
| 276 | 1, 0x80000000 | 2, 0x00015009, uint(-1), 0, |
| 277 | 3, QMetaType::QPoint, 0x00015001, uint(-1), 0, |
| 278 | 4, QMetaType::QPoint, 0x00015001, uint(-1), 0, |
| 279 | 5, 0x80000000 | 6, 0x00015009, uint(-1), 0, |
| 280 | 7, QMetaType::Bool, 0x00015001, uint(-1), 0, |
| 281 | |
| 282 | 0 // eod |
| 283 | }; |
| 284 | |
| 285 | void QWheelEvent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
| 286 | { |
| 287 | |
| 288 | #ifndef QT_NO_PROPERTIES |
| 289 | if (_c == QMetaObject::ReadProperty) { |
| 290 | auto *_t = reinterpret_cast<QWheelEvent *>(_o); |
| 291 | Q_UNUSED(_t) |
| 292 | void *_v = _a[0]; |
| 293 | switch (_id) { |
| 294 | case 0: *reinterpret_cast< const QPointingDevice**>(_v) = _t->pointingDevice(); break; |
| 295 | case 1: *reinterpret_cast< QPoint*>(_v) = _t->pixelDelta(); break; |
| 296 | case 2: *reinterpret_cast< QPoint*>(_v) = _t->angleDelta(); break; |
| 297 | case 3: *reinterpret_cast< Qt::ScrollPhase*>(_v) = _t->phase(); break; |
| 298 | case 4: *reinterpret_cast< bool*>(_v) = _t->inverted(); break; |
| 299 | default: break; |
| 300 | } |
| 301 | } else if (_c == QMetaObject::WriteProperty) { |
| 302 | } else if (_c == QMetaObject::ResetProperty) { |
| 303 | } else if (_c == QMetaObject::BindableProperty) { |
| 304 | } |
| 305 | #endif // QT_NO_PROPERTIES |
| 306 | Q_UNUSED(_o); |
| 307 | Q_UNUSED(_id); |
| 308 | Q_UNUSED(_c); |
| 309 | Q_UNUSED(_a); |
| 310 | } |
| 311 | |
| 312 | const QMetaObject QWheelEvent::staticMetaObject = { { |
| 313 | QtPrivate::MetaObjectForType<QSinglePointEvent>::value(), |
| 314 | qt_meta_stringdata_QWheelEvent.offsetsAndSize, |
| 315 | qt_meta_data_QWheelEvent, |
| 316 | qt_static_metacall, |
| 317 | nullptr, |
| 318 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QWheelEvent_t |
| 319 | , QtPrivate::TypeAndForceComplete<const QPointingDevice*, std::true_type>, QtPrivate::TypeAndForceComplete<QPoint, std::true_type>, QtPrivate::TypeAndForceComplete<QPoint, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::ScrollPhase, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type> |
| 320 | |
| 321 | |
| 322 | |
| 323 | >, |
| 324 | nullptr |
| 325 | } }; |
| 326 | |
| 327 | QT_WARNING_POP |
| 328 | QT_END_MOC_NAMESPACE |
| 329 | |