OpenCoverage

moc_qqmlprofilerclient_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qmldebug/.moc/moc_qqmlprofilerclient_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qqmlprofilerclient_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 "../qqmlprofilerclient_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#include <QtCore/QList>-
13#if !defined(Q_MOC_OUTPUT_REVISION)-
14#error "The header file 'qqmlprofilerclient_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_QQmlProfilerClient_t {-
25 QByteArrayData data[15];-
26 char stringdata0[171];-
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_QQmlProfilerClient_t, stringdata0) + ofs \-
31 - idx * sizeof(QByteArrayData)) \-
32 )-
33static const qt_meta_stringdata_QQmlProfilerClient_t qt_meta_stringdata_QQmlProfilerClient = {-
34 {-
35QT_MOC_LITERAL(0, 0, 18), // "QQmlProfilerClient"-
36QT_MOC_LITERAL(1, 19, 8), // "complete"-
37QT_MOC_LITERAL(2, 28, 0), // ""-
38QT_MOC_LITERAL(3, 29, 11), // "maximumTime"-
39QT_MOC_LITERAL(4, 41, 13), // "traceFinished"-
40QT_MOC_LITERAL(5, 55, 9), // "timestamp"-
41QT_MOC_LITERAL(6, 65, 10), // "QList<int>"-
42QT_MOC_LITERAL(7, 76, 9), // "engineIds"-
43QT_MOC_LITERAL(8, 86, 12), // "traceStarted"-
44QT_MOC_LITERAL(9, 99, 16), // "recordingChanged"-
45QT_MOC_LITERAL(10, 116, 3), // "arg"-
46QT_MOC_LITERAL(11, 120, 23), // "recordedFeaturesChanged"-
47QT_MOC_LITERAL(12, 144, 8), // "features"-
48QT_MOC_LITERAL(13, 153, 7), // "cleared"-
49QT_MOC_LITERAL(14, 161, 9) // "recording"-
50-
51 },-
52 "QQmlProfilerClient\0complete\0\0maximumTime\0"-
53 "traceFinished\0timestamp\0QList<int>\0"-
54 "engineIds\0traceStarted\0recordingChanged\0"-
55 "arg\0recordedFeaturesChanged\0features\0"-
56 "cleared\0recording"-
57};-
58#undef QT_MOC_LITERAL-
59-
60static const uint qt_meta_data_QQmlProfilerClient[] = {-
61-
62 // content:-
63 7, // revision-
64 0, // classname-
65 0, 0, // classinfo-
66 6, 14, // methods-
67 1, 64, // properties-
68 0, 0, // enums/sets-
69 0, 0, // constructors-
70 0, // flags-
71 6, // signalCount-
72-
73 // signals: name, argc, parameters, tag, flags-
74 1, 1, 44, 2, 0x06 /* Public */,-
75 4, 2, 47, 2, 0x06 /* Public */,-
76 8, 2, 52, 2, 0x06 /* Public */,-
77 9, 1, 57, 2, 0x06 /* Public */,-
78 11, 1, 60, 2, 0x06 /* Public */,-
79 13, 0, 63, 2, 0x06 /* Public */,-
80-
81 // signals: parameters-
82 QMetaType::Void, QMetaType::LongLong, 3,-
83 QMetaType::Void, QMetaType::LongLong, 0x80000000 | 6, 5, 7,-
84 QMetaType::Void, QMetaType::LongLong, 0x80000000 | 6, 5, 7,-
85 QMetaType::Void, QMetaType::Bool, 10,-
86 QMetaType::Void, QMetaType::ULongLong, 12,-
87 QMetaType::Void,-
88-
89 // properties: name, type, flags-
90 14, QMetaType::Bool, 0x00495103,-
91-
92 // properties: notify_signal_id-
93 3,-
94-
95 0 // eod-
96};-
97-
98void QQmlProfilerClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
99{-
100 if (_c == QMetaObject::InvokeMetaMethod) {-
101 QQmlProfilerClient *_t = static_cast<QQmlProfilerClient *>(_o);-
102 Q_UNUSED(_t)-
103 switch (_id) {-
104 case 0: _t->complete((*reinterpret_cast< qint64(*)>(_a[1]))); break;-
105 case 1: _t->traceFinished((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< const QList<int>(*)>(_a[2]))); break;-
106 case 2: _t->traceStarted((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< const QList<int>(*)>(_a[2]))); break;-
107 case 3: _t->recordingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;-
108 case 4: _t->recordedFeaturesChanged((*reinterpret_cast< quint64(*)>(_a[1]))); break;-
109 case 5: _t->cleared(); break;-
110 default: ;-
111 }-
112 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
113 switch (_id) {-
114 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
115 case 1:-
116 switch (*reinterpret_cast<int*>(_a[1])) {-
117 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
118 case 1:-
119 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;-
120 }-
121 break;-
122 case 2:-
123 switch (*reinterpret_cast<int*>(_a[1])) {-
124 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
125 case 1:-
126 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;-
127 }-
128 break;-
129 }-
130 } else if (_c == QMetaObject::IndexOfMethod) {-
131 int *result = reinterpret_cast<int *>(_a[0]);-
132 {-
133 using _t = void (QQmlProfilerClient::*)(qint64 );-
134 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::complete)) {-
135 *result = 0;-
136 return;-
137 }-
138 }-
139 {-
140 using _t = void (QQmlProfilerClient::*)(qint64 , const QList<int> & );-
141 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::traceFinished)) {-
142 *result = 1;-
143 return;-
144 }-
145 }-
146 {-
147 using _t = void (QQmlProfilerClient::*)(qint64 , const QList<int> & );-
148 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::traceStarted)) {-
149 *result = 2;-
150 return;-
151 }-
152 }-
153 {-
154 using _t = void (QQmlProfilerClient::*)(bool );-
155 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::recordingChanged)) {-
156 *result = 3;-
157 return;-
158 }-
159 }-
160 {-
161 using _t = void (QQmlProfilerClient::*)(quint64 );-
162 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::recordedFeaturesChanged)) {-
163 *result = 4;-
164 return;-
165 }-
166 }-
167 {-
168 using _t = void (QQmlProfilerClient::*)();-
169 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlProfilerClient::cleared)) {-
170 *result = 5;-
171 return;-
172 }-
173 }-
174 }-
175#ifndef QT_NO_PROPERTIES-
176 else if (_c == QMetaObject::ReadProperty) {-
177 QQmlProfilerClient *_t = static_cast<QQmlProfilerClient *>(_o);-
178 Q_UNUSED(_t)-
179 void *_v = _a[0];-
180 switch (_id) {-
181 case 0: *reinterpret_cast< bool*>(_v) = _t->isRecording(); break;-
182 default: break;-
183 }-
184 } else if (_c == QMetaObject::WriteProperty) {-
185 QQmlProfilerClient *_t = static_cast<QQmlProfilerClient *>(_o);-
186 Q_UNUSED(_t)-
187 void *_v = _a[0];-
188 switch (_id) {-
189 case 0: _t->setRecording(*reinterpret_cast< bool*>(_v)); break;-
190 default: break;-
191 }-
192 } else if (_c == QMetaObject::ResetProperty) {-
193 }-
194#endif // QT_NO_PROPERTIES-
195}-
196-
197QT_INIT_METAOBJECT const QMetaObject QQmlProfilerClient::staticMetaObject = {-
198 { &QQmlDebugClient::staticMetaObject, qt_meta_stringdata_QQmlProfilerClient.data,-
199 qt_meta_data_QQmlProfilerClient, qt_static_metacall, nullptr, nullptr}-
200};-
201-
202-
203const QMetaObject *QQmlProfilerClient::metaObject() const-
204{-
205 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
206}-
207-
208void *QQmlProfilerClient::qt_metacast(const char *_clname)-
209{-
210 if (!_clname) return nullptr;-
211 if (!strcmp(_clname, qt_meta_stringdata_QQmlProfilerClient.stringdata0))-
212 return static_cast<void*>(this);-
213 return QQmlDebugClient::qt_metacast(_clname);-
214}-
215-
216int QQmlProfilerClient::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
217{-
218 _id = QQmlDebugClient::qt_metacall(_c, _id, _a);-
219 if (_id < 0)-
220 return _id;-
221 if (_c == QMetaObject::InvokeMetaMethod) {-
222 if (_id < 6)-
223 qt_static_metacall(this, _c, _id, _a);-
224 _id -= 6;-
225 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
226 if (_id < 6)-
227 qt_static_metacall(this, _c, _id, _a);-
228 _id -= 6;-
229 }-
230#ifndef QT_NO_PROPERTIES-
231 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
232 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
233 qt_static_metacall(this, _c, _id, _a);-
234 _id -= 1;-
235 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
236 _id -= 1;-
237 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
238 _id -= 1;-
239 } else if (_c == QMetaObject::QueryPropertyStored) {-
240 _id -= 1;-
241 } else if (_c == QMetaObject::QueryPropertyEditable) {-
242 _id -= 1;-
243 } else if (_c == QMetaObject::QueryPropertyUser) {-
244 _id -= 1;-
245 }-
246#endif // QT_NO_PROPERTIES-
247 return _id;-
248}-
249-
250// SIGNAL 0-
251void QQmlProfilerClient::complete(qint64 _t1)-
252{-
253 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
254 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
255}
executed 34 times by 1 test: end of block
Executed by:
  • tst_qqmlprofilerservice
