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.5.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#if __has_include(<QtCore/qtmochelpers.h>)
14#include <QtCore/qtmochelpers.h>
15#else
16QT_BEGIN_MOC_NAMESPACE
17#endif
18
19
20#include <memory>
21
22#if !defined(Q_MOC_OUTPUT_REVISION)
23#error "The header file 'qmlmetadata.h' doesn't include <QObject>."
24#elif Q_MOC_OUTPUT_REVISION != 68
25#error "This file was generated using the moc from 6.5.2. It"
26#error "cannot be used with the include files from this version of Qt."
27#error "(The moc has changed too much.)"
28#endif
29
30#ifndef Q_CONSTINIT
31#define Q_CONSTINIT
32#endif
33
34QT_WARNING_PUSH
35QT_WARNING_DISABLE_DEPRECATED
36QT_WARNING_DISABLE_GCC("-Wuseless-cast")
37namespace {
38
39#ifdef QT_MOC_HAS_STRINGDATA
40struct qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS_t {};
41static constexpr auto qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS = QtMocHelpers::stringData(
42 "QmlKeyframesParameter",
43 "changed",
44 "",
45 "rangeType",
46 "RangeType",
47 "name",
48 "property",
49 "gangedProperties",
50 "isCurve",
51 "minimum",
52 "maximum",
53 "units",
54 "isRectangle",
55 "isColor",
56 "MinMax",
57 "ClipLength"
58);
59#else // !QT_MOC_HAS_STRING_DATA
60struct qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS_t {
61 uint offsetsAndSizes[32];
62 char stringdata0[22];
63 char stringdata1[8];
64 char stringdata2[1];
65 char stringdata3[10];
66 char stringdata4[10];
67 char stringdata5[5];
68 char stringdata6[9];
69 char stringdata7[17];
70 char stringdata8[8];
71 char stringdata9[8];
72 char stringdata10[8];
73 char stringdata11[6];
74 char stringdata12[12];
75 char stringdata13[8];
76 char stringdata14[7];
77 char stringdata15[11];
78};
79#define QT_MOC_LITERAL(ofs, len) \
80 uint(sizeof(qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS_t::offsetsAndSizes) + ofs), len
81Q_CONSTINIT static const qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS_t qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS = {
82 {
83 QT_MOC_LITERAL(0, 21), // "QmlKeyframesParameter"
84 QT_MOC_LITERAL(22, 7), // "changed"
85 QT_MOC_LITERAL(30, 0), // ""
86 QT_MOC_LITERAL(31, 9), // "rangeType"
87 QT_MOC_LITERAL(41, 9), // "RangeType"
88 QT_MOC_LITERAL(51, 4), // "name"
89 QT_MOC_LITERAL(56, 8), // "property"
90 QT_MOC_LITERAL(65, 16), // "gangedProperties"
91 QT_MOC_LITERAL(82, 7), // "isCurve"
92 QT_MOC_LITERAL(90, 7), // "minimum"
93 QT_MOC_LITERAL(98, 7), // "maximum"
94 QT_MOC_LITERAL(106, 5), // "units"
95 QT_MOC_LITERAL(112, 11), // "isRectangle"
96 QT_MOC_LITERAL(124, 7), // "isColor"
97 QT_MOC_LITERAL(132, 6), // "MinMax"
98 QT_MOC_LITERAL(139, 10) // "ClipLength"
99 },
100 "QmlKeyframesParameter",
101 "changed",
102 "",
103 "rangeType",
104 "RangeType",
105 "name",
106 "property",
107 "gangedProperties",
108 "isCurve",
109 "minimum",
110 "maximum",
111 "units",
112 "isRectangle",
113 "isColor",
114 "MinMax",
115 "ClipLength"
116};
117#undef QT_MOC_LITERAL
118#endif // !QT_MOC_HAS_STRING_DATA
119} // unnamed namespace
120
121Q_CONSTINIT static const uint qt_meta_data_CLASSQmlKeyframesParameterENDCLASS[] = {
122
123 // content:
124 11, // revision
125 0, // classname
126 0, 0, // classinfo
127 1, 14, // methods
128 10, 21, // properties
129 1, 71, // enums/sets
130 0, 0, // constructors
131 0, // flags
132 1, // signalCount
133
134 // signals: name, argc, parameters, tag, flags, initial metatype offsets
135 1, 0, 20, 2, 0x06, 11 /* Public */,
136
137 // signals: parameters
138 QMetaType::Void,
139
140 // properties: name, type, flags
141 3, 0x80000000 | 4, 0x0001500b, uint(0), 0,
142 5, QMetaType::QString, 0x00015003, uint(0), 0,
143 6, QMetaType::QString, 0x00015003, uint(0), 0,
144 7, QMetaType::QStringList, 0x00015003, uint(0), 0,
145 8, QMetaType::Bool, 0x00015003, uint(0), 0,
146 9, QMetaType::Double, 0x00015003, uint(0), 0,
147 10, QMetaType::Double, 0x00015003, uint(0), 0,
148 11, QMetaType::QString, 0x00015003, uint(0), 0,
149 12, QMetaType::Bool, 0x00015003, uint(0), 0,
150 13, QMetaType::Bool, 0x00015003, uint(0), 0,
151
152 // enums: name, alias, flags, count, data
153 4, 4, 0x0, 2, 76,
154
155 // enum data: key, value
156 14, uint(QmlKeyframesParameter::MinMax),
157 15, uint(QmlKeyframesParameter::ClipLength),
158
159 0 // eod
160};
161
162Q_CONSTINIT const QMetaObject QmlKeyframesParameter::staticMetaObject = { {
163 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
164 qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS.offsetsAndSizes,
165 qt_meta_data_CLASSQmlKeyframesParameterENDCLASS,
166 qt_static_metacall,
167 nullptr,
168 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS_t,
169 // property 'rangeType'
170 QtPrivate::TypeAndForceComplete<RangeType, std::true_type>,
171 // property 'name'
172 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
173 // property 'property'
174 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
175 // property 'gangedProperties'
176 QtPrivate::TypeAndForceComplete<QStringList, std::true_type>,
177 // property 'isCurve'
178 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
179 // property 'minimum'
180 QtPrivate::TypeAndForceComplete<double, std::true_type>,
181 // property 'maximum'
182 QtPrivate::TypeAndForceComplete<double, std::true_type>,
183 // property 'units'
184 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
185 // property 'isRectangle'
186 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
187 // property 'isColor'
188 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
189 // Q_OBJECT / Q_GADGET
190 QtPrivate::TypeAndForceComplete<QmlKeyframesParameter, std::true_type>,
191 // method 'changed'
192 QtPrivate::TypeAndForceComplete<void, std::false_type>
193 >,
194 nullptr
195} };
196
197void QmlKeyframesParameter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
198{
199 if (_c == QMetaObject::InvokeMetaMethod) {
200 auto *_t = static_cast<QmlKeyframesParameter *>(_o);
201 (void)_t;
202 switch (_id) {
203 case 0: _t->changed(); break;
204 default: ;
205 }
206 } else if (_c == QMetaObject::IndexOfMethod) {
207 int *result = reinterpret_cast<int *>(_a[0]);
208 {
209 using _t = void (QmlKeyframesParameter::*)();
210 if (_t _q_method = &QmlKeyframesParameter::changed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
211 *result = 0;
212 return;
213 }
214 }
215 }else if (_c == QMetaObject::ReadProperty) {
216 auto *_t = static_cast<QmlKeyframesParameter *>(_o);
217 (void)_t;
218 void *_v = _a[0];
219 switch (_id) {
220 case 0: *reinterpret_cast< RangeType*>(_v) = _t->m_rangeType; break;
221 case 1: *reinterpret_cast< QString*>(_v) = _t->m_name; break;
222 case 2: *reinterpret_cast< QString*>(_v) = _t->m_property; break;
223 case 3: *reinterpret_cast< QStringList*>(_v) = _t->m_gangedProperties; break;
224 case 4: *reinterpret_cast< bool*>(_v) = _t->m_isCurve; break;
225 case 5: *reinterpret_cast< double*>(_v) = _t->m_minimum; break;
226 case 6: *reinterpret_cast< double*>(_v) = _t->m_maximum; break;
227 case 7: *reinterpret_cast< QString*>(_v) = _t->m_units; break;
228 case 8: *reinterpret_cast< bool*>(_v) = _t->m_isRectangle; break;
229 case 9: *reinterpret_cast< bool*>(_v) = _t->m_isColor; break;
230 default: break;
231 }
232 } else if (_c == QMetaObject::WriteProperty) {
233 auto *_t = static_cast<QmlKeyframesParameter *>(_o);
234 (void)_t;
235 void *_v = _a[0];
236 switch (_id) {
237 case 0:
238 if (_t->m_rangeType != *reinterpret_cast< RangeType*>(_v)) {
239 _t->m_rangeType = *reinterpret_cast< RangeType*>(_v);
240 Q_EMIT _t->changed();
241 }
242 break;
243 case 1:
244 if (_t->m_name != *reinterpret_cast< QString*>(_v)) {
245 _t->m_name = *reinterpret_cast< QString*>(_v);
246 Q_EMIT _t->changed();
247 }
248 break;
249 case 2:
250 if (_t->m_property != *reinterpret_cast< QString*>(_v)) {
251 _t->m_property = *reinterpret_cast< QString*>(_v);
252 Q_EMIT _t->changed();
253 }
254 break;
255 case 3:
256 if (_t->m_gangedProperties != *reinterpret_cast< QStringList*>(_v)) {
257 _t->m_gangedProperties = *reinterpret_cast< QStringList*>(_v);
258 Q_EMIT _t->changed();
259 }
260 break;
261 case 4:
262 if (_t->m_isCurve != *reinterpret_cast< bool*>(_v)) {
263 _t->m_isCurve = *reinterpret_cast< bool*>(_v);
264 Q_EMIT _t->changed();
265 }
266 break;
267 case 5:
268 if (_t->m_minimum != *reinterpret_cast< double*>(_v)) {
269 _t->m_minimum = *reinterpret_cast< double*>(_v);
270 Q_EMIT _t->changed();
271 }
272 break;
273 case 6:
274 if (_t->m_maximum != *reinterpret_cast< double*>(_v)) {
275 _t->m_maximum = *reinterpret_cast< double*>(_v);
276 Q_EMIT _t->changed();
277 }
278 break;
279 case 7:
280 if (_t->m_units != *reinterpret_cast< QString*>(_v)) {
281 _t->m_units = *reinterpret_cast< QString*>(_v);
282 Q_EMIT _t->changed();
283 }
284 break;
285 case 8:
286 if (_t->m_isRectangle != *reinterpret_cast< bool*>(_v)) {
287 _t->m_isRectangle = *reinterpret_cast< bool*>(_v);
288 Q_EMIT _t->changed();
289 }
290 break;
291 case 9:
292 if (_t->m_isColor != *reinterpret_cast< bool*>(_v)) {
293 _t->m_isColor = *reinterpret_cast< bool*>(_v);
294 Q_EMIT _t->changed();
295 }
296 break;
297 default: break;
298 }
299 } else if (_c == QMetaObject::ResetProperty) {
300 } else if (_c == QMetaObject::BindableProperty) {
301 }
302 (void)_a;
303}
304
305const QMetaObject *QmlKeyframesParameter::metaObject() const
306{
307 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
308}
309
310void *QmlKeyframesParameter::qt_metacast(const char *_clname)
311{
312 if (!_clname) return nullptr;
313 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlKeyframesParameterENDCLASS.stringdata0))
314 return static_cast<void*>(this);
315 return QObject::qt_metacast(_clname);
316}
317
318int QmlKeyframesParameter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
319{
320 _id = QObject::qt_metacall(_c, _id, _a);
321 if (_id < 0)
322 return _id;
323 if (_c == QMetaObject::InvokeMetaMethod) {
324 if (_id < 1)
325 qt_static_metacall(this, _c, _id, _a);
326 _id -= 1;
327 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
328 if (_id < 1)
329 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
330 _id -= 1;
331 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
332 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
333 || _c == QMetaObject::RegisterPropertyMetaType) {
334 qt_static_metacall(this, _c, _id, _a);
335 _id -= 10;
336 }
337 return _id;
338}
339
340// SIGNAL 0
341void QmlKeyframesParameter::changed()
342{
343 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
344}
345namespace {
346
347#ifdef QT_MOC_HAS_STRINGDATA
348struct qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS_t {};
349static constexpr auto qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS = QtMocHelpers::stringData(
350 "QmlKeyframesMetadata",
351 "changed",
352 "",
353 "parameter",
354 "QmlKeyframesParameter*",
355 "propertyName",
356 "allowTrim",
357 "allowAnimateIn",
358 "allowAnimateOut",
359 "parameters",
360 "QQmlListProperty<QmlKeyframesParameter>",
361 "simpleProperties",
362 "minimumVersion",
363 "enabled",
364 "allowSmooth"
365);
366#else // !QT_MOC_HAS_STRING_DATA
367struct qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS_t {
368 uint offsetsAndSizes[30];
369 char stringdata0[21];
370 char stringdata1[8];
371 char stringdata2[1];
372 char stringdata3[10];
373 char stringdata4[23];
374 char stringdata5[13];
375 char stringdata6[10];
376 char stringdata7[15];
377 char stringdata8[16];
378 char stringdata9[11];
379 char stringdata10[40];
380 char stringdata11[17];
381 char stringdata12[15];
382 char stringdata13[8];
383 char stringdata14[12];
384};
385#define QT_MOC_LITERAL(ofs, len) \
386 uint(sizeof(qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS_t::offsetsAndSizes) + ofs), len
387Q_CONSTINIT static const qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS_t qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS = {
388 {
389 QT_MOC_LITERAL(0, 20), // "QmlKeyframesMetadata"
390 QT_MOC_LITERAL(21, 7), // "changed"
391 QT_MOC_LITERAL(29, 0), // ""
392 QT_MOC_LITERAL(30, 9), // "parameter"
393 QT_MOC_LITERAL(40, 22), // "QmlKeyframesParameter*"
394 QT_MOC_LITERAL(63, 12), // "propertyName"
395 QT_MOC_LITERAL(76, 9), // "allowTrim"
396 QT_MOC_LITERAL(86, 14), // "allowAnimateIn"
397 QT_MOC_LITERAL(101, 15), // "allowAnimateOut"
398 QT_MOC_LITERAL(117, 10), // "parameters"
399 QT_MOC_LITERAL(128, 39), // "QQmlListProperty<QmlKeyframes..."
400 QT_MOC_LITERAL(168, 16), // "simpleProperties"
401 QT_MOC_LITERAL(185, 14), // "minimumVersion"
402 QT_MOC_LITERAL(200, 7), // "enabled"
403 QT_MOC_LITERAL(208, 11) // "allowSmooth"
404 },
405 "QmlKeyframesMetadata",
406 "changed",
407 "",
408 "parameter",
409 "QmlKeyframesParameter*",
410 "propertyName",
411 "allowTrim",
412 "allowAnimateIn",
413 "allowAnimateOut",
414 "parameters",
415 "QQmlListProperty<QmlKeyframesParameter>",
416 "simpleProperties",
417 "minimumVersion",
418 "enabled",
419 "allowSmooth"
420};
421#undef QT_MOC_LITERAL
422#endif // !QT_MOC_HAS_STRING_DATA
423} // unnamed namespace
424
425Q_CONSTINIT static const uint qt_meta_data_CLASSQmlKeyframesMetadataENDCLASS[] = {
426
427 // content:
428 11, // revision
429 0, // classname
430 0, 0, // classinfo
431 2, 14, // methods
432 8, 30, // properties
433 0, 0, // enums/sets
434 0, 0, // constructors
435 0, // flags
436 1, // signalCount
437
438 // signals: name, argc, parameters, tag, flags, initial metatype offsets
439 1, 0, 26, 2, 0x06, 9 /* Public */,
440
441 // methods: name, argc, parameters, tag, flags, initial metatype offsets
442 3, 1, 27, 2, 0x102, 10 /* Public | MethodIsConst */,
443
444 // signals: parameters
445 QMetaType::Void,
446
447 // methods: parameters
448 0x80000000 | 4, QMetaType::QString, 5,
449
450 // properties: name, type, flags
451 6, QMetaType::Bool, 0x00015003, uint(0), 0,
452 7, QMetaType::Bool, 0x00015003, uint(0), 0,
453 8, QMetaType::Bool, 0x00015003, uint(0), 0,
454 9, 0x80000000 | 10, 0x00015009, uint(0), 0,
455 11, QMetaType::QStringList, 0x00015003, uint(0), 0,
456 12, QMetaType::QString, 0x00015003, uint(0), 0,
457 13, QMetaType::Bool, 0x00015003, uint(0), 0,
458 14, QMetaType::Bool, 0x00015003, uint(0), 0,
459
460 0 // eod
461};
462
463Q_CONSTINIT const QMetaObject QmlKeyframesMetadata::staticMetaObject = { {
464 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
465 qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS.offsetsAndSizes,
466 qt_meta_data_CLASSQmlKeyframesMetadataENDCLASS,
467 qt_static_metacall,
468 nullptr,
469 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS_t,
470 // property 'allowTrim'
471 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
472 // property 'allowAnimateIn'
473 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
474 // property 'allowAnimateOut'
475 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
476 // property 'parameters'
477 QtPrivate::TypeAndForceComplete<QQmlListProperty<QmlKeyframesParameter>, std::true_type>,
478 // property 'simpleProperties'
479 QtPrivate::TypeAndForceComplete<QList<QString>, std::true_type>,
480 // property 'minimumVersion'
481 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
482 // property 'enabled'
483 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
484 // property 'allowSmooth'
485 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
486 // Q_OBJECT / Q_GADGET
487 QtPrivate::TypeAndForceComplete<QmlKeyframesMetadata, std::true_type>,
488 // method 'changed'
489 QtPrivate::TypeAndForceComplete<void, std::false_type>,
490 // method 'parameter'
491 QtPrivate::TypeAndForceComplete<QmlKeyframesParameter *, std::false_type>,
492 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
493 >,
494 nullptr
495} };
496
497void QmlKeyframesMetadata::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
498{
499 if (_c == QMetaObject::InvokeMetaMethod) {
500 auto *_t = static_cast<QmlKeyframesMetadata *>(_o);
501 (void)_t;
502 switch (_id) {
503 case 0: _t->changed(); break;
504 case 1: { QmlKeyframesParameter* _r = _t->parameter((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
505 if (_a[0]) *reinterpret_cast< QmlKeyframesParameter**>(_a[0]) = std::move(_r); } break;
506 default: ;
507 }
508 } else if (_c == QMetaObject::IndexOfMethod) {
509 int *result = reinterpret_cast<int *>(_a[0]);
510 {
511 using _t = void (QmlKeyframesMetadata::*)();
512 if (_t _q_method = &QmlKeyframesMetadata::changed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
513 *result = 0;
514 return;
515 }
516 }
517 }else if (_c == QMetaObject::ReadProperty) {
518 auto *_t = static_cast<QmlKeyframesMetadata *>(_o);
519 (void)_t;
520 void *_v = _a[0];
521 switch (_id) {
522 case 0: *reinterpret_cast< bool*>(_v) = _t->m_allowTrim; break;
523 case 1: *reinterpret_cast< bool*>(_v) = _t->m_allowAnimateIn; break;
524 case 2: *reinterpret_cast< bool*>(_v) = _t->m_allowAnimateOut; break;
525 case 3: *reinterpret_cast< QQmlListProperty<QmlKeyframesParameter>*>(_v) = _t->parameters(); break;
526 case 4: *reinterpret_cast< QList<QString>*>(_v) = _t->m_simpleProperties; break;
527 case 5: *reinterpret_cast< QString*>(_v) = _t->m_minimumVersion; break;
528 case 6: *reinterpret_cast< bool*>(_v) = _t->m_enabled; break;
529 case 7: *reinterpret_cast< bool*>(_v) = _t->m_allowSmooth; break;
530 default: break;
531 }
532 } else if (_c == QMetaObject::WriteProperty) {
533 auto *_t = static_cast<QmlKeyframesMetadata *>(_o);
534 (void)_t;
535 void *_v = _a[0];
536 switch (_id) {
537 case 0:
538 if (_t->m_allowTrim != *reinterpret_cast< bool*>(_v)) {
539 _t->m_allowTrim = *reinterpret_cast< bool*>(_v);
540 Q_EMIT _t->changed();
541 }
542 break;
543 case 1:
544 if (_t->m_allowAnimateIn != *reinterpret_cast< bool*>(_v)) {
545 _t->m_allowAnimateIn = *reinterpret_cast< bool*>(_v);
546 Q_EMIT _t->changed();
547 }
548 break;
549 case 2:
550 if (_t->m_allowAnimateOut != *reinterpret_cast< bool*>(_v)) {
551 _t->m_allowAnimateOut = *reinterpret_cast< bool*>(_v);
552 Q_EMIT _t->changed();
553 }
554 break;
555 case 4:
556 if (_t->m_simpleProperties != *reinterpret_cast< QList<QString>*>(_v)) {
557 _t->m_simpleProperties = *reinterpret_cast< QList<QString>*>(_v);
558 Q_EMIT _t->changed();
559 }
560 break;
561 case 5:
562 if (_t->m_minimumVersion != *reinterpret_cast< QString*>(_v)) {
563 _t->m_minimumVersion = *reinterpret_cast< QString*>(_v);
564 Q_EMIT _t->changed();
565 }
566 break;
567 case 6:
568 if (_t->m_enabled != *reinterpret_cast< bool*>(_v)) {
569 _t->m_enabled = *reinterpret_cast< bool*>(_v);
570 Q_EMIT _t->changed();
571 }
572 break;
573 case 7:
574 if (_t->m_allowSmooth != *reinterpret_cast< bool*>(_v)) {
575 _t->m_allowSmooth = *reinterpret_cast< bool*>(_v);
576 Q_EMIT _t->changed();
577 }
578 break;
579 default: break;
580 }
581 } else if (_c == QMetaObject::ResetProperty) {
582 } else if (_c == QMetaObject::BindableProperty) {
583 }
584}
585
586const QMetaObject *QmlKeyframesMetadata::metaObject() const
587{
588 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
589}
590
591void *QmlKeyframesMetadata::qt_metacast(const char *_clname)
592{
593 if (!_clname) return nullptr;
594 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlKeyframesMetadataENDCLASS.stringdata0))
595 return static_cast<void*>(this);
596 return QObject::qt_metacast(_clname);
597}
598
599int QmlKeyframesMetadata::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
600{
601 _id = QObject::qt_metacall(_c, _id, _a);
602 if (_id < 0)
603 return _id;
604 if (_c == QMetaObject::InvokeMetaMethod) {
605 if (_id < 2)
606 qt_static_metacall(this, _c, _id, _a);
607 _id -= 2;
608 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
609 if (_id < 2)
610 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
611 _id -= 2;
612 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
613 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
614 || _c == QMetaObject::RegisterPropertyMetaType) {
615 qt_static_metacall(this, _c, _id, _a);
616 _id -= 8;
617 }
618 return _id;
619}
620
621// SIGNAL 0
622void QmlKeyframesMetadata::changed()
623{
624 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
625}
626namespace {
627
628#ifdef QT_MOC_HAS_STRINGDATA
629struct qt_meta_stringdata_CLASSQmlMetadataENDCLASS_t {};
630static constexpr auto qt_meta_stringdata_CLASSQmlMetadataENDCLASS = QtMocHelpers::stringData(
631 "QmlMetadata",
632 "changed",
633 "",
634 "type",
635 "PluginType",
636 "name",
637 "mlt_service",
638 "needsGPU",
639 "qml",
640 "vui",
641 "qmlFilePath",
642 "vuiFilePath",
643 "isAudio",
644 "isHidden",
645 "isFavorite",
646 "gpuAlt",
647 "allowMultiple",
648 "isClipOnly",
649 "isTrackOnly",
650 "isGpuCompatible",
651 "keyframes",
652 "QmlKeyframesMetadata*",
653 "isDeprecated",
654 "minimumVersion",
655 "keywords",
656 "icon",
657 "seekReverse",
658 "Filter",
659 "Producer",
660 "Transition",
661 "Link",
662 "FilterSet"
663);
664#else // !QT_MOC_HAS_STRING_DATA
665struct qt_meta_stringdata_CLASSQmlMetadataENDCLASS_t {
666 uint offsetsAndSizes[64];
667 char stringdata0[12];
668 char stringdata1[8];
669 char stringdata2[1];
670 char stringdata3[5];
671 char stringdata4[11];
672 char stringdata5[5];
673 char stringdata6[12];
674 char stringdata7[9];
675 char stringdata8[4];
676 char stringdata9[4];
677 char stringdata10[12];
678 char stringdata11[12];
679 char stringdata12[8];
680 char stringdata13[9];
681 char stringdata14[11];
682 char stringdata15[7];
683 char stringdata16[14];
684 char stringdata17[11];
685 char stringdata18[12];
686 char stringdata19[16];
687 char stringdata20[10];
688 char stringdata21[22];
689 char stringdata22[13];
690 char stringdata23[15];
691 char stringdata24[9];
692 char stringdata25[5];
693 char stringdata26[12];
694 char stringdata27[7];
695 char stringdata28[9];
696 char stringdata29[11];
697 char stringdata30[5];
698 char stringdata31[10];
699};
700#define QT_MOC_LITERAL(ofs, len) \
701 uint(sizeof(qt_meta_stringdata_CLASSQmlMetadataENDCLASS_t::offsetsAndSizes) + ofs), len
702Q_CONSTINIT static const qt_meta_stringdata_CLASSQmlMetadataENDCLASS_t qt_meta_stringdata_CLASSQmlMetadataENDCLASS = {
703 {
704 QT_MOC_LITERAL(0, 11), // "QmlMetadata"
705 QT_MOC_LITERAL(12, 7), // "changed"
706 QT_MOC_LITERAL(20, 0), // ""
707 QT_MOC_LITERAL(21, 4), // "type"
708 QT_MOC_LITERAL(26, 10), // "PluginType"
709 QT_MOC_LITERAL(37, 4), // "name"
710 QT_MOC_LITERAL(42, 11), // "mlt_service"
711 QT_MOC_LITERAL(54, 8), // "needsGPU"
712 QT_MOC_LITERAL(63, 3), // "qml"
713 QT_MOC_LITERAL(67, 3), // "vui"
714 QT_MOC_LITERAL(71, 11), // "qmlFilePath"
715 QT_MOC_LITERAL(83, 11), // "vuiFilePath"
716 QT_MOC_LITERAL(95, 7), // "isAudio"
717 QT_MOC_LITERAL(103, 8), // "isHidden"
718 QT_MOC_LITERAL(112, 10), // "isFavorite"
719 QT_MOC_LITERAL(123, 6), // "gpuAlt"
720 QT_MOC_LITERAL(130, 13), // "allowMultiple"
721 QT_MOC_LITERAL(144, 10), // "isClipOnly"
722 QT_MOC_LITERAL(155, 11), // "isTrackOnly"
723 QT_MOC_LITERAL(167, 15), // "isGpuCompatible"
724 QT_MOC_LITERAL(183, 9), // "keyframes"
725 QT_MOC_LITERAL(193, 21), // "QmlKeyframesMetadata*"
726 QT_MOC_LITERAL(215, 12), // "isDeprecated"
727 QT_MOC_LITERAL(228, 14), // "minimumVersion"
728 QT_MOC_LITERAL(243, 8), // "keywords"
729 QT_MOC_LITERAL(252, 4), // "icon"
730 QT_MOC_LITERAL(257, 11), // "seekReverse"
731 QT_MOC_LITERAL(269, 6), // "Filter"
732 QT_MOC_LITERAL(276, 8), // "Producer"
733 QT_MOC_LITERAL(285, 10), // "Transition"
734 QT_MOC_LITERAL(296, 4), // "Link"
735 QT_MOC_LITERAL(301, 9) // "FilterSet"
736 },
737 "QmlMetadata",
738 "changed",
739 "",
740 "type",
741 "PluginType",
742 "name",
743 "mlt_service",
744 "needsGPU",
745 "qml",
746 "vui",
747 "qmlFilePath",
748 "vuiFilePath",
749 "isAudio",
750 "isHidden",
751 "isFavorite",
752 "gpuAlt",
753 "allowMultiple",
754 "isClipOnly",
755 "isTrackOnly",
756 "isGpuCompatible",
757 "keyframes",
758 "QmlKeyframesMetadata*",
759 "isDeprecated",
760 "minimumVersion",
761 "keywords",
762 "icon",
763 "seekReverse",
764 "Filter",
765 "Producer",
766 "Transition",
767 "Link",
768 "FilterSet"
769};
770#undef QT_MOC_LITERAL
771#endif // !QT_MOC_HAS_STRING_DATA
772} // unnamed namespace
773
774Q_CONSTINIT static const uint qt_meta_data_CLASSQmlMetadataENDCLASS[] = {
775
776 // content:
777 11, // revision
778 0, // classname
779 0, 0, // classinfo
780 1, 14, // methods
781 22, 21, // properties
782 1, 131, // enums/sets
783 0, 0, // constructors
784 0, // flags
785 1, // signalCount
786
787 // signals: name, argc, parameters, tag, flags, initial metatype offsets
788 1, 0, 20, 2, 0x06, 23 /* Public */,
789
790 // signals: parameters
791 QMetaType::Void,
792
793 // properties: name, type, flags
794 3, 0x80000000 | 4, 0x0001510b, uint(0), 0,
795 5, QMetaType::QString, 0x00015103, uint(0), 0,
796 6, QMetaType::QString, 0x00015003, uint(0), 0,
797 7, QMetaType::Bool, 0x00015103, uint(0), 0,
798 8, QMetaType::QString, 0x00015003, uint(0), 0,
799 9, QMetaType::QString, 0x00015003, uint(0), 0,
800 10, QMetaType::QUrl, 0x00015001, uint(0), 0,
801 11, QMetaType::QUrl, 0x00015001, uint(0), 0,
802 12, QMetaType::Bool, 0x00015103, uint(0), 0,
803 13, QMetaType::Bool, 0x00015103, uint(0), 0,
804 14, QMetaType::Bool, 0x00015103, uint(0), 0,
805 15, QMetaType::QString, 0x00015103, uint(0), 0,
806 16, QMetaType::Bool, 0x00015103, uint(0), 0,
807 17, QMetaType::Bool, 0x00015103, uint(0), 0,
808 18, QMetaType::Bool, 0x00015103, uint(0), 0,
809 19, QMetaType::Bool, 0x00015103, uint(0), 0,
810 20, 0x80000000 | 21, 0x00015009, uint(0), 0,
811 22, QMetaType::Bool, 0x00015103, uint(0), 0,
812 23, QMetaType::QString, 0x00015003, uint(0), 0,
813 24, QMetaType::QString, 0x00015003, uint(0), 0,
814 25, QMetaType::QString, 0x00015003, uint(0), 0,
815 26, QMetaType::Bool, 0x00015003, uint(0), 0,
816
817 // enums: name, alias, flags, count, data
818 4, 4, 0x0, 5, 136,
819
820 // enum data: key, value
821 27, uint(QmlMetadata::Filter),
822 28, uint(QmlMetadata::Producer),
823 29, uint(QmlMetadata::Transition),
824 30, uint(QmlMetadata::Link),
825 31, uint(QmlMetadata::FilterSet),
826
827 0 // eod
828};
829
830Q_CONSTINIT const QMetaObject QmlMetadata::staticMetaObject = { {
831 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
832 qt_meta_stringdata_CLASSQmlMetadataENDCLASS.offsetsAndSizes,
833 qt_meta_data_CLASSQmlMetadataENDCLASS,
834 qt_static_metacall,
835 nullptr,
836 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlMetadataENDCLASS_t,
837 // property 'type'
838 QtPrivate::TypeAndForceComplete<PluginType, std::true_type>,
839 // property 'name'
840 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
841 // property 'mlt_service'
842 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
843 // property 'needsGPU'
844 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
845 // property 'qml'
846 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
847 // property 'vui'
848 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
849 // property 'qmlFilePath'
850 QtPrivate::TypeAndForceComplete<QUrl, std::true_type>,
851 // property 'vuiFilePath'
852 QtPrivate::TypeAndForceComplete<QUrl, std::true_type>,
853 // property 'isAudio'
854 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
855 // property 'isHidden'
856 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
857 // property 'isFavorite'
858 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
859 // property 'gpuAlt'
860 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
861 // property 'allowMultiple'
862 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
863 // property 'isClipOnly'
864 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
865 // property 'isTrackOnly'
866 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
867 // property 'isGpuCompatible'
868 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
869 // property 'keyframes'
870 QtPrivate::TypeAndForceComplete<QmlKeyframesMetadata*, std::true_type>,
871 // property 'isDeprecated'
872 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
873 // property 'minimumVersion'
874 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
875 // property 'keywords'
876 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
877 // property 'icon'
878 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
879 // property 'seekReverse'
880 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
881 // Q_OBJECT / Q_GADGET
882 QtPrivate::TypeAndForceComplete<QmlMetadata, std::true_type>,
883 // method 'changed'
884 QtPrivate::TypeAndForceComplete<void, std::false_type>
885 >,
886 nullptr
887} };
888
889void QmlMetadata::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
890{
891 if (_c == QMetaObject::InvokeMetaMethod) {
892 auto *_t = static_cast<QmlMetadata *>(_o);
893 (void)_t;
894 switch (_id) {
895 case 0: _t->changed(); break;
896 default: ;
897 }
898 } else if (_c == QMetaObject::IndexOfMethod) {
899 int *result = reinterpret_cast<int *>(_a[0]);
900 {
901 using _t = void (QmlMetadata::*)();
902 if (_t _q_method = &QmlMetadata::changed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
903 *result = 0;
904 return;
905 }
906 }
907 } else if (_c == QMetaObject::RegisterPropertyMetaType) {
908 switch (_id) {
909 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
910 case 16:
911 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QmlKeyframesMetadata* >(); break;
912 }
913 } else if (_c == QMetaObject::ReadProperty) {
914 auto *_t = static_cast<QmlMetadata *>(_o);
915 (void)_t;
916 void *_v = _a[0];
917 switch (_id) {
918 case 0: *reinterpret_cast< PluginType*>(_v) = _t->type(); break;
919 case 1: *reinterpret_cast< QString*>(_v) = _t->name(); break;
920 case 2: *reinterpret_cast< QString*>(_v) = _t->mlt_service(); break;
921 case 3: *reinterpret_cast< bool*>(_v) = _t->needsGPU(); break;
922 case 4: *reinterpret_cast< QString*>(_v) = _t->qmlFileName(); break;
923 case 5: *reinterpret_cast< QString*>(_v) = _t->vuiFileName(); break;
924 case 6: *reinterpret_cast< QUrl*>(_v) = _t->qmlFilePath(); break;
925 case 7: *reinterpret_cast< QUrl*>(_v) = _t->vuiFilePath(); break;
926 case 8: *reinterpret_cast< bool*>(_v) = _t->isAudio(); break;
927 case 9: *reinterpret_cast< bool*>(_v) = _t->isHidden(); break;
928 case 10: *reinterpret_cast< bool*>(_v) = _t->isFavorite(); break;
929 case 11: *reinterpret_cast< QString*>(_v) = _t->gpuAlt(); break;
930 case 12: *reinterpret_cast< bool*>(_v) = _t->allowMultiple(); break;
931 case 13: *reinterpret_cast< bool*>(_v) = _t->isClipOnly(); break;
932 case 14: *reinterpret_cast< bool*>(_v) = _t->isTrackOnly(); break;
933 case 15: *reinterpret_cast< bool*>(_v) = _t->isGpuCompatible(); break;
934 case 16: *reinterpret_cast< QmlKeyframesMetadata**>(_v) = _t->keyframes(); break;
935 case 17: *reinterpret_cast< bool*>(_v) = _t->isDeprecated(); break;
936 case 18: *reinterpret_cast< QString*>(_v) = _t->m_minimumVersion; break;
937 case 19: *reinterpret_cast< QString*>(_v) = _t->m_keywords; break;
938 case 20: *reinterpret_cast< QString*>(_v) = _t->iconFilePath(); break;
939 case 21: *reinterpret_cast< bool*>(_v) = _t->m_seekReverse; break;
940 default: break;
941 }
942 } else if (_c == QMetaObject::WriteProperty) {
943 auto *_t = static_cast<QmlMetadata *>(_o);
944 (void)_t;
945 void *_v = _a[0];
946 switch (_id) {
947 case 0: _t->setType(*reinterpret_cast< PluginType*>(_v)); break;
948 case 1: _t->setName(*reinterpret_cast< QString*>(_v)); break;
949 case 2: _t->set_mlt_service(*reinterpret_cast< QString*>(_v)); break;
950 case 3: _t->setNeedsGPU(*reinterpret_cast< bool*>(_v)); break;
951 case 4: _t->setQmlFileName(*reinterpret_cast< QString*>(_v)); break;
952 case 5: _t->setVuiFileName(*reinterpret_cast< QString*>(_v)); break;
953 case 8: _t->setIsAudio(*reinterpret_cast< bool*>(_v)); break;
954 case 9: _t->setIsHidden(*reinterpret_cast< bool*>(_v)); break;
955 case 10: _t->setIsFavorite(*reinterpret_cast< bool*>(_v)); break;
956 case 11: _t->setGpuAlt(*reinterpret_cast< QString*>(_v)); break;
957 case 12: _t->setAllowMultiple(*reinterpret_cast< bool*>(_v)); break;
958 case 13: _t->setIsClipOnly(*reinterpret_cast< bool*>(_v)); break;
959 case 14: _t->setIsTrackOnly(*reinterpret_cast< bool*>(_v)); break;
960 case 15: _t->setIsGpuCompatible(*reinterpret_cast< bool*>(_v)); break;
961 case 17: _t->setIsDeprecated(*reinterpret_cast< bool*>(_v)); break;
962 case 18:
963 if (_t->m_minimumVersion != *reinterpret_cast< QString*>(_v)) {
964 _t->m_minimumVersion = *reinterpret_cast< QString*>(_v);
965 Q_EMIT _t->changed();
966 }
967 break;
968 case 19:
969 if (_t->m_keywords != *reinterpret_cast< QString*>(_v)) {
970 _t->m_keywords = *reinterpret_cast< QString*>(_v);
971 Q_EMIT _t->changed();
972 }
973 break;
974 case 20: _t->setIconFileName(*reinterpret_cast< QString*>(_v)); break;
975 case 21:
976 if (_t->m_seekReverse != *reinterpret_cast< bool*>(_v)) {
977 _t->m_seekReverse = *reinterpret_cast< bool*>(_v);
978 Q_EMIT _t->changed();
979 }
980 break;
981 default: break;
982 }
983 } else if (_c == QMetaObject::ResetProperty) {
984 } else if (_c == QMetaObject::BindableProperty) {
985 }
986}
987
988const QMetaObject *QmlMetadata::metaObject() const
989{
990 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
991}
992
993void *QmlMetadata::qt_metacast(const char *_clname)
994{
995 if (!_clname) return nullptr;
996 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlMetadataENDCLASS.stringdata0))
997 return static_cast<void*>(this);
998 return QObject::qt_metacast(_clname);
999}
1000
1001int QmlMetadata::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
1002{
1003 _id = QObject::qt_metacall(_c, _id, _a);
1004 if (_id < 0)
1005 return _id;
1006 if (_c == QMetaObject::InvokeMetaMethod) {
1007 if (_id < 1)
1008 qt_static_metacall(this, _c, _id, _a);
1009 _id -= 1;
1010 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
1011 if (_id < 1)
1012 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
1013 _id -= 1;
1014 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
1015 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
1016 || _c == QMetaObject::RegisterPropertyMetaType) {
1017 qt_static_metacall(this, _c, _id, _a);
1018 _id -= 22;
1019 }
1020 return _id;
1021}
1022
1023// SIGNAL 0
1024void QmlMetadata::changed()
1025{
1026 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
1027}
1028QT_WARNING_POP