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.8.3)
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.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.)"
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 {
34struct qt_meta_tag_ZN10QmlProfileE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN10QmlProfileE = QtMocHelpers::stringData(
40 "QmlProfile",
41 "profileChanged",
42 "",
43 "width",
44 "height",
45 "aspectRatio",
46 "fps",
47 "sar"
48);
49#else // !QT_MOC_HAS_STRINGDATA
50#error "qtmochelpers.h not found or too old."
51#endif // !QT_MOC_HAS_STRINGDATA
52
53Q_CONSTINIT static const uint qt_meta_data_ZN10QmlProfileE[] = {
54
55 // content:
56 12, // revision
57 0, // classname
58 0, 0, // classinfo
59 1, 14, // methods
60 5, 21, // properties
61 0, 0, // enums/sets
62 0, 0, // constructors
63 0, // flags
64 1, // signalCount
65
66 // signals: name, argc, parameters, tag, flags, initial metatype offsets
67 1, 0, 20, 2, 0x06, 6 /* Public */,
68
69 // signals: parameters
70 QMetaType::Void,
71
72 // properties: name, type, flags, notifyId, revision
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,
78
79 0 // eod
80};
81
82Q_CONSTINIT const QMetaObject QmlProfile::staticMetaObject = { {
83 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
84 qt_meta_stringdata_ZN10QmlProfileE.offsetsAndSizes,
85 qt_meta_data_ZN10QmlProfileE,
86 qt_static_metacall,
87 nullptr,
88 qt_incomplete_metaTypeArray<qt_meta_tag_ZN10QmlProfileE_t,
89 // property 'width'
90 QtPrivate::TypeAndForceComplete<int, std::true_type>,
91 // property 'height'
92 QtPrivate::TypeAndForceComplete<int, std::true_type>,
93 // property 'aspectRatio'
94 QtPrivate::TypeAndForceComplete<double, std::true_type>,
95 // property 'fps'
96 QtPrivate::TypeAndForceComplete<double, std::true_type>,
97 // property 'sar'
98 QtPrivate::TypeAndForceComplete<double, std::true_type>,
99 // Q_OBJECT / Q_GADGET
100 QtPrivate::TypeAndForceComplete<QmlProfile, std::true_type>,
101 // method 'profileChanged'
102 QtPrivate::TypeAndForceComplete<void, std::false_type>
103 >,
104 nullptr
105} };
106
107void QmlProfile::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
108{
109 auto *_t = static_cast<QmlProfile *>(_o);
110 if (_c == QMetaObject::InvokeMetaMethod) {
111 switch (_id) {
112 case 0: _t->profileChanged(); break;
113 default: ;
114 }
115 }
116 if (_c == QMetaObject::IndexOfMethod) {
117 int *result = reinterpret_cast<int *>(_a[0]);
118 {
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) {
121 *result = 0;
122 return;
123 }
124 }
125 }
126 if (_c == QMetaObject::ReadProperty) {
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 }
137}
138
139const QMetaObject *QmlProfile::metaObject() const
140{
141 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
142}
143
144void *QmlProfile::qt_metacast(const char *_clname)
145{
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);
150}
151
152int QmlProfile::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
153{
154 _id = QObject::qt_metacall(_c, _id, _a);
155 if (_id < 0)
156 return _id;
157 if (_c == QMetaObject::InvokeMetaMethod) {
158 if (_id < 1)
159 qt_static_metacall(this, _c, _id, _a);
160 _id -= 1;
161 }
162 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
163 if (_id < 1)
164 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
165 _id -= 1;
166 }
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);
171 _id -= 5;
172 }
173 return _id;
174}
175
176// SIGNAL 0
177void QmlProfile::profileChanged()
178{
179 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
180}
181QT_WARNING_POP