| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickitemparticle_p.cpp |
| Source code | Switch to Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | /**************************************************************************** | - |
| 2 | ** Meta object code from reading C++ file 'qquickitemparticle_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 "../qquickitemparticle_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 13 | #error "The header file 'qquickitemparticle_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_QQuickItemParticle_t { | - |
| 24 | QByteArrayData data[17]; | - |
| 25 | char stringdata0[155]; | - |
| 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_QQuickItemParticle_t, stringdata0) + ofs \ | - |
| 30 | - idx * sizeof(QByteArrayData)) \ | - |
| 31 | ) | - |
| 32 | static const qt_meta_stringdata_QQuickItemParticle_t qt_meta_stringdata_QQuickItemParticle = { | - |
| 33 | { | - |
| 34 | QT_MOC_LITERAL(0, 0, 18), // "QQuickItemParticle" | - |
| 35 | QT_MOC_LITERAL(1, 19, 11), // "fadeChanged" | - |
| 36 | QT_MOC_LITERAL(2, 31, 0), // "" | - |
| 37 | QT_MOC_LITERAL(3, 32, 15), // "delegateChanged" | - |
| 38 | QT_MOC_LITERAL(4, 48, 14), // "QQmlComponent*" | - |
| 39 | QT_MOC_LITERAL(5, 63, 3), // "arg" | - |
| 40 | QT_MOC_LITERAL(6, 67, 6), // "freeze" | - |
| 41 | QT_MOC_LITERAL(7, 74, 11), // "QQuickItem*" | - |
| 42 | QT_MOC_LITERAL(8, 86, 4), // "item" | - |
| 43 | QT_MOC_LITERAL(9, 91, 8), // "unfreeze" | - |
| 44 | QT_MOC_LITERAL(10, 100, 4), // "take" | - |
| 45 | QT_MOC_LITERAL(11, 105, 10), // "prioritize" | - |
| 46 | QT_MOC_LITERAL(12, 116, 4), // "give" | - |
| 47 | QT_MOC_LITERAL(13, 121, 7), // "setFade" | - |
| 48 | QT_MOC_LITERAL(14, 129, 11), // "setDelegate" | - |
| 49 | QT_MOC_LITERAL(15, 141, 4), // "fade" | - |
| 50 | QT_MOC_LITERAL(16, 146, 8) // "delegate" | - |
| 51 | - | |
| 52 | }, | - |
| 53 | "QQuickItemParticle\0fadeChanged\0\0" | - |
| 54 | "delegateChanged\0QQmlComponent*\0arg\0" | - |
| 55 | "freeze\0QQuickItem*\0item\0unfreeze\0take\0" | - |
| 56 | "prioritize\0give\0setFade\0setDelegate\0" | - |
| 57 | "fade\0delegate" | - |
| 58 | }; | - |
| 59 | #undef QT_MOC_LITERAL | - |
| 60 | - | |
| 61 | static const uint qt_meta_data_QQuickItemParticle[] = { | - |
| 62 | - | |
| 63 | // content: | - |
| 64 | 7, // revision | - |
| 65 | 0, // classname | - |
| 66 | 0, 0, // classinfo | - |
| 67 | 9, 14, // methods | - |
| 68 | 2, 86, // properties | - |
| 69 | 0, 0, // enums/sets | - |
| 70 | 0, 0, // constructors | - |
| 71 | 0, // flags | - |
| 72 | 2, // signalCount | - |
| 73 | - | |
| 74 | // signals: name, argc, parameters, tag, flags | - |
| 75 | 1, 0, 59, 2, 0x06 /* Public */, | - |
| 76 | 3, 1, 60, 2, 0x06 /* Public */, | - |
| 77 | - | |
| 78 | // slots: name, argc, parameters, tag, flags | - |
| 79 | 6, 1, 63, 2, 0x0a /* Public */, | - |
| 80 | 9, 1, 66, 2, 0x0a /* Public */, | - |
| 81 | 10, 2, 69, 2, 0x0a /* Public */, | - |
| 82 | 10, 1, 74, 2, 0x2a /* Public | MethodCloned */, | - |
| 83 | 12, 1, 77, 2, 0x0a /* Public */, | - |
| 84 | 13, 1, 80, 2, 0x0a /* Public */, | - |
| 85 | 14, 1, 83, 2, 0x0a /* Public */, | - |
| 86 | - | |
| 87 | // signals: parameters | - |
| 88 | QMetaType::Void, | - |
| 89 | QMetaType::Void, 0x80000000 | 4, 5, | - |
| 90 | - | |
| 91 | // slots: parameters | - |
| 92 | QMetaType::Void, 0x80000000 | 7, 8, | - |
| 93 | QMetaType::Void, 0x80000000 | 7, 8, | - |
| 94 | QMetaType::Void, 0x80000000 | 7, QMetaType::Bool, 8, 11, | - |
| 95 | QMetaType::Void, 0x80000000 | 7, 8, | - |
| 96 | QMetaType::Void, 0x80000000 | 7, 8, | - |
| 97 | QMetaType::Void, QMetaType::Bool, 5, | - |
| 98 | QMetaType::Void, 0x80000000 | 4, 5, | - |
| 99 | - | |
| 100 | // properties: name, type, flags | - |
| 101 | 15, QMetaType::Bool, 0x00495103, | - |
| 102 | 16, 0x80000000 | 4, 0x0049510b, | - |
| 103 | - | |
| 104 | // properties: notify_signal_id | - |
| 105 | 0, | - |
| 106 | 1, | - |
| 107 | - | |
| 108 | 0 // eod | - |
| 109 | }; | - |
| 110 | - | |
| 111 | void QQuickItemParticle::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 112 | { | - |
| 113 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 114 | QQuickItemParticle *_t = static_cast<QQuickItemParticle *>(_o); | - |
| 115 | Q_UNUSED(_t) | - |
| 116 | switch (_id) { | - |
| 117 | case 0: _t->fadeChanged(); break; | - |
| 118 | case 1: _t->delegateChanged((*reinterpret_cast< QQmlComponent*(*)>(_a[1]))); break; | - |
| 119 | case 2: _t->freeze((*reinterpret_cast< QQuickItem*(*)>(_a[1]))); break; | - |
| 120 | case 3: _t->unfreeze((*reinterpret_cast< QQuickItem*(*)>(_a[1]))); break; | - |
| 121 | case 4: _t->take((*reinterpret_cast< QQuickItem*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; | - |
| 122 | case 5: _t->take((*reinterpret_cast< QQuickItem*(*)>(_a[1]))); break; | - |
| 123 | case 6: _t->give((*reinterpret_cast< QQuickItem*(*)>(_a[1]))); break; | - |
| 124 | case 7: _t->setFade((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
| 125 | case 8: _t->setDelegate((*reinterpret_cast< QQmlComponent*(*)>(_a[1]))); break; | - |
| 126 | default: ; | - |
| 127 | } | - |
| 128 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 129 | switch (_id) { | - |
| 130 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 131 | case 1: | - |
| 132 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 133 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 134 | case 0: | - |
| 135 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break; | - |
| 136 | } | - |
| 137 | break; | - |
| 138 | case 2: | - |
| 139 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 140 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 141 | case 0: | - |
| 142 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break; | - |
| 143 | } | - |
| 144 | break; | - |
| 145 | case 3: | - |
| 146 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 147 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 148 | case 0: | - |
| 149 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break; | - |
| 150 | } | - |
| 151 | break; | - |
| 152 | case 4: | - |
| 153 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 154 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 155 | case 0: | - |
| 156 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break; | - |
| 157 | } | - |
| 158 | break; | - |
| 159 | case 5: | - |
| 160 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 161 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 162 | case 0: | - |
| 163 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break; | - |
| 164 | } | - |
| 165 | break; | - |
| 166 | case 6: | - |
| 167 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 168 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 169 | case 0: | - |
| 170 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break; | - |
| 171 | } | - |
| 172 | break; | - |
| 173 | case 8: | - |
| 174 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
| 175 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 176 | case 0: | - |
| 177 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break; | - |
| 178 | } | - |
| 179 | break; | - |
| 180 | } | - |
| 181 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 182 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 183 | { | - |
| 184 | using _t = void (QQuickItemParticle::*)(); | - |
| 185 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickItemParticle::fadeChanged)) { | - |
| 186 | *result = 0; | - |
| 187 | return; | - |
| 188 | } | - |
| 189 | } | - |
| 190 | { | - |
| 191 | using _t = void (QQuickItemParticle::*)(QQmlComponent * ); | - |
| 192 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickItemParticle::delegateChanged)) { | - |
| 193 | *result = 1; | - |
| 194 | return; | - |
| 195 | } | - |
| 196 | } | - |
| 197 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
| 198 | switch (_id) { | - |
| 199 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 200 | case 1: | - |
| 201 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break; | - |
| 202 | } | - |
| 203 | } | - |
| 204 | - | |
| 205 | #ifndef QT_NO_PROPERTIES | - |
| 206 | else if (_c == QMetaObject::ReadProperty) { | - |
| 207 | QQuickItemParticle *_t = static_cast<QQuickItemParticle *>(_o); | - |
| 208 | Q_UNUSED(_t) | - |
| 209 | void *_v = _a[0]; | - |
| 210 | switch (_id) { | - |
| 211 | case 0: *reinterpret_cast< bool*>(_v) = _t->fade(); break; | - |
| 212 | case 1: *reinterpret_cast< QQmlComponent**>(_v) = _t->delegate(); break; | - |
| 213 | default: break; | - |
| 214 | } | - |
| 215 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 216 | QQuickItemParticle *_t = static_cast<QQuickItemParticle *>(_o); | - |
| 217 | Q_UNUSED(_t) | - |
| 218 | void *_v = _a[0]; | - |
| 219 | switch (_id) { | - |
| 220 | case 0: _t->setFade(*reinterpret_cast< bool*>(_v)); break; | - |
| 221 | case 1: _t->setDelegate(*reinterpret_cast< QQmlComponent**>(_v)); break; | - |
| 222 | default: break; | - |
| 223 | } | - |
| 224 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 225 | } | - |
| 226 | #endif // QT_NO_PROPERTIES | - |
| 227 | } | - |
| 228 | - | |
| 229 | QT_INIT_METAOBJECT const QMetaObject QQuickItemParticle::staticMetaObject = { | - |
| 230 | { &QQuickParticlePainter::staticMetaObject, qt_meta_stringdata_QQuickItemParticle.data, | - |
| 231 | qt_meta_data_QQuickItemParticle, qt_static_metacall, nullptr, nullptr} | - |
| 232 | }; | - |
| 233 | - | |
| 234 | - | |
| 235 | const QMetaObject *QQuickItemParticle::metaObject() const | - |
| 236 | { | - |
| 237 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 238 | } | - |
| 239 | - | |
| 240 | void *QQuickItemParticle::qt_metacast(const char *_clname) | - |
| 241 | { | - |
| 242 | if (!_clname) return nullptr; | - |
| 243 | if (!strcmp(_clname, qt_meta_stringdata_QQuickItemParticle.stringdata0)) | - |
| 244 | return static_cast<void*>(this); | - |
| 245 | return QQuickParticlePainter::qt_metacast(_clname); | - |
| 246 | } | - |
| 247 | - | |
| 248 | int QQuickItemParticle::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 249 | { | - |
| 250 | _id = QQuickParticlePainter::qt_metacall(_c, _id, _a); | - |
| 251 | if (_id < 0) | - |
| 252 | return _id; | - |
| 253 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 254 | if (_id < 9) | - |
| 255 | qt_static_metacall(this, _c, _id, _a); | - |
| 256 | _id -= 9; | - |
| 257 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 258 | if (_id < 9) | - |
| 259 | qt_static_metacall(this, _c, _id, _a); | - |
| 260 | _id -= 9; | - |
| 261 | } | - |
| 262 | #ifndef QT_NO_PROPERTIES | - |
| 263 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 264 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 265 | qt_static_metacall(this, _c, _id, _a); | - |
| 266 | _id -= 2; | - |
| 267 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 268 | _id -= 2; | - |
| 269 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 270 | _id -= 2; | - |
| 271 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 272 | _id -= 2; | - |
| 273 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 274 | _id -= 2; | - |
| 275 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 276 | _id -= 2; | - |
| 277 | } | - |
| 278 | #endif // QT_NO_PROPERTIES | - |
| 279 | return _id; | - |
| 280 | } | - |
| 281 | - | |
| 282 | // SIGNAL 0 | - |
| 283 | void QQuickItemParticle::fadeChanged() | - |
| 284 | { | - |
| 285 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 286 | } never executed: end of block | 0 |
| 287 | - | |
| 288 | // SIGNAL 1 | - |
| 289 | void QQuickItemParticle::delegateChanged(QQmlComponent * _t1) | - |
| 290 | { | - |
| 291 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
| 292 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | - |
| 293 | } executed 6 times by 2 tests: end of blockExecuted by:
| 6 |
| 294 | struct qt_meta_stringdata_QQuickItemParticleAttached_t { | - |
| 295 | QByteArrayData data[6]; | - |
| 296 | char stringdata0[75]; | - |
| 297 | }; | - |
| 298 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 299 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 300 | qptrdiff(offsetof(qt_meta_stringdata_QQuickItemParticleAttached_t, stringdata0) + ofs \ | - |
| 301 | - idx * sizeof(QByteArrayData)) \ | - |
| 302 | ) | - |
| 303 | static const qt_meta_stringdata_QQuickItemParticleAttached_t qt_meta_stringdata_QQuickItemParticleAttached = { | - |
| 304 | { | - |
| 305 | QT_MOC_LITERAL(0, 0, 26), // "QQuickItemParticleAttached" | - |
| 306 | QT_MOC_LITERAL(1, 27, 8), // "detached" | - |
| 307 | QT_MOC_LITERAL(2, 36, 0), // "" | - |
| 308 | QT_MOC_LITERAL(3, 37, 8), // "attached" | - |
| 309 | QT_MOC_LITERAL(4, 46, 8), // "particle" | - |
| 310 | QT_MOC_LITERAL(5, 55, 19) // "QQuickItemParticle*" | - |
| 311 | - | |
| 312 | }, | - |
| 313 | "QQuickItemParticleAttached\0detached\0" | - |
| 314 | "\0attached\0particle\0QQuickItemParticle*" | - |
| 315 | }; | - |
| 316 | #undef QT_MOC_LITERAL | - |
| 317 | - | |
| 318 | static const uint qt_meta_data_QQuickItemParticleAttached[] = { | - |
| 319 | - | |
| 320 | // content: | - |
| 321 | 7, // revision | - |
| 322 | 0, // classname | - |
| 323 | 0, 0, // classinfo | - |
| 324 | 2, 14, // methods | - |
| 325 | 1, 26, // properties | - |
| 326 | 0, 0, // enums/sets | - |
| 327 | 0, 0, // constructors | - |
| 328 | 0, // flags | - |
| 329 | 2, // signalCount | - |
| 330 | - | |
| 331 | // signals: name, argc, parameters, tag, flags | - |
| 332 | 1, 0, 24, 2, 0x06 /* Public */, | - |
| 333 | 3, 0, 25, 2, 0x06 /* Public */, | - |
| 334 | - | |
| 335 | // signals: parameters | - |
| 336 | QMetaType::Void, | - |
| 337 | QMetaType::Void, | - |
| 338 | - | |
| 339 | // properties: name, type, flags | - |
| 340 | 4, 0x80000000 | 5, 0x00095409, | - |
| 341 | - | |
| 342 | 0 // eod | - |
| 343 | }; | - |
| 344 | - | |
| 345 | void QQuickItemParticleAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 346 | { | - |
| 347 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 348 | QQuickItemParticleAttached *_t = static_cast<QQuickItemParticleAttached *>(_o); | - |
| 349 | Q_UNUSED(_t) | - |
| 350 | switch (_id) { | - |
| 351 | case 0: _t->detached(); break; | - |
| 352 | case 1: _t->attached(); break; | - |
| 353 | default: ; | - |
| 354 | } | - |
| 355 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 356 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 357 | { | - |
| 358 | using _t = void (QQuickItemParticleAttached::*)(); | - |
| 359 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickItemParticleAttached::detached)) { | - |
| 360 | *result = 0; | - |
| 361 | return; | - |
| 362 | } | - |
| 363 | } | - |
| 364 | { | - |
| 365 | using _t = void (QQuickItemParticleAttached::*)(); | - |
| 366 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickItemParticleAttached::attached)) { | - |
| 367 | *result = 1; | - |
| 368 | return; | - |
| 369 | } | - |
| 370 | } | - |
| 371 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
| 372 | switch (_id) { | - |
| 373 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
| 374 | case 0: | - |
| 375 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItemParticle* >(); break; | - |
| 376 | } | - |
| 377 | } | - |
| 378 | - | |
| 379 | #ifndef QT_NO_PROPERTIES | - |
| 380 | else if (_c == QMetaObject::ReadProperty) { | - |
| 381 | QQuickItemParticleAttached *_t = static_cast<QQuickItemParticleAttached *>(_o); | - |
| 382 | Q_UNUSED(_t) | - |
| 383 | void *_v = _a[0]; | - |
| 384 | switch (_id) { | - |
| 385 | case 0: *reinterpret_cast< QQuickItemParticle**>(_v) = _t->particle(); break; | - |
| 386 | default: break; | - |
| 387 | } | - |
| 388 | } else if (_c == QMetaObject::WriteProperty) { | - |
| 389 | } else if (_c == QMetaObject::ResetProperty) { | - |
| 390 | } | - |
| 391 | #endif // QT_NO_PROPERTIES | - |
| 392 | } | - |
| 393 | - | |
| 394 | QT_INIT_METAOBJECT const QMetaObject QQuickItemParticleAttached::staticMetaObject = { | - |
| 395 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickItemParticleAttached.data, | - |
| 396 | qt_meta_data_QQuickItemParticleAttached, qt_static_metacall, nullptr, nullptr} | - |
| 397 | }; | - |
| 398 | - | |
| 399 | - | |
| 400 | const QMetaObject *QQuickItemParticleAttached::metaObject() const | - |
| 401 | { | - |
| 402 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 403 | } | - |
| 404 | - | |
| 405 | void *QQuickItemParticleAttached::qt_metacast(const char *_clname) | - |
| 406 | { | - |
| 407 | if (!_clname) return nullptr; | - |
| 408 | if (!strcmp(_clname, qt_meta_stringdata_QQuickItemParticleAttached.stringdata0)) | - |
| 409 | return static_cast<void*>(this); | - |
| 410 | return QObject::qt_metacast(_clname); | - |
| 411 | } | - |
| 412 | - | |
| 413 | int QQuickItemParticleAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 414 | { | - |
| 415 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 416 | if (_id < 0) | - |
| 417 | return _id; | - |
| 418 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 419 | if (_id < 2) | - |
| 420 | qt_static_metacall(this, _c, _id, _a); | - |
| 421 | _id -= 2; | - |
| 422 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 423 | if (_id < 2) | - |
| 424 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 425 | _id -= 2; | - |
| 426 | } | - |
| 427 | #ifndef QT_NO_PROPERTIES | - |
| 428 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
| 429 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
| 430 | qt_static_metacall(this, _c, _id, _a); | - |
| 431 | _id -= 1; | - |
| 432 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
| 433 | _id -= 1; | - |
| 434 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
| 435 | _id -= 1; | - |
| 436 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
| 437 | _id -= 1; | - |
| 438 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
| 439 | _id -= 1; | - |
| 440 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
| 441 | _id -= 1; | - |
| 442 | } | - |
| 443 | #endif // QT_NO_PROPERTIES | - |
| 444 | return _id; | - |
| 445 | } | - |
| 446 | - | |
| 447 | // SIGNAL 0 | - |
| 448 | void QQuickItemParticleAttached::detached() | - |
| 449 | { | - |
| 450 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
| 451 | } executed 1716 times by 1 test: end of blockExecuted by:
| 1716 |
| 452 | - | |
| 453 | // SIGNAL 1 | - |
| 454 | void QQuickItemParticleAttached::attached() | - |
| 455 | { | - |
| 456 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
| 457 | } executed 3176 times by 1 test: end of blockExecuted by:
| 3176 |
| 458 | QT_WARNING_POP | - |
| 459 | QT_END_MOC_NAMESPACE | - |
| Source code | Switch to Preprocessed file |