| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickfriction_p.cpp |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /**************************************************************************** | - |
| 2 | ** Meta object code from reading C++ file 'qquickfriction_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 "../qquickfriction_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qquickfriction_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_QQuickFrictionAffector_t { | - |
| 24 | QByteArrayData data[9]; | - |
| 25 | char stringdata0[99]; | - |
| 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_QQuickFrictionAffector_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QQuickFrictionAffector_t qt_meta_stringdata_QQuickFrictionAffector = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 22), // "QQuickFrictionAffector" | - |
| 35 | QT_MOC_LITERAL(1, 23, 13), // "factorChanged" | - |
| 36 | QT_MOC_LITERAL(2, 37, 0), // "" | - |
| 37 | QT_MOC_LITERAL(3, 38, 3), // "arg" | - |
| 38 | QT_MOC_LITERAL(4, 42, 16), // "thresholdChanged" | - |
| 39 | QT_MOC_LITERAL(5, 59, 9), // "setFactor" | - |
| 40 | QT_MOC_LITERAL(6, 69, 12), // "setThreshold" | - |
| 41 | QT_MOC_LITERAL(7, 82, 6), // "factor" | - |
| 42 | QT_MOC_LITERAL(8, 89, 9) // "threshold" | - |
| 43 | - | |
| 44 | }, | - |
| 45 | "QQuickFrictionAffector\0factorChanged\0" | - |
| 46 | "\0arg\0thresholdChanged\0setFactor\0" | - |
| 47 | "setThreshold\0factor\0threshold" | - |
| 48 | }; | - |
| 49 | #undef QT_MOC_LITERAL | - |
| 50 | - | |
| 51 | static const uint qt_meta_data_QQuickFrictionAffector[] = { | - |
| 52 | - | |
| 53 | // content: | - |
| 54 | 7, // revision | - |
| 55 | 0, // classname | - |
| 56 | 0, 0, // classinfo | - |
| 57 | 4, 14, // methods | - |
| 58 | 2, 46, // properties | - |
| 59 | 0, 0, // enums/sets | - |
| 60 | 0, 0, // constructors | - |
| 61 | 0, // flags | - |
| 62 | 2, // signalCount | - |
| 63 | - | |
| 64 | // signals: name, argc, parameters, tag, flags | - |
| 65 | 1, 1, 34, 2, 0x06 /* Public */, | - |
| 66 | 4, 1, 37, 2, 0x06 /* Public */, | - |
| 67 | - | |
| 68 | // slots: name, argc, parameters, tag, flags | - |
| 69 | 5, 1, 40, 2, 0x0a /* Public */, | - |
| 70 | 6, 1, 43, 2, 0x0a /* Public */, | - |
| 71 | - | |
| 72 | // signals: parameters | - |
| 73 | QMetaType::Void, QMetaType::QReal, 3, | - |
| 74 | QMetaType::Void, QMetaType::QReal, 3, | - |
| 75 | - | |
| 76 | // slots: parameters | - |
| 77 | QMetaType::Void, QMetaType::QReal, 3, | - |
| 78 | QMetaType::Void, QMetaType::QReal, 3, | - |
| 79 | - | |
| 80 | // properties: name, type, flags | - |
| 81 | 7, QMetaType::QReal, 0x00495103, | - |
| 82 | 8, QMetaType::QReal, 0x00495103, | - |
| 83 | - | |
| 84 | // properties: notify_signal_id | - |
| 85 | 0, | - |
| 86 | 1, | - |
| 87 | - | |
| 88 | 0 // eod | - |
| 89 | }; | - |
| 90 | - | |
| 91 | void QQuickFrictionAffector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 92 | { | - |
| 93 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 94 | QQuickFrictionAffector *_t = static_cast<QQuickFrictionAffector *>(_o); | - |
| 95 | Q_UNUSED(_t) | - |
| 96 | switch (_id) { | - |
| 97 | case 0: _t->factorChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
| 98 | case 1: _t->thresholdChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
| 99 | case 2: _t->setFactor((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
| 100 | case 3: _t->setThreshold((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
| 101 | default: ; | - |
| 102 | } | - |
| 103 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 104 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 105 | { | - |
| 106 | using _t = void (QQuickFrictionAffector::*)(qreal ); | - |
| 107 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickFrictionAffector::factorChanged)) { | - |
| 108 | *result = 0; | - |
| 109 | return; | - |
| 110 | } | - |
| 111 | } | - |
| 112 | { | - |
| 113 | using _t = void (QQuickFrictionAffector::*)(qreal ); | - |
| 114 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickFrictionAffector::thresholdChanged)) { | - |
| 115 | *result = 1; | - |
| 116 | return; | - |
| 117 | } | - |
| 118 | } | - |
| 119 | } | - |
| 120 | #ifndef QT_NO_PROPERTIES | - |
| 121 | else if (_c == QMetaObject::ReadProperty) { | - |
| 122 | QQuickFrictionAffector *_t = static_cast<QQuickFrictionAffector *>(_o); | - |
| 123 | Q_UNUSED(_t) | - |
| 124 | void *_v = _a[0]; | - |
| 125 | switch (_id) { | - |
| 126 | case 0: *reinterpret_cast< qreal*>(_v) = _t->factor(); break; | - |
| 127 | case 1: *reinterpret_cast< qreal*>(_v) = _t->threshold(); break; | - |
| 128 | default: break; | - |
| 129 | } | - |
| 130 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 131 | QQuickFrictionAffector *_t = static_cast<QQuickFrictionAffector *>(_o); | - |
| 132 | Q_UNUSED(_t) | - |
| 133 | void *_v = _a[0]; | - |
| 134 | switch (_id) { | - |
| 135 | case 0: _t->setFactor(*reinterpret_cast< qreal*>(_v)); break; | - |
| 136 | case 1: _t->setThreshold(*reinterpret_cast< qreal*>(_v)); break; | - |
| 137 | default: break; | - |
| 138 | } | - |
| 139 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 140 | } | - |
| 141 | #endif // QT_NO_PROPERTIES | - |
| 142 | } | - |
| 143 | - | |
| 144 | QT_INIT_METAOBJECT const QMetaObject QQuickFrictionAffector::staticMetaObject = { | - |
| 145 | { &QQuickParticleAffector::staticMetaObject, qt_meta_stringdata_QQuickFrictionAffector.data, | - |
| 146 | qt_meta_data_QQuickFrictionAffector, qt_static_metacall, nullptr, nullptr} | - |
| 147 | }; | - |
| 148 | - | |
| 149 | - | |
| 150 | const QMetaObject *QQuickFrictionAffector::metaObject() const | - |
| 151 | { | - |
| 152 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 153 | } | - |
| 154 | - | |
| 155 | void *QQuickFrictionAffector::qt_metacast(const char *_clname) | - |
| 156 | { | - |
| 157 | if (!_clname) return nullptr; | - |
| 158 | if (!strcmp(_clname, qt_meta_stringdata_QQuickFrictionAffector.stringdata0)) | - |
| 159 | return static_cast<void*>(this); | - |
| 160 | return QQuickParticleAffector::qt_metacast(_clname); | - |
| 161 | } | - |
| 162 | - | |
| 163 | int QQuickFrictionAffector::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 164 | { | - |
| 165 | _id = QQuickParticleAffector::qt_metacall(_c, _id, _a); | - |
| 166 | if (_id < 0) | - |
| 167 | return _id; | - |
| 168 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 169 | if (_id < 4) | - |
| 170 | qt_static_metacall(this, _c, _id, _a); | - |
| 171 | _id -= 4; | - |
| 172 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 173 | if (_id < 4) | - |
| 174 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 175 | _id -= 4; | - |
| 176 | } | - |
| 177 | #ifndef QT_NO_PROPERTIES | - |
| 178 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 179 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 180 | qt_static_metacall(this, _c, _id, _a); | - |
| 181 | _id -= 2; | - |
| 182 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 183 | _id -= 2; | - |
| 184 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 185 | _id -= 2; | - |
| 186 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 187 | _id -= 2; | - |
| 188 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 189 | _id -= 2; | - |
| 190 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 191 | _id -= 2; | - |
| 192 | } | - |
| 193 | #endif // QT_NO_PROPERTIES | - |
| 194 | return _id; | - |
| 195 | } | - |
| 196 | - | |
| 197 | // SIGNAL 0 | - |
| 198 | void QQuickFrictionAffector::factorChanged(qreal _t1) | - |
| 199 | { | - |
| 200 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
| 201 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
| 202 | } executed 10 times by 2 tests: end of blockExecuted by:
| 10 |
| 203 | - | |
| 204 | // SIGNAL 1 | - |
| 205 | void QQuickFrictionAffector::thresholdChanged(qreal _t1) | - |
| 206 | { | - |
| 207 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
| 208 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | - |
| 209 | } executed 2 times by 1 test: end of blockExecuted by:
| 2 |
| 210 | QT_WARNING_POP | - |
| 211 | QT_END_MOC_NAMESPACE | - |
| Source code | Switch to Preprocessed file |