CuteLogger
Fast and simple logging solution for Qt based applications
moc_qmlprofile.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'qmlprofile.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/qmlprofile.h"
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
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.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSQmlProfileENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSQmlProfileENDCLASS = QtMocHelpers::stringData(
38 "QmlProfile",
39 "profileChanged",
40 "",
41 "width",
42 "height",
43 "aspectRatio",
44 "fps",
45 "sar"
46);
47#else // !QT_MOC_HAS_STRINGDATA
48#error "qtmochelpers.h not found or too old."
49#endif // !QT_MOC_HAS_STRINGDATA
50} // unnamed namespace
51
52Q_CONSTINIT static const uint qt_meta_data_CLASSQmlProfileENDCLASS[] = {
53
54 // content:
55 12, // revision
56 0, // classname
57 0, 0, // classinfo
58 1, 14, // methods
59 5, 21, // properties
60 0, 0, // enums/sets
61 0, 0, // constructors
62 0, // flags
63 1, // signalCount
64
65 // signals: name, argc, parameters, tag, flags, initial metatype offsets
66 1, 0, 20, 2, 0x06, 6 /* Public */,
67
68 // signals: parameters
69 QMetaType::Void,
70
71 // properties: name, type, flags
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,
77
78 0 // eod
79};
80
81Q_CONSTINIT const QMetaObject QmlProfile::staticMetaObject = { {
82 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
83 qt_meta_stringdata_CLASSQmlProfileENDCLASS.offsetsAndSizes,
84 qt_meta_data_CLASSQmlProfileENDCLASS,
85 qt_static_metacall,
86 nullptr,
87 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlProfileENDCLASS_t,
88 // property 'width'
89 QtPrivate::TypeAndForceComplete<int, std::true_type>,
90 // property 'height'
91 QtPrivate::TypeAndForceComplete<int, std::true_type>,
92 // property 'aspectRatio'
93 QtPrivate::TypeAndForceComplete<double, std::true_type>,
94 // property 'fps'
95 QtPrivate::TypeAndForceComplete<double, std::true_type>,
96 // property 'sar'
97 QtPrivate::TypeAndForceComplete<double, std::true_type>,
98 // Q_OBJECT / Q_GADGET
99 QtPrivate::TypeAndForceComplete<QmlProfile, std::true_type>,
100 // method 'profileChanged'
101 QtPrivate::TypeAndForceComplete<void, std::false_type>
102 >,
103 nullptr
104} };
105
106void QmlProfile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
107{
108 if (_c == QMetaObject::InvokeMetaMethod) {
109 auto *_t = static_cast<QmlProfile *>(_o);
110 (void)_t;
111 switch (_id) {
112 case 0: _t->profileChanged(); break;
113 default: ;
114 }
115 } else if (_c == QMetaObject::IndexOfMethod) {
116 int *result = reinterpret_cast<int *>(_a[0]);
117 {
118 using _t = void (QmlProfile::*)();
119 if (_t _q_method = &QmlProfile::profileChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
120 *result = 0;
121 return;
122 }
123 }
124 } else if (_c == QMetaObject::ReadProperty) {
125 auto *_t = static_cast<QmlProfile *>(_o);
126 (void)_t;
127 void *_v = _a[0];
128 switch (_id) {
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;
134 default: break;
135 }
136 } else if (_c == QMetaObject::WriteProperty) {
137 } else if (_c == QMetaObject::ResetProperty) {
138 } else if (_c == QMetaObject::BindableProperty) {
139 }
140 (void)_a;
141}
142
143const QMetaObject *QmlProfile::metaObject() const
144{
145 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
146}
147
148void *QmlProfile::qt_metacast(const char *_clname)
149{
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);
154}
155
156int QmlProfile::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
157{
158 _id = QObject::qt_metacall(_c, _id, _a);
159 if (_id < 0)
160 return _id;
161 if (_c == QMetaObject::InvokeMetaMethod) {
162 if (_id < 1)
163 qt_static_metacall(this, _c, _id, _a);
164 _id -= 1;
165 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
166 if (_id < 1)
167 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
168 _id -= 1;
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);
173 _id -= 5;
174 }
175 return _id;
176}
177
178// SIGNAL 0
179void QmlProfile::profileChanged()
180{
181 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
182}
183QT_WARNING_POP