| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicksmoothedanimation_p.cpp |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /**************************************************************************** | - |
| 2 | ** Meta object code from reading C++ file 'qquicksmoothedanimation_p.h' | - |
| 3 | ** | - |
| 4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0) | - |
| 5 | ** | - |
| 6 | ** WARNING! All changes made in this file will be lost! | - |
| 7 | *****************************************************************************/ | - |
| 8 | - | |
| 9 | #include "../util/qquicksmoothedanimation_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qquicksmoothedanimation_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_QQuickSmoothedAnimation_t { | - |
| 24 | QByteArrayData data[12]; | - |
| 25 | char stringdata0[163]; | - |
| 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_QQuickSmoothedAnimation_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QQuickSmoothedAnimation_t qt_meta_stringdata_QQuickSmoothedAnimation = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 23), // "QQuickSmoothedAnimation" | - |
| 35 | QT_MOC_LITERAL(1, 24, 15), // "velocityChanged" | - |
| 36 | QT_MOC_LITERAL(2, 40, 0), // "" | - |
| 37 | QT_MOC_LITERAL(3, 41, 20), // "reversingModeChanged" | - |
| 38 | QT_MOC_LITERAL(4, 62, 24), // "maximumEasingTimeChanged" | - |
| 39 | QT_MOC_LITERAL(5, 87, 8), // "velocity" | - |
| 40 | QT_MOC_LITERAL(6, 96, 13), // "reversingMode" | - |
| 41 | QT_MOC_LITERAL(7, 110, 13), // "ReversingMode" | - |
| 42 | QT_MOC_LITERAL(8, 124, 17), // "maximumEasingTime" | - |
| 43 | QT_MOC_LITERAL(9, 142, 5), // "Eased" | - |
| 44 | QT_MOC_LITERAL(10, 148, 9), // "Immediate" | - |
| 45 | QT_MOC_LITERAL(11, 158, 4) // "Sync" | - |
| 46 | - | |
| 47 | }, | - |
| 48 | "QQuickSmoothedAnimation\0velocityChanged\0" | - |
| 49 | "\0reversingModeChanged\0maximumEasingTimeChanged\0" | - |
| 50 | "velocity\0reversingMode\0ReversingMode\0" | - |
| 51 | "maximumEasingTime\0Eased\0Immediate\0" | - |
| 52 | "Sync" | - |
| 53 | }; | - |
| 54 | #undef QT_MOC_LITERAL | - |
| 55 | - | |
| 56 | static const uint qt_meta_data_QQuickSmoothedAnimation[] = { | - |
| 57 | - | |
| 58 | // content: | - |
| 59 | 7, // revision | - |
| 60 | 0, // classname | - |
| 61 | 0, 0, // classinfo | - |
| 62 | 3, 14, // methods | - |
| 63 | 3, 32, // properties | - |
| 64 | 1, 44, // enums/sets | - |
| 65 | 0, 0, // constructors | - |
| 66 | 0, // flags | - |
| 67 | 3, // signalCount | - |
| 68 | - | |
| 69 | // signals: name, argc, parameters, tag, flags | - |
| 70 | 1, 0, 29, 2, 0x06 /* Public */, | - |
| 71 | 3, 0, 30, 2, 0x06 /* Public */, | - |
| 72 | 4, 0, 31, 2, 0x06 /* Public */, | - |
| 73 | - | |
| 74 | // signals: parameters | - |
| 75 | QMetaType::Void, | - |
| 76 | QMetaType::Void, | - |
| 77 | QMetaType::Void, | - |
| 78 | - | |
| 79 | // properties: name, type, flags | - |
| 80 | 5, QMetaType::QReal, 0x00495103, | - |
| 81 | 6, 0x80000000 | 7, 0x0049510b, | - |
| 82 | 8, QMetaType::QReal, 0x00495103, | - |
| 83 | - | |
| 84 | // properties: notify_signal_id | - |
| 85 | 0, | - |
| 86 | 1, | - |
| 87 | 2, | - |
| 88 | - | |
| 89 | // enums: name, flags, count, data | - |
| 90 | 7, 0x0, 3, 48, | - |
| 91 | - | |
| 92 | // enum data: key, value | - |
| 93 | 9, uint(QQuickSmoothedAnimation::Eased), | - |
| 94 | 10, uint(QQuickSmoothedAnimation::Immediate), | - |
| 95 | 11, uint(QQuickSmoothedAnimation::Sync), | - |
| 96 | - | |
| 97 | 0 // eod | - |
| 98 | }; | - |
| 99 | - | |
| 100 | void QQuickSmoothedAnimation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 101 | { | - |
| 102 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 103 | QQuickSmoothedAnimation *_t = static_cast<QQuickSmoothedAnimation *>(_o); | - |
| 104 | Q_UNUSED(_t) | - |
| 105 | switch (_id) { | - |
| 106 | case 0: _t->velocityChanged(); break; | - |
| 107 | case 1: _t->reversingModeChanged(); break; | - |
| 108 | case 2: _t->maximumEasingTimeChanged(); break; | - |
| 109 | default: ; | - |
| 110 | } | - |
| 111 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 112 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 113 | { | - |
| 114 | using _t = void (QQuickSmoothedAnimation::*)(); | - |
| 115 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickSmoothedAnimation::velocityChanged)) { | - |
| 116 | *result = 0; | - |
| 117 | return; | - |
| 118 | } | - |
| 119 | } | - |
| 120 | { | - |
| 121 | using _t = void (QQuickSmoothedAnimation::*)(); | - |
| 122 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickSmoothedAnimation::reversingModeChanged)) { | - |
| 123 | *result = 1; | - |
| 124 | return; | - |
| 125 | } | - |
| 126 | } | - |
| 127 | { | - |
| 128 | using _t = void (QQuickSmoothedAnimation::*)(); | - |
| 129 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickSmoothedAnimation::maximumEasingTimeChanged)) { | - |
| 130 | *result = 2; | - |
| 131 | return; | - |
| 132 | } | - |
| 133 | } | - |
| 134 | } | - |
| 135 | #ifndef QT_NO_PROPERTIES | - |
| 136 | else if (_c == QMetaObject::ReadProperty) { | - |
| 137 | QQuickSmoothedAnimation *_t = static_cast<QQuickSmoothedAnimation *>(_o); | - |
| 138 | Q_UNUSED(_t) | - |
| 139 | void *_v = _a[0]; | - |
| 140 | switch (_id) { | - |
| 141 | case 0: *reinterpret_cast< qreal*>(_v) = _t->velocity(); break; | - |
| 142 | case 1: *reinterpret_cast< ReversingMode*>(_v) = _t->reversingMode(); break; | - |
| 143 | case 2: *reinterpret_cast< qreal*>(_v) = _t->maximumEasingTime(); break; | - |
| 144 | default: break; | - |
| 145 | } | - |
| 146 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 147 | QQuickSmoothedAnimation *_t = static_cast<QQuickSmoothedAnimation *>(_o); | - |
| 148 | Q_UNUSED(_t) | - |
| 149 | void *_v = _a[0]; | - |
| 150 | switch (_id) { | - |
| 151 | case 0: _t->setVelocity(*reinterpret_cast< qreal*>(_v)); break; | - |
| 152 | case 1: _t->setReversingMode(*reinterpret_cast< ReversingMode*>(_v)); break; | - |
| 153 | case 2: _t->setMaximumEasingTime(*reinterpret_cast< qreal*>(_v)); break; | - |
| 154 | default: break; | - |
| 155 | } | - |
| 156 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 157 | } | - |
| 158 | #endif // QT_NO_PROPERTIES | - |
| 159 | Q_UNUSED(_a); | - |
| 160 | } | - |
| 161 | - | |
| 162 | QT_INIT_METAOBJECT const QMetaObject QQuickSmoothedAnimation::staticMetaObject = { | - |
| 163 | { &QQuickNumberAnimation::staticMetaObject, qt_meta_stringdata_QQuickSmoothedAnimation.data, | - |
| 164 | qt_meta_data_QQuickSmoothedAnimation, qt_static_metacall, nullptr, nullptr} | - |
| 165 | }; | - |
| 166 | - | |
| 167 | - | |
| 168 | const QMetaObject *QQuickSmoothedAnimation::metaObject() const | - |
| 169 | { | - |
| 170 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 171 | } | - |
| 172 | - | |
| 173 | void *QQuickSmoothedAnimation::qt_metacast(const char *_clname) | - |
| 174 | { | - |
| 175 | if (!_clname) return nullptr; | - |
| 176 | if (!strcmp(_clname, qt_meta_stringdata_QQuickSmoothedAnimation.stringdata0)) | - |
| 177 | return static_cast<void*>(this); | - |
| 178 | return QQuickNumberAnimation::qt_metacast(_clname); | - |
| 179 | } | - |
| 180 | - | |
| 181 | int QQuickSmoothedAnimation::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 182 | { | - |
| 183 | _id = QQuickNumberAnimation::qt_metacall(_c, _id, _a); | - |
| 184 | if (_id < 0) | - |
| 185 | return _id; | - |
| 186 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 187 | if (_id < 3) | - |
| 188 | qt_static_metacall(this, _c, _id, _a); | - |
| 189 | _id -= 3; | - |
| 190 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 191 | if (_id < 3) | - |
| 192 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 193 | _id -= 3; | - |
| 194 | } | - |
| 195 | #ifndef QT_NO_PROPERTIES | - |
| 196 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 197 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 198 | qt_static_metacall(this, _c, _id, _a); | - |
| 199 | _id -= 3; | - |
| 200 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 201 | _id -= 3; | - |
| 202 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 203 | _id -= 3; | - |
| 204 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 205 | _id -= 3; | - |
| 206 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 207 | _id -= 3; | - |
| 208 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 209 | _id -= 3; | - |
| 210 | } | - |
| 211 | #endif // QT_NO_PROPERTIES | - |
| 212 | return _id; | - |
| 213 | } | - |
| 214 | - | |
| 215 | // SIGNAL 0 | - |
| 216 | void QQuickSmoothedAnimation::velocityChanged() | - |
| 217 | { | - |
| 218 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 219 | } executed 18 times by 2 tests: end of blockExecuted by:
| 18 |
| 220 | - | |
| 221 | // SIGNAL 1 | - |
| 222 | void QQuickSmoothedAnimation::reversingModeChanged() | - |
| 223 | { | - |
| 224 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 225 | } executed 4 times by 1 test: end of blockExecuted by:
| 4 |
| 226 | - | |
| 227 | // SIGNAL 2 | - |
| 228 | void QQuickSmoothedAnimation::maximumEasingTimeChanged() | - |
| 229 | { | - |
| 230 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
| 231 | } executed 2 times by 1 test: end of blockExecuted by:
| 2 |
| 232 | QT_WARNING_POP | - |
| 233 | QT_END_MOC_NAMESPACE | - |
| Source code | Switch to Preprocessed file |