OpenCoverage

qquickpixmapcache.moc

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/qquickpixmapcache.moc
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickpixmapcache.cpp'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include <QtCore/qbytearray.h>-
10#include <QtCore/qmetatype.h>-
11#if !defined(Q_MOC_OUTPUT_REVISION)-
12#error "The header file 'qquickpixmapcache.cpp' doesn't include <QObject>."-
13#elif Q_MOC_OUTPUT_REVISION != 67-
14#error "This file was generated using the moc from 5.12.0. It"-
15#error "cannot be used with the include files from this version of Qt."-
16#error "(The moc has changed too much.)"-
17#endif-
18-
19QT_BEGIN_MOC_NAMESPACE-
20QT_WARNING_PUSH-
21QT_WARNING_DISABLE_DEPRECATED-
22struct qt_meta_stringdata_QQuickPixmapReply_t {-
23 QByteArrayData data[4];-
24 char stringdata0[45];-
25};-
26#define QT_MOC_LITERAL(idx, ofs, len) \-
27 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
28 qptrdiff(offsetof(qt_meta_stringdata_QQuickPixmapReply_t, stringdata0) + ofs \-
29 - idx * sizeof(QByteArrayData)) \-
30 )-
31static const qt_meta_stringdata_QQuickPixmapReply_t qt_meta_stringdata_QQuickPixmapReply = {-
32 {-
33QT_MOC_LITERAL(0, 0, 17), // "QQuickPixmapReply"-
34QT_MOC_LITERAL(1, 18, 8), // "finished"-
35QT_MOC_LITERAL(2, 27, 0), // ""-
36QT_MOC_LITERAL(3, 28, 16) // "downloadProgress"-
37-
38 },-
39 "QQuickPixmapReply\0finished\0\0"-
40 "downloadProgress"-
41};-
42#undef QT_MOC_LITERAL-
43-
44static const uint qt_meta_data_QQuickPixmapReply[] = {-
45-
46 // content:-
47 7, // revision-
48 0, // classname-
49 0, 0, // classinfo-
50 2, 14, // methods-
51 0, 0, // properties-
52 0, 0, // enums/sets-
53 0, 0, // constructors-
54 0, // flags-
55 2, // signalCount-
56-
57 // signals: name, argc, parameters, tag, flags-
58 1, 0, 24, 2, 0x06 /* Public */,-
59 3, 2, 25, 2, 0x06 /* Public */,-
60-
61 // signals: parameters-
62 QMetaType::Void,-
63 QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, 2, 2,-
64-
65 0 // eod-
66};-
67-
68void QQuickPixmapReply::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
69{-
70 if (_c == QMetaObject::InvokeMetaMethod) {-
71 QQuickPixmapReply *_t = static_cast<QQuickPixmapReply *>(_o);-
72 Q_UNUSED(_t)-
73 switch (_id) {-
74 case 0: _t->finished(); break;-
75 case 1: _t->downloadProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2]))); break;-
76 default: ;-
77 }-
78 } else if (_c == QMetaObject::IndexOfMethod) {-
79 int *result = reinterpret_cast<int *>(_a[0]);-
80 {-
81 using _t = void (QQuickPixmapReply::*)();-
82 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPixmapReply::finished)) {-
83 *result = 0;-
84 return;-
85 }-
86 }-
87 {-
88 using _t = void (QQuickPixmapReply::*)(qint64 , qint64 );-
89 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPixmapReply::downloadProgress)) {-
90 *result = 1;-
91 return;-
92 }-
93 }-
94 }-
95}-
96-
97QT_INIT_METAOBJECT const QMetaObject QQuickPixmapReply::staticMetaObject = {-
98 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPixmapReply.data,-
99 qt_meta_data_QQuickPixmapReply, qt_static_metacall, nullptr, nullptr}-
100};-
101-
102-
103const QMetaObject *QQuickPixmapReply::metaObject() const-
104{-
105 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
106}-
107-
108void *QQuickPixmapReply::qt_metacast(const char *_clname)-
109{-
110 if (!_clname) return nullptr;-
111 if (!strcmp(_clname, qt_meta_stringdata_QQuickPixmapReply.stringdata0))-
112 return static_cast<void*>(this);-
113 return QObject::qt_metacast(_clname);-
114}-
115-
116int QQuickPixmapReply::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
117{-
118 _id = QObject::qt_metacall(_c, _id, _a);-
119 if (_id < 0)-
120 return _id;-
121 if (_c == QMetaObject::InvokeMetaMethod) {-
122 if (_id < 2)-
123 qt_static_metacall(this, _c, _id, _a);-
124 _id -= 2;-
125 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
126 if (_id < 2)-
127 *reinterpret_cast<int*>(_a[0]) = -1;-
128 _id -= 2;-
129 }-
130 return _id;-
131}-
132-
133// SIGNAL 0-
134void QQuickPixmapReply::finished()-
135{-
136 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
137}
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
138-
139// SIGNAL 1-
140void QQuickPixmapReply::downloadProgress(qint64 _t1, qint64 _t2)-
141{-
142 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };-
143 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
144}
executed 57 times by 6 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickborderimage
  • tst_qquickimage
  • tst_qquickpixmapcache
  • tst_qquicktext
  • tst_qquicktextedit
