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