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.6.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#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'qmlprofile.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.2. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSQmlProfileENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSQmlProfileENDCLASS = QtMocHelpers::stringData(
41 "QmlProfile",
42 "profileChanged",
43 "",
44 "width",
45 "height",
46 "aspectRatio",
47 "fps",
48 "sar"
49);
50#else // !QT_MOC_HAS_STRING_DATA
51struct qt_meta_stringdata_CLASSQmlProfileENDCLASS_t {
52 uint offsetsAndSizes[16];
53 char stringdata0[11];
54 char stringdata1[15];
55 char stringdata2[1];
56 char stringdata3[6];
57 char stringdata4[7];
58 char stringdata5[12];
59 char stringdata6[4];
60 char stringdata7[4];
61};
62#define QT_MOC_LITERAL(ofs, len) \
63 uint(sizeof(qt_meta_stringdata_CLASSQmlProfileENDCLASS_t::offsetsAndSizes) + ofs), len
64Q_CONSTINIT static const qt_meta_stringdata_CLASSQmlProfileENDCLASS_t qt_meta_stringdata_CLASSQmlProfileENDCLASS = {
65 {
66 QT_MOC_LITERAL(0, 10), // "QmlProfile"
67 QT_MOC_LITERAL(11, 14), // "profileChanged"
68 QT_MOC_LITERAL(26, 0), // ""
69 QT_MOC_LITERAL(27, 5), // "width"
70 QT_MOC_LITERAL(33, 6), // "height"
71 QT_MOC_LITERAL(40, 11), // "aspectRatio"
72 QT_MOC_LITERAL(52, 3), // "fps"
73 QT_MOC_LITERAL(56, 3) // "sar"
74 },
75 "QmlProfile",
76 "profileChanged",
77 "",
78 "width",
79 "height",
80 "aspectRatio",
81 "fps",
82 "sar"
83};
84#undef QT_MOC_LITERAL
85#endif // !QT_MOC_HAS_STRING_DATA
86} // unnamed namespace
87
88Q_CONSTINIT static const uint qt_meta_data_CLASSQmlProfileENDCLASS[] = {
89
90 // content:
91 12, // revision
92 0, // classname
93 0, 0, // classinfo
94 1, 14, // methods
95 5, 21, // properties
96 0, 0, // enums/sets
97 0, 0, // constructors
98 0, // flags
99 1, // signalCount
100
101 // signals: name, argc, parameters, tag, flags, initial metatype offsets
102 1, 0, 20, 2, 0x06, 6 /* Public */,
103
104 // signals: parameters
105 QMetaType::Void,
106
107 // properties: name, type, flags
108 3, QMetaType::Int, 0x00015401, uint(-1), 0,
109 4, QMetaType::Int, 0x00015401, uint(-1), 0,
110 5, QMetaType::Double, 0x00015401, uint(-1), 0,
111 6, QMetaType::Double, 0x00015401, uint(-1), 0,
112 7, QMetaType::Double, 0x00015401, uint(-1), 0,
113
114 0 // eod
115};
116
117Q_CONSTINIT const QMetaObject QmlProfile::staticMetaObject = { {
118 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
119 qt_meta_stringdata_CLASSQmlProfileENDCLASS.offsetsAndSizes,
120 qt_meta_data_CLASSQmlProfileENDCLASS,
121 qt_static_metacall,
122 nullptr,
123 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSQmlProfileENDCLASS_t,
124 // property 'width'
125 QtPrivate::TypeAndForceComplete<int, std::true_type>,
126 // property 'height'
127 QtPrivate::TypeAndForceComplete<int, std::true_type>,
128 // property 'aspectRatio'
129 QtPrivate::TypeAndForceComplete<double, std::true_type>,
130 // property 'fps'
131 QtPrivate::TypeAndForceComplete<double, std::true_type>,
132 // property 'sar'
133 QtPrivate::TypeAndForceComplete<double, std::true_type>,
134 // Q_OBJECT / Q_GADGET
135 QtPrivate::TypeAndForceComplete<QmlProfile, std::true_type>,
136 // method 'profileChanged'
137 QtPrivate::TypeAndForceComplete<void, std::false_type>
138 >,
139 nullptr
140} };
141
142void QmlProfile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
143{
144 if (_c == QMetaObject::InvokeMetaMethod) {
145 auto *_t = static_cast<QmlProfile *>(_o);
146 (void)_t;
147 switch (_id) {
148 case 0: _t->profileChanged(); break;
149 default: ;
150 }
151 } else if (_c == QMetaObject::IndexOfMethod) {
152 int *result = reinterpret_cast<int *>(_a[0]);
153 {
154 using _t = void (QmlProfile::*)();
155 if (_t _q_method = &QmlProfile::profileChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
156 *result = 0;
157 return;
158 }
159 }
160 } else if (_c == QMetaObject::ReadProperty) {
161 auto *_t = static_cast<QmlProfile *>(_o);
162 (void)_t;
163 void *_v = _a[0];
164 switch (_id) {
165 case 0: *reinterpret_cast< int*>(_v) = _t->width(); break;
166 case 1: *reinterpret_cast< int*>(_v) = _t->height(); break;
167 case 2: *reinterpret_cast< double*>(_v) = _t->aspectRatio(); break;
168 case 3: *reinterpret_cast< double*>(_v) = _t->fps(); break;
169 case 4: *reinterpret_cast< double*>(_v) = _t->sar(); break;
170 default: break;
171 }
172 } else if (_c == QMetaObject::WriteProperty) {
173 } else if (_c == QMetaObject::ResetProperty) {
174 } else if (_c == QMetaObject::BindableProperty) {
175 }
176 (void)_a;
177}
178
179const QMetaObject *QmlProfile::metaObject() const
180{
181 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
182}
183
184void *QmlProfile::qt_metacast(const char *_clname)
185{
186 if (!_clname) return nullptr;
187 if (!strcmp(_clname, qt_meta_stringdata_CLASSQmlProfileENDCLASS.stringdata0))
188 return static_cast<void*>(this);
189 return QObject::qt_metacast(_clname);
190}
191
192int QmlProfile::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
193{
194 _id = QObject::qt_metacall(_c, _id, _a);
195 if (_id < 0)
196 return _id;
197 if (_c == QMetaObject::InvokeMetaMethod) {
198 if (_id < 1)
199 qt_static_metacall(this, _c, _id, _a);
200 _id -= 1;
201 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
202 if (_id < 1)
203 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
204 _id -= 1;
205 }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
206 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
207 || _c == QMetaObject::RegisterPropertyMetaType) {
208 qt_static_metacall(this, _c, _id, _a);
209 _id -= 5;
210 }
211 return _id;
212}
213
214// SIGNAL 0
215void QmlProfile::profileChanged()
216{
217 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
218}
219QT_WARNING_POP