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