OpenCoverage

moc_qquickview.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickview.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_QQuickView_t {-
9 QByteArrayData data[22];-
10 char stringdata0[226];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickView_t qt_meta_stringdata_QQuickView = {-
18 {-
19{ { { -1 } }, 10, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickView_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 13, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickView_t-
29, -
30stringdata0-
31) -
32+ 11 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickView_t-
36, -
37stringdata0-
38) -
39+ 25 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 18, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickView_t-
43, -
44stringdata0-
45) -
46+ 26 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 9, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickView_t-
50, -
51stringdata0-
52) -
53+ 45 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 10, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickView_t-
57, -
58stringdata0-
59) -
60+ 55 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 3, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickView_t-
64, -
65stringdata0-
66) -
67+ 66 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 14, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickView_t-
71, -
72stringdata0-
73) -
74+ 70 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 9, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickView_t-
78, -
79stringdata0-
80) -
81+ 85 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 4, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickView_t-
85, -
86stringdata0-
87) -
88+ 95 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 15, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickView_t-
92, -
93stringdata0-
94) -
95+ 100 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 10, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickView_t-
99, -
100stringdata0-
101) -
102+ 116 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 10, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickView_t-
106, -
107stringdata0-
108) -
109+ 127 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 6, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickView_t-
113, -
114stringdata0-
115) -
116+ 138 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 6, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickView_t-
120, -
121stringdata0-
122) -
123+ 145 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 6, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickView_t-
127, -
128stringdata0-
129) -
130+ 152 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 20, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickView_t-
134, -
135stringdata0-
136) -
137+ 159 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 20, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickView_t-
141, -
142stringdata0-
143) -
144+ 180 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 4, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickView_t-
148, -
149stringdata0-
150) -
151+ 201 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 5, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQuickView_t-
155, -
156stringdata0-
157) -
158+ 206 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 7, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQuickView_t-
162, -
163stringdata0-
164) -
165+ 212 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 5, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQuickView_t-
169, -
170stringdata0-
171) -
172+ 220 - 21 * sizeof(QByteArrayData)) }-
173-
174 },-
175 "QQuickView\0statusChanged\0\0QQuickView::Status\0"-
176 "setSource\0setContent\0url\0QQmlComponent*\0"-
177 "component\0item\0continueExecute\0"-
178 "resizeMode\0ResizeMode\0status\0Status\0"-
179 "source\0SizeViewToRootObject\0"-
180 "SizeRootObjectToView\0Null\0Ready\0Loading\0"-
181 "Error"-
182};-
183-
184-
185static const uint qt_meta_data_QQuickView[] = {-
186-
187-
188 7,-
189 0,-
190 0, 0,-
191 4, 14,-
192 3, 48,-
193 2, 60,-
194 0, 0,-
195 0,-
196 1,-
197-
198-
199 1, 1, 34, 2, 0x06 ,-
200-
201-
202 4, 1, 37, 2, 0x0a ,-
203 5, 3, 40, 2, 0x0a ,-
204 10, 0, 47, 2, 0x08 ,-
205-
206-
207 QMetaType::Void, 0x80000000 | 3, 2,-
208-
209-
210 QMetaType::Void, QMetaType::QUrl, 2,-
211 QMetaType::Void, QMetaType::QUrl, 0x80000000 | 7, QMetaType::QObjectStar, 6, 8, 9,-
212 QMetaType::Void,-
213-
214-
215 11, 0x80000000 | 12, 0x0009510b,-
216 13, 0x80000000 | 14, 0x00495009,-
217 15, QMetaType::QUrl, 0x00095103,-
218-
219-
220 0,-
221 0,-
222 0,-
223-
224-
225 12, 0x0, 2, 68,-
226 14, 0x0, 4, 72,-
227-
228-
229 16, uint(QQuickView::SizeViewToRootObject),-
230 17, uint(QQuickView::SizeRootObjectToView),-
231 18, uint(QQuickView::Null),-
232 19, uint(QQuickView::Ready),-
233 20, uint(QQuickView::Loading),-
234 21, uint(QQuickView::Error),-
235-
236 0-
237};-
238-
239void QQuickView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
240{-
241 if (_c == QMetaObject::InvokeMetaMethod) {-
242 QQuickView *_t = static_cast<QQuickView *>(_o);-
243 (void)_t;-
244 switch (_id) {-
245 case 0: _t->statusChanged((*reinterpret_cast< QQuickView::Status(*)>(_a[1]))); break;-
246 case 1: _t->setSource((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;-
247 case 2: _t->setContent((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< QQmlComponent*(*)>(_a[2])),(*reinterpret_cast< QObject*(*)>(_a[3]))); break;-
248 case 3: _t->continueExecute(); break;-
249 default: ;-
250 }-
251 } else if (_c == QMetaObject::IndexOfMethod) {-
252 int *result = reinterpret_cast<int *>(_a[0]);-
253 {-
254 using _t = void (QQuickView::*)(QQuickView::Status );-
255 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickView::statusChanged)) {-
256 *result = 0;-
257 return;-
258 }-
259 }-
260 }-
261-
262 else if (_c == QMetaObject::ReadProperty) {-
263 QQuickView *_t = static_cast<QQuickView *>(_o);-
264 (void)_t;-
265 void *_v = _a[0];-
266 switch (_id) {-
267 case 0: *reinterpret_cast< ResizeMode*>(_v) = _t->resizeMode(); break;-
268 case 1: *reinterpret_cast< Status*>(_v) = _t->status(); break;-
269 case 2: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;-
270 default: break;-
271 }-
272 } else if (_c == QMetaObject::WriteProperty) {-
273 QQuickView *_t = static_cast<QQuickView *>(_o);-
274 (void)_t;-
275 void *_v = _a[0];-
276 switch (_id) {-
277 case 0: _t->setResizeMode(*reinterpret_cast< ResizeMode*>(_v)); break;-
278 case 2: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;-
279 default: break;-
280 }-
281 } else if (_c == QMetaObject::ResetProperty) {-
282 }-
283-
284}-
285-
286 const QMetaObject QQuickView::staticMetaObject = {-
287 { &QQuickWindow::staticMetaObject, qt_meta_stringdata_QQuickView.data,-
288 qt_meta_data_QQuickView, qt_static_metacall, nullptr, nullptr}-
289};-
290-
291-
292const QMetaObject *QQuickView::metaObject() const-
293{-
294 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
295}-
296-
297void *QQuickView::qt_metacast(const char *_clname)-
298{-
299 if (!_clname) return nullptr;-
300 if (!strcmp(_clname, qt_meta_stringdata_QQuickView.stringdata0))-
301 return static_cast<void*>(this);-
302 return QQuickWindow::qt_metacast(_clname);-
303}-
304-
305int QQuickView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
306{-
307 _id = QQuickWindow::qt_metacall(_c, _id, _a);-
308 if (_id < 0)-
309 return _id;-
310 if (_c == QMetaObject::InvokeMetaMethod) {-
311 if (_id < 4)-
312 qt_static_metacall(this, _c, _id, _a);-
313 _id -= 4;-
314 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
315 if (_id < 4)-
316 *reinterpret_cast<int*>(_a[0]) = -1;-
317 _id -= 4;-
318 }-
319-
320 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
321 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
322 qt_static_metacall(this, _c, _id, _a);-
323 _id -= 3;-
324 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
325 _id -= 3;-
326 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
327 _id -= 3;-
328 } else if (_c == QMetaObject::QueryPropertyStored) {-
329 _id -= 3;-
330 } else if (_c == QMetaObject::QueryPropertyEditable) {-
331 _id -= 3;-
332 } else if (_c == QMetaObject::QueryPropertyUser) {-
333 _id -= 3;-
334 }-
335-
336 return _id;-
337}-
338-
339-
340void QQuickView::statusChanged(QQuickView::Status _t1)-
341{-
342 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
343 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
344}
executed 5644 times by 82 tests: end of block
Executed by:
  • tst_drawingmodes
  • tst_flickableinterop
  • tst_multipointtoucharea_interop
  • tst_qqmldebugjs
  • tst_qqmlimport
  • tst_qqmltypeloader
  • tst_qquickaccessible
  • tst_qquickage
  • tst_qquickanchors
  • tst_qquickangleddirection
  • tst_qquickanimatedimage
  • tst_qquickanimatedsprite
  • tst_qquickanimationcontroller
  • tst_qquickanimations
  • tst_qquickborderimage
  • tst_qquickcumulativedirection
  • tst_qquickcustomaffector
  • tst_qquickcustomparticle
  • tst_qquickdesignersupport
  • tst_qquickdraghandler
  • tst_qquickdynamicpropertyanimation
  • tst_qquickellipseextruder
  • tst_qquickflickable
  • tst_qquickflipable
  • tst_qquickfocusscope
  • ...
5644
345-
346#pragma GCC diagnostic pop-
347-
348-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0