OpenCoverage

moc_qquickanimatedimage_p.cpp

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

Generated by Squish Coco 4.2.0