OpenCoverage

moc_qquickimagebase_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickimagebase_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_QQuickImageBase_t {-
9 QByteArrayData data[24];-
10 char stringdata0[274];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickImageBase_t qt_meta_stringdata_QQuickImageBase = {-
18 {-
19{ { { -1 } }, 15, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickImageBase_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 13, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickImageBase_t-
29, -
30stringdata0-
31) -
32+ 16 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickImageBase_t-
36, -
37stringdata0-
38) -
39+ 30 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 17, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickImageBase_t-
43, -
44stringdata0-
45) -
46+ 31 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 13, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickImageBase_t-
50, -
51stringdata0-
52) -
53+ 49 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 23, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickImageBase_t-
57, -
58stringdata0-
59) -
60+ 63 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 15, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickImageBase_t-
64, -
65stringdata0-
66) -
67+ 87 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 8, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickImageBase_t-
71, -
72stringdata0-
73) -
74+ 103 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 19, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickImageBase_t-
78, -
79stringdata0-
80) -
81+ 112 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 12, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickImageBase_t-
85, -
86stringdata0-
87) -
88+ 132 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 13, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickImageBase_t-
92, -
93stringdata0-
94) -
95+ 145 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 15, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickImageBase_t-
99, -
100stringdata0-
101) -
102+ 159 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 15, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickImageBase_t-
106, -
107stringdata0-
108) -
109+ 175 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 6, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickImageBase_t-
113, -
114stringdata0-
115) -
116+ 191 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 6, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickImageBase_t-
120, -
121stringdata0-
122) -
123+ 198 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 6, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickImageBase_t-
127, -
128stringdata0-
129) -
130+ 205 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 12, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickImageBase_t-
134, -
135stringdata0-
136) -
137+ 212 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 5, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickImageBase_t-
141, -
142stringdata0-
143) -
144+ 225 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 10, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickImageBase_t-
148, -
149stringdata0-
150) -
151+ 231 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 6, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQuickImageBase_t-
155, -
156stringdata0-
157) -
158+ 242 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 4, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQuickImageBase_t-
162, -
163stringdata0-
164) -
165+ 249 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 5, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQuickImageBase_t-
169, -
170stringdata0-
171) -
172+ 254 - 21 * sizeof(QByteArrayData)) },-
173{ { { -1 } }, 7, 0, 0, qptrdiff(-
174__builtin_offsetof (-
175qt_meta_stringdata_QQuickImageBase_t-
176, -
177stringdata0-
178) -
179+ 260 - 22 * sizeof(QByteArrayData)) },-
180{ { { -1 } }, 5, 0, 0, qptrdiff(-
181__builtin_offsetof (-
182qt_meta_stringdata_QQuickImageBase_t-
183, -
184stringdata0-
185) -
186+ 268 - 23 * sizeof(QByteArrayData)) }-
187-
188 },-
189 "QQuickImageBase\0sourceChanged\0\0"-
190 "sourceSizeChanged\0statusChanged\0"-
191 "QQuickImageBase::Status\0progressChanged\0"-
192 "progress\0asynchronousChanged\0cacheChanged\0"-
193 "mirrorChanged\0requestFinished\0"-
194 "requestProgress\0status\0Status\0source\0"-
195 "asynchronous\0cache\0sourceSize\0mirror\0"-
196 "Null\0Ready\0Loading\0Error"-
197};-
198-
199-
200static const uint qt_meta_data_QQuickImageBase[] = {-
201-
202-
203 7,-
204 0,-
205 0, 0,-
206 9, 14,-
207 7, 78,-
208 1, 106,-
209 0, 0,-
210 0,-
211 7,-
212-
213-
214 1, 1, 59, 2, 0x06 ,-
215 3, 0, 62, 2, 0x06 ,-
216 4, 1, 63, 2, 0x06 ,-
217 6, 1, 66, 2, 0x06 ,-
218 8, 0, 69, 2, 0x06 ,-
219 9, 0, 70, 2, 0x06 ,-
220 10, 0, 71, 2, 0x06 ,-
221-
222-
223 11, 0, 72, 2, 0x08 ,-
224 12, 2, 73, 2, 0x08 ,-
225-
226-
227 QMetaType::Void, QMetaType::QUrl, 2,-
228 QMetaType::Void,-
229 QMetaType::Void, 0x80000000 | 5, 2,-
230 QMetaType::Void, QMetaType::QReal, 7,-
231 QMetaType::Void,-
232 QMetaType::Void,-
233 QMetaType::Void,-
234-
235-
236 QMetaType::Void,-
237 QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, 2, 2,-
238-
239-
240 13, 0x80000000 | 14, 0x00495009,-
241 15, QMetaType::QUrl, 0x00495103,-
242 7, QMetaType::QReal, 0x00495001,-
243 16, QMetaType::Bool, 0x00495103,-
244 17, QMetaType::Bool, 0x00495103,-
245 18, QMetaType::QSize, 0x00495107,-
246 19, QMetaType::Bool, 0x00495103,-
247-
248-
249 2,-
250 0,-
251 3,-
252 4,-
253 5,-
254 1,-
255 6,-
256-
257-
258 14, 0x0, 4, 110,-
259-
260-
261 20, uint(QQuickImageBase::Null),-
262 21, uint(QQuickImageBase::Ready),-
263 22, uint(QQuickImageBase::Loading),-
264 23, uint(QQuickImageBase::Error),-
265-
266 0-
267};-
268-
269void QQuickImageBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
270{-
271 if (_c == QMetaObject::InvokeMetaMethod) {-
272 QQuickImageBase *_t = static_cast<QQuickImageBase *>(_o);-
273 (void)_t;-
274 switch (_id) {-
275 case 0: _t->sourceChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;-
276 case 1: _t->sourceSizeChanged(); break;-
277 case 2: _t->statusChanged((*reinterpret_cast< QQuickImageBase::Status(*)>(_a[1]))); break;-
278 case 3: _t->progressChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
279 case 4: _t->asynchronousChanged(); break;-
280 case 5: _t->cacheChanged(); break;-
281 case 6: _t->mirrorChanged(); break;-
282 case 7: _t->requestFinished(); break;-
283 case 8: _t->requestProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;-
284 default: ;-
285 }-
286 } else if (_c == QMetaObject::IndexOfMethod) {-
287 int *result = reinterpret_cast<int *>(_a[0]);-
288 {-
289 using _t = void (QQuickImageBase::*)(const QUrl & );-
290 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickImageBase::sourceChanged)) {-
291 *result = 0;-
292 return;-
293 }-
294 }-
295 {-
296 using _t = void (QQuickImageBase::*)();-
297 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickImageBase::sourceSizeChanged)) {-
298 *result = 1;-
299 return;-
300 }-
301 }-
302 {-
303 using _t = void (QQuickImageBase::*)(QQuickImageBase::Status );-
304 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickImageBase::statusChanged)) {-
305 *result = 2;-
306 return;-
307 }-
308 }-
309 {-
310 using _t = void (QQuickImageBase::*)(qreal );-
311 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickImageBase::progressChanged)) {-
312 *result = 3;-
313 return;-
314 }-
315 }-
316 {-
317 using _t = void (QQuickImageBase::*)();-
318 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickImageBase::asynchronousChanged)) {-
319 *result = 4;-
320 return;-
321 }-
322 }-
323 {-
324 using _t = void (QQuickImageBase::*)();-
325 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickImageBase::cacheChanged)) {-
326 *result = 5;-
327 return;-
328 }-
329 }-
330 {-
331 using _t = void (QQuickImageBase::*)();-
332 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickImageBase::mirrorChanged)) {-
333 *result = 6;-
334 return;-
335 }-
336 }-
337 }-
338-
339 else if (_c == QMetaObject::ReadProperty) {-
340 QQuickImageBase *_t = static_cast<QQuickImageBase *>(_o);-
341 (void)_t;-
342 void *_v = _a[0];-
343 switch (_id) {-
344 case 0: *reinterpret_cast< Status*>(_v) = _t->status(); break;-
345 case 1: *reinterpret_cast< QUrl*>(_v) = _t->source(); break;-
346 case 2: *reinterpret_cast< qreal*>(_v) = _t->progress(); break;-
347 case 3: *reinterpret_cast< bool*>(_v) = _t->asynchronous(); break;-
348 case 4: *reinterpret_cast< bool*>(_v) = _t->cache(); break;-
349 case 5: *reinterpret_cast< QSize*>(_v) = _t->sourceSize(); break;-
350 case 6: *reinterpret_cast< bool*>(_v) = _t->mirror(); break;-
351 default: break;-
352 }-
353 } else if (_c == QMetaObject::WriteProperty) {-
354 QQuickImageBase *_t = static_cast<QQuickImageBase *>(_o);-
355 (void)_t;-
356 void *_v = _a[0];-
357 switch (_id) {-
358 case 1: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break;-
359 case 3: _t->setAsynchronous(*reinterpret_cast< bool*>(_v)); break;-
360 case 4: _t->setCache(*reinterpret_cast< bool*>(_v)); break;-
361 case 5: _t->setSourceSize(*reinterpret_cast< QSize*>(_v)); break;-
362 case 6: _t->setMirror(*reinterpret_cast< bool*>(_v)); break;-
363 default: break;-
364 }-
365 } else if (_c == QMetaObject::ResetProperty) {-
366 QQuickImageBase *_t = static_cast<QQuickImageBase *>(_o);-
367 (void)_t;-
368 switch (_id) {-
369 case 5: _t->resetSourceSize(); break;-
370 default: break;-
371 }-
372 }-
373-
374}-
375-
376 const QMetaObject QQuickImageBase::staticMetaObject = {-
377 { &QQuickImplicitSizeItem::staticMetaObject, qt_meta_stringdata_QQuickImageBase.data,-
378 qt_meta_data_QQuickImageBase, qt_static_metacall, nullptr, nullptr}-
379};-
380-
381-
382const QMetaObject *QQuickImageBase::metaObject() const-
383{-
384 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
385}-
386-
387void *QQuickImageBase::qt_metacast(const char *_clname)-
388{-
389 if (!_clname) return nullptr;-
390 if (!strcmp(_clname, qt_meta_stringdata_QQuickImageBase.stringdata0))-
391 return static_cast<void*>(this);-
392 return QQuickImplicitSizeItem::qt_metacast(_clname);-
393}-
394-
395int QQuickImageBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
396{-
397 _id = QQuickImplicitSizeItem::qt_metacall(_c, _id, _a);-
398 if (_id < 0)-
399 return _id;-
400 if (_c == QMetaObject::InvokeMetaMethod) {-
401 if (_id < 9)-
402 qt_static_metacall(this, _c, _id, _a);-
403 _id -= 9;-
404 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
405 if (_id < 9)-
406 *reinterpret_cast<int*>(_a[0]) = -1;-
407 _id -= 9;-
408 }-
409-
410 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
411 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
412 qt_static_metacall(this, _c, _id, _a);-
413 _id -= 7;-
414 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
415 _id -= 7;-
416 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
417 _id -= 7;-
418 } else if (_c == QMetaObject::QueryPropertyStored) {-
419 _id -= 7;-
420 } else if (_c == QMetaObject::QueryPropertyEditable) {-
421 _id -= 7;-
422 } else if (_c == QMetaObject::QueryPropertyUser) {-
423 _id -= 7;-
424 }-
425-
426 return _id;-
427}-
428-
429-
430void QQuickImageBase::sourceChanged(const QUrl & _t1)-
431{-
432 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
433 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
434}
executed 5764 times by 13 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickimageprovider
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_scenegraph
  • tst_sharedimage