57
145struct qt_meta_stringdata_QQuickPixmapReaderThreadObject_t {-
146 QByteArrayData data[6];-
147 char stringdata0[103];-
148};-
149#define QT_MOC_LITERAL(idx, ofs, len) \-
150 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
151 qptrdiff(offsetof(qt_meta_stringdata_QQuickPixmapReaderThreadObject_t, stringdata0) + ofs \-
152 - idx * sizeof(QByteArrayData)) \-
153 )-
154static const qt_meta_stringdata_QQuickPixmapReaderThreadObject_t qt_meta_stringdata_QQuickPixmapReaderThreadObject = {-
155 {-
156QT_MOC_LITERAL(0, 0, 30), // "QQuickPixmapReaderThreadObject"-
157QT_MOC_LITERAL(1, 31, 21), // "asyncResponseFinished"-
158QT_MOC_LITERAL(2, 53, 0), // ""-
159QT_MOC_LITERAL(3, 54, 20), // "QQuickImageResponse*"-
160QT_MOC_LITERAL(4, 75, 8), // "response"-
161QT_MOC_LITERAL(5, 84, 18) // "networkRequestDone"-
162-
163 },-
164 "QQuickPixmapReaderThreadObject\0"-
165 "asyncResponseFinished\0\0QQuickImageResponse*\0"-
166 "response\0networkRequestDone"-
167};-
168#undef QT_MOC_LITERAL-
169-
170static const uint qt_meta_data_QQuickPixmapReaderThreadObject[] = {-
171-
172 // content:-
173 7, // revision-
174 0, // classname-
175 0, 0, // classinfo-
176 3, 14, // methods-
177 0, 0, // properties-
178 0, 0, // enums/sets-
179 0, 0, // constructors-
180 0, // flags-
181 0, // signalCount-
182-
183 // slots: name, argc, parameters, tag, flags-
184 1, 1, 29, 2, 0x0a /* Public */,-
185 5, 0, 32, 2, 0x08 /* Private */,-
186 1, 0, 33, 2, 0x08 /* Private */,-
187-
188 // slots: parameters-
189 QMetaType::Void, 0x80000000 | 3, 4,-
190 QMetaType::Void,-
191 QMetaType::Void,-
192-
193 0 // eod-
194};-
195-
196void QQuickPixmapReaderThreadObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
197{-
198 if (_c == QMetaObject::InvokeMetaMethod) {-
199 QQuickPixmapReaderThreadObject *_t = static_cast<QQuickPixmapReaderThreadObject *>(_o);-
200 Q_UNUSED(_t)-
201 switch (_id) {-
202 case 0: _t->asyncResponseFinished((*reinterpret_cast< QQuickImageResponse*(*)>(_a[1]))); break;-
203 case 1: _t->networkRequestDone(); break;-
204 case 2: _t->asyncResponseFinished(); break;-
205 default: ;-
206 }-
207 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
208 switch (_id) {-
209 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
210 case 0:-
211 switch (*reinterpret_cast<int*>(_a[1])) {-
212 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
213 case 0:-
214 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickImageResponse* >(); break;-
215 }-
216 break;-
217 }-
218 }-
219}-
220-
221QT_INIT_METAOBJECT const QMetaObject QQuickPixmapReaderThreadObject::staticMetaObject = {-
222 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPixmapReaderThreadObject.data,-
223 qt_meta_data_QQuickPixmapReaderThreadObject, qt_static_metacall, nullptr, nullptr}-
224};-
225-
226-
227const QMetaObject *QQuickPixmapReaderThreadObject::metaObject() const-
228{-
229 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
230}-
231-
232void *QQuickPixmapReaderThreadObject::qt_metacast(const char *_clname)-
233{-
234 if (!_clname) return nullptr;-
235 if (!strcmp(_clname, qt_meta_stringdata_QQuickPixmapReaderThreadObject.stringdata0))-
236 return static_cast<void*>(this);-
237 return QObject::qt_metacast(_clname);-
238}-
239-
240int QQuickPixmapReaderThreadObject::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
241{-
242 _id = QObject::qt_metacall(_c, _id, _a);-
243 if (_id < 0)-
244 return _id;-
245 if (_c == QMetaObject::InvokeMetaMethod) {-
246 if (_id < 3)-
247 qt_static_metacall(this, _c, _id, _a);-
248 _id -= 3;-
249 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
250 if (_id < 3)-
251 qt_static_metacall(this, _c, _id, _a);-
252 _id -= 3;-
253 }-
254 return _id;-
255}-
256struct qt_meta_stringdata_QQuickPixmapReader_t {-
257 QByteArrayData data[1];-
258 char stringdata0[19];-
259};-
260#define QT_MOC_LITERAL(idx, ofs, len) \-
261 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
262 qptrdiff(offsetof(qt_meta_stringdata_QQuickPixmapReader_t, stringdata0) + ofs \-
263 - idx * sizeof(QByteArrayData)) \-
264 )-
265static const qt_meta_stringdata_QQuickPixmapReader_t qt_meta_stringdata_QQuickPixmapReader = {-
266 {-
267QT_MOC_LITERAL(0, 0, 18) // "QQuickPixmapReader"-
268-
269 },-
270 "QQuickPixmapReader"-
271};-
272#undef QT_MOC_LITERAL-
273-
274static const uint qt_meta_data_QQuickPixmapReader[] = {-
275-
276 // content:-
277 7, // revision-
278 0, // classname-
279 0, 0, // classinfo-
280 0, 0, // methods-
281 0, 0, // properties-
282 0, 0, // enums/sets-
283 0, 0, // constructors-
284 0, // flags-
285 0, // signalCount-
286-
287 0 // eod-
288};-
289-
290void QQuickPixmapReader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
291{-
292 Q_UNUSED(_o);-
293 Q_UNUSED(_id);-
294 Q_UNUSED(_c);-
295 Q_UNUSED(_a);-
296}-
297-
298QT_INIT_METAOBJECT const QMetaObject QQuickPixmapReader::staticMetaObject = {-
299 { &QThread::staticMetaObject, qt_meta_stringdata_QQuickPixmapReader.data,-
300 qt_meta_data_QQuickPixmapReader, qt_static_metacall, nullptr, nullptr}-
301};-
302-
303-
304const QMetaObject *QQuickPixmapReader::metaObject() const-
305{-
306 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
307}-
308-
309void *QQuickPixmapReader::qt_metacast(const char *_clname)-
310{-
311 if (!_clname) return nullptr;-
312 if (!strcmp(_clname, qt_meta_stringdata_QQuickPixmapReader.stringdata0))-
313 return static_cast<void*>(this);-
314 return QThread::qt_metacast(_clname);-
315}-
316-
317int QQuickPixmapReader::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
318{-
319 _id = QThread::qt_metacall(_c, _id, _a);-
320 return _id;-
321}-
322struct qt_meta_stringdata_QQuickPixmapStore_t {-
323 QByteArrayData data[1];-
324 char stringdata0[18];-
325};-
326#define QT_MOC_LITERAL(idx, ofs, len) \-
327 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
328 qptrdiff(offsetof(qt_meta_stringdata_QQuickPixmapStore_t, stringdata0) + ofs \-
329 - idx * sizeof(QByteArrayData)) \-
330 )-
331static const qt_meta_stringdata_QQuickPixmapStore_t qt_meta_stringdata_QQuickPixmapStore = {-
332 {-
333QT_MOC_LITERAL(0, 0, 17) // "QQuickPixmapStore"-
334-
335 },-
336 "QQuickPixmapStore"-
337};-
338#undef QT_MOC_LITERAL-
339-
340static const uint qt_meta_data_QQuickPixmapStore[] = {-
341-
342 // content:-
343 7, // revision-
344 0, // classname-
345 0, 0, // classinfo-
346 0, 0, // methods-
347 0, 0, // properties-
348 0, 0, // enums/sets-
349 0, 0, // constructors-
350 0, // flags-
351 0, // signalCount-
352-
353 0 // eod-
354};-
355-
356void QQuickPixmapStore::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
357{-
358 Q_UNUSED(_o);-
359 Q_UNUSED(_id);-
360 Q_UNUSED(_c);-
361 Q_UNUSED(_a);-
362}-
363-
364QT_INIT_METAOBJECT const QMetaObject QQuickPixmapStore::staticMetaObject = {-
365 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPixmapStore.data,-
366 qt_meta_data_QQuickPixmapStore, qt_static_metacall, nullptr, nullptr}-
367};-
368-
369-
370const QMetaObject *QQuickPixmapStore::metaObject() const-
371{-
372 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
373}-
374-
375void *QQuickPixmapStore::qt_metacast(const char *_clname)-
376{-
377 if (!_clname) return nullptr;-
378 if (!strcmp(_clname, qt_meta_stringdata_QQuickPixmapStore.stringdata0))-
379 return static_cast<void*>(this);-
380 return QObject::qt_metacast(_clname);-
381}-
382-
383int QQuickPixmapStore::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
384{-
385 _id = QObject::qt_metacall(_c, _id, _a);-
386 return _id;-
387}-
388QT_WARNING_POP-
389QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0