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