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