OpenCoverage

moc_qquickopenglinfo_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickopenglinfo_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQuickOpenGLInfo_t {-
9 QByteArrayData data[22];-
10 char stringdata0[289];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickOpenGLInfo_t qt_meta_stringdata_QQuickOpenGLInfo = {-
18 {-
19{ { { -1 } }, 16, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickOpenGLInfo_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 19, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickOpenGLInfo_t-
29, -
30stringdata0-
31) -
32+ 17 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickOpenGLInfo_t-
36, -
37stringdata0-
38) -
39+ 37 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 19, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickOpenGLInfo_t-
43, -
44stringdata0-
45) -
46+ 38 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 14, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickOpenGLInfo_t-
50, -
51stringdata0-
52) -
53+ 58 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 21, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickOpenGLInfo_t-
57, -
58stringdata0-
59) -
60+ 73 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 12, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickOpenGLInfo_t-
64, -
65stringdata0-
66) -
67+ 95 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 9, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickOpenGLInfo_t-
71, -
72stringdata0-
73) -
74+ 108 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 13, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickOpenGLInfo_t-
78, -
79stringdata0-
80) -
81+ 118 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 6, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickOpenGLInfo_t-
85, -
86stringdata0-
87) -
88+ 132 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 12, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickOpenGLInfo_t-
92, -
93stringdata0-
94) -
95+ 139 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 12, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickOpenGLInfo_t-
99, -
100stringdata0-
101) -
102+ 152 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 7, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickOpenGLInfo_t-
106, -
107stringdata0-
108) -
109+ 165 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 14, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickOpenGLInfo_t-
113, -
114stringdata0-
115) -
116+ 173 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 14, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickOpenGLInfo_t-
120, -
121stringdata0-
122) -
123+ 188 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 14, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickOpenGLInfo_t-
127, -
128stringdata0-
129) -
130+ 203 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 9, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickOpenGLInfo_t-
134, -
135stringdata0-
136) -
137+ 218 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 11, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickOpenGLInfo_t-
141, -
142stringdata0-
143) -
144+ 228 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 20, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickOpenGLInfo_t-
148, -
149stringdata0-
150) -
151+ 240 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 11, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQuickOpenGLInfo_t-
155, -
156stringdata0-
157) -
158+ 261 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 6, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQuickOpenGLInfo_t-
162, -
163stringdata0-
164) -
165+ 273 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 8, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQuickOpenGLInfo_t-
169, -
170stringdata0-
171) -
172+ 280 - 21 * sizeof(QByteArrayData)) }-
173-
174 },-
175 "QQuickOpenGLInfo\0majorVersionChanged\0"-
176 "\0minorVersionChanged\0profileChanged\0"-
177 "renderableTypeChanged\0updateFormat\0"-
178 "setWindow\0QQuickWindow*\0window\0"-
179 "majorVersion\0minorVersion\0profile\0"-
180 "ContextProfile\0renderableType\0"-
181 "RenderableType\0NoProfile\0CoreProfile\0"-
182 "CompatibilityProfile\0Unspecified\0"-
183 "OpenGL\0OpenGLES"-
184};-
185-
186-
187static const uint qt_meta_data_QQuickOpenGLInfo[] = {-
188-
189-
190 7,-
191 0,-
192 0, 0,-
193 6, 14,-
194 4, 52,-
195 2, 68,-
196 0, 0,-
197 0,-
198 4,-
199-
200-
201 1, 0, 44, 2, 0x06 ,-
202 3, 0, 45, 2, 0x06 ,-
203 4, 0, 46, 2, 0x06 ,-
204 5, 0, 47, 2, 0x06 ,-
205-
206-
207 6, 0, 48, 2, 0x08 ,-
208 7, 1, 49, 2, 0x08 ,-
209-
210-
211 QMetaType::Void,-
212 QMetaType::Void,-
213 QMetaType::Void,-
214 QMetaType::Void,-
215-
216-
217 QMetaType::Void,-
218 QMetaType::Void, 0x80000000 | 8, 9,-
219-
220-
221 10, QMetaType::Int, 0x00495801,-
222 11, QMetaType::Int, 0x00495801,-
223 12, 0x80000000 | 13, 0x00495809,-
224 14, 0x80000000 | 15, 0x00495809,-
225-
226-
227 0,-
228 1,-
229 2,-
230 3,-
231-
232-
233 13, 0x0, 3, 76,-
234 15, 0x0, 3, 82,-
235-
236-
237 16, uint(QQuickOpenGLInfo::NoProfile),-
238 17, uint(QQuickOpenGLInfo::CoreProfile),-
239 18, uint(QQuickOpenGLInfo::CompatibilityProfile),-
240 19, uint(QQuickOpenGLInfo::Unspecified),-
241 20, uint(QQuickOpenGLInfo::OpenGL),-
242 21, uint(QQuickOpenGLInfo::OpenGLES),-
243-
244 0-
245};-
246-
247void QQuickOpenGLInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
248{-
249 if (_c == QMetaObject::InvokeMetaMethod) {-
250 QQuickOpenGLInfo *_t = static_cast<QQuickOpenGLInfo *>(_o);-
251 (void)_t;-
252 switch (_id) {-
253 case 0: _t->majorVersionChanged(); break;-
254 case 1: _t->minorVersionChanged(); break;-
255 case 2: _t->profileChanged(); break;-
256 case 3: _t->renderableTypeChanged(); break;-
257 case 4: _t->updateFormat(); break;-
258 case 5: _t->setWindow((*reinterpret_cast< QQuickWindow*(*)>(_a[1]))); break;-
259 default: ;-
260 }-
261 } else if (_c == QMetaObject::IndexOfMethod) {-
262 int *result = reinterpret_cast<int *>(_a[0]);-
263 {-
264 using _t = void (QQuickOpenGLInfo::*)();-
265 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickOpenGLInfo::majorVersionChanged)) {-
266 *result = 0;-
267 return;-
268 }-
269 }-
270 {-
271 using _t = void (QQuickOpenGLInfo::*)();-
272 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickOpenGLInfo::minorVersionChanged)) {-
273 *result = 1;-
274 return;-
275 }-
276 }-
277 {-
278 using _t = void (QQuickOpenGLInfo::*)();-
279 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickOpenGLInfo::profileChanged)) {-
280 *result = 2;-
281 return;-
282 }-
283 }-
284 {-
285 using _t = void (QQuickOpenGLInfo::*)();-
286 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickOpenGLInfo::renderableTypeChanged)) {-
287 *result = 3;-
288 return;-
289 }-
290 }-
291 }-
292-
293 else if (_c == QMetaObject::ReadProperty) {-
294 QQuickOpenGLInfo *_t = static_cast<QQuickOpenGLInfo *>(_o);-
295 (void)_t;-
296 void *_v = _a[0];-
297 switch (_id) {-
298 case 0: *reinterpret_cast< int*>(_v) = _t->majorVersion(); break;-
299 case 1: *reinterpret_cast< int*>(_v) = _t->minorVersion(); break;-
300 case 2: *reinterpret_cast< ContextProfile*>(_v) = _t->profile(); break;-
301 case 3: *reinterpret_cast< RenderableType*>(_v) = _t->renderableType(); break;-
302 default: break;-
303 }-
304 } else if (_c == QMetaObject::WriteProperty) {-
305 } else if (_c == QMetaObject::ResetProperty) {-
306 }-
307-
308}-
309-
310 const QMetaObject QQuickOpenGLInfo::staticMetaObject = {-
311 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickOpenGLInfo.data,-
312 qt_meta_data_QQuickOpenGLInfo, qt_static_metacall, nullptr, nullptr}-
313};-
314-
315-
316const QMetaObject *QQuickOpenGLInfo::metaObject() const-
317{-
318 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
319}-
320-
321void *QQuickOpenGLInfo::qt_metacast(const char *_clname)-
322{-
323 if (!_clname) return nullptr;-
324 if (!strcmp(_clname, qt_meta_stringdata_QQuickOpenGLInfo.stringdata0))-
325 return static_cast<void*>(this);-
326 return QObject::qt_metacast(_clname);-
327}-
328-
329int QQuickOpenGLInfo::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
330{-
331 _id = QObject::qt_metacall(_c, _id, _a);-
332 if (_id < 0)-
333 return _id;-
334 if (_c == QMetaObject::InvokeMetaMethod) {-
335 if (_id < 6)-
336 qt_static_metacall(this, _c, _id, _a);-
337 _id -= 6;-
338 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
339 if (_id < 6)-
340 *reinterpret_cast<int*>(_a[0]) = -1;-
341 _id -= 6;-
342 }-
343-
344 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
345 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
346 qt_static_metacall(this, _c, _id, _a);-
347 _id -= 4;-
348 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
349 _id -= 4;-
350 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
351 _id -= 4;-
352 } else if (_c == QMetaObject::QueryPropertyStored) {-
353 _id -= 4;-
354 } else if (_c == QMetaObject::QueryPropertyEditable) {-
355 _id -= 4;-
356 } else if (_c == QMetaObject::QueryPropertyUser) {-
357 _id -= 4;-
358 }-
359-
360 return _id;-
361}-
362-
363-
364void QQuickOpenGLInfo::majorVersionChanged()-
365{-
366 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
367}
never executed: end of block
0
368-
369-
370void QQuickOpenGLInfo::minorVersionChanged()-
371{-
372 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
373}
never executed: end of block
0
374-
375-
376void QQuickOpenGLInfo::profileChanged()-
377{-
378 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
379}
never executed: end of block
0
380-
381-
382void QQuickOpenGLInfo::renderableTypeChanged()-
383{-
384 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
385}
never executed: end of block
0
386-
387#pragma GCC diagnostic pop-
388-
389-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0