1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qmovie.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "image/qmovie.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qmovie.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
16 | #error "This file was generated using the moc from 6.0.0. It" |
17 | #error "cannot be used with the include files from this version of Qt." |
18 | #error "(The moc has changed too much.)" |
19 | #endif |
20 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_QMovie_t { |
25 | const uint offsetsAndSize[64]; |
26 | char stringdata0[316]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QMovie_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QMovie_t qt_meta_stringdata_QMovie = { |
31 | { |
32 | QT_MOC_LITERAL(0, 6), // "QMovie" |
33 | QT_MOC_LITERAL(7, 7), // "started" |
34 | QT_MOC_LITERAL(15, 0), // "" |
35 | QT_MOC_LITERAL(16, 7), // "resized" |
36 | QT_MOC_LITERAL(24, 4), // "size" |
37 | QT_MOC_LITERAL(29, 7), // "updated" |
38 | QT_MOC_LITERAL(37, 4), // "rect" |
39 | QT_MOC_LITERAL(42, 12), // "stateChanged" |
40 | QT_MOC_LITERAL(55, 18), // "QMovie::MovieState" |
41 | QT_MOC_LITERAL(74, 5), // "state" |
42 | QT_MOC_LITERAL(80, 5), // "error" |
43 | QT_MOC_LITERAL(86, 30), // "QImageReader::ImageReaderError" |
44 | QT_MOC_LITERAL(117, 8), // "finished" |
45 | QT_MOC_LITERAL(126, 12), // "frameChanged" |
46 | QT_MOC_LITERAL(139, 11), // "frameNumber" |
47 | QT_MOC_LITERAL(151, 5), // "start" |
48 | QT_MOC_LITERAL(157, 15), // "jumpToNextFrame" |
49 | QT_MOC_LITERAL(173, 9), // "setPaused" |
50 | QT_MOC_LITERAL(183, 6), // "paused" |
51 | QT_MOC_LITERAL(190, 4), // "stop" |
52 | QT_MOC_LITERAL(195, 8), // "setSpeed" |
53 | QT_MOC_LITERAL(204, 12), // "percentSpeed" |
54 | QT_MOC_LITERAL(217, 16), // "_q_loadNextFrame" |
55 | QT_MOC_LITERAL(234, 5), // "speed" |
56 | QT_MOC_LITERAL(240, 9), // "cacheMode" |
57 | QT_MOC_LITERAL(250, 9), // "CacheMode" |
58 | QT_MOC_LITERAL(260, 10), // "MovieState" |
59 | QT_MOC_LITERAL(271, 10), // "NotRunning" |
60 | QT_MOC_LITERAL(282, 6), // "Paused" |
61 | QT_MOC_LITERAL(289, 7), // "Running" |
62 | QT_MOC_LITERAL(297, 9), // "CacheNone" |
63 | QT_MOC_LITERAL(307, 8) // "CacheAll" |
64 | |
65 | }, |
66 | "QMovie\0started\0\0resized\0size\0updated\0" |
67 | "rect\0stateChanged\0QMovie::MovieState\0" |
68 | "state\0error\0QImageReader::ImageReaderError\0" |
69 | "finished\0frameChanged\0frameNumber\0" |
70 | "start\0jumpToNextFrame\0setPaused\0paused\0" |
71 | "stop\0setSpeed\0percentSpeed\0_q_loadNextFrame\0" |
72 | "speed\0cacheMode\0CacheMode\0MovieState\0" |
73 | "NotRunning\0Paused\0Running\0CacheNone\0" |
74 | "CacheAll" |
75 | }; |
76 | #undef QT_MOC_LITERAL |
77 | |
78 | static const uint qt_meta_data_QMovie[] = { |
79 | |
80 | // content: |
81 | 9, // revision |
82 | 0, // classname |
83 | 0, 0, // classinfo |
84 | 13, 14, // methods |
85 | 2, 119, // properties |
86 | 2, 129, // enums/sets |
87 | 0, 0, // constructors |
88 | 0, // flags |
89 | 7, // signalCount |
90 | |
91 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
92 | 1, 0, 92, 2, 0x06, 2 /* Public */, |
93 | 3, 1, 93, 2, 0x06, 3 /* Public */, |
94 | 5, 1, 96, 2, 0x06, 5 /* Public */, |
95 | 7, 1, 99, 2, 0x06, 7 /* Public */, |
96 | 10, 1, 102, 2, 0x06, 9 /* Public */, |
97 | 12, 0, 105, 2, 0x06, 11 /* Public */, |
98 | 13, 1, 106, 2, 0x06, 12 /* Public */, |
99 | |
100 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
101 | 15, 0, 109, 2, 0x0a, 14 /* Public */, |
102 | 16, 0, 110, 2, 0x0a, 15 /* Public */, |
103 | 17, 1, 111, 2, 0x0a, 16 /* Public */, |
104 | 19, 0, 114, 2, 0x0a, 18 /* Public */, |
105 | 20, 1, 115, 2, 0x0a, 19 /* Public */, |
106 | 22, 0, 118, 2, 0x08, 21 /* Private */, |
107 | |
108 | // signals: parameters |
109 | QMetaType::Void, |
110 | QMetaType::Void, QMetaType::QSize, 4, |
111 | QMetaType::Void, QMetaType::QRect, 6, |
112 | QMetaType::Void, 0x80000000 | 8, 9, |
113 | QMetaType::Void, 0x80000000 | 11, 10, |
114 | QMetaType::Void, |
115 | QMetaType::Void, QMetaType::Int, 14, |
116 | |
117 | // slots: parameters |
118 | QMetaType::Void, |
119 | QMetaType::Bool, |
120 | QMetaType::Void, QMetaType::Bool, 18, |
121 | QMetaType::Void, |
122 | QMetaType::Void, QMetaType::Int, 21, |
123 | QMetaType::Void, |
124 | |
125 | // properties: name, type, flags |
126 | 23, QMetaType::Int, 0x00015103, uint(-1), 0, |
127 | 24, 0x80000000 | 25, 0x0001510b, uint(-1), 0, |
128 | |
129 | // enums: name, alias, flags, count, data |
130 | 26, 26, 0x0, 3, 139, |
131 | 25, 25, 0x0, 2, 145, |
132 | |
133 | // enum data: key, value |
134 | 27, uint(QMovie::NotRunning), |
135 | 28, uint(QMovie::Paused), |
136 | 29, uint(QMovie::Running), |
137 | 30, uint(QMovie::CacheNone), |
138 | 31, uint(QMovie::CacheAll), |
139 | |
140 | 0 // eod |
141 | }; |
142 | |
143 | void QMovie::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
144 | { |
145 | if (_c == QMetaObject::InvokeMetaMethod) { |
146 | Q_ASSERT(staticMetaObject.cast(_o)); |
147 | auto *_t = static_cast<QMovie *>(_o); |
148 | Q_UNUSED(_t) |
149 | switch (_id) { |
150 | case 0: _t->started(); break; |
151 | case 1: _t->resized((*reinterpret_cast< const QSize(*)>(_a[1]))); break; |
152 | case 2: _t->updated((*reinterpret_cast< const QRect(*)>(_a[1]))); break; |
153 | case 3: _t->stateChanged((*reinterpret_cast< QMovie::MovieState(*)>(_a[1]))); break; |
154 | case 4: _t->error((*reinterpret_cast< QImageReader::ImageReaderError(*)>(_a[1]))); break; |
155 | case 5: _t->finished(); break; |
156 | case 6: _t->frameChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
157 | case 7: _t->start(); break; |
158 | case 8: { bool _r = _t->jumpToNextFrame(); |
159 | if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break; |
160 | case 9: _t->setPaused((*reinterpret_cast< bool(*)>(_a[1]))); break; |
161 | case 10: _t->stop(); break; |
162 | case 11: _t->setSpeed((*reinterpret_cast< int(*)>(_a[1]))); break; |
163 | case 12: _t->d_func()->_q_loadNextFrame(); break; |
164 | default: ; |
165 | } |
166 | } else if (_c == QMetaObject::IndexOfMethod) { |
167 | int *result = reinterpret_cast<int *>(_a[0]); |
168 | { |
169 | using _t = void (QMovie::*)(); |
170 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMovie::started)) { |
171 | *result = 0; |
172 | return; |
173 | } |
174 | } |
175 | { |
176 | using _t = void (QMovie::*)(const QSize & ); |
177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMovie::resized)) { |
178 | *result = 1; |
179 | return; |
180 | } |
181 | } |
182 | { |
183 | using _t = void (QMovie::*)(const QRect & ); |
184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMovie::updated)) { |
185 | *result = 2; |
186 | return; |
187 | } |
188 | } |
189 | { |
190 | using _t = void (QMovie::*)(QMovie::MovieState ); |
191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMovie::stateChanged)) { |
192 | *result = 3; |
193 | return; |
194 | } |
195 | } |
196 | { |
197 | using _t = void (QMovie::*)(QImageReader::ImageReaderError ); |
198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMovie::error)) { |
199 | *result = 4; |
200 | return; |
201 | } |
202 | } |
203 | { |
204 | using _t = void (QMovie::*)(); |
205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMovie::finished)) { |
206 | *result = 5; |
207 | return; |
208 | } |
209 | } |
210 | { |
211 | using _t = void (QMovie::*)(int ); |
212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMovie::frameChanged)) { |
213 | *result = 6; |
214 | return; |
215 | } |
216 | } |
217 | } |
218 | #ifndef QT_NO_PROPERTIES |
219 | else if (_c == QMetaObject::ReadProperty) { |
220 | Q_ASSERT(staticMetaObject.cast(_o)); |
221 | auto *_t = static_cast<QMovie *>(_o); |
222 | Q_UNUSED(_t) |
223 | void *_v = _a[0]; |
224 | switch (_id) { |
225 | case 0: *reinterpret_cast< int*>(_v) = _t->speed(); break; |
226 | case 1: *reinterpret_cast< CacheMode*>(_v) = _t->cacheMode(); break; |
227 | default: break; |
228 | } |
229 | } else if (_c == QMetaObject::WriteProperty) { |
230 | Q_ASSERT(staticMetaObject.cast(_o)); |
231 | auto *_t = static_cast<QMovie *>(_o); |
232 | Q_UNUSED(_t) |
233 | void *_v = _a[0]; |
234 | switch (_id) { |
235 | case 0: _t->setSpeed(*reinterpret_cast< int*>(_v)); break; |
236 | case 1: _t->setCacheMode(*reinterpret_cast< CacheMode*>(_v)); break; |
237 | default: break; |
238 | } |
239 | } else if (_c == QMetaObject::ResetProperty) { |
240 | } else if (_c == QMetaObject::BindableProperty) { |
241 | } |
242 | #endif // QT_NO_PROPERTIES |
243 | } |
244 | |
245 | const QMetaObject QMovie::staticMetaObject = { { |
246 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
247 | qt_meta_stringdata_QMovie.offsetsAndSize, |
248 | qt_meta_data_QMovie, |
249 | qt_static_metacall, |
250 | nullptr, |
251 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QMovie_t |
252 | , QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<CacheMode, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QSize &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QRect &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QMovie::MovieState, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QImageReader::ImageReaderError, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
253 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
254 | |
255 | |
256 | >, |
257 | nullptr |
258 | } }; |
259 | |
260 | |
261 | const QMetaObject *QMovie::metaObject() const |
262 | { |
263 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
264 | } |
265 | |
266 | void *QMovie::qt_metacast(const char *_clname) |
267 | { |
268 | if (!_clname) return nullptr; |
269 | if (!strcmp(_clname, qt_meta_stringdata_QMovie.stringdata0)) |
270 | return static_cast<void*>(this); |
271 | return QObject::qt_metacast(_clname); |
272 | } |
273 | |
274 | int QMovie::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
275 | { |
276 | _id = QObject::qt_metacall(_c, _id, _a); |
277 | if (_id < 0) |
278 | return _id; |
279 | if (_c == QMetaObject::InvokeMetaMethod) { |
280 | if (_id < 13) |
281 | qt_static_metacall(this, _c, _id, _a); |
282 | _id -= 13; |
283 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
284 | if (_id < 13) |
285 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
286 | _id -= 13; |
287 | } |
288 | #ifndef QT_NO_PROPERTIES |
289 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
290 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
291 | || _c == QMetaObject::RegisterPropertyMetaType) { |
292 | qt_static_metacall(this, _c, _id, _a); |
293 | _id -= 2; |
294 | } |
295 | #endif // QT_NO_PROPERTIES |
296 | return _id; |
297 | } |
298 | |
299 | // SIGNAL 0 |
300 | void QMovie::started() |
301 | { |
302 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
303 | } |
304 | |
305 | // SIGNAL 1 |
306 | void QMovie::resized(const QSize & _t1) |
307 | { |
308 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
309 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
310 | } |
311 | |
312 | // SIGNAL 2 |
313 | void QMovie::updated(const QRect & _t1) |
314 | { |
315 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
316 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
317 | } |
318 | |
319 | // SIGNAL 3 |
320 | void QMovie::stateChanged(QMovie::MovieState _t1) |
321 | { |
322 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
323 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
324 | } |
325 | |
326 | // SIGNAL 4 |
327 | void QMovie::error(QImageReader::ImageReaderError _t1) |
328 | { |
329 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
330 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
331 | } |
332 | |
333 | // SIGNAL 5 |
334 | void QMovie::finished() |
335 | { |
336 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); |
337 | } |
338 | |
339 | // SIGNAL 6 |
340 | void QMovie::frameChanged(int _t1) |
341 | { |
342 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
343 | QMetaObject::activate(this, &staticMetaObject, 6, _a); |
344 | } |
345 | QT_WARNING_POP |
346 | QT_END_MOC_NAMESPACE |
347 | |