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