CuteLogger
Fast and simple logging solution for Qt based applications
moc_qmlmetadata.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'qmlmetadata.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.7.1)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/qmltypes/qmlmetadata.h"
10#include <QtCore/qmetatype.h>
11#include <QtCore/QList>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'qmlmetadata.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 68
22#error "This file was generated using the moc from 6.7.1. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
32QT_WARNING_DISABLE_DEPRECATED
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
35
36#ifdef QT_MOC_HAS_STRINGDATA
37struct qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS_t {};
38constexpr auto qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS = QtMocHelpers::stringData(
39 "QmlKeyframesParameter",
40 "changed",
41 "",
42 "rangeType",
43 "RangeType",
44 "name",
45 "property",
46 "gangedProperties",
47 "isCurve",
48 "minimum",
49 "maximum",
50 "units",
51 "isRectangle",
52 "isColor",
53 "MinMax",
54 "ClipLength"
55);
56#else // !QT_MOC_HAS_STRINGDATA
57#error "qtmochelpers.h not found or too old."
58#endif // !QT_MOC_HAS_STRINGDATA
59} // unnamed namespace
60
61Q_CONSTINIT static const uint qt_meta_data_CLASSQmlKeyframesParameterENDCLASS[] = {
62
63 // content:
64 12, // revision
65 0, // classname
66 0, 0, // classinfo
67 1, 14, // methods
68 10, 21, // properties
69 1, 71, // enums/sets
70 0, 0, // constructors
71 0, // flags
72 1, // signalCount
73
74 // signals: name, argc, parameters, tag, flags, initial metatype offsets
75 1, 0, 20, 2, 0x06, 12 /* Public */,
76
77 // signals: parameters
78 QMetaType::Void,
79
80 // properties: name, type, flags
81 3, 0x80000000 | 4, 0x0001500b, uint(0), 0,
82 5, QMetaType::QString, 0x00015003, uint(0), 0,
83 6, QMetaType::QString, 0x00015003, uint(0), 0,
84 7, QMetaType::QStringList, 0x00015003, uint(0), 0,
85 8, QMetaType::Bool, 0x00015003, uint(0), 0,
86 9, QMetaType::Double, 0x00015003, uint(0), 0,
87 10, QMetaType::Double, 0x00015003, uint(0), 0,
88 11, QMetaType::QString, 0x00015003, uint(0), 0,
89 12, QMetaType::Bool, 0x00015003, uint(0), 0,
90 13, QMetaType::Bool, 0x00015003, uint(0), 0,
91
92 // enums: name, alias, flags, count, data
93 4, 4, 0x0, 2, 76,
94
95 // enum data: key, value
96 14, uint(QmlKeyframesParameter::MinMax),
97 15, uint(QmlKeyframesParameter::ClipLength),
98
99 0 // eod
100};
101
102Q_CONSTINIT const QMetaObject QmlKeyframesParameter::staticMetaObject = { {
103 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
104 qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS.offsetsAndSizes,
105 qt_meta_data_CLASSQmlKeyframesParameterENDCLASS,
106 qt_static_metacall,
107 nullptr,
108 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS_t,
109 // property 'rangeType'
110 QtPrivate::TypeAndForceComplete<RangeType, std::true_type>,
111 // property 'name'
112 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
113 // property 'property'
114 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
115 // property 'gangedProperties'
116 QtPrivate::TypeAndForceComplete<QStringList, std::true_type>,
117 // property 'isCurve'
118 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
119 // property 'minimum'
120 QtPrivate::TypeAndForceComplete<double, std::true_type>,
121 // property 'maximum'
122 QtPrivate::TypeAndForceComplete<double, std::true_type>,
123 // property 'units'
124 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
125 // property 'isRectangle'
126 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
127 // property 'isColor'
128 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
129 // enum 'RangeType'
130 QtPrivate::TypeAndForceComplete<QmlKeyframesParameter::RangeType, std::true_type>,
131 // Q_OBJECT / Q_GADGET
132 QtPrivate::TypeAndForceComplete<QmlKeyframesParameter, std::true_type>,
133 // method 'changed'
134 QtPrivate::TypeAndForceComplete<void, std::false_type>
135 >,
136 nullptr
137} };
138
139void QmlKeyframesParameter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
140{
141 if (_c == QMetaObject::InvokeMetaMethod) {
142 auto *_t = static_cast<QmlKeyframesParameter *>(_o);
143 (void)_t;
144 switch (_id) {
145 case 0: _t->changed(); break;
146 default: ;
147 }
148 } else if (_c == QMetaObject::IndexOfMethod) {
149 int *result = reinterpret_cast<int *>(_a[0]);
150 {
151 using _t = void (QmlKeyframesParameter::*)();
152 if (_t _q_method = &QmlKeyframesParameter::changed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
153 *result = 0;
154 return;
155 }
156 }
157 } else if (_c == QMetaObject::ReadProperty) {
158 auto *_t = static_cast<QmlKeyframesParameter *>(_o);
159 (void)_t;
160 void *_v = _a[0];
161 switch (_id) {
162 case 0: *reinterpret_cast< RangeType*>(_v) = _t->m_rangeType; break;
163 case 1: *reinterpret_cast< QString*>(_v) = _t->m_name; break;
164 case 2: *reinterpret_cast< QString*>(_v) = _t->m_property; break;
165 case 3: *reinterpret_cast< QStringList*>(_v) = _t->m_gangedProperties; break;
166 case 4: *reinterpret_cast< bool*>(_v) = _t->m_isCurve; break;
167 case 5: *reinterpret_cast< double*>(_v) = _t->m_minimum; break;
168 case 6: *reinterpret_cast< double*>(_v) = _t->m_maximum; break;
169 case 7: *reinterpret_cast< QString*>(_v) = _t->m_units; break;
170 case 8: *reinterpret_cast< bool*>(_v) = _t->m_isRectangle; break;
171 case 9: *reinterpret_cast< bool*>(_v) = _t->m_isColor; break;
172 default: break;
173 }
174 } else if (_c == QMetaObject::WriteProperty) {
175 auto *_t = static_cast<QmlKeyframesParameter *>(_o);
176 (void)_t;
177 void *_v = _a[0];
178 switch (_id) {
179 case 0:
180 if (_t->m_rangeType != *reinterpret_cast< RangeType*>(_v)) {
181 _t->m_rangeType = *reinterpret_cast< RangeType*>(_v);
182 Q_EMIT _t->changed();
183 }
184 break;
185 case 1:
186 if (_t->m_name != *reinterpret_cast< QString*>(_v)) {
187 _t->m_name = *reinterpret_cast< QString*>(_v);
188 Q_EMIT _t->changed();
189 }
190 break;
191 case 2:
192 if (_t->m_property != *reinterpret_cast< QString*>(_v)) {
193 _t->m_property = *reinterpret_cast< QString*>(_v);
194 Q_EMIT _t->changed();
195 }
196 break;
197 case 3:
198 if (_t->m_gangedProperties != *reinterpret_cast< QStringList*>(_v)) {
199 _t->m_gangedProperties = *reinterpret_cast< QStringList*>(_v);
200 Q_EMIT _t->changed();
201 }
202 break;
203 case 4:
204 if (_t->m_isCurve != *reinterpret_cast< bool*>(_v)) {
205 _t->m_isCurve = *reinterpret_cast< bool*>(_v);
206 Q_EMIT _t->changed();
207 }
208 break;
209 case 5:
210 if (_t->m_minimum != *reinterpret_cast< double*>(_v)) {
211 _t->m_minimum = *reinterpret_cast< double*>(_v);
212 Q_EMIT _t->changed();
213 }
214 break;
215 case 6:
216 if (_t->m_maximum != *reinterpret_cast< double*>(_v)) {
217 _t->m_maximum = *reinterpret_cast< double*>(_v);
218 Q_EMIT _t->changed();
219 }
220 break;
221 case 7:
222 if (_t->m_units != *reinterpret_cast< QString*>(_v)) {
223 _t->m_units = *reinterpret_cast< QString*>(_v);
224 Q_EMIT _t->changed();
225 }
226 break;
227 case 8:
228 if (_t->m_isRectangle != *reinterpret_cast< bool*>(_v)) {
229 _t->m_isRectangle = *reinterpret_cast< bool*>(_v);
230 Q_EMIT _t->changed();
231 }
232 break;
233 case 9:
234 if (_t->m_isColor != *reinterpret_cast< bool*>(_v)) {
235 _t->m_isColor = *reinterpret_cast< bool*>(_v);
236 Q_EMIT _t->changed();
237 }
238 break;
239 default: break;
240 }
241 } else if (_c == QMetaObject::ResetProperty) {
242 } else if (_c == QMetaObject::BindableProperty) {
243 }
244 (void)_a;
245}
246
247const QMetaObject *QmlKeyframesParameter::metaObject() const
248{
249 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
250}
251
252void *QmlKeyframesParameter::qt_metacast(const char *_clname)
253{
254 if (!_clname) return nullptr;
255 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS.stringdata0))
256 return static_cast<void*>(this);
257 return QObject::qt_metacast(_clname);
258}
259
260int QmlKeyframesParameter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
261{
262 _id = QObject::qt_metacall(_c, _id, _a);
263 if (_id < 0)
264 return _id;
265 if (_c == QMetaObject::InvokeMetaMethod) {
266 if (_id < 1)
267 qt_static_metacall(this, _c, _id, _a);
268 _id -= 1;
269 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
270 if (_id < 1)
271 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
272 _id -= 1;
273 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
274 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
275 || _c == QMetaObject::RegisterPropertyMetaType) {
276 qt_static_metacall(this, _c, _id, _a);
277 _id -= 10;
278 }
279 return _id;
280}
281
282// SIGNAL 0
283void QmlKeyframesParameter::changed()
284{
285 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
286}
287namespace {
288
289#ifdef QT_MOC_HAS_STRINGDATA
290struct qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS_t {};
291constexpr auto qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS = QtMocHelpers::stringData(
292 "QmlKeyframesMetadata",
293 "changed",
294 "",
295 "parameter",
296 "QmlKeyframesParameter*",
297 "propertyName",
298 "allowTrim",
299 "allowAnimateIn",
300 "allowAnimateOut",
301 "parameters",
302 "QQmlListProperty<QmlKeyframesParameter>",
303 "simpleProperties",
304 "minimumVersion",
305 "enabled",
306 "allowOvershoot"
307);
308#else // !QT_MOC_HAS_STRINGDATA
309#error "qtmochelpers.h not found or too old."
310#endif // !QT_MOC_HAS_STRINGDATA
311} // unnamed namespace
312
313Q_CONSTINIT static const uint qt_meta_data_CLASSQmlKeyframesMetadataENDCLASS[] = {
314
315 // content:
316 12, // revision
317 0, // classname
318 0, 0, // classinfo
319 2, 14, // methods
320 8, 30, // properties
321 0, 0, // enums/sets
322 0, 0, // constructors
323 0, // flags
324 1, // signalCount
325
326 // signals: name, argc, parameters, tag, flags, initial metatype offsets
327 1, 0, 26, 2, 0x06, 9 /* Public */,
328
329 // methods: name, argc, parameters, tag, flags, initial metatype offsets
330 3, 1, 27, 2, 0x102, 10 /* Public | MethodIsConst */,
331
332 // signals: parameters
333 QMetaType::Void,
334
335 // methods: parameters
336 0x80000000 | 4, QMetaType::QString, 5,
337
338 // properties: name, type, flags
339 6, QMetaType::Bool, 0x00015003, uint(0), 0,
340 7, QMetaType::Bool, 0x00015003, uint(0), 0,
341 8, QMetaType::Bool, 0x00015003, uint(0), 0,
342 9, 0x80000000 | 10, 0x00015009, uint(0), 0,
343 11, QMetaType::QStringList, 0x00015003, uint(0), 0,
344 12, QMetaType::QString, 0x00015003, uint(0), 0,
345 13, QMetaType::Bool, 0x00015003, uint(0), 0,
346 14, QMetaType::Bool, 0x00015003, uint(0), 0,
347
348 0 // eod
349};
350
351Q_CONSTINIT const QMetaObject QmlKeyframesMetadata::staticMetaObject = { {
352 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
353 qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS.offsetsAndSizes,
354 qt_meta_data_CLASSQmlKeyframesMetadataENDCLASS,
355 qt_static_metacall,
356 nullptr,
357 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS_t,
358 // property 'allowTrim'
359 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
360 // property 'allowAnimateIn'
361 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
362 // property 'allowAnimateOut'
363 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
364 // property 'parameters'
365 QtPrivate::TypeAndForceComplete<QQmlListProperty<QmlKeyframesParameter>, std::true_type>,
366 // property 'simpleProperties'
367 QtPrivate::TypeAndForceComplete<QList<QString>, std::true_type>,
368 // property 'minimumVersion'
369 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
370 // property 'enabled'
371 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
372 // property 'allowOvershoot'
373 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
374 // Q_OBJECT / Q_GADGET
375 QtPrivate::TypeAndForceComplete<QmlKeyframesMetadata, std::true_type>,
376 // method 'changed'
377 QtPrivate::TypeAndForceComplete<void, std::false_type>,
378 // method 'parameter'
379 QtPrivate::TypeAndForceComplete<QmlKeyframesParameter *, std::false_type>,
380 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
381 >,
382 nullptr
383} };
384
385void QmlKeyframesMetadata::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
386{
387 if (_c == QMetaObject::InvokeMetaMethod) {
388 auto *_t = static_cast<QmlKeyframesMetadata *>(_o);
389 (void)_t;
390 switch (_id) {
391 case 0: _t->changed(); break;
392 case 1: { QmlKeyframesParameter* _r = _t->parameter((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
393 if (_a[0]) *reinterpret_cast< QmlKeyframesParameter**>(_a[0]) = std::move(_r); } break;
394 default: ;
395 }
396 } else if (_c == QMetaObject::IndexOfMethod) {
397 int *result = reinterpret_cast<int *>(_a[0]);
398 {
399 using _t = void (QmlKeyframesMetadata::*)();
400 if (_t _q_method = &QmlKeyframesMetadata::changed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
401 *result = 0;
402 return;
403 }
404 }
405 } else if (_c == QMetaObject::ReadProperty) {
406 auto *_t = static_cast<QmlKeyframesMetadata *>(_o);
407 (void)_t;
408 void *_v = _a[0];
409 switch (_id) {
410 case 0: *reinterpret_cast< bool*>(_v) = _t->m_allowTrim; break;
411 case 1: *reinterpret_cast< bool*>(_v) = _t->m_allowAnimateIn; break;
412 case 2: *reinterpret_cast< bool*>(_v) = _t->m_allowAnimateOut; break;
413 case 3: *reinterpret_cast< QQmlListProperty<QmlKeyframesParameter>*>(_v) = _t->parameters(); break;
414 case 4: *reinterpret_cast< QList<QString>*>(_v) = _t->m_simpleProperties; break;
415 case 5: *reinterpret_cast< QString*>(_v) = _t->m_minimumVersion; break;
416 case 6: *reinterpret_cast< bool*>(_v) = _t->m_enabled; break;
417 case 7: *reinterpret_cast< bool*>(_v) = _t->m_allowOvershoot; break;
418 default: break;
419 }
420 } else if (_c == QMetaObject::WriteProperty) {
421 auto *_t = static_cast<QmlKeyframesMetadata *>(_o);
422 (void)_t;
423 void *_v = _a[0];
424 switch (_id) {
425 case 0:
426 if (_t->m_allowTrim != *reinterpret_cast< bool*>(_v)) {
427 _t->m_allowTrim = *reinterpret_cast< bool*>(_v);
428 Q_EMIT _t->changed();
429 }
430 break;
431 case 1:
432 if (_t->m_allowAnimateIn != *reinterpret_cast< bool*>(_v)) {
433 _t->m_allowAnimateIn = *reinterpret_cast< bool*>(_v);
434 Q_EMIT _t->changed();
435 }
436 break;
437 case 2:
438 if (_t->m_allowAnimateOut != *reinterpret_cast< bool*>(_v)) {
439 _t->m_allowAnimateOut = *reinterpret_cast< bool*>(_v);
440 Q_EMIT _t->changed();
441 }
442 break;
443 case 4:
444 if (_t->m_simpleProperties != *reinterpret_cast< QList<QString>*>(_v)) {
445 _t->m_simpleProperties = *reinterpret_cast< QList<QString>*>(_v);
446 Q_EMIT _t->changed();
447 }
448 break;
449 case 5:
450 if (_t->m_minimumVersion != *reinterpret_cast< QString*>(_v)) {
451 _t->m_minimumVersion = *reinterpret_cast< QString*>(_v);
452 Q_EMIT _t->changed();
453 }
454 break;
455 case 6:
456 if (_t->m_enabled != *reinterpret_cast< bool*>(_v)) {
457 _t->m_enabled = *reinterpret_cast< bool*>(_v);
458 Q_EMIT _t->changed();
459 }
460 break;
461 case 7:
462 if (_t->m_allowOvershoot != *reinterpret_cast< bool*>(_v)) {
463 _t->m_allowOvershoot = *reinterpret_cast< bool*>(_v);
464 Q_EMIT _t->changed();
465 }
466 break;
467 default: break;
468 }
469 } else if (_c == QMetaObject::ResetProperty) {
470 } else if (_c == QMetaObject::BindableProperty) {
471 }
472}
473
474const QMetaObject *QmlKeyframesMetadata::metaObject() const
475{
476 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
477}
478
479void *QmlKeyframesMetadata::qt_metacast(const char *_clname)
480{
481 if (!_clname) return nullptr;
482 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS.stringdata0))
483 return static_cast<void*>(this);
484 return QObject::qt_metacast(_clname);
485}
486
487int QmlKeyframesMetadata::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
488{
489 _id = QObject::qt_metacall(_c, _id, _a);
490 if (_id < 0)
491 return _id;
492 if (_c == QMetaObject::InvokeMetaMethod) {
493 if (_id < 2)
494 qt_static_metacall(this, _c, _id, _a);
495 _id -= 2;
496 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
497 if (_id < 2)
498 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
499 _id -= 2;
500 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
501 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
502 || _c == QMetaObject::RegisterPropertyMetaType) {
503 qt_static_metacall(this, _c, _id, _a);
504 _id -= 8;
505 }
506 return _id;
507}
508
509// SIGNAL 0
510void QmlKeyframesMetadata::changed()
511{
512 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
513}
514namespace {
515
516#ifdef QT_MOC_HAS_STRINGDATA
517struct qt_meta_stringdata_CLASSQmlMetadataENDCLASS_t {};
518constexpr auto qt_meta_stringdata_CLASSQmlMetadataENDCLASS = QtMocHelpers::stringData(
519 "QmlMetadata",
520 "changed",
521 "",
522 "type",
523 "PluginType",
524 "name",
525 "mlt_service",
526 "needsGPU",
527 "qml",
528 "vui",
529 "qmlFilePath",
530 "vuiFilePath",
531 "isAudio",
532 "isHidden",
533 "isFavorite",
534 "gpuAlt",
535 "allowMultiple",
536 "isClipOnly",
537 "isTrackOnly",
538 "isGpuCompatible",
539 "keyframes",
540 "QmlKeyframesMetadata*",
541 "isDeprecated",
542 "minimumVersion",
543 "keywords",
544 "icon",
545 "seekReverse",
546 "Filter",
547 "Producer",
548 "Transition",
549 "Link",
550 "FilterSet"
551);
552#else // !QT_MOC_HAS_STRINGDATA
553#error "qtmochelpers.h not found or too old."
554#endif // !QT_MOC_HAS_STRINGDATA
555} // unnamed namespace
556
557Q_CONSTINIT static const uint qt_meta_data_CLASSQmlMetadataENDCLASS[] = {
558
559 // content:
560 12, // revision
561 0, // classname
562 0, 0, // classinfo
563 1, 14, // methods
564 22, 21, // properties
565 1, 131, // enums/sets
566 0, 0, // constructors
567 0, // flags
568 1, // signalCount
569
570 // signals: name, argc, parameters, tag, flags, initial metatype offsets
571 1, 0, 20, 2, 0x06, 24 /* Public */,
572
573 // signals: parameters
574 QMetaType::Void,
575
576 // properties: name, type, flags
577 3, 0x80000000 | 4, 0x0001510b, uint(0), 0,
578 5, QMetaType::QString, 0x00015103, uint(0), 0,
579 6, QMetaType::QString, 0x00015003, uint(0), 0,
580 7, QMetaType::Bool, 0x00015103, uint(0), 0,
581 8, QMetaType::QString, 0x00015003, uint(0), 0,
582 9, QMetaType::QString, 0x00015003, uint(0), 0,
583 10, QMetaType::QUrl, 0x00015001, uint(0), 0,
584 11, QMetaType::QUrl, 0x00015001, uint(0), 0,
585 12, QMetaType::Bool, 0x00015103, uint(0), 0,
586 13, QMetaType::Bool, 0x00015103, uint(0), 0,
587 14, QMetaType::Bool, 0x00015103, uint(0), 0,
588 15, QMetaType::QString, 0x00015103, uint(0), 0,
589 16, QMetaType::Bool, 0x00015103, uint(0), 0,
590 17, QMetaType::Bool, 0x00015103, uint(0), 0,
591 18, QMetaType::Bool, 0x00015103, uint(0), 0,
592 19, QMetaType::Bool, 0x00015103, uint(0), 0,
593 20, 0x80000000 | 21, 0x00015009, uint(0), 0,
594 22, QMetaType::Bool, 0x00015103, uint(0), 0,
595 23, QMetaType::QString, 0x00015003, uint(0), 0,
596 24, QMetaType::QString, 0x00015003, uint(0), 0,
597 25, QMetaType::QString, 0x00015003, uint(0), 0,
598 26, QMetaType::Bool, 0x00015003, uint(0), 0,
599
600 // enums: name, alias, flags, count, data
601 4, 4, 0x0, 5, 136,
602
603 // enum data: key, value
604 27, uint(QmlMetadata::Filter),
605 28, uint(QmlMetadata::Producer),
606 29, uint(QmlMetadata::Transition),
607 30, uint(QmlMetadata::Link),
608 31, uint(QmlMetadata::FilterSet),
609
610 0 // eod
611};
612
613Q_CONSTINIT const QMetaObject QmlMetadata::staticMetaObject = { {
614 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
615 qt_meta_stringdata_CLASSQmlMetadataENDCLASS.offsetsAndSizes,
616 qt_meta_data_CLASSQmlMetadataENDCLASS,
617 qt_static_metacall,
618 nullptr,
619 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlMetadataENDCLASS_t,
620 // property 'type'
621 QtPrivate::TypeAndForceComplete<PluginType, std::true_type>,
622 // property 'name'
623 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
624 // property 'mlt_service'
625 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
626 // property 'needsGPU'
627 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
628 // property 'qml'
629 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
630 // property 'vui'
631 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
632 // property 'qmlFilePath'
633 QtPrivate::TypeAndForceComplete<QUrl, std::true_type>,
634 // property 'vuiFilePath'
635 QtPrivate::TypeAndForceComplete<QUrl, std::true_type>,
636 // property 'isAudio'
637 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
638 // property 'isHidden'
639 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
640 // property 'isFavorite'
641 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
642 // property 'gpuAlt'
643 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
644 // property 'allowMultiple'
645 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
646 // property 'isClipOnly'
647 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
648 // property 'isTrackOnly'
649 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
650 // property 'isGpuCompatible'
651 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
652 // property 'keyframes'
653 QtPrivate::TypeAndForceComplete<QmlKeyframesMetadata*, std::true_type>,
654 // property 'isDeprecated'
655 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
656 // property 'minimumVersion'
657 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
658 // property 'keywords'
659 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
660 // property 'icon'
661 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
662 // property 'seekReverse'
663 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
664 // enum 'PluginType'
665 QtPrivate::TypeAndForceComplete<QmlMetadata::PluginType, std::true_type>,
666 // Q_OBJECT / Q_GADGET
667 QtPrivate::TypeAndForceComplete<QmlMetadata, std::true_type>,
668 // method 'changed'
669 QtPrivate::TypeAndForceComplete<void, std::false_type>
670 >,
671 nullptr
672} };
673
674void QmlMetadata::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
675{
676 if (_c == QMetaObject::InvokeMetaMethod) {
677 auto *_t = static_cast<QmlMetadata *>(_o);
678 (void)_t;
679 switch (_id) {
680 case 0: _t->changed(); break;
681 default: ;
682 }
683 } else if (_c == QMetaObject::IndexOfMethod) {
684 int *result = reinterpret_cast<int *>(_a[0]);
685 {
686 using _t = void (QmlMetadata::*)();
687 if (_t _q_method = &QmlMetadata::changed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
688 *result = 0;
689 return;
690 }
691 }
692 } else if (_c == QMetaObject::RegisterPropertyMetaType) {
693 switch (_id) {
694 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
695 case 16:
696 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QmlKeyframesMetadata* >(); break;
697 }
698 } else if (_c == QMetaObject::ReadProperty) {
699 auto *_t = static_cast<QmlMetadata *>(_o);
700 (void)_t;
701 void *_v = _a[0];
702 switch (_id) {
703 case 0: *reinterpret_cast< PluginType*>(_v) = _t->type(); break;
704 case 1: *reinterpret_cast< QString*>(_v) = _t->name(); break;
705 case 2: *reinterpret_cast< QString*>(_v) = _t->mlt_service(); break;
706 case 3: *reinterpret_cast< bool*>(_v) = _t->needsGPU(); break;
707 case 4: *reinterpret_cast< QString*>(_v) = _t->qmlFileName(); break;
708 case 5: *reinterpret_cast< QString*>(_v) = _t->vuiFileName(); break;
709 case 6: *reinterpret_cast< QUrl*>(_v) = _t->qmlFilePath(); break;
710 case 7: *reinterpret_cast< QUrl*>(_v) = _t->vuiFilePath(); break;
711 case 8: *reinterpret_cast< bool*>(_v) = _t->isAudio(); break;
712 case 9: *reinterpret_cast< bool*>(_v) = _t->isHidden(); break;
713 case 10: *reinterpret_cast< bool*>(_v) = _t->isFavorite(); break;
714 case 11: *reinterpret_cast< QString*>(_v) = _t->gpuAlt(); break;
715 case 12: *reinterpret_cast< bool*>(_v) = _t->allowMultiple(); break;
716 case 13: *reinterpret_cast< bool*>(_v) = _t->isClipOnly(); break;
717 case 14: *reinterpret_cast< bool*>(_v) = _t->isTrackOnly(); break;
718 case 15: *reinterpret_cast< bool*>(_v) = _t->isGpuCompatible(); break;
719 case 16: *reinterpret_cast< QmlKeyframesMetadata**>(_v) = _t->keyframes(); break;
720 case 17: *reinterpret_cast< bool*>(_v) = _t->isDeprecated(); break;
721 case 18: *reinterpret_cast< QString*>(_v) = _t->m_minimumVersion; break;
722 case 19: *reinterpret_cast< QString*>(_v) = _t->m_keywords; break;
723 case 20: *reinterpret_cast< QString*>(_v) = _t->iconFilePath(); break;
724 case 21: *reinterpret_cast< bool*>(_v) = _t->m_seekReverse; break;
725 default: break;
726 }
727 } else if (_c == QMetaObject::WriteProperty) {
728 auto *_t = static_cast<QmlMetadata *>(_o);
729 (void)_t;
730 void *_v = _a[0];
731 switch (_id) {
732 case 0: _t->setType(*reinterpret_cast< PluginType*>(_v)); break;
733 case 1: _t->setName(*reinterpret_cast< QString*>(_v)); break;
734 case 2: _t->set_mlt_service(*reinterpret_cast< QString*>(_v)); break;
735 case 3: _t->setNeedsGPU(*reinterpret_cast< bool*>(_v)); break;
736 case 4: _t->setQmlFileName(*reinterpret_cast< QString*>(_v)); break;
737 case 5: _t->setVuiFileName(*reinterpret_cast< QString*>(_v)); break;
738 case 8: _t->setIsAudio(*reinterpret_cast< bool*>(_v)); break;
739 case 9: _t->setIsHidden(*reinterpret_cast< bool*>(_v)); break;
740 case 10: _t->setIsFavorite(*reinterpret_cast< bool*>(_v)); break;
741 case 11: _t->setGpuAlt(*reinterpret_cast< QString*>(_v)); break;
742 case 12: _t->setAllowMultiple(*reinterpret_cast< bool*>(_v)); break;
743 case 13: _t->setIsClipOnly(*reinterpret_cast< bool*>(_v)); break;
744 case 14: _t->setIsTrackOnly(*reinterpret_cast< bool*>(_v)); break;
745 case 15: _t->setIsGpuCompatible(*reinterpret_cast< bool*>(_v)); break;
746 case 17: _t->setIsDeprecated(*reinterpret_cast< bool*>(_v)); break;
747 case 18:
748 if (_t->m_minimumVersion != *reinterpret_cast< QString*>(_v)) {
749 _t->m_minimumVersion = *reinterpret_cast< QString*>(_v);
750 Q_EMIT _t->changed();
751 }
752 break;
753 case 19:
754 if (_t->m_keywords != *reinterpret_cast< QString*>(_v)) {
755 _t->m_keywords = *reinterpret_cast< QString*>(_v);
756 Q_EMIT _t->changed();
757 }
758 break;
759 case 20: _t->setIconFileName(*reinterpret_cast< QString*>(_v)); break;
760 case 21:
761 if (_t->m_seekReverse != *reinterpret_cast< bool*>(_v)) {
762 _t->m_seekReverse = *reinterpret_cast< bool*>(_v);
763 Q_EMIT _t->changed();
764 }
765 break;
766 default: break;
767 }
768 } else if (_c == QMetaObject::ResetProperty) {
769 } else if (_c == QMetaObject::BindableProperty) {
770 }
771}
772
773const QMetaObject *QmlMetadata::metaObject() const
774{
775 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
776}
777
778void *QmlMetadata::qt_metacast(const char *_clname)
779{
780 if (!_clname) return nullptr;
781 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlMetadataENDCLASS.stringdata0))
782 return static_cast<void*>(this);
783 return QObject::qt_metacast(_clname);
784}
785
786int QmlMetadata::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
787{
788 _id = QObject::qt_metacall(_c, _id, _a);
789 if (_id < 0)
790 return _id;
791 if (_c == QMetaObject::InvokeMetaMethod) {
792 if (_id < 1)
793 qt_static_metacall(this, _c, _id, _a);
794 _id -= 1;
795 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
796 if (_id < 1)
797 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
798 _id -= 1;
799 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
800 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
801 || _c == QMetaObject::RegisterPropertyMetaType) {
802 qt_static_metacall(this, _c, _id, _a);
803 _id -= 22;
804 }
805 return _id;
806}
807
808// SIGNAL 0
809void QmlMetadata::changed()
810{
811 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
812}
813QT_WARNING_POP