5764
435-
436-
437void QQuickImageBase::sourceSizeChanged()-
438{-
439 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
440}
executed 5602 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickimageprovider
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_scenegraph
  • tst_sharedimage
5602
441-
442-
443void QQuickImageBase::statusChanged(QQuickImageBase::Status _t1)-
444{-
445 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
446 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
447}
executed 5902 times by 13 tests: end of block
Executed by:
  • tst_examples
  • tst_qqmlecmascript
  • tst_qquickanchors
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickimageprovider
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_scenegraph
  • tst_sharedimage
5902
448-
449-
450void QQuickImageBase::progressChanged(qreal _t1)-
451{-
452 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
453 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
454}
executed 5516 times by 11 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickcustomparticle
  • tst_qquickimage
  • tst_qquickimageprovider
  • tst_qquickitemparticle
  • tst_qquickshadereffect
  • tst_qquickstates
  • tst_scenegraph
  • tst_sharedimage
5516
455-
456-
457void QQuickImageBase::asynchronousChanged()-
458{-
459 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
460}
executed 66 times by 5 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickimage
  • tst_qquickimageprovider
  • tst_sharedimage
66
461-
462-
463void QQuickImageBase::cacheChanged()-
464{-
465 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
466}
executed 24 times by 3 tests: end of block
Executed by:
  • tst_qquickanimatedimage
  • tst_qquickimage
  • tst_sharedimage
24
467-
468-
469void QQuickImageBase::mirrorChanged()-
470{-
471 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
472}
executed 24 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimatedimage
  • tst_qquickborderimage
  • tst_qquickimage
24
473-
474#pragma GCC diagnostic pop-
475-
476-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0