| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickdragaxis_p.cpp |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | #pragma GCC diagnostic push | - |
| 4 | - | |
| 5 | - | |
| 6 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" | - |
| 7 | - | |
| 8 | struct qt_meta_stringdata_QQuickDragAxis_t { | - |
| 9 | QByteArrayData data[8]; | - |
| 10 | char stringdata0[85]; | - |
| 11 | }; | - |
| 12 | - | |
| 13 | - | |
| 14 | - | |
| 15 | - | |
| 16 | - | |
| 17 | static const qt_meta_stringdata_QQuickDragAxis_t qt_meta_stringdata_QQuickDragAxis = { | - |
| 18 | { | - |
| 19 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
| 20 | __builtin_offsetof ( | - |
| 21 | qt_meta_stringdata_QQuickDragAxis_t | - |
| 22 | , | - |
| 23 | stringdata0 | - |
| 24 | ) | - |
| 25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
| 26 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
| 27 | __builtin_offsetof ( | - |
| 28 | qt_meta_stringdata_QQuickDragAxis_t | - |
| 29 | , | - |
| 30 | stringdata0 | - |
| 31 | ) | - |
| 32 | + 15 - 1 * sizeof(QByteArrayData)) }, | - |
| 33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
| 34 | __builtin_offsetof ( | - |
| 35 | qt_meta_stringdata_QQuickDragAxis_t | - |
| 36 | , | - |
| 37 | stringdata0 | - |
| 38 | ) | - |
| 39 | + 30 - 2 * sizeof(QByteArrayData)) }, | - |
| 40 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
| 41 | __builtin_offsetof ( | - |
| 42 | qt_meta_stringdata_QQuickDragAxis_t | - |
| 43 | , | - |
| 44 | stringdata0 | - |
| 45 | ) | - |
| 46 | + 31 - 3 * sizeof(QByteArrayData)) }, | - |
| 47 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
| 48 | __builtin_offsetof ( | - |
| 49 | qt_meta_stringdata_QQuickDragAxis_t | - |
| 50 | , | - |
| 51 | stringdata0 | - |
| 52 | ) | - |
| 53 | + 46 - 4 * sizeof(QByteArrayData)) }, | - |
| 54 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
| 55 | __builtin_offsetof ( | - |
| 56 | qt_meta_stringdata_QQuickDragAxis_t | - |
| 57 | , | - |
| 58 | stringdata0 | - |
| 59 | ) | - |
| 60 | + 61 - 5 * sizeof(QByteArrayData)) }, | - |
| 61 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
| 62 | __builtin_offsetof ( | - |
| 63 | qt_meta_stringdata_QQuickDragAxis_t | - |
| 64 | , | - |
| 65 | stringdata0 | - |
| 66 | ) | - |
| 67 | + 69 - 6 * sizeof(QByteArrayData)) }, | - |
| 68 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
| 69 | __builtin_offsetof ( | - |
| 70 | qt_meta_stringdata_QQuickDragAxis_t | - |
| 71 | , | - |
| 72 | stringdata0 | - |
| 73 | ) | - |
| 74 | + 77 - 7 * sizeof(QByteArrayData)) } | - |
| 75 | - | |
| 76 | }, | - |
| 77 | "QQuickDragAxis\0minimumChanged\0\0" | - |
| 78 | "maximumChanged\0enabledChanged\0minimum\0" | - |
| 79 | "maximum\0enabled" | - |
| 80 | }; | - |
| 81 | - | |
| 82 | - | |
| 83 | static const uint qt_meta_data_QQuickDragAxis[] = { | - |
| 84 | - | |
| 85 | - | |
| 86 | 7, | - |
| 87 | 0, | - |
| 88 | 0, 0, | - |
| 89 | 3, 14, | - |
| 90 | 3, 32, | - |
| 91 | 0, 0, | - |
| 92 | 0, 0, | - |
| 93 | 0, | - |
| 94 | 3, | - |
| 95 | - | |
| 96 | - | |
| 97 | 1, 0, 29, 2, 0x06 , | - |
| 98 | 3, 0, 30, 2, 0x06 , | - |
| 99 | 4, 0, 31, 2, 0x06 , | - |
| 100 | - | |
| 101 | - | |
| 102 | QMetaType::Void, | - |
| 103 | QMetaType::Void, | - |
| 104 | QMetaType::Void, | - |
| 105 | - | |
| 106 | - | |
| 107 | 5, QMetaType::QReal, 0x00495103, | - |
| 108 | 6, QMetaType::QReal, 0x00495103, | - |
| 109 | 7, QMetaType::Bool, 0x00495103, | - |
| 110 | - | |
| 111 | - | |
| 112 | 0, | - |
| 113 | 1, | - |
| 114 | 2, | - |
| 115 | - | |
| 116 | 0 | - |
| 117 | }; | - |
| 118 | - | |
| 119 | void QQuickDragAxis::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 120 | { | - |
| 121 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 122 | QQuickDragAxis *_t = static_cast<QQuickDragAxis *>(_o); | - |
| 123 | (void)_t; | - |
| 124 | switch (_id) { | - |
| 125 | case 0: _t->minimumChanged(); break; | - |
| 126 | case 1: _t->maximumChanged(); break; | - |
| 127 | case 2: _t->enabledChanged(); break; | - |
| 128 | default: ; | - |
| 129 | } | - |
| 130 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 131 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 132 | { | - |
| 133 | using _t = void (QQuickDragAxis::*)(); | - |
| 134 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAxis::minimumChanged)) { | - |
| 135 | *result = 0; | - |
| 136 | return; | - |
| 137 | } | - |
| 138 | } | - |
| 139 | { | - |
| 140 | using _t = void (QQuickDragAxis::*)(); | - |
| 141 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAxis::maximumChanged)) { | - |
| 142 | *result = 1; | - |
| 143 | return; | - |
| 144 | } | - |
| 145 | } | - |
| 146 | { | - |
| 147 | using _t = void (QQuickDragAxis::*)(); | - |
| 148 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickDragAxis::enabledChanged)) { | - |
| 149 | *result = 2; | - |
| 150 | return; | - |
| 151 | } | - |
| 152 | } | - |
| 153 | } | - |
| 154 | - | |
| 155 | else if (_c == QMetaObject::ReadProperty) { | - |
| 156 | QQuickDragAxis *_t = static_cast<QQuickDragAxis *>(_o); | - |
| 157 | (void)_t; | - |
| 158 | void *_v = _a[0]; | - |
| 159 | switch (_id) { | - |
| 160 | case 0: *reinterpret_cast< qreal*>(_v) = _t->minimum(); break; | - |
| 161 | case 1: *reinterpret_cast< qreal*>(_v) = _t->maximum(); break; | - |
| 162 | case 2: *reinterpret_cast< bool*>(_v) = _t->enabled(); break; | - |
| 163 | default: break; | - |
| 164 | } | - |
| 165 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 166 | QQuickDragAxis *_t = static_cast<QQuickDragAxis *>(_o); | - |
| 167 | (void)_t; | - |
| 168 | void *_v = _a[0]; | - |
| 169 | switch (_id) { | - |
| 170 | case 0: _t->setMinimum(*reinterpret_cast< qreal*>(_v)); break; | - |
| 171 | case 1: _t->setMaximum(*reinterpret_cast< qreal*>(_v)); break; | - |
| 172 | case 2: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break; | - |
| 173 | default: break; | - |
| 174 | } | - |
| 175 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 176 | } | - |
| 177 | - | |
| 178 | (void)_a;; | - |
| 179 | } | - |
| 180 | - | |
| 181 | const QMetaObject QQuickDragAxis::staticMetaObject = { | - |
| 182 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickDragAxis.data, | - |
| 183 | qt_meta_data_QQuickDragAxis, qt_static_metacall, nullptr, nullptr} | - |
| 184 | }; | - |
| 185 | - | |
| 186 | - | |
| 187 | const QMetaObject *QQuickDragAxis::metaObject() const | - |
| 188 | { | - |
| 189 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 190 | } | - |
| 191 | - | |
| 192 | void *QQuickDragAxis::qt_metacast(const char *_clname) | - |
| 193 | { | - |
| 194 | if (!_clname) return nullptr; | - |
| 195 | if (!strcmp(_clname, qt_meta_stringdata_QQuickDragAxis.stringdata0)) | - |
| 196 | return static_cast<void*>(this); | - |
| 197 | return QObject::qt_metacast(_clname); | - |
| 198 | } | - |
| 199 | - | |
| 200 | int QQuickDragAxis::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 201 | { | - |
| 202 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 203 | if (_id < 0) | - |
| 204 | return _id; | - |
| 205 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 206 | if (_id < 3) | - |
| 207 | qt_static_metacall(this, _c, _id, _a); | - |
| 208 | _id -= 3; | - |
| 209 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 210 | if (_id < 3) | - |
| 211 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 212 | _id -= 3; | - |
| 213 | } | - |
| 214 | - | |
| 215 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 216 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 217 | qt_static_metacall(this, _c, _id, _a); | - |
| 218 | _id -= 3; | - |
| 219 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 220 | _id -= 3; | - |
| 221 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 222 | _id -= 3; | - |
| 223 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 224 | _id -= 3; | - |
| 225 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 226 | _id -= 3; | - |
| 227 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 228 | _id -= 3; | - |
| 229 | } | - |
| 230 | - | |
| 231 | return _id; | - |
| 232 | } | - |
| 233 | - | |
| 234 | - | |
| 235 | void QQuickDragAxis::minimumChanged() | - |
| 236 | { | - |
| 237 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 238 | } executed 388 times by 2 tests: end of blockExecuted by:
| 388 |
| 239 | - | |
| 240 | - | |
| 241 | void QQuickDragAxis::maximumChanged() | - |
| 242 | { | - |
| 243 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 244 | } executed 582 times by 2 tests: end of blockExecuted by:
| 582 |
| 245 | - | |
| 246 | - | |
| 247 | void QQuickDragAxis::enabledChanged() | - |
| 248 | { | - |
| 249 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 250 | } executed 194 times by 2 tests: end of blockExecuted by:
| 194 |
| 251 | - | |
| 252 | #pragma GCC diagnostic pop | - |
| 253 | - | |
| 254 | - | |
| Switch to Source code | Preprocessed file |