Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickanimatedsprite_p.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** Meta object code from reading C++ file 'qquickanimatedsprite_p.h' | - |
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 "../items/qquickanimatedsprite_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qquickanimatedsprite_p.h' doesn't include <QObject>." | - |
14 | #elif Q_MOC_OUTPUT_REVISION != 67 | - |
15 | #error "This file was generated using the moc from 5.12.0. It" | - |
16 | #error "cannot be used with the include files from this version of Qt." | - |
17 | #error "(The moc has changed too much.)" | - |
18 | #endif | - |
19 | - | |
20 | QT_BEGIN_MOC_NAMESPACE | - |
21 | QT_WARNING_PUSH | - |
22 | QT_WARNING_DISABLE_DEPRECATED | - |
23 | struct qt_meta_stringdata_QQuickAnimatedSprite_t { | - |
24 | QByteArrayData data[62]; | - |
25 | char stringdata0[738]; | - |
26 | }; | - |
27 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
29 | qptrdiff(offsetof(qt_meta_stringdata_QQuickAnimatedSprite_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQuickAnimatedSprite_t qt_meta_stringdata_QQuickAnimatedSprite = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 20), // "QQuickAnimatedSprite" | - |
35 | QT_MOC_LITERAL(1, 21, 13), // "pausedChanged" | - |
36 | QT_MOC_LITERAL(2, 35, 0), // "" | - |
37 | QT_MOC_LITERAL(3, 36, 3), // "arg" | - |
38 | QT_MOC_LITERAL(4, 40, 14), // "runningChanged" | - |
39 | QT_MOC_LITERAL(5, 55, 18), // "interpolateChanged" | - |
40 | QT_MOC_LITERAL(6, 74, 13), // "sourceChanged" | - |
41 | QT_MOC_LITERAL(7, 88, 14), // "reverseChanged" | - |
42 | QT_MOC_LITERAL(8, 103, 16), // "frameSyncChanged" | - |
43 | QT_MOC_LITERAL(9, 120, 17), // "frameCountChanged" | - |
44 | QT_MOC_LITERAL(10, 138, 18), // "frameHeightChanged" | - |
45 | QT_MOC_LITERAL(11, 157, 17), // "frameWidthChanged" | - |
46 | QT_MOC_LITERAL(12, 175, 13), // "frameXChanged" | - |
47 | QT_MOC_LITERAL(13, 189, 13), // "frameYChanged" | - |
48 | QT_MOC_LITERAL(14, 203, 16), // "frameRateChanged" | - |
49 | QT_MOC_LITERAL(15, 220, 20), // "frameDurationChanged" | - |
50 | QT_MOC_LITERAL(16, 241, 12), // "loopsChanged" | - |
51 | QT_MOC_LITERAL(17, 254, 19), // "currentFrameChanged" | - |
52 | QT_MOC_LITERAL(18, 274, 8), // "finished" | - |
53 | QT_MOC_LITERAL(19, 283, 5), // "start" | - |
54 | QT_MOC_LITERAL(20, 289, 4), // "stop" | - |
55 | QT_MOC_LITERAL(21, 294, 7), // "restart" | - |
56 | QT_MOC_LITERAL(22, 302, 7), // "advance" | - |
57 | QT_MOC_LITERAL(23, 310, 6), // "frames" | - |
58 | QT_MOC_LITERAL(24, 317, 5), // "pause" | - |
59 | QT_MOC_LITERAL(25, 323, 6), // "resume" | - |
60 | QT_MOC_LITERAL(26, 330, 10), // "setRunning" | - |
61 | QT_MOC_LITERAL(27, 341, 9), // "setPaused" | - |
62 | QT_MOC_LITERAL(28, 351, 14), // "setInterpolate" | - |
63 | QT_MOC_LITERAL(29, 366, 9), // "setSource" | - |
64 | QT_MOC_LITERAL(30, 376, 10), // "setReverse" | - |
65 | QT_MOC_LITERAL(31, 387, 12), // "setFrameSync" | - |
66 | QT_MOC_LITERAL(32, 400, 13), // "setFrameCount" | - |
67 | QT_MOC_LITERAL(33, 414, 14), // "setFrameHeight" | - |
68 | QT_MOC_LITERAL(34, 429, 13), // "setFrameWidth" | - |
69 | QT_MOC_LITERAL(35, 443, 9), // "setFrameX" | - |
70 | QT_MOC_LITERAL(36, 453, 9), // "setFrameY" | - |
71 | QT_MOC_LITERAL(37, 463, 12), // "setFrameRate" | - |
72 | QT_MOC_LITERAL(38, 476, 16), // "setFrameDuration" | - |
73 | QT_MOC_LITERAL(39, 493, 14), // "resetFrameRate" | - |
74 | QT_MOC_LITERAL(40, 508, 18), // "resetFrameDuration" | - |
75 | QT_MOC_LITERAL(41, 527, 8), // "setLoops" | - |
76 | QT_MOC_LITERAL(42, 536, 15), // "setCurrentFrame" | - |
77 | QT_MOC_LITERAL(43, 552, 12), // "createEngine" | - |
78 | QT_MOC_LITERAL(44, 565, 5), // "reset" | - |
79 | QT_MOC_LITERAL(45, 571, 7), // "running" | - |
80 | QT_MOC_LITERAL(46, 579, 11), // "interpolate" | - |
81 | QT_MOC_LITERAL(47, 591, 6), // "source" | - |
82 | QT_MOC_LITERAL(48, 598, 7), // "reverse" | - |
83 | QT_MOC_LITERAL(49, 606, 9), // "frameSync" | - |
84 | QT_MOC_LITERAL(50, 616, 10), // "frameCount" | - |
85 | QT_MOC_LITERAL(51, 627, 11), // "frameHeight" | - |
86 | QT_MOC_LITERAL(52, 639, 10), // "frameWidth" | - |
87 | QT_MOC_LITERAL(53, 650, 6), // "frameX" | - |
88 | QT_MOC_LITERAL(54, 657, 6), // "frameY" | - |
89 | QT_MOC_LITERAL(55, 664, 9), // "frameRate" | - |
90 | QT_MOC_LITERAL(56, 674, 13), // "frameDuration" | - |
91 | QT_MOC_LITERAL(57, 688, 5), // "loops" | - |
92 | QT_MOC_LITERAL(58, 694, 6), // "paused" | - |
93 | QT_MOC_LITERAL(59, 701, 12), // "currentFrame" | - |
94 | QT_MOC_LITERAL(60, 714, 14), // "LoopParameters" | - |
95 | QT_MOC_LITERAL(61, 729, 8) // "Infinite" | - |
96 | - | |
97 | }, | - |
98 | "QQuickAnimatedSprite\0pausedChanged\0\0" | - |
99 | "arg\0runningChanged\0interpolateChanged\0" | - |
100 | "sourceChanged\0reverseChanged\0" | - |
101 | "frameSyncChanged\0frameCountChanged\0" | - |
102 | "frameHeightChanged\0frameWidthChanged\0" | - |
103 | "frameXChanged\0frameYChanged\0" | - |
104 | "frameRateChanged\0frameDurationChanged\0" | - |
105 | "loopsChanged\0currentFrameChanged\0" | - |
106 | "finished\0start\0stop\0restart\0advance\0" | - |
107 | "frames\0pause\0resume\0setRunning\0setPaused\0" | - |
108 | "setInterpolate\0setSource\0setReverse\0" | - |
109 | "setFrameSync\0setFrameCount\0setFrameHeight\0" | - |
110 | "setFrameWidth\0setFrameX\0setFrameY\0" | - |
111 | "setFrameRate\0setFrameDuration\0" | - |
112 | "resetFrameRate\0resetFrameDuration\0" | - |
113 | "setLoops\0setCurrentFrame\0createEngine\0" | - |
114 | "reset\0running\0interpolate\0source\0" | - |
115 | "reverse\0frameSync\0frameCount\0frameHeight\0" | - |
116 | "frameWidth\0frameX\0frameY\0frameRate\0" | - |
117 | "frameDuration\0loops\0paused\0currentFrame\0" | - |
118 | "LoopParameters\0Infinite" | - |
119 | }; | - |
120 | #undef QT_MOC_LITERAL | - |
121 | - | |
122 | static const uint qt_meta_data_QQuickAnimatedSprite[] = { | - |
123 | - | |
124 | // content: | - |
125 | 7, // revision | - |
126 | 0, // classname | - |
127 | 0, 0, // classinfo | - |
128 | 42, 14, // methods | - |
129 | 15, 370, // properties | - |
130 | 1, 430, // enums/sets | - |
131 | 0, 0, // constructors | - |
132 | 0, // flags | - |
133 | 16, // signalCount | - |
134 | - | |
135 | // signals: name, argc, parameters, tag, flags | - |
136 | 1, 1, 266, 2, 0x06 /* Public */, | - |
137 | 4, 1, 269, 2, 0x06 /* Public */, | - |
138 | 5, 1, 272, 2, 0x06 /* Public */, | - |
139 | 6, 1, 275, 2, 0x06 /* Public */, | - |
140 | 7, 1, 278, 2, 0x06 /* Public */, | - |
141 | 8, 1, 281, 2, 0x06 /* Public */, | - |
142 | 9, 1, 284, 2, 0x06 /* Public */, | - |
143 | 10, 1, 287, 2, 0x06 /* Public */, | - |
144 | 11, 1, 290, 2, 0x06 /* Public */, | - |
145 | 12, 1, 293, 2, 0x06 /* Public */, | - |
146 | 13, 1, 296, 2, 0x06 /* Public */, | - |
147 | 14, 1, 299, 2, 0x06 /* Public */, | - |
148 | 15, 1, 302, 2, 0x06 /* Public */, | - |
149 | 16, 1, 305, 2, 0x06 /* Public */, | - |
150 | 17, 1, 308, 2, 0x06 /* Public */, | - |
151 | 18, 0, 311, 2, 0x86 /* Public | MethodRevisioned */, | - |
152 | - | |
153 | // slots: name, argc, parameters, tag, flags | - |
154 | 19, 0, 312, 2, 0x0a /* Public */, | - |
155 | 20, 0, 313, 2, 0x0a /* Public */, | - |
156 | 21, 0, 314, 2, 0x0a /* Public */, | - |
157 | 22, 1, 315, 2, 0x0a /* Public */, | - |
158 | 22, 0, 318, 2, 0x2a /* Public | MethodCloned */, | - |
159 | 24, 0, 319, 2, 0x0a /* Public */, | - |
160 | 25, 0, 320, 2, 0x0a /* Public */, | - |
161 | 26, 1, 321, 2, 0x0a /* Public */, | - |
162 | 27, 1, 324, 2, 0x0a /* Public */, | - |
163 | 28, 1, 327, 2, 0x0a /* Public */, | - |
164 | 29, 1, 330, 2, 0x0a /* Public */, | - |
165 | 30, 1, 333, 2, 0x0a /* Public */, | - |
166 | 31, 1, 336, 2, 0x0a /* Public */, | - |
167 | 32, 1, 339, 2, 0x0a /* Public */, | - |
168 | 33, 1, 342, 2, 0x0a /* Public */, | - |
169 | 34, 1, 345, 2, 0x0a /* Public */, | - |
170 | 35, 1, 348, 2, 0x0a /* Public */, | - |
171 | 36, 1, 351, 2, 0x0a /* Public */, | - |
172 | 37, 1, 354, 2, 0x0a /* Public */, | - |
173 | 38, 1, 357, 2, 0x0a /* Public */, | - |
174 | 39, 0, 360, 2, 0x0a /* Public */, | - |
175 | 40, 0, 361, 2, 0x0a /* Public */, | - |
176 | 41, 1, 362, 2, 0x0a /* Public */, | - |
177 | 42, 1, 365, 2, 0x0a /* Public */, | - |
178 | 43, 0, 368, 2, 0x08 /* Private */, | - |
179 | 44, 0, 369, 2, 0x09 /* Protected */, | - |
180 | - | |
181 | // signals: revision | - |
182 | 0, | - |
183 | 0, | - |
184 | 0, | - |
185 | 0, | - |
186 | 0, | - |
187 | 0, | - |
188 | 0, | - |
189 | 0, | - |
190 | 0, | - |
191 | 0, | - |
192 | 0, | - |
193 | 0, | - |
194 | 0, | - |
195 | 0, | - |
196 | 0, | - |
197 | 12, | - |
198 | - | |
199 | // slots: revision | - |
200 | 0, | - |
201 | 0, | - |
202 | 0, | - |
203 | 0, | - |
204 | 0, | - |
205 | 0, | - |
206 | 0, | - |
207 | 0, | - |
208 | 0, | - |
209 | 0, | - |
210 | 0, | - |
211 | 0, | - |
212 | 0, | - |
213 | 0, | - |
214 | 0, | - |
215 | 0, | - |
216 | 0, | - |
217 | 0, | - |
218 | 0, | - |
219 | 0, | - |
220 | 0, | - |
221 | 0, | - |
222 | 0, | - |
223 | 0, | - |
224 | 0, | - |
225 | 0, | - |
226 | - | |
227 | // signals: parameters | - |
228 | QMetaType::Void, QMetaType::Bool, 3, | - |
229 | QMetaType::Void, QMetaType::Bool, 3, | - |
230 | QMetaType::Void, QMetaType::Bool, 3, | - |
231 | QMetaType::Void, QMetaType::QUrl, 3, | - |
232 | QMetaType::Void, QMetaType::Bool, 3, | - |
233 | QMetaType::Void, QMetaType::Bool, 3, | - |
234 | QMetaType::Void, QMetaType::Int, 3, | - |
235 | QMetaType::Void, QMetaType::Int, 3, | - |
236 | QMetaType::Void, QMetaType::Int, 3, | - |
237 | QMetaType::Void, QMetaType::Int, 3, | - |
238 | QMetaType::Void, QMetaType::Int, 3, | - |
239 | QMetaType::Void, QMetaType::QReal, 3, | - |
240 | QMetaType::Void, QMetaType::Int, 3, | - |
241 | QMetaType::Void, QMetaType::Int, 3, | - |
242 | QMetaType::Void, QMetaType::Int, 3, | - |
243 | QMetaType::Void, | - |
244 | - | |
245 | // slots: parameters | - |
246 | QMetaType::Void, | - |
247 | QMetaType::Void, | - |
248 | QMetaType::Void, | - |
249 | QMetaType::Void, QMetaType::Int, 23, | - |
250 | QMetaType::Void, | - |
251 | QMetaType::Void, | - |
252 | QMetaType::Void, | - |
253 | QMetaType::Void, QMetaType::Bool, 3, | - |
254 | QMetaType::Void, QMetaType::Bool, 3, | - |
255 | QMetaType::Void, QMetaType::Bool, 3, | - |
256 | QMetaType::Void, QMetaType::QUrl, 3, | - |
257 | QMetaType::Void, QMetaType::Bool, 3, | - |
258 | QMetaType::Void, QMetaType::Bool, 3, | - |
259 | QMetaType::Void, QMetaType::Int, 3, | - |
260 | QMetaType::Void, QMetaType::Int, 3, | - |
261 | QMetaType::Void, QMetaType::Int, 3, | - |
262 | QMetaType::Void, QMetaType::Int, 3, | - |
263 | QMetaType::Void, QMetaType::Int, 3, | - |
264 | QMetaType::Void, QMetaType::QReal, 3, | - |
265 | QMetaType::Void, QMetaType::Int, 3, | - |
266 | QMetaType::Void, | - |
267 | QMetaType::Void, | - |
268 | QMetaType::Void, QMetaType::Int, 3, | - |
269 | QMetaType::Void, QMetaType::Int, 3, | - |
270 | QMetaType::Void, | - |
271 | QMetaType::Void, | - |
272 | - | |
273 | // properties: name, type, flags | - |
274 | 45, QMetaType::Bool, 0x00495103, | - |
275 | 46, QMetaType::Bool, 0x00495103, | - |
276 | 47, QMetaType::QUrl, 0x00495103, | - |
277 | 48, QMetaType::Bool, 0x00495103, | - |
278 | 49, QMetaType::Bool, 0x00495103, | - |
279 | 50, QMetaType::Int, 0x00495103, | - |
280 | 51, QMetaType::Int, 0x00495103, | - |
281 | 52, QMetaType::Int, 0x00495103, | - |
282 | 53, QMetaType::Int, 0x00495103, | - |
283 | 54, QMetaType::Int, 0x00495103, | - |
284 | 55, QMetaType::QReal, 0x00495107, | - |
285 | 56, QMetaType::Int, 0x00495107, | - |
286 | 57, QMetaType::Int, 0x00495103, | - |
287 | 58, QMetaType::Bool, 0x00495103, | - |
288 | 59, QMetaType::Int, 0x00495103, | - |
289 | - | |
290 | // properties: notify_signal_id | - |
291 | 1, | - |
292 | 2, | - |
293 | 3, | - |
294 | 4, | - |
295 | 5, | - |
296 | 6, | - |
297 | 7, | - |
298 | 8, | - |
299 | 9, | - |
300 | 10, | - |
301 | 11, | - |
302 | 12, | - |
303 | 13, | - |
304 | 0, | - |
305 | 14, | - |
306 | - | |
307 | // enums: name, flags, count, data | - |
308 | 60, 0x0, 1, 434, | - |
309 | - | |
310 | // enum data: key, value | - |
311 | 61, uint(QQuickAnimatedSprite::Infinite), | - |
312 | - | |
313 | 0 // eod | - |
314 | }; | - |
315 | - | |
316 | void QQuickAnimatedSprite::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
317 | { | - |
318 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
319 | QQuickAnimatedSprite *_t = static_cast<QQuickAnimatedSprite *>(_o); | - |
320 | Q_UNUSED(_t) | - |
321 | switch (_id) { | - |
322 | case 0: _t->pausedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
323 | case 1: _t->runningChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
324 | case 2: _t->interpolateChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
325 | case 3: _t->sourceChanged((*reinterpret_cast< QUrl(*)>(_a[1]))); break; | - |
326 | case 4: _t->reverseChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
327 | case 5: _t->frameSyncChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
328 | case 6: _t->frameCountChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
329 | case 7: _t->frameHeightChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
330 | case 8: _t->frameWidthChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
331 | case 9: _t->frameXChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
332 | case 10: _t->frameYChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
333 | case 11: _t->frameRateChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
334 | case 12: _t->frameDurationChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
335 | case 13: _t->loopsChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
336 | case 14: _t->currentFrameChanged((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
337 | case 15: _t->finished(); break; | - |
338 | case 16: _t->start(); break; | - |
339 | case 17: _t->stop(); break; | - |
340 | case 18: _t->restart(); break; | - |
341 | case 19: _t->advance((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
342 | case 20: _t->advance(); break; | - |
343 | case 21: _t->pause(); break; | - |
344 | case 22: _t->resume(); break; | - |
345 | case 23: _t->setRunning((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
346 | case 24: _t->setPaused((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
347 | case 25: _t->setInterpolate((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
348 | case 26: _t->setSource((*reinterpret_cast< QUrl(*)>(_a[1]))); break; | - |
349 | case 27: _t->setReverse((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
350 | case 28: _t->setFrameSync((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
351 | case 29: _t->setFrameCount((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
352 | case 30: _t->setFrameHeight((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
353 | case 31: _t->setFrameWidth((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
354 | case 32: _t->setFrameX((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
355 | case 33: _t->setFrameY((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
356 | case 34: _t->setFrameRate((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
357 | case 35: _t->setFrameDuration((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
358 | case 36: _t->resetFrameRate(); break; | - |
359 | case 37: _t->resetFrameDuration(); break; | - |
360 | case 38: _t->setLoops((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
361 | case 39: _t->setCurrentFrame((*reinterpret_cast< int(*)>(_a[1]))); break; | - |
362 | case 40: _t->createEngine(); break; | - |
363 | case 41: _t->reset(); break; | - |
364 | default: ; | - |
365 | } | - |
366 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
367 | int *result = reinterpret_cast<int *>(_a[0]); | - |
368 | { | - |
369 | using _t = void (QQuickAnimatedSprite::*)(bool ); | - |
370 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::pausedChanged)) { | - |
371 | *result = 0; | - |
372 | return; | - |
373 | } | - |
374 | } | - |
375 | { | - |
376 | using _t = void (QQuickAnimatedSprite::*)(bool ); | - |
377 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::runningChanged)) { | - |
378 | *result = 1; | - |
379 | return; | - |
380 | } | - |
381 | } | - |
382 | { | - |
383 | using _t = void (QQuickAnimatedSprite::*)(bool ); | - |
384 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::interpolateChanged)) { | - |
385 | *result = 2; | - |
386 | return; | - |
387 | } | - |
388 | } | - |
389 | { | - |
390 | using _t = void (QQuickAnimatedSprite::*)(QUrl ); | - |
391 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::sourceChanged)) { | - |
392 | *result = 3; | - |
393 | return; | - |
394 | } | - |
395 | } | - |
396 | { | - |
397 | using _t = void (QQuickAnimatedSprite::*)(bool ); | - |
398 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::reverseChanged)) { | - |
399 | *result = 4; | - |
400 | return; | - |
401 | } | - |
402 | } | - |
403 | { | - |
404 | using _t = void (QQuickAnimatedSprite::*)(bool ); | - |
405 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::frameSyncChanged)) { | - |
406 | *result = 5; | - |
407 | return; | - |
408 | } | - |
409 | } | - |
410 | { | - |
411 | using _t = void (QQuickAnimatedSprite::*)(int ); | - |
412 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::frameCountChanged)) { | - |
413 | *result = 6; | - |
414 | return; | - |
415 | } | - |
416 | } | - |
417 | { | - |
418 | using _t = void (QQuickAnimatedSprite::*)(int ); | - |
419 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::frameHeightChanged)) { | - |
420 | *result = 7; | - |
421 | return; | - |
422 | } | - |
423 | } | - |
424 | { | - |
425 | using _t = void (QQuickAnimatedSprite::*)(int ); | - |
426 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::frameWidthChanged)) { | - |
427 | *result = 8; | - |
428 | return; | - |
429 | } | - |
430 | } | - |
431 | { | - |
432 | using _t = void (QQuickAnimatedSprite::*)(int ); | - |
433 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::frameXChanged)) { | - |
434 | *result = 9; | - |
435 | return; | - |
436 | } | - |
437 | } | - |
438 | { | - |
439 | using _t = void (QQuickAnimatedSprite::*)(int ); | - |
440 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::frameYChanged)) { | - |
441 | *result = 10; | - |
442 | return; | - |
443 | } | - |
444 | } | - |
445 | { | - |
446 | using _t = void (QQuickAnimatedSprite::*)(qreal ); | - |
447 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::frameRateChanged)) { | - |
448 | *result = 11; | - |
449 | return; | - |
450 | } | - |
451 | } | - |
452 | { | - |
453 | using _t = void (QQuickAnimatedSprite::*)(int ); | - |
454 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::frameDurationChanged)) { | - |
455 | *result = 12; | - |
456 | return; | - |
457 | } | - |
458 | } | - |
459 | { | - |
460 | using _t = void (QQuickAnimatedSprite::*)(int ); | - |
461 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::loopsChanged)) { | - |
462 | *result = 13; | - |
463 | return; | - |
464 | } | - |
465 | } | - |
466 | { | - |
467 | using _t = void (QQuickAnimatedSprite::*)(int ); | - |
468 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::currentFrameChanged)) { | - |
469 | *result = 14; | - |
470 | return; | - |
471 | } | - |
472 | } | - |
473 | { | - |
474 | using _t = void (QQuickAnimatedSprite::*)(); | - |
475 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickAnimatedSprite::finished)) { | - |
476 | *result = 15; | - |
477 | return; | - |
478 | } | - |
479 | } | - |
480 | } | - |
481 | #ifndef QT_NO_PROPERTIES | - |
482 | else if (_c == QMetaObject::ReadProperty) { | - |
483 | QQuickAnimatedSprite *_t = static_cast<QQuickAnimatedSprite *>(_o); | - |
484 | Q_UNUSED(_t) | - |
485 | void *_v = _a[0]; | - |
486 | switch (_id) { | - |
487 | case 0: *reinterpret_cast< bool*>(_v) = _t->running(); break; | - |
488 | case 1: *reinterpret_cast< bool*>(_v) = _t->interpolate(); break; | - |
489 | case 2: *reinterpret_cast< QUrl*>(_v) = _t->source(); break; | - |
490 | case 3: *reinterpret_cast< bool*>(_v) = _t->reverse(); break; | - |
491 | case 4: *reinterpret_cast< bool*>(_v) = _t->frameSync(); break; | - |
492 | case 5: *reinterpret_cast< int*>(_v) = _t->frameCount(); break; | - |
493 | case 6: *reinterpret_cast< int*>(_v) = _t->frameHeight(); break; | - |
494 | case 7: *reinterpret_cast< int*>(_v) = _t->frameWidth(); break; | - |
495 | case 8: *reinterpret_cast< int*>(_v) = _t->frameX(); break; | - |
496 | case 9: *reinterpret_cast< int*>(_v) = _t->frameY(); break; | - |
497 | case 10: *reinterpret_cast< qreal*>(_v) = _t->frameRate(); break; | - |
498 | case 11: *reinterpret_cast< int*>(_v) = _t->frameDuration(); break; | - |
499 | case 12: *reinterpret_cast< int*>(_v) = _t->loops(); break; | - |
500 | case 13: *reinterpret_cast< bool*>(_v) = _t->paused(); break; | - |
501 | case 14: *reinterpret_cast< int*>(_v) = _t->currentFrame(); break; | - |
502 | default: break; | - |
503 | } | - |
504 | } else if (_c == QMetaObject::WriteProperty) { | - |
505 | QQuickAnimatedSprite *_t = static_cast<QQuickAnimatedSprite *>(_o); | - |
506 | Q_UNUSED(_t) | - |
507 | void *_v = _a[0]; | - |
508 | switch (_id) { | - |
509 | case 0: _t->setRunning(*reinterpret_cast< bool*>(_v)); break; | - |
510 | case 1: _t->setInterpolate(*reinterpret_cast< bool*>(_v)); break; | - |
511 | case 2: _t->setSource(*reinterpret_cast< QUrl*>(_v)); break; | - |
512 | case 3: _t->setReverse(*reinterpret_cast< bool*>(_v)); break; | - |
513 | case 4: _t->setFrameSync(*reinterpret_cast< bool*>(_v)); break; | - |
514 | case 5: _t->setFrameCount(*reinterpret_cast< int*>(_v)); break; | - |
515 | case 6: _t->setFrameHeight(*reinterpret_cast< int*>(_v)); break; | - |
516 | case 7: _t->setFrameWidth(*reinterpret_cast< int*>(_v)); break; | - |
517 | case 8: _t->setFrameX(*reinterpret_cast< int*>(_v)); break; | - |
518 | case 9: _t->setFrameY(*reinterpret_cast< int*>(_v)); break; | - |
519 | case 10: _t->setFrameRate(*reinterpret_cast< qreal*>(_v)); break; | - |
520 | case 11: _t->setFrameDuration(*reinterpret_cast< int*>(_v)); break; | - |
521 | case 12: _t->setLoops(*reinterpret_cast< int*>(_v)); break; | - |
522 | case 13: _t->setPaused(*reinterpret_cast< bool*>(_v)); break; | - |
523 | case 14: _t->setCurrentFrame(*reinterpret_cast< int*>(_v)); break; | - |
524 | default: break; | - |
525 | } | - |
526 | } else if (_c == QMetaObject::ResetProperty) { | - |
527 | QQuickAnimatedSprite *_t = static_cast<QQuickAnimatedSprite *>(_o); | - |
528 | Q_UNUSED(_t) | - |
529 | switch (_id) { | - |
530 | case 10: _t->resetFrameRate(); break; | - |
531 | case 11: _t->resetFrameDuration(); break; | - |
532 | default: break; | - |
533 | } | - |
534 | } | - |
535 | #endif // QT_NO_PROPERTIES | - |
536 | } | - |
537 | - | |
538 | QT_INIT_METAOBJECT const QMetaObject QQuickAnimatedSprite::staticMetaObject = { | - |
539 | { &QQuickItem::staticMetaObject, qt_meta_stringdata_QQuickAnimatedSprite.data, | - |
540 | qt_meta_data_QQuickAnimatedSprite, qt_static_metacall, nullptr, nullptr} | - |
541 | }; | - |
542 | - | |
543 | - | |
544 | const QMetaObject *QQuickAnimatedSprite::metaObject() const | - |
545 | { | - |
546 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
547 | } | - |
548 | - | |
549 | void *QQuickAnimatedSprite::qt_metacast(const char *_clname) | - |
550 | { | - |
551 | if (!_clname) return nullptr; | - |
552 | if (!strcmp(_clname, qt_meta_stringdata_QQuickAnimatedSprite.stringdata0)) | - |
553 | return static_cast<void*>(this); | - |
554 | return QQuickItem::qt_metacast(_clname); | - |
555 | } | - |
556 | - | |
557 | int QQuickAnimatedSprite::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
558 | { | - |
559 | _id = QQuickItem::qt_metacall(_c, _id, _a); | - |
560 | if (_id < 0) | - |
561 | return _id; | - |
562 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
563 | if (_id < 42) | - |
564 | qt_static_metacall(this, _c, _id, _a); | - |
565 | _id -= 42; | - |
566 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
567 | if (_id < 42) | - |
568 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
569 | _id -= 42; | - |
570 | } | - |
571 | #ifndef QT_NO_PROPERTIES | - |
572 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
573 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
574 | qt_static_metacall(this, _c, _id, _a); | - |
575 | _id -= 15; | - |
576 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
577 | _id -= 15; | - |
578 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
579 | _id -= 15; | - |
580 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
581 | _id -= 15; | - |
582 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
583 | _id -= 15; | - |
584 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
585 | _id -= 15; | - |
586 | } | - |
587 | #endif // QT_NO_PROPERTIES | - |
588 | return _id; | - |
589 | } | - |
590 | - | |
591 | // SIGNAL 0 | - |
592 | void QQuickAnimatedSprite::pausedChanged(bool _t1) | - |
593 | { | - |
594 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
595 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
596 | } never executed: end of block | 0 |
597 | - | |
598 | // SIGNAL 1 | - |
599 | void QQuickAnimatedSprite::runningChanged(bool _t1) | - |
600 | { | - |
601 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
602 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | - |
603 | } executed 28 times by 1 test: end of block Executed by:
| 28 |
604 | - | |
605 | // SIGNAL 2 | - |
606 | void QQuickAnimatedSprite::interpolateChanged(bool _t1) | - |
607 | { | - |
608 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
609 | QMetaObject::activate(this, &staticMetaObject, 2, _a); | - |
610 | } executed 2 times by 1 test: end of block Executed by:
| 2 |
611 | - | |
612 | // SIGNAL 3 | - |
613 | void QQuickAnimatedSprite::sourceChanged(QUrl _t1) | - |
614 | { | - |
615 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
616 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | - |
617 | } executed 20 times by 1 test: end of block Executed by:
| 20 |
618 | - | |
619 | // SIGNAL 4 | - |
620 | void QQuickAnimatedSprite::reverseChanged(bool _t1) | - |
621 | { | - |
622 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
623 | QMetaObject::activate(this, &staticMetaObject, 4, _a); | - |
624 | } never executed: end of block | 0 |
625 | - | |
626 | // SIGNAL 5 | - |
627 | void QQuickAnimatedSprite::frameSyncChanged(bool _t1) | - |
628 | { | - |
629 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
630 | QMetaObject::activate(this, &staticMetaObject, 5, _a); | - |
631 | } executed 10 times by 1 test: end of block Executed by:
| 10 |
632 | - | |
633 | // SIGNAL 6 | - |
634 | void QQuickAnimatedSprite::frameCountChanged(int _t1) | - |
635 | { | - |
636 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
637 | QMetaObject::activate(this, &staticMetaObject, 6, _a); | - |
638 | } executed 16 times by 1 test: end of block Executed by:
| 16 |
639 | - | |
640 | // SIGNAL 7 | - |
641 | void QQuickAnimatedSprite::frameHeightChanged(int _t1) | - |
642 | { | - |
643 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
644 | QMetaObject::activate(this, &staticMetaObject, 7, _a); | - |
645 | } executed 8 times by 1 test: end of block Executed by:
| 8 |
646 | - | |
647 | // SIGNAL 8 | - |
648 | void QQuickAnimatedSprite::frameWidthChanged(int _t1) | - |
649 | { | - |
650 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
651 | QMetaObject::activate(this, &staticMetaObject, 8, _a); | - |
652 | } executed 8 times by 1 test: end of block Executed by:
| 8 |
653 | - | |
654 | // SIGNAL 9 | - |
655 | void QQuickAnimatedSprite::frameXChanged(int _t1) | - |
656 | { | - |
657 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
658 | QMetaObject::activate(this, &staticMetaObject, 9, _a); | - |
659 | } never executed: end of block | 0 |
660 | - | |
661 | // SIGNAL 10 | - |
662 | void QQuickAnimatedSprite::frameYChanged(int _t1) | - |
663 | { | - |
664 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
665 | QMetaObject::activate(this, &staticMetaObject, 10, _a); | - |
666 | } never executed: end of block | 0 |
667 | - | |
668 | // SIGNAL 11 | - |
669 | void QQuickAnimatedSprite::frameRateChanged(qreal _t1) | - |
670 | { | - |
671 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
672 | QMetaObject::activate(this, &staticMetaObject, 11, _a); | - |
673 | } never executed: end of block | 0 |
674 | - | |
675 | // SIGNAL 12 | - |
676 | void QQuickAnimatedSprite::frameDurationChanged(int _t1) | - |
677 | { | - |
678 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
679 | QMetaObject::activate(this, &staticMetaObject, 12, _a); | - |
680 | } executed 10 times by 1 test: end of block Executed by:
| 10 |
681 | - | |
682 | // SIGNAL 13 | - |
683 | void QQuickAnimatedSprite::loopsChanged(int _t1) | - |
684 | { | - |
685 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
686 | QMetaObject::activate(this, &staticMetaObject, 13, _a); | - |
687 | } executed 14 times by 1 test: end of block Executed by:
| 14 |
688 | - | |
689 | // SIGNAL 14 | - |
690 | void QQuickAnimatedSprite::currentFrameChanged(int _t1) | - |
691 | { | - |
692 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
693 | QMetaObject::activate(this, &staticMetaObject, 14, _a); | - |
694 | } executed 534 times by 1 test: end of block Executed by:
| 534 |
695 | - | |
696 | // SIGNAL 15 | - |
697 | void QQuickAnimatedSprite::finished() | - |
698 | { | - |
699 | QMetaObject::activate(this, &staticMetaObject, 15, nullptr); | - |
700 | } executed 8 times by 1 test: end of block Executed by:
| 8 |
701 | QT_WARNING_POP | - |
702 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |