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.2)
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.2. 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 "isOutputOnly",
539 "isGpuCompatible",
540 "keyframes",
541 "QmlKeyframesMetadata*",
542 "isDeprecated",
543 "minimumVersion",
544 "keywords",
545 "icon",
546 "seekReverse",
547 "Filter",
548 "Producer",
549 "Transition",
550 "Link",
551 "FilterSet"
552);
553#else // !QT_MOC_HAS_STRINGDATA
554#error "qtmochelpers.h not found or too old."
555#endif // !QT_MOC_HAS_STRINGDATA
556} // unnamed namespace
557
558Q_CONSTINIT static const uint qt_meta_data_CLASSQmlMetadataENDCLASS[] = {
559
560 // content:
561 12, // revision
562 0, // classname
563 0, 0, // classinfo
564 1, 14, // methods
565 23, 21, // properties
566 1, 136, // enums/sets
567 0, 0, // constructors
568 0, // flags
569 1, // signalCount
570
571 // signals: name, argc, parameters, tag, flags, initial metatype offsets
572 1, 0, 20, 2, 0x06, 25 /* Public */,
573
574 // signals: parameters
575 QMetaType::Void,
576
577 // properties: name, type, flags
578 3, 0x80000000 | 4, 0x0001510b, uint(0), 0,
579 5, QMetaType::QString, 0x00015103, uint(0), 0,
580 6, QMetaType::QString, 0x00015003, uint(0), 0,
581 7, QMetaType::Bool, 0x00015103, uint(0), 0,
582 8, QMetaType::QString, 0x00015003, uint(0), 0,
583 9, QMetaType::QString, 0x00015003, uint(0), 0,
584 10, QMetaType::QUrl, 0x00015001, uint(0), 0,
585 11, QMetaType::QUrl, 0x00015001, uint(0), 0,
586 12, QMetaType::Bool, 0x00015103, uint(0), 0,
587 13, QMetaType::Bool, 0x00015103, uint(0), 0,
588 14, QMetaType::Bool, 0x00015103, uint(0), 0,
589 15, QMetaType::QString, 0x00015103, uint(0), 0,
590 16, QMetaType::Bool, 0x00015103, uint(0), 0,
591 17, QMetaType::Bool, 0x00015103, uint(0), 0,
592 18, QMetaType::Bool, 0x00015103, uint(0), 0,
593 19, QMetaType::Bool, 0x00015103, uint(0), 0,
594 20, QMetaType::Bool, 0x00015103, uint(0), 0,
595 21, 0x80000000 | 22, 0x00015009, uint(0), 0,
596 23, QMetaType::Bool, 0x00015103, uint(0), 0,
597 24, QMetaType::QString, 0x00015003, uint(0), 0,
598 25, QMetaType::QString, 0x00015003, uint(0), 0,
599 26, QMetaType::QString, 0x00015003, uint(0), 0,
600 27, QMetaType::Bool, 0x00015003, uint(0), 0,
601
602 // enums: name, alias, flags, count, data
603 4, 4, 0x0, 5, 141,
604
605 // enum data: key, value
606 28, uint(QmlMetadata::Filter),
607 29, uint(QmlMetadata::Producer),
608 30, uint(QmlMetadata::Transition),
609 31, uint(QmlMetadata::Link),
610 32, uint(QmlMetadata::FilterSet),
611
612 0 // eod
613};
614
615Q_CONSTINIT const QMetaObject QmlMetadata::staticMetaObject = { {
616 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
617 qt_meta_stringdata_CLASSQmlMetadataENDCLASS.offsetsAndSizes,
618 qt_meta_data_CLASSQmlMetadataENDCLASS,
619 qt_static_metacall,
620 nullptr,
621 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlMetadataENDCLASS_t,
622 // property 'type'
623 QtPrivate::TypeAndForceComplete<PluginType, std::true_type>,
624 // property 'name'
625 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
626 // property 'mlt_service'
627 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
628 // property 'needsGPU'
629 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
630 // property 'qml'
631 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
632 // property 'vui'
633 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
634 // property 'qmlFilePath'
635 QtPrivate::TypeAndForceComplete<QUrl, std::true_type>,
636 // property 'vuiFilePath'
637 QtPrivate::TypeAndForceComplete<QUrl, std::true_type>,
638 // property 'isAudio'
639 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
640 // property 'isHidden'
641 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
642 // property 'isFavorite'
643 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
644 // property 'gpuAlt'
645 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
646 // property 'allowMultiple'
647 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
648 // property 'isClipOnly'
649 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
650 // property 'isTrackOnly'
651 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
652 // property 'isOutputOnly'
653 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
654 // property 'isGpuCompatible'
655 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
656 // property 'keyframes'
657 QtPrivate::TypeAndForceComplete<QmlKeyframesMetadata*, std::true_type>,
658 // property 'isDeprecated'
659 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
660 // property 'minimumVersion'
661 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
662 // property 'keywords'
663 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
664 // property 'icon'
665 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
666 // property 'seekReverse'
667 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
668 // enum 'PluginType'
669 QtPrivate::TypeAndForceComplete<QmlMetadata::PluginType, std::true_type>,
670 // Q_OBJECT / Q_GADGET
671 QtPrivate::TypeAndForceComplete<QmlMetadata, std::true_type>,
672 // method 'changed'
673 QtPrivate::TypeAndForceComplete<void, std::false_type>
674 >,
675 nullptr
676} };
677
678void QmlMetadata::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
679{
680 if (_c == QMetaObject::InvokeMetaMethod) {
681 auto *_t = static_cast<QmlMetadata *>(_o);
682 (void)_t;
683 switch (_id) {
684 case 0: _t->changed(); break;
685 default: ;
686 }
687 } else if (_c == QMetaObject::IndexOfMethod) {
688 int *result = reinterpret_cast<int *>(_a[0]);
689 {
690 using _t = void (QmlMetadata::*)();
691 if (_t _q_method = &QmlMetadata::changed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
692 *result = 0;
693 return;
694 }
695 }
696 } else if (_c == QMetaObject::RegisterPropertyMetaType) {
697 switch (_id) {
698 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
699 case 17:
700 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QmlKeyframesMetadata* >(); break;
701 }
702 } else if (_c == QMetaObject::ReadProperty) {
703 auto *_t = static_cast<QmlMetadata *>(_o);
704 (void)_t;
705 void *_v = _a[0];
706 switch (_id) {
707 case 0: *reinterpret_cast< PluginType*>(_v) = _t->type(); break;
708 case 1: *reinterpret_cast< QString*>(_v) = _t->name(); break;
709 case 2: *reinterpret_cast< QString*>(_v) = _t->mlt_service(); break;
710 case 3: *reinterpret_cast< bool*>(_v) = _t->needsGPU(); break;
711 case 4: *reinterpret_cast< QString*>(_v) = _t->qmlFileName(); break;
712 case 5: *reinterpret_cast< QString*>(_v) = _t->vuiFileName(); break;
713 case 6: *reinterpret_cast< QUrl*>(_v) = _t->qmlFilePath(); break;
714 case 7: *reinterpret_cast< QUrl*>(_v) = _t->vuiFilePath(); break;
715 case 8: *reinterpret_cast< bool*>(_v) = _t->isAudio(); break;
716 case 9: *reinterpret_cast< bool*>(_v) = _t->isHidden(); break;
717 case 10: *reinterpret_cast< bool*>(_v) = _t->isFavorite(); break;
718 case 11: *reinterpret_cast< QString*>(_v) = _t->gpuAlt(); break;
719 case 12: *reinterpret_cast< bool*>(_v) = _t->allowMultiple(); break;
720 case 13: *reinterpret_cast< bool*>(_v) = _t->isClipOnly(); break;
721 case 14: *reinterpret_cast< bool*>(_v) = _t->isTrackOnly(); break;
722 case 15: *reinterpret_cast< bool*>(_v) = _t->isOutputOnly(); break;
723 case 16: *reinterpret_cast< bool*>(_v) = _t->isGpuCompatible(); break;
724 case 17: *reinterpret_cast< QmlKeyframesMetadata**>(_v) = _t->keyframes(); break;
725 case 18: *reinterpret_cast< bool*>(_v) = _t->isDeprecated(); break;
726 case 19: *reinterpret_cast< QString*>(_v) = _t->m_minimumVersion; break;
727 case 20: *reinterpret_cast< QString*>(_v) = _t->m_keywords; break;
728 case 21: *reinterpret_cast< QString*>(_v) = _t->iconFilePath(); break;
729 case 22: *reinterpret_cast< bool*>(_v) = _t->m_seekReverse; break;
730 default: break;
731 }
732 } else if (_c == QMetaObject::WriteProperty) {
733 auto *_t = static_cast<QmlMetadata *>(_o);
734 (void)_t;
735 void *_v = _a[0];
736 switch (_id) {
737 case 0: _t->setType(*reinterpret_cast< PluginType*>(_v)); break;
738 case 1: _t->setName(*reinterpret_cast< QString*>(_v)); break;
739 case 2: _t->set_mlt_service(*reinterpret_cast< QString*>(_v)); break;
740 case 3: _t->setNeedsGPU(*reinterpret_cast< bool*>(_v)); break;
741 case 4: _t->setQmlFileName(*reinterpret_cast< QString*>(_v)); break;
742 case 5: _t->setVuiFileName(*reinterpret_cast< QString*>(_v)); break;
743 case 8: _t->setIsAudio(*reinterpret_cast< bool*>(_v)); break;
744 case 9: _t->setIsHidden(*reinterpret_cast< bool*>(_v)); break;
745 case 10: _t->setIsFavorite(*reinterpret_cast< bool*>(_v)); break;
746 case 11: _t->setGpuAlt(*reinterpret_cast< QString*>(_v)); break;
747 case 12: _t->setAllowMultiple(*reinterpret_cast< bool*>(_v)); break;
748 case 13: _t->setIsClipOnly(*reinterpret_cast< bool*>(_v)); break;
749 case 14: _t->setIsTrackOnly(*reinterpret_cast< bool*>(_v)); break;
750 case 15: _t->setIsOutputOnly(*reinterpret_cast< bool*>(_v)); break;
751 case 16: _t->setIsGpuCompatible(*reinterpret_cast< bool*>(_v)); break;
752 case 18: _t->setIsDeprecated(*reinterpret_cast< bool*>(_v)); break;
753 case 19:
754 if (_t->m_minimumVersion != *reinterpret_cast< QString*>(_v)) {
755 _t->m_minimumVersion = *reinterpret_cast< QString*>(_v);
756 Q_EMIT _t->changed();
757 }
758 break;
759 case 20:
760 if (_t->m_keywords != *reinterpret_cast< QString*>(_v)) {
761 _t->m_keywords = *reinterpret_cast< QString*>(_v);
762 Q_EMIT _t->changed();
763 }
764 break;
765 case 21: _t->setIconFileName(*reinterpret_cast< QString*>(_v)); break;
766 case 22:
767 if (_t->m_seekReverse != *reinterpret_cast< bool*>(_v)) {
768 _t->m_seekReverse = *reinterpret_cast< bool*>(_v);
769 Q_EMIT _t->changed();
770 }
771 break;
772 default: break;
773 }
774 } else if (_c == QMetaObject::ResetProperty) {
775 } else if (_c == QMetaObject::BindableProperty) {
776 }
777}
778
779const QMetaObject *QmlMetadata::metaObject() const
780{
781 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
782}
783
784void *QmlMetadata::qt_metacast(const char *_clname)
785{
786 if (!_clname) return nullptr;
787 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlMetadataENDCLASS.stringdata0))
788 return static_cast<void*>(this);
789 return QObject::qt_metacast(_clname);
790}
791
792int QmlMetadata::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
793{
794 _id = QObject::qt_metacall(_c, _id, _a);
795 if (_id < 0)
796 return _id;
797 if (_c == QMetaObject::InvokeMetaMethod) {
798 if (_id < 1)
799 qt_static_metacall(this, _c, _id, _a);
800 _id -= 1;
801 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
802 if (_id < 1)
803 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
804 _id -= 1;
805 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
806 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
807 || _c == QMetaObject::RegisterPropertyMetaType) {
808 qt_static_metacall(this, _c, _id, _a);
809 _id -= 23;
810 }
811 return _id;
812}
813
814// SIGNAL 0
815void QmlMetadata::changed()
816{
817 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
818}
819QT_WARNING_POP