| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | #include "../handlers/qquickpointhandler_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qquickpointhandler_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_QQuickPointHandler_t { | - |
| 24 | QByteArrayData data[4]; | - |
| 25 | char stringdata0[51]; | - |
| 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_QQuickPointHandler_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QQuickPointHandler_t qt_meta_stringdata_QQuickPointHandler = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 18), | - |
| 35 | QT_MOC_LITERAL(1, 19, 18), | - |
| 36 | QT_MOC_LITERAL(2, 38, 0), | - |
| 37 | QT_MOC_LITERAL(3, 39, 11) | - |
| 38 | | - |
| 39 | }, | - |
| 40 | "QQuickPointHandler\0translationChanged\0" | - |
| 41 | "\0translation" | - |
| 42 | }; | - |
| 43 | #undef QT_MOC_LITERAL | - |
| 44 | | - |
| 45 | static const uint qt_meta_data_QQuickPointHandler[] = { | - |
| 46 | | - |
| 47 | | - |
| 48 | 7, | - |
| 49 | 0, | - |
| 50 | 0, 0, | - |
| 51 | 1, 14, | - |
| 52 | 1, 20, | - |
| 53 | 0, 0, | - |
| 54 | 0, 0, | - |
| 55 | 0, | - |
| 56 | 1, | - |
| 57 | | - |
| 58 | | - |
| 59 | 1, 0, 19, 2, 0x06 , | - |
| 60 | | - |
| 61 | | - |
| 62 | QMetaType::Void, | - |
| 63 | | - |
| 64 | | - |
| 65 | 3, QMetaType::QVector2D, 0x00495001, | - |
| 66 | | - |
| 67 | | - |
| 68 | 0, | - |
| 69 | | - |
| 70 | 0 | - |
| 71 | }; | - |
| 72 | | - |
| 73 | void QQuickPointHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 74 | { | - |
| 75 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 76 | QQuickPointHandler *_t = static_cast<QQuickPointHandler *>(_o); | - |
| 77 | Q_UNUSED(_t) | - |
| 78 | switch (_id) { | - |
| 79 | case 0: _t->translationChanged(); break; | - |
| 80 | default: ; | - |
| 81 | } | - |
| 82 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 83 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 84 | { | - |
| 85 | using _t = void (QQuickPointHandler::*)(); | - |
| 86 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPointHandler::translationChanged)) { | - |
| 87 | *result = 0; | - |
| 88 | return; | - |
| 89 | } | - |
| 90 | } | - |
| 91 | } | - |
| 92 | #ifndef QT_NO_PROPERTIES | - |
| 93 | else if (_c == QMetaObject::ReadProperty) { | - |
| 94 | QQuickPointHandler *_t = static_cast<QQuickPointHandler *>(_o); | - |
| 95 | Q_UNUSED(_t) | - |
| 96 | void *_v = _a[0]; | - |
| 97 | switch (_id) { | - |
| 98 | case 0: *reinterpret_cast< QVector2D*>(_v) = _t->translation(); break; | - |
| 99 | default: break; | - |
| 100 | } | - |
| 101 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 102 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 103 | } | - |
| 104 | #endif // QT_NO_PROPERTIES | - |
| 105 | Q_UNUSED(_a); | - |
| 106 | } | - |
| 107 | | - |
| 108 | QT_INIT_METAOBJECT const QMetaObject QQuickPointHandler::staticMetaObject = { | - |
| 109 | { &QQuickSinglePointHandler::staticMetaObject, qt_meta_stringdata_QQuickPointHandler.data, | - |
| 110 | qt_meta_data_QQuickPointHandler, qt_static_metacall, nullptr, nullptr} | - |
| 111 | }; | - |
| 112 | | - |
| 113 | | - |
| 114 | const QMetaObject *QQuickPointHandler::metaObject() const | - |
| 115 | { | - |
| 116 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 117 | } | - |
| 118 | | - |
| 119 | void *QQuickPointHandler::qt_metacast(const char *_clname) | - |
| 120 | { | - |
| 121 | if (!_clname) return nullptr; | - |
| 122 | if (!strcmp(_clname, qt_meta_stringdata_QQuickPointHandler.stringdata0)) | - |
| 123 | return static_cast<void*>(this); | - |
| 124 | return QQuickSinglePointHandler::qt_metacast(_clname); | - |
| 125 | } | - |
| 126 | | - |
| 127 | int QQuickPointHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 128 | { | - |
| 129 | _id = QQuickSinglePointHandler::qt_metacall(_c, _id, _a); | - |
| 130 | if (_id < 0) | - |
| 131 | return _id; | - |
| 132 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 133 | if (_id < 1) | - |
| 134 | qt_static_metacall(this, _c, _id, _a); | - |
| 135 | _id -= 1; | - |
| 136 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 137 | if (_id < 1) | - |
| 138 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 139 | _id -= 1; | - |
| 140 | } | - |
| 141 | #ifndef QT_NO_PROPERTIES | - |
| 142 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 143 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 144 | qt_static_metacall(this, _c, _id, _a); | - |
| 145 | _id -= 1; | - |
| 146 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 147 | _id -= 1; | - |
| 148 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 149 | _id -= 1; | - |
| 150 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 151 | _id -= 1; | - |
| 152 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 153 | _id -= 1; | - |
| 154 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 155 | _id -= 1; | - |
| 156 | } | - |
| 157 | #endif // QT_NO_PROPERTIES | - |
| 158 | return _id; | - |
| 159 | } | - |
| 160 | | - |
| 161 | | - |
| 162 | void QQuickPointHandler::translationChanged() | - |
| 163 | { | - |
| 164 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 165 | } never executed: end of block | 0 |
| 166 | QT_WARNING_POP | - |
| 167 | QT_END_MOC_NAMESPACE | - |
| | |