| Line | Source | Count |
| 1 | | - |
| 2 | | - |
| 3 | | - |
| 4 | | - |
| 5 | | - |
| 6 | | - |
| 7 | | - |
| 8 | | - |
| 9 | #include "../util/qquickprofiler_p.h" | - |
| 10 | #include <QtCore/qbytearray.h> | - |
| 11 | #include <QtCore/qmetatype.h> | - |
| 12 | #include <QtCore/QVector> | - |
| 13 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
| 14 | #error "The header file 'qquickprofiler_p.h' doesn't include <QObject>." | - |
| 15 | #elif Q_MOC_OUTPUT_REVISION != 67 | - |
| 16 | #error "This file was generated using the moc from 5.12.0. It" | - |
| 17 | #error "cannot be used with the include files from this version of Qt." | - |
| 18 | #error "(The moc has changed too much.)" | - |
| 19 | #endif | - |
| 20 | | - |
| 21 | QT_BEGIN_MOC_NAMESPACE | - |
| 22 | QT_WARNING_PUSH | - |
| 23 | QT_WARNING_DISABLE_DEPRECATED | - |
| 24 | struct qt_meta_stringdata_QQuickProfiler_t { | - |
| 25 | QByteArrayData data[5]; | - |
| 26 | char stringdata0[59]; | - |
| 27 | }; | - |
| 28 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
| 29 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
| 30 | qptrdiff(offsetof(qt_meta_stringdata_QQuickProfiler_t, stringdata0) + ofs \ | - |
| 31 | - idx * sizeof(QByteArrayData)) \ | - |
| 32 | ) | - |
| 33 | static const qt_meta_stringdata_QQuickProfiler_t qt_meta_stringdata_QQuickProfiler = { | - |
| 34 | { | - |
| 35 | QT_MOC_LITERAL(0, 0, 14), | - |
| 36 | QT_MOC_LITERAL(1, 15, 9), | - |
| 37 | QT_MOC_LITERAL(2, 25, 0), | - |
| 38 | QT_MOC_LITERAL(3, 26, 27), | - |
| 39 | QT_MOC_LITERAL(4, 54, 4) | - |
| 40 | | - |
| 41 | }, | - |
| 42 | "QQuickProfiler\0dataReady\0\0" | - |
| 43 | "QVector<QQuickProfilerData>\0data" | - |
| 44 | }; | - |
| 45 | #undef QT_MOC_LITERAL | - |
| 46 | | - |
| 47 | static const uint qt_meta_data_QQuickProfiler[] = { | - |
| 48 | | - |
| 49 | | - |
| 50 | 7, | - |
| 51 | 0, | - |
| 52 | 0, 0, | - |
| 53 | 1, 14, | - |
| 54 | 0, 0, | - |
| 55 | 0, 0, | - |
| 56 | 0, 0, | - |
| 57 | 0, | - |
| 58 | 1, | - |
| 59 | | - |
| 60 | | - |
| 61 | 1, 1, 19, 2, 0x06 , | - |
| 62 | | - |
| 63 | | - |
| 64 | QMetaType::Void, 0x80000000 | 3, 4, | - |
| 65 | | - |
| 66 | 0 | - |
| 67 | }; | - |
| 68 | | - |
| 69 | void QQuickProfiler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
| 70 | { | - |
| 71 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 72 | QQuickProfiler *_t = static_cast<QQuickProfiler *>(_o); | - |
| 73 | Q_UNUSED(_t) | - |
| 74 | switch (_id) { | - |
| 75 | case 0: _t->dataReady((*reinterpret_cast< const QVector<QQuickProfilerData>(*)>(_a[1]))); break; | - |
| 76 | default: ; | - |
| 77 | } | - |
| 78 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
| 79 | int *result = reinterpret_cast<int *>(_a[0]); | - |
| 80 | { | - |
| 81 | using _t = void (QQuickProfiler::*)(const QVector<QQuickProfilerData> & ); | - |
| 82 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickProfiler::dataReady)) { | - |
| 83 | *result = 0; | - |
| 84 | return; | - |
| 85 | } | - |
| 86 | } | - |
| 87 | } | - |
| 88 | } | - |
| 89 | | - |
| 90 | QT_INIT_METAOBJECT const QMetaObject QQuickProfiler::staticMetaObject = { | - |
| 91 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickProfiler.data, | - |
| 92 | qt_meta_data_QQuickProfiler, qt_static_metacall, nullptr, nullptr} | - |
| 93 | }; | - |
| 94 | | - |
| 95 | | - |
| 96 | const QMetaObject *QQuickProfiler::metaObject() const | - |
| 97 | { | - |
| 98 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
| 99 | } | - |
| 100 | | - |
| 101 | void *QQuickProfiler::qt_metacast(const char *_clname) | - |
| 102 | { | - |
| 103 | if (!_clname) return nullptr; | - |
| 104 | if (!strcmp(_clname, qt_meta_stringdata_QQuickProfiler.stringdata0)) | - |
| 105 | return static_cast<void*>(this); | - |
| 106 | if (!strcmp(_clname, "QQmlProfilerDefinitions")) | - |
| 107 | return static_cast< QQmlProfilerDefinitions*>(this); | - |
| 108 | return QObject::qt_metacast(_clname); | - |
| 109 | } | - |
| 110 | | - |
| 111 | int QQuickProfiler::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
| 112 | { | - |
| 113 | _id = QObject::qt_metacall(_c, _id, _a); | - |
| 114 | if (_id < 0) | - |
| 115 | return _id; | - |
| 116 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
| 117 | if (_id < 1) | - |
| 118 | qt_static_metacall(this, _c, _id, _a); | - |
| 119 | _id -= 1; | - |
| 120 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
| 121 | if (_id < 1) | - |
| 122 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
| 123 | _id -= 1; | - |
| 124 | } | - |
| 125 | return _id; | - |
| 126 | } | - |
| 127 | | - |
| 128 | | - |
| 129 | void QQuickProfiler::dataReady(const QVector<QQuickProfilerData> & _t1) | - |
| 130 | { | - |
| 131 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
| 132 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
| 133 | }executed 6 times by 1 test: end of block | 6 |
| 134 | QT_WARNING_POP | - |
| 135 | QT_END_MOC_NAMESPACE | - |
| | |