9#include "../../../../src/qmltypes/qmlprofile.h"
10#include <QtCore/qmetatype.h>
12#include <QtCore/qtmochelpers.h>
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'qmlprofile.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.7.2. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSQmlProfileENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSQmlProfileENDCLASS = QtMocHelpers::stringData(
48#error "qtmochelpers.h not found or too old."
52Q_CONSTINIT
static const uint qt_meta_data_CLASSQmlProfileENDCLASS[] = {
66 1, 0, 20, 2, 0x06, 6 ,
72 3, QMetaType::Int, 0x00015401, uint(-1), 0,
73 4, QMetaType::Int, 0x00015401, uint(-1), 0,
74 5, QMetaType::Double, 0x00015401, uint(-1), 0,
75 6, QMetaType::Double, 0x00015401, uint(-1), 0,
76 7, QMetaType::Double, 0x00015401, uint(-1), 0,
81Q_CONSTINIT
const QMetaObject QmlProfile::staticMetaObject = { {
82 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
83 qt_meta_stringdata_CLASSQmlProfileENDCLASS.offsetsAndSizes,
84 qt_meta_data_CLASSQmlProfileENDCLASS,
87 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlProfileENDCLASS_t,
89 QtPrivate::TypeAndForceComplete<int, std::true_type>,
91 QtPrivate::TypeAndForceComplete<int, std::true_type>,
93 QtPrivate::TypeAndForceComplete<double, std::true_type>,
95 QtPrivate::TypeAndForceComplete<double, std::true_type>,
97 QtPrivate::TypeAndForceComplete<double, std::true_type>,
99 QtPrivate::TypeAndForceComplete<QmlProfile, std::true_type>,
101 QtPrivate::TypeAndForceComplete<void, std::false_type>
106void QmlProfile::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
108 if (_c == QMetaObject::InvokeMetaMethod) {
109 auto *_t =
static_cast<QmlProfile *
>(_o);
112 case 0: _t->profileChanged();
break;
115 }
else if (_c == QMetaObject::IndexOfMethod) {
116 int *result =
reinterpret_cast<int *
>(_a[0]);
118 using _t = void (QmlProfile::*)();
119 if (_t _q_method = &QmlProfile::profileChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
124 }
else if (_c == QMetaObject::ReadProperty) {
125 auto *_t =
static_cast<QmlProfile *
>(_o);
129 case 0: *
reinterpret_cast< int*
>(_v) = _t->width();
break;
130 case 1: *
reinterpret_cast< int*
>(_v) = _t->height();
break;
131 case 2: *
reinterpret_cast< double*
>(_v) = _t->aspectRatio();
break;
132 case 3: *
reinterpret_cast< double*
>(_v) = _t->fps();
break;
133 case 4: *
reinterpret_cast< double*
>(_v) = _t->sar();
break;
136 }
else if (_c == QMetaObject::WriteProperty) {
137 }
else if (_c == QMetaObject::ResetProperty) {
138 }
else if (_c == QMetaObject::BindableProperty) {
143const QMetaObject *QmlProfile::metaObject()
const
145 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
148void *QmlProfile::qt_metacast(
const char *_clname)
150 if (!_clname)
return nullptr;
151 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlProfileENDCLASS.stringdata0))
152 return static_cast<void*
>(
this);
153 return QObject::qt_metacast(_clname);
156int QmlProfile::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
158 _id = QObject::qt_metacall(_c, _id, _a);
161 if (_c == QMetaObject::InvokeMetaMethod) {
163 qt_static_metacall(
this, _c, _id, _a);
165 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
167 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
169 }
else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
170 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
171 || _c == QMetaObject::RegisterPropertyMetaType) {
172 qt_static_metacall(
this, _c, _id, _a);
179void QmlProfile::profileChanged()
181 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);