OpenCoverage

qquickpixmapcache.moc

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

Generated by Squish Coco 4.2.0