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.8.1. 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")
34struct qt_meta_tag_ZN10QmlProfileE_t {};
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN10QmlProfileE = QtMocHelpers::stringData(
50#error "qtmochelpers.h not found or too old."
53Q_CONSTINIT
static const uint qt_meta_data_ZN10QmlProfileE[] = {
67 1, 0, 20, 2, 0x06, 6 ,
73 3, QMetaType::Int, 0x00015401, uint(-1), 0,
74 4, QMetaType::Int, 0x00015401, uint(-1), 0,
75 5, QMetaType::Double, 0x00015401, uint(-1), 0,
76 6, QMetaType::Double, 0x00015401, uint(-1), 0,
77 7, QMetaType::Double, 0x00015401, uint(-1), 0,
82Q_CONSTINIT
const QMetaObject QmlProfile::staticMetaObject = { {
83 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
84 qt_meta_stringdata_ZN10QmlProfileE.offsetsAndSizes,
85 qt_meta_data_ZN10QmlProfileE,
88 qt_incomplete_metaTypeArray<qt_meta_tag_ZN10QmlProfileE_t,
90 QtPrivate::TypeAndForceComplete<int, std::true_type>,
92 QtPrivate::TypeAndForceComplete<int, std::true_type>,
94 QtPrivate::TypeAndForceComplete<double, std::true_type>,
96 QtPrivate::TypeAndForceComplete<double, std::true_type>,
98 QtPrivate::TypeAndForceComplete<double, std::true_type>,
100 QtPrivate::TypeAndForceComplete<QmlProfile, std::true_type>,
102 QtPrivate::TypeAndForceComplete<void, std::false_type>
107void QmlProfile::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
109 auto *_t =
static_cast<QmlProfile *
>(_o);
110 if (_c == QMetaObject::InvokeMetaMethod) {
112 case 0: _t->profileChanged();
break;
116 if (_c == QMetaObject::IndexOfMethod) {
117 int *result =
reinterpret_cast<int *
>(_a[0]);
119 using _q_method_type = void (QmlProfile::*)();
120 if (_q_method_type _q_method = &QmlProfile::profileChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
126 if (_c == QMetaObject::ReadProperty) {
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;
139const QMetaObject *QmlProfile::metaObject()
const
141 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
144void *QmlProfile::qt_metacast(
const char *_clname)
146 if (!_clname)
return nullptr;
147 if (!strcmp(_clname, qt_meta_stringdata_ZN10QmlProfileE.stringdata0))
148 return static_cast<void*
>(
this);
149 return QObject::qt_metacast(_clname);
152int QmlProfile::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
154 _id = QObject::qt_metacall(_c, _id, _a);
157 if (_c == QMetaObject::InvokeMetaMethod) {
159 qt_static_metacall(
this, _c, _id, _a);
162 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
164 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
167 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
168 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
169 || _c == QMetaObject::RegisterPropertyMetaType) {
170 qt_static_metacall(
this, _c, _id, _a);
177void QmlProfile::profileChanged()
179 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);