9#include "../../../../src/qmltypes/qmlextension.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 'qmlextension.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.3. 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_ZN16QmlExtensionFileE_t {};
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN16QmlExtensionFileE = QtMocHelpers::stringData(
51#error "qtmochelpers.h not found or too old."
54Q_CONSTINIT
static const uint qt_meta_data_ZN16QmlExtensionFileE[] = {
68 1, 0, 20, 2, 0x06, 7 ,
74 3, QMetaType::QString, 0x00015003, uint(0), 0,
75 4, QMetaType::QString, 0x00015003, uint(0), 0,
76 5, QMetaType::QString, 0x00015003, uint(0), 0,
77 6, QMetaType::QString, 0x00015003, uint(0), 0,
78 7, QMetaType::QString, 0x00015003, uint(0), 0,
79 8, QMetaType::Bool, 0x00015003, uint(0), 0,
84Q_CONSTINIT
const QMetaObject QmlExtensionFile::staticMetaObject = { {
85 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
86 qt_meta_stringdata_ZN16QmlExtensionFileE.offsetsAndSizes,
87 qt_meta_data_ZN16QmlExtensionFileE,
90 qt_incomplete_metaTypeArray<qt_meta_tag_ZN16QmlExtensionFileE_t,
92 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
94 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
96 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
98 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
100 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
102 QtPrivate::TypeAndForceComplete<bool, std::true_type>,
104 QtPrivate::TypeAndForceComplete<QmlExtensionFile, std::true_type>,
106 QtPrivate::TypeAndForceComplete<void, std::false_type>
111void QmlExtensionFile::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
113 auto *_t =
static_cast<QmlExtensionFile *
>(_o);
114 if (_c == QMetaObject::InvokeMetaMethod) {
116 case 0: _t->changed();
break;
120 if (_c == QMetaObject::IndexOfMethod) {
121 int *result =
reinterpret_cast<int *
>(_a[0]);
123 using _q_method_type = void (QmlExtensionFile::*)();
124 if (_q_method_type _q_method = &QmlExtensionFile::changed; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
130 if (_c == QMetaObject::ReadProperty) {
133 case 0: *
reinterpret_cast< QString*
>(_v) = _t->m_name;
break;
134 case 1: *
reinterpret_cast< QString*
>(_v) = _t->m_description;
break;
135 case 2: *
reinterpret_cast< QString*
>(_v) = _t->m_file;
break;
136 case 3: *
reinterpret_cast< QString*
>(_v) = _t->m_url;
break;
137 case 4: *
reinterpret_cast< QString*
>(_v) = _t->m_size;
break;
138 case 5: *
reinterpret_cast< bool*
>(_v) = _t->m_standard;
break;
142 if (_c == QMetaObject::WriteProperty) {
146 if (_t->m_name != *
reinterpret_cast< QString*
>(_v)) {
147 _t->m_name = *
reinterpret_cast< QString*
>(_v);
148 Q_EMIT _t->changed();
152 if (_t->m_description != *
reinterpret_cast< QString*
>(_v)) {
153 _t->m_description = *
reinterpret_cast< QString*
>(_v);
154 Q_EMIT _t->changed();
158 if (_t->m_file != *
reinterpret_cast< QString*
>(_v)) {
159 _t->m_file = *
reinterpret_cast< QString*
>(_v);
160 Q_EMIT _t->changed();
164 if (_t->m_url != *
reinterpret_cast< QString*
>(_v)) {
165 _t->m_url = *
reinterpret_cast< QString*
>(_v);
166 Q_EMIT _t->changed();
170 if (_t->m_size != *
reinterpret_cast< QString*
>(_v)) {
171 _t->m_size = *
reinterpret_cast< QString*
>(_v);
172 Q_EMIT _t->changed();
176 if (_t->m_standard != *
reinterpret_cast< bool*
>(_v)) {
177 _t->m_standard = *
reinterpret_cast< bool*
>(_v);
178 Q_EMIT _t->changed();
186const QMetaObject *QmlExtensionFile::metaObject()
const
188 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
191void *QmlExtensionFile::qt_metacast(
const char *_clname)
193 if (!_clname)
return nullptr;
194 if (!strcmp(_clname, qt_meta_stringdata_ZN16QmlExtensionFileE.stringdata0))
195 return static_cast<void*
>(
this);
196 return QObject::qt_metacast(_clname);
199int QmlExtensionFile::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
201 _id = QObject::qt_metacall(_c, _id, _a);
204 if (_c == QMetaObject::InvokeMetaMethod) {
206 qt_static_metacall(
this, _c, _id, _a);
209 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
211 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
214 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
215 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
216 || _c == QMetaObject::RegisterPropertyMetaType) {
217 qt_static_metacall(
this, _c, _id, _a);
224void QmlExtensionFile::changed()
226 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
229struct qt_meta_tag_ZN12QmlExtensionE_t {};
233#ifdef QT_MOC_HAS_STRINGDATA
234static constexpr auto qt_meta_stringdata_ZN12QmlExtensionE = QtMocHelpers::stringData(
242 "QQmlListProperty<QmlExtensionFile>"
245#error "qtmochelpers.h not found or too old."
248Q_CONSTINIT
static const uint qt_meta_data_ZN12QmlExtensionE[] = {
262 1, 0, 20, 2, 0x06, 5 ,
268 3, QMetaType::QString, 0x00015103, uint(0), 0,
269 4, QMetaType::QString, 0x00015103, uint(0), 0,
270 5, QMetaType::QString, 0x00015103, uint(0), 0,
271 6, 0x80000000 | 7, 0x00015009, uint(0), 0,
276Q_CONSTINIT
const QMetaObject QmlExtension::staticMetaObject = { {
277 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
278 qt_meta_stringdata_ZN12QmlExtensionE.offsetsAndSizes,
279 qt_meta_data_ZN12QmlExtensionE,
282 qt_incomplete_metaTypeArray<qt_meta_tag_ZN12QmlExtensionE_t,
284 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
286 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
288 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
290 QtPrivate::TypeAndForceComplete<QQmlListProperty<QmlExtensionFile>, std::true_type>,
292 QtPrivate::TypeAndForceComplete<QmlExtension, std::true_type>,
294 QtPrivate::TypeAndForceComplete<void, std::false_type>
299void QmlExtension::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
301 auto *_t =
static_cast<QmlExtension *
>(_o);
302 if (_c == QMetaObject::InvokeMetaMethod) {
304 case 0: _t->changed();
break;
308 if (_c == QMetaObject::IndexOfMethod) {
309 int *result =
reinterpret_cast<int *
>(_a[0]);
311 using _q_method_type = void (QmlExtension::*)();
312 if (_q_method_type _q_method = &QmlExtension::changed; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
318 if (_c == QMetaObject::ReadProperty) {
321 case 0: *
reinterpret_cast< QString*
>(_v) = _t->id();
break;
322 case 1: *
reinterpret_cast< QString*
>(_v) = _t->name();
break;
323 case 2: *
reinterpret_cast< QString*
>(_v) = _t->version();
break;
324 case 3: *
reinterpret_cast< QQmlListProperty<QmlExtensionFile>*
>(_v) = _t->files();
break;
328 if (_c == QMetaObject::WriteProperty) {
331 case 0: _t->setId(*
reinterpret_cast< QString*
>(_v));
break;
332 case 1: _t->setName(*
reinterpret_cast< QString*
>(_v));
break;
333 case 2: _t->setVersion(*
reinterpret_cast< QString*
>(_v));
break;
339const QMetaObject *QmlExtension::metaObject()
const
341 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
344void *QmlExtension::qt_metacast(
const char *_clname)
346 if (!_clname)
return nullptr;
347 if (!strcmp(_clname, qt_meta_stringdata_ZN12QmlExtensionE.stringdata0))
348 return static_cast<void*
>(
this);
349 return QObject::qt_metacast(_clname);
352int QmlExtension::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
354 _id = QObject::qt_metacall(_c, _id, _a);
357 if (_c == QMetaObject::InvokeMetaMethod) {
359 qt_static_metacall(
this, _c, _id, _a);
362 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
364 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
367 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
368 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
369 || _c == QMetaObject::RegisterPropertyMetaType) {
370 qt_static_metacall(
this, _c, _id, _a);
377void QmlExtension::changed()
379 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);