OpenCoverage

moc_qquickwindowattached_p.cpp

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

Generated by Squish Coco 4.2.0