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.3)
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.3. 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 {
34struct qt_meta_tag_ZN11QmlProducerE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN11QmlProducerE = QtMocHelpers::stringData(
40 "QmlProducer",
41 "producerChanged",
42 "",
43 "positionChanged",
44 "position",
45 "seeked",
46 "inChanged",
47 "delta",
48 "outChanged",
49 "audioLevelsChanged",
50 "durationChanged",
51 "lengthChanged",
52 "setProducer",
53 "Mlt::Producer&",
54 "producer",
55 "remakeAudioLevels",
56 "isKeyframesVisible",
57 "audioLevelsReady",
58 "QPersistentModelIndex",
59 "index",
60 "get",
61 "name",
62 "getDouble",
63 "getRect",
64 "outOfBounds",
65 "newGlaxnimateFile",
66 "filename",
67 "launchGlaxnimate",
68 "in",
69 "out",
70 "aspectRatio",
71 "duration",
72 "length",
73 "resource",
74 "mlt_service",
75 "hash",
76 "audioLevels",
77 "QVariant",
78 "fadeIn",
79 "fadeOut",
80 "speed",
81 "displayAspectRatio"
82);
83#else // !QT_MOC_HAS_STRINGDATA
84#error "qtmochelpers.h not found or too old."
85#endif // !QT_MOC_HAS_STRINGDATA
86
87Q_CONSTINIT static const uint qt_meta_data_ZN11QmlProducerE[] = {
88
89 // content:
90 12, // revision
91 0, // classname
92 0, 0, // classinfo
93 22, 14, // methods
94 15, 204, // properties
95 0, 0, // enums/sets
96 0, 0, // constructors
97 0, // flags
98 8, // signalCount
99
100 // signals: name, argc, parameters, tag, flags, initial metatype offsets
101 1, 0, 146, 2, 0x06, 16 /* Public */,
102 3, 1, 147, 2, 0x06, 17 /* Public */,
103 5, 1, 150, 2, 0x06, 19 /* Public */,
104 6, 1, 153, 2, 0x06, 21 /* Public */,
105 8, 1, 156, 2, 0x06, 23 /* Public */,
106 9, 0, 159, 2, 0x06, 25 /* Public */,
107 10, 0, 160, 2, 0x06, 26 /* Public */,
108 11, 0, 161, 2, 0x06, 27 /* Public */,
109
110 // slots: name, argc, parameters, tag, flags, initial metatype offsets
111 12, 1, 162, 2, 0x0a, 28 /* Public */,
112 15, 1, 165, 2, 0x0a, 30 /* Public */,
113
114 // methods: name, argc, parameters, tag, flags, initial metatype offsets
115 17, 1, 168, 2, 0x02, 32 /* Public */,
116 15, 0, 171, 2, 0x02, 34 /* Public */,
117 20, 2, 172, 2, 0x02, 35 /* Public */,
118 20, 1, 177, 2, 0x22, 38 /* Public | MethodCloned */,
119 22, 2, 180, 2, 0x02, 40 /* Public */,
120 22, 1, 185, 2, 0x22, 43 /* Public | MethodCloned */,
121 23, 2, 188, 2, 0x02, 45 /* Public */,
122 23, 1, 193, 2, 0x22, 48 /* Public | MethodCloned */,
123 24, 0, 196, 2, 0x02, 50 /* Public */,
124 25, 1, 197, 2, 0x02, 51 /* Public */,
125 27, 1, 200, 2, 0x102, 53 /* Public | MethodIsConst */,
126 27, 0, 203, 2, 0x122, 55 /* Public | MethodCloned | MethodIsConst */,
127
128 // signals: parameters
129 QMetaType::Void,
130 QMetaType::Void, QMetaType::Int, 4,
131 QMetaType::Void, QMetaType::Int, 4,
132 QMetaType::Void, QMetaType::Int, 7,
133 QMetaType::Void, QMetaType::Int, 7,
134 QMetaType::Void,
135 QMetaType::Void,
136 QMetaType::Void,
137
138 // slots: parameters
139 QMetaType::Void, 0x80000000 | 13, 14,
140 QMetaType::Void, QMetaType::Bool, 16,
141
142 // methods: parameters
143 QMetaType::Void, 0x80000000 | 18, 19,
144 QMetaType::Void,
145 QMetaType::QString, QMetaType::QString, QMetaType::Int, 21, 4,
146 QMetaType::QString, QMetaType::QString, 21,
147 QMetaType::Double, QMetaType::QString, QMetaType::Int, 21, 4,
148 QMetaType::Double, QMetaType::QString, 21,
149 QMetaType::QRectF, QMetaType::QString, QMetaType::Int, 21, 4,
150 QMetaType::QRectF, QMetaType::QString, 21,
151 QMetaType::Bool,
152 QMetaType::Void, QMetaType::QString, 26,
153 QMetaType::Void, QMetaType::QString, 26,
154 QMetaType::Void,
155
156 // properties: name, type, flags, notifyId, revision
157 28, QMetaType::Int, 0x00015001, uint(3), 0,
158 29, QMetaType::Int, 0x00015001, uint(4), 0,
159 30, QMetaType::Int, 0x00015001, uint(0), 0,
160 31, QMetaType::Int, 0x00015001, uint(6), 0,
161 32, QMetaType::Int, 0x00015001, uint(7), 0,
162 33, QMetaType::QString, 0x00015001, uint(0), 0,
163 34, QMetaType::QString, 0x00015001, uint(0), 0,
164 35, QMetaType::QString, 0x00015001, uint(0), 0,
165 21, QMetaType::QString, 0x00015001, uint(0), 0,
166 36, 0x80000000 | 37, 0x00015009, uint(5), 0,
167 38, QMetaType::Int, 0x00015001, uint(0), 0,
168 39, QMetaType::Int, 0x00015001, uint(0), 0,
169 40, QMetaType::Double, 0x00015001, uint(0), 0,
170 4, QMetaType::Int, 0x00015103, uint(1), 0,
171 41, QMetaType::Double, 0x00015001, uint(0), 0,
172
173 0 // eod
174};
175
176Q_CONSTINIT const QMetaObject QmlProducer::staticMetaObject = { {
177 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
178 qt_meta_stringdata_ZN11QmlProducerE.offsetsAndSizes,
179 qt_meta_data_ZN11QmlProducerE,
180 qt_static_metacall,
181 nullptr,
182 qt_incomplete_metaTypeArray<qt_meta_tag_ZN11QmlProducerE_t,
183 // property 'in'
184 QtPrivate::TypeAndForceComplete<int, std::true_type>,
185 // property 'out'
186 QtPrivate::TypeAndForceComplete<int, std::true_type>,
187 // property 'aspectRatio'
188 QtPrivate::TypeAndForceComplete<int, std::true_type>,
189 // property 'duration'
190 QtPrivate::TypeAndForceComplete<int, std::true_type>,
191 // property 'length'
192 QtPrivate::TypeAndForceComplete<int, std::true_type>,
193 // property 'resource'
194 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
195 // property 'mlt_service'
196 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
197 // property 'hash'
198 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
199 // property 'name'
200 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
201 // property 'audioLevels'
202 QtPrivate::TypeAndForceComplete<QVariant, std::true_type>,
203 // property 'fadeIn'
204 QtPrivate::TypeAndForceComplete<int, std::true_type>,
205 // property 'fadeOut'
206 QtPrivate::TypeAndForceComplete<int, std::true_type>,
207 // property 'speed'
208 QtPrivate::TypeAndForceComplete<double, std::true_type>,
209 // property 'position'
210 QtPrivate::TypeAndForceComplete<int, std::true_type>,
211 // property 'displayAspectRatio'
212 QtPrivate::TypeAndForceComplete<double, std::true_type>,
213 // Q_OBJECT / Q_GADGET
214 QtPrivate::TypeAndForceComplete<QmlProducer, std::true_type>,
215 // method 'producerChanged'
216 QtPrivate::TypeAndForceComplete<void, std::false_type>,
217 // method 'positionChanged'
218 QtPrivate::TypeAndForceComplete<void, std::false_type>,
219 QtPrivate::TypeAndForceComplete<int, std::false_type>,
220 // method 'seeked'
221 QtPrivate::TypeAndForceComplete<void, std::false_type>,
222 QtPrivate::TypeAndForceComplete<int, std::false_type>,
223 // method 'inChanged'
224 QtPrivate::TypeAndForceComplete<void, std::false_type>,
225 QtPrivate::TypeAndForceComplete<int, std::false_type>,
226 // method 'outChanged'
227 QtPrivate::TypeAndForceComplete<void, std::false_type>,
228 QtPrivate::TypeAndForceComplete<int, std::false_type>,
229 // method 'audioLevelsChanged'
230 QtPrivate::TypeAndForceComplete<void, std::false_type>,
231 // method 'durationChanged'
232 QtPrivate::TypeAndForceComplete<void, std::false_type>,
233 // method 'lengthChanged'
234 QtPrivate::TypeAndForceComplete<void, std::false_type>,
235 // method 'setProducer'
236 QtPrivate::TypeAndForceComplete<void, std::false_type>,
237 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
238 // method 'remakeAudioLevels'
239 QtPrivate::TypeAndForceComplete<void, std::false_type>,
240 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
241 // method 'audioLevelsReady'
242 QtPrivate::TypeAndForceComplete<void, std::false_type>,
243 QtPrivate::TypeAndForceComplete<const QPersistentModelIndex &, std::false_type>,
244 // method 'remakeAudioLevels'
245 QtPrivate::TypeAndForceComplete<void, std::false_type>,
246 // method 'get'
247 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
248 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
249 QtPrivate::TypeAndForceComplete<int, std::false_type>,
250 // method 'get'
251 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
252 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
253 // method 'getDouble'
254 QtPrivate::TypeAndForceComplete<double, std::false_type>,
255 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
256 QtPrivate::TypeAndForceComplete<int, std::false_type>,
257 // method 'getDouble'
258 QtPrivate::TypeAndForceComplete<double, std::false_type>,
259 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
260 // method 'getRect'
261 QtPrivate::TypeAndForceComplete<QRectF, std::false_type>,
262 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
263 QtPrivate::TypeAndForceComplete<int, std::false_type>,
264 // method 'getRect'
265 QtPrivate::TypeAndForceComplete<QRectF, std::false_type>,
266 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
267 // method 'outOfBounds'
268 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
269 // method 'newGlaxnimateFile'
270 QtPrivate::TypeAndForceComplete<void, std::false_type>,
271 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
272 // method 'launchGlaxnimate'
273 QtPrivate::TypeAndForceComplete<void, std::false_type>,
274 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
275 // method 'launchGlaxnimate'
276 QtPrivate::TypeAndForceComplete<void, std::false_type>
277 >,
278 nullptr
279} };
280
281void QmlProducer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
282{
283 auto *_t = static_cast<QmlProducer *>(_o);
284 if (_c == QMetaObject::InvokeMetaMethod) {
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 }
318 if (_c == QMetaObject::IndexOfMethod) {
319 int *result = reinterpret_cast<int *>(_a[0]);
320 {
321 using _q_method_type = void (QmlProducer::*)();
322 if (_q_method_type _q_method = &QmlProducer::producerChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
323 *result = 0;
324 return;
325 }
326 }
327 {
328 using _q_method_type = void (QmlProducer::*)(int );
329 if (_q_method_type _q_method = &QmlProducer::positionChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
330 *result = 1;
331 return;
332 }
333 }
334 {
335 using _q_method_type = void (QmlProducer::*)(int );
336 if (_q_method_type _q_method = &QmlProducer::seeked; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
337 *result = 2;
338 return;
339 }
340 }
341 {
342 using _q_method_type = void (QmlProducer::*)(int );
343 if (_q_method_type _q_method = &QmlProducer::inChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
344 *result = 3;
345 return;
346 }
347 }
348 {
349 using _q_method_type = void (QmlProducer::*)(int );
350 if (_q_method_type _q_method = &QmlProducer::outChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
351 *result = 4;
352 return;
353 }
354 }
355 {
356 using _q_method_type = void (QmlProducer::*)();
357 if (_q_method_type _q_method = &QmlProducer::audioLevelsChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
358 *result = 5;
359 return;
360 }
361 }
362 {
363 using _q_method_type = void (QmlProducer::*)();
364 if (_q_method_type _q_method = &QmlProducer::durationChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
365 *result = 6;
366 return;
367 }
368 }
369 {
370 using _q_method_type = void (QmlProducer::*)();
371 if (_q_method_type _q_method = &QmlProducer::lengthChanged; *reinterpret_cast<_q_method_type *>(_a[1]) == _q_method) {
372 *result = 7;
373 return;
374 }
375 }
376 }
377 if (_c == QMetaObject::ReadProperty) {
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 }
398 if (_c == QMetaObject::WriteProperty) {
399 void *_v = _a[0];
400 switch (_id) {
401 case 13: _t->setPosition(*reinterpret_cast< int*>(_v)); break;
402 default: break;
403 }
404 }
405}
406
407const QMetaObject *QmlProducer::metaObject() const
408{
409 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
410}
411
412void *QmlProducer::qt_metacast(const char *_clname)
413{
414 if (!_clname) return nullptr;
415 if (!strcmp(_clname, qt_meta_stringdata_ZN11QmlProducerE.stringdata0))
416 return static_cast<void*>(this);
417 return QObject::qt_metacast(_clname);
418}
419
420int QmlProducer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
421{
422 _id = QObject::qt_metacall(_c, _id, _a);
423 if (_id < 0)
424 return _id;
425 if (_c == QMetaObject::InvokeMetaMethod) {
426 if (_id < 22)
427 qt_static_metacall(this, _c, _id, _a);
428 _id -= 22;
429 }
430 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
431 if (_id < 22)
432 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
433 _id -= 22;
434 }
435 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