34
256-
257// SIGNAL 1-
258void QQmlProfilerClient::traceFinished(qint64 _t1, const QList<int> & _t2)-
259{-
260 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
261 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
262}
executed 34 times by 1 test: end of block
Executed by:
  • tst_qqmlprofilerservice
34
263-
264// SIGNAL 2-
265void QQmlProfilerClient::traceStarted(qint64 _t1, const QList<int> & _t2)-
266{-
267 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
268 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
269}
executed 36 times by 1 test: end of block
Executed by:
  • tst_qqmlprofilerservice
36
270-
271// SIGNAL 3-
272void QQmlProfilerClient::recordingChanged(bool _t1)-
273{-
274 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
275 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
276}
executed 68 times by 1 test: end of block
Executed by:
  • tst_qqmlprofilerservice
68
277-
278// SIGNAL 4-
279void QQmlProfilerClient::recordedFeaturesChanged(quint64 _t1)-
280{-
281 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
282 QMetaObject::activate(this, &staticMetaObject, 4, _a);-
283}
executed 124 times by 1 test: end of block
Executed by:
  • tst_qqmlprofilerservice
124
284-
285// SIGNAL 5-
286void QQmlProfilerClient::cleared()-
287{-
288 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
289}
never executed: end of block
0
290QT_WARNING_POP-
291QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0