CuteLogger
Fast and simple logging solution for Qt based applications
moc_qmlproducer.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'qmlproducer.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/qmltypes/qmlproducer.h"
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'qmlproducer.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.0. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSQmlProducerENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSQmlProducerENDCLASS = QtMocHelpers::stringData(
38 "QmlProducer",
39 "producerChanged",
40 "",
41 "positionChanged",
42 "position",
43 "seeked",
44 "inChanged",
45 "delta",
46 "outChanged",
47 "audioLevelsChanged",
48 "durationChanged",
49 "lengthChanged",
50 "setProducer",
51 "Mlt::Producer&",
52 "producer",
53 "remakeAudioLevels",
54 "isKeyframesVisible",
55 "audioLevelsReady",
56 "QPersistentModelIndex",
57 "index",
58 "get",
59 "name",
60 "getDouble",
61 "getRect",
62 "outOfBounds",
63 "newGlaxnimateFile",
64 "filename",
65 "launchGlaxnimate",
66 "in",
67 "out",
68 "aspectRatio",
69 "duration",
70 "length",
71 "resource",
72 "mlt_service",
73 "hash",
74 "audioLevels",
75 "QVariant",
76 "fadeIn",
77 "fadeOut",
78 "speed",
79 "displayAspectRatio"
80);
81#else // !QT_MOC_HAS_STRINGDATA
82#error "qtmochelpers.h not found or too old."
83#endif // !QT_MOC_HAS_STRINGDATA
84} // unnamed namespace
85
86Q_CONSTINIT static const uint qt_meta_data_CLASSQmlProducerENDCLASS[] = {
87
88 // content:
89 12, // revision
90 0, // classname
91 0, 0, // classinfo
92 22, 14, // methods
93 15, 204, // properties
94 0, 0, // enums/sets
95 0, 0, // constructors
96 0, // flags
97 8, // signalCount
98
99 // signals: name, argc, parameters, tag, flags, initial metatype offsets
100 1, 0, 146, 2, 0x06, 16 /* Public */,
101 3, 1, 147, 2, 0x06, 17 /* Public */,
102 5, 1, 150, 2, 0x06, 19 /* Public */,
103 6, 1, 153, 2, 0x06, 21 /* Public */,
104 8, 1, 156, 2, 0x06, 23 /* Public */,
105 9, 0, 159, 2, 0x06, 25 /* Public */,
106 10, 0, 160, 2, 0x06, 26 /* Public */,
107 11, 0, 161, 2, 0x06, 27 /* Public */,
108
109 // slots: name, argc, parameters, tag, flags, initial metatype offsets
110 12, 1, 162, 2, 0x0a, 28 /* Public */,
111 15, 1, 165, 2, 0x0a, 30 /* Public */,
112
113 // methods: name, argc, parameters, tag, flags, initial metatype offsets
114 17, 1, 168, 2, 0x02, 32 /* Public */,
115 15, 0, 171, 2, 0x02, 34 /* Public */,
116 20, 2, 172, 2, 0x02, 35 /* Public */,
117 20, 1, 177, 2, 0x22, 38 /* Public | MethodCloned */,
118 22, 2, 180, 2, 0x02, 40 /* Public */,
119 22, 1, 185, 2, 0x22, 43 /* Public | MethodCloned */,
120 23, 2, 188, 2, 0x02, 45 /* Public */,
121 23, 1, 193, 2, 0x22, 48 /* Public | MethodCloned */,
122 24, 0, 196, 2, 0x02, 50 /* Public */,
123 25, 1, 197, 2, 0x02, 51 /* Public */,
124 27, 1, 200, 2, 0x102, 53 /* Public | MethodIsConst */,
125 27, 0, 203, 2, 0x122, 55 /* Public | MethodCloned | MethodIsConst */,
126
127 // signals: parameters
128 QMetaType::Void,
129 QMetaType::Void, QMetaType::Int, 4,
130 QMetaType::Void, QMetaType::Int, 4,
131 QMetaType::Void, QMetaType::Int, 7,
132 QMetaType::Void, QMetaType::Int, 7,
133 QMetaType::Void,
134 QMetaType::Void,
135 QMetaType::Void,
136
137 // slots: parameters
138 QMetaType::Void, 0x80000000 | 13, 14,
139 QMetaType::Void, QMetaType::Bool, 16,
140
141 // methods: parameters
142 QMetaType::Void, 0x80000000 | 18, 19,
143 QMetaType::Void,
144 QMetaType::QString, QMetaType::QString, QMetaType::Int, 21, 4,
145 QMetaType::QString, QMetaType::QString, 21,
146 QMetaType::Double, QMetaType::QString, QMetaType::Int, 21, 4,
147 QMetaType::Double, QMetaType::QString, 21,
148 QMetaType::QRectF, QMetaType::QString, QMetaType::Int, 21, 4,
149 QMetaType::QRectF, QMetaType::QString, 21,
150 QMetaType::Bool,
151 QMetaType::Void, QMetaType::QString, 26,
152 QMetaType::Void, QMetaType::QString, 26,
153 QMetaType::Void,
154
155 // properties: name, type, flags, notifyId, revision
156 28, QMetaType::Int, 0x00015001, uint(3), 0,
157 29, QMetaType::Int, 0x00015001, uint(4), 0,
158 30, QMetaType::Int, 0x00015001, uint(0), 0,
159 31, QMetaType::Int, 0x00015001, uint(6), 0,
160 32, QMetaType::Int, 0x00015001, uint(7), 0,
161 33, QMetaType::QString, 0x00015001, uint(0), 0,
162 34, QMetaType::QString, 0x00015001, uint(0), 0,
163 35, QMetaType::QString, 0x00015001, uint(0), 0,
164 21, QMetaType::QString, 0x00015001, uint(0), 0,
165 36, 0x80000000 | 37, 0x00015009, uint(5), 0,
166 38, QMetaType::Int, 0x00015001, uint(0), 0,
167 39, QMetaType::Int, 0x00015001, uint(0), 0,
168 40, QMetaType::Double, 0x00015001, uint(0), 0,
169 4, QMetaType::Int, 0x00015103, uint(1), 0,
170 41, QMetaType::Double, 0x00015001, uint(0), 0,
171
172 0 // eod
173};
174
175Q_CONSTINIT const QMetaObject QmlProducer::staticMetaObject = { {
176 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
177 qt_meta_stringdata_CLASSQmlProducerENDCLASS.offsetsAndSizes,
178 qt_meta_data_CLASSQmlProducerENDCLASS,
179 qt_static_metacall,
180 nullptr,
181 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlProducerENDCLASS_t,
182 // property 'in'
183 QtPrivate::TypeAndForceComplete<int, std::true_type>,
184 // property 'out'
185 QtPrivate::TypeAndForceComplete<int, std::true_type>,
186 // property 'aspectRatio'
187 QtPrivate::TypeAndForceComplete<int, std::true_type>,
188 // property 'duration'
189 QtPrivate::TypeAndForceComplete<int, std::true_type>,
190 // property 'length'
191 QtPrivate::TypeAndForceComplete<int, std::true_type>,
192 // property 'resource'
193 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
194 // property 'mlt_service'
195 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
196 // property 'hash'
197 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
198 // property 'name'
199 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
200 // property 'audioLevels'
201 QtPrivate::TypeAndForceComplete<QVariant, std::true_type>,
202 // property 'fadeIn'
203 QtPrivate::TypeAndForceComplete<int, std::true_type>,
204 // property 'fadeOut'
205 QtPrivate::TypeAndForceComplete<int, std::true_type>,
206 // property 'speed'
207 QtPrivate::TypeAndForceComplete<double, std::true_type>,
208 // property 'position'
209 QtPrivate::TypeAndForceComplete<int, std::true_type>,
210 // property 'displayAspectRatio'
211 QtPrivate::TypeAndForceComplete<double, std::true_type>,
212 // Q_OBJECT / Q_GADGET
213 QtPrivate::TypeAndForceComplete<QmlProducer, std::true_type>,
214 // method 'producerChanged'
215 QtPrivate::TypeAndForceComplete<void, std::false_type>,
216 // method 'positionChanged'
217 QtPrivate::TypeAndForceComplete<void, std::false_type>,
218 QtPrivate::TypeAndForceComplete<int, std::false_type>,
219 // method 'seeked'
220 QtPrivate::TypeAndForceComplete<void, std::false_type>,
221 QtPrivate::TypeAndForceComplete<int, std::false_type>,
222 // method 'inChanged'
223 QtPrivate::TypeAndForceComplete<void, std::false_type>,
224 QtPrivate::TypeAndForceComplete<int, std::false_type>,
225 // method 'outChanged'
226 QtPrivate::TypeAndForceComplete<void, std::false_type>,
227 QtPrivate::TypeAndForceComplete<int, std::false_type>,
228 // method 'audioLevelsChanged'
229 QtPrivate::TypeAndForceComplete<void, std::false_type>,
230 // method 'durationChanged'
231 QtPrivate::TypeAndForceComplete<void, std::false_type>,
232 // method 'lengthChanged'
233 QtPrivate::TypeAndForceComplete<void, std::false_type>,
234 // method 'setProducer'
235 QtPrivate::TypeAndForceComplete<void, std::false_type>,
236 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
237 // method 'remakeAudioLevels'
238 QtPrivate::TypeAndForceComplete<void, std::false_type>,
239 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
240 // method 'audioLevelsReady'
241 QtPrivate::TypeAndForceComplete<void, std::false_type>,
242 QtPrivate::TypeAndForceComplete<const QPersistentModelIndex &, std::false_type>,
243 // method 'remakeAudioLevels'
244 QtPrivate::TypeAndForceComplete<void, std::false_type>,
245 // method 'get'
246 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
247 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
248 QtPrivate::TypeAndForceComplete<int, std::false_type>,
249 // method 'get'
250 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
251 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
252 // method 'getDouble'
253 QtPrivate::TypeAndForceComplete<double, std::false_type>,
254 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
255 QtPrivate::TypeAndForceComplete<int, std::false_type>,
256 // method 'getDouble'
257 QtPrivate::TypeAndForceComplete<double, std::false_type>,
258 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
259 // method 'getRect'
260 QtPrivate::TypeAndForceComplete<QRectF, std::false_type>,
261 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
262 QtPrivate::TypeAndForceComplete<int, std::false_type>,
263 // method 'getRect'
264 QtPrivate::TypeAndForceComplete<QRectF, std::false_type>,
265 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
266 // method 'outOfBounds'
267 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
268 // method 'newGlaxnimateFile'
269 QtPrivate::TypeAndForceComplete<void, std::false_type>,
270 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
271 // method 'launchGlaxnimate'
272 QtPrivate::TypeAndForceComplete<void, std::false_type>,
273 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
274 // method 'launchGlaxnimate'
275 QtPrivate::TypeAndForceComplete<void, std::false_type>
276 >,
277 nullptr
278} };
279
280void QmlProducer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
281{
282 if (_c == QMetaObject::InvokeMetaMethod) {
283 auto *_t = static_cast<QmlProducer *>(_o);
284 (void)_t;
285 switch (_id) {
286 case 0: _t->producerChanged(); break;
287 case 1: _t->positionChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
288 case 2: _t->seeked((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
289 case 3: _t->inChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
290 case 4: _t->outChanged((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
291 case 5: _t->audioLevelsChanged(); break;
292 case 6: _t->durationChanged(); break;
293 case 7: _t->lengthChanged(); break;
294 case 8: _t->setProducer((*reinterpret_cast< std::add_pointer_t<Mlt::Producer&>>(_a[1]))); break;
295 case 9: _t->remakeAudioLevels((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
296 case 10: _t->audioLevelsReady((*reinterpret_cast< std::add_pointer_t<QPersistentModelIndex>>(_a[1]))); break;
297 case 11: _t->remakeAudioLevels(); break;
298 case 12: { QString _r = _t->get((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])));
299 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
300 case 13: { QString _r = _t->get((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
301 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
302 case 14: { double _r = _t->getDouble((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])));
303 if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); } break;
304 case 15: { double _r = _t->getDouble((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
305 if (_a[0]) *reinterpret_cast< double*>(_a[0]) = std::move(_r); } break;
306 case 16: { QRectF _r = _t->getRect((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])));
307 if (_a[0]) *reinterpret_cast< QRectF*>(_a[0]) = std::move(_r); } break;
308 case 17: { QRectF _r = _t->getRect((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
309 if (_a[0]) *reinterpret_cast< QRectF*>(_a[0]) = std::move(_r); } break;
310 case 18: { bool _r = _t->outOfBounds();
311 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
312 case 19: _t->newGlaxnimateFile((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
313 case 20: _t->launchGlaxnimate((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
314 case 21: _t->launchGlaxnimate(); break;
315 default: ;
316 }
317 } else if (_c == QMetaObject::IndexOfMethod) {
318 int *result = reinterpret_cast<int *>(_a[0]);
319 {
320 using _t = void (QmlProducer::*)();
321 if (_t _q_method = &QmlProducer::producerChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
322 *result = 0;
323 return;
324 }
325 }
326 {
327 using _t = void (QmlProducer::*)(int );
328 if (_t _q_method = &QmlProducer::positionChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
329 *result = 1;
330 return;
331 }
332 }
333 {
334 using _t = void (QmlProducer::*)(int );
335 if (_t _q_method = &QmlProducer::seeked; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
336 *result = 2;
337 return;
338 }
339 }
340 {
341 using _t = void (QmlProducer::*)(int );
342 if (_t _q_method = &QmlProducer::inChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
343 *result = 3;
344 return;
345 }
346 }
347 {
348 using _t = void (QmlProducer::*)(int );
349 if (_t _q_method = &QmlProducer::outChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
350 *result = 4;
351 return;
352 }
353 }
354 {
355 using _t = void (QmlProducer::*)();
356 if (_t _q_method = &QmlProducer::audioLevelsChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
357 *result = 5;
358 return;
359 }
360 }
361 {
362 using _t = void (QmlProducer::*)();
363 if (_t _q_method = &QmlProducer::durationChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
364 *result = 6;
365 return;
366 }
367 }
368 {
369 using _t = void (QmlProducer::*)();
370 if (_t _q_method = &QmlProducer::lengthChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
371 *result = 7;
372 return;
373 }
374 }
375 } else if (_c == QMetaObject::ReadProperty) {
376 auto *_t = static_cast<QmlProducer *>(_o);
377 (void)_t;
378 void *_v = _a[0];
379 switch (_id) {
380 case 0: *reinterpret_cast< int*>(_v) = _t->in(); break;
381 case 1: *reinterpret_cast< int*>(_v) = _t->out(); break;
382 case 2: *reinterpret_cast< int*>(_v) = _t->aspectRatio(); break;
383 case 3: *reinterpret_cast< int*>(_v) = _t->duration(); break;
384 case 4: *reinterpret_cast< int*>(_v) = _t->length(); break;
385 case 5: *reinterpret_cast< QString*>(_v) = _t->resource(); break;
386 case 6: *reinterpret_cast< QString*>(_v) = _t->mlt_service(); break;
387 case 7: *reinterpret_cast< QString*>(_v) = _t->hash(); break;
388 case 8: *reinterpret_cast< QString*>(_v) = _t->name(); break;
389 case 9: *reinterpret_cast< QVariant*>(_v) = _t->audioLevels(); break;
390 case 10: *reinterpret_cast< int*>(_v) = _t->fadeIn(); break;
391 case 11: *reinterpret_cast< int*>(_v) = _t->fadeOut(); break;
392 case 12: *reinterpret_cast< double*>(_v) = _t->speed(); break;
393 case 13: *reinterpret_cast< int*>(_v) = _t->position(); break;
394 case 14: *reinterpret_cast< double*>(_v) = _t->displayAspectRatio(); break;
395 default: break;
396 }
397 } else if (_c == QMetaObject::WriteProperty) {
398 auto *_t = static_cast<QmlProducer *>(_o);
399 (void)_t;
400 void *_v = _a[0];
401 switch (_id) {
402 case 13: _t->setPosition(*reinterpret_cast< int*>(_v)); break;
403 default: break;
404 }
405 } else if (_c == QMetaObject::ResetProperty) {
406 } else if (_c == QMetaObject::BindableProperty) {
407 }
408}
409
410const QMetaObject *QmlProducer::metaObject() const
411{
412 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
413}
414
415void *QmlProducer::qt_metacast(const char *_clname)
416{
417 if (!_clname) return nullptr;
418 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlProducerENDCLASS.stringdata0))
419 return static_cast<void*>(this);
420 return QObject::qt_metacast(_clname);
421}
422
423int QmlProducer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
424{
425 _id = QObject::qt_metacall(_c, _id, _a);
426 if (_id < 0)
427 return _id;
428 if (_c == QMetaObject::InvokeMetaMethod) {
429 if (_id < 22)
430 qt_static_metacall(this, _c, _id, _a);
431 _id -= 22;
432 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
433 if (_id < 22)
434 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
435 _id -= 22;
436 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
437 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
438 || _c == QMetaObject::RegisterPropertyMetaType) {
439 qt_static_metacall(this, _c, _id, _a);
440 _id -= 15;
441 }
442 return _id;
443}
444
445// SIGNAL 0
446void QmlProducer::producerChanged()
447{
448 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
449}
450
451// SIGNAL 1
452void QmlProducer::positionChanged(int _t1)
453{
454 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
455 QMetaObject::activate(this, &staticMetaObject, 1, _a);
456}
457
458// SIGNAL 2
459void QmlProducer::seeked(int _t1)
460{
461 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
462 QMetaObject::activate(this, &staticMetaObject, 2, _a);
463}
464
465// SIGNAL 3
466void QmlProducer::inChanged(int _t1)
467{
468 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
469 QMetaObject::activate(this, &staticMetaObject, 3, _a);
470}
471
472// SIGNAL 4
473void QmlProducer::outChanged(int _t1)
474{
475 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
476 QMetaObject::activate(this, &staticMetaObject, 4, _a);
477}
478
479// SIGNAL 5
480void QmlProducer::audioLevelsChanged()
481{
482 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
483}
484
485// SIGNAL 6
486void QmlProducer::durationChanged()
487{
488 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
489}
490
491// SIGNAL 7
492void QmlProducer::lengthChanged()
493{
494 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
495}
496QT_WARNING_POP