OpenCoverage

moc_qqmlprofiler_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmlprofiler_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qqmlprofiler_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 "../debugger/qqmlprofiler_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 'qqmlprofiler_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-
21QT_BEGIN_MOC_NAMESPACE-
22QT_WARNING_PUSH-
23QT_WARNING_DISABLE_DEPRECATED-
24struct qt_meta_stringdata_QQmlProfiler_t {-
25 QByteArrayData data[5];-
26 char stringdata0[77];-
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_QQmlProfiler_t, stringdata0) + ofs \-
31 - idx * sizeof(QByteArrayData)) \-
32 )-
33static const qt_meta_stringdata_QQmlProfiler_t qt_meta_stringdata_QQmlProfiler = {-
34 {-
35QT_MOC_LITERAL(0, 0, 12), // "QQmlProfiler"-
36QT_MOC_LITERAL(1, 13, 9), // "dataReady"-
37QT_MOC_LITERAL(2, 23, 0), // ""-
38QT_MOC_LITERAL(3, 24, 25), // "QVector<QQmlProfilerData>"-
39QT_MOC_LITERAL(4, 50, 26) // "QQmlProfiler::LocationHash"-
40-
41 },-
42 "QQmlProfiler\0dataReady\0\0"-
43 "QVector<QQmlProfilerData>\0"-
44 "QQmlProfiler::LocationHash"-
45};-
46#undef QT_MOC_LITERAL-
47-
48static const uint qt_meta_data_QQmlProfiler[] = {-
49-
50 // content:-
51 7, // revision-
52 0, // classname-
53 0, 0, // classinfo-
54 1, 14, // methods-
55 0, 0, // properties-
56 0, 0, // enums/sets-
57 0, 0, // constructors-
58 0, // flags-
59 1, // signalCount-
60-
61 // signals: name, argc, parameters, tag, flags-
62 1, 2, 19, 2, 0x06 /* Public */,-
63-
64 // signals: parameters-
65 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4, 2, 2,-
66-
67 0 // eod-
68};-
69-
70void QQmlProfiler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
71{-
72 if (_c == QMetaObject::InvokeMetaMethod) {-
73 QQmlProfiler *_t = static_cast<QQmlProfiler *>(_o);-
74 Q_UNUSED(_t)-
75 switch (_id) {-
76 case 0: _t->dataReady((*reinterpret_cast< const QVector<QQmlProfilerData>(*)>(_a[1])),(*reinterpret_cast< const QQmlProfiler::LocationHash(*)>(_a[2]))); break;-
77 default: ;-
78 }-
79 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
80 switch (_id) {-
81 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
82 case 0:-
83 switch (*reinterpret_cast<int*>(_a[1])) {-
84 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
85 case 1:-
86 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlProfiler::LocationHash >(); break;-
87 case 0:-
88 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QQmlProfilerData> >(); break;-
89 }-
90 break;-
91 }-
92 } else if (_c == QMetaObject::IndexOfMethod) {-
93 int *result = reinterpret_cast<int *>(_a[0]);-
94 {-
95 using _t = void (QQmlProfiler::*)(const QVector<QQmlProfilerData> & , const QQmlProfiler::LocationHash & );-
96 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfiler::dataReady)) {-
97 *result = 0;-
98 return;-
99 }-
100 }-
101 }-
102}-
103-
104QT_INIT_METAOBJECT const QMetaObject QQmlProfiler::staticMetaObject = {-
105 { &QObject::staticMetaObject, qt_meta_stringdata_QQmlProfiler.data,-
106 qt_meta_data_QQmlProfiler, qt_static_metacall, nullptr, nullptr}-
107};-
108-
109-
110const QMetaObject *QQmlProfiler::metaObject() const-
111{-
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
113}-
114-
115void *QQmlProfiler::qt_metacast(const char *_clname)-
116{-
117 if (!_clname) return nullptr;-
118 if (!strcmp(_clname, qt_meta_stringdata_QQmlProfiler.stringdata0))-
119 return static_cast<void*>(this);-
120 if (!strcmp(_clname, "QQmlProfilerDefinitions"))-
121 return static_cast< QQmlProfilerDefinitions*>(this);-
122 return QObject::qt_metacast(_clname);-
123}-
124-
125int QQmlProfiler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
126{-
127 _id = QObject::qt_metacall(_c, _id, _a);-
128 if (_id < 0)-
129 return _id;-
130 if (_c == QMetaObject::InvokeMetaMethod) {-
131 if (_id < 1)-
132 qt_static_metacall(this, _c, _id, _a);-
133 _id -= 1;-
134 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
135 if (_id < 1)-
136 qt_static_metacall(this, _c, _id, _a);-
137 _id -= 1;-
138 }-
139 return _id;-
140}-
141-
142// SIGNAL 0-
143void QQmlProfiler::dataReady(const QVector<QQmlProfilerData> & _t1, const QQmlProfiler::LocationHash & _t2)-
144{-
145 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
146 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
147}
executed 12 times by 1 test: end of block
Executed by:
  • tst_qqmlprofilerservice
12
148QT_WARNING_POP-
149QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0