OpenCoverage

moc_qquickspritesequence_p.cpp

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

Generated by Squish Coco 4.2.0