1/****************************************************************************
2** Meta object code from reading C++ file 'glwidget.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "glwidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'glwidget.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 68
16#error "This file was generated using the moc from 6.0.0. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_GLWidget_t {
25 const uint offsetsAndSize[20];
26 char stringdata0[114];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_GLWidget_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_GLWidget_t qt_meta_stringdata_GLWidget = {
31 {
32QT_MOC_LITERAL(0, 8), // "GLWidget"
33QT_MOC_LITERAL(9, 16), // "xRotationChanged"
34QT_MOC_LITERAL(26, 0), // ""
35QT_MOC_LITERAL(27, 5), // "angle"
36QT_MOC_LITERAL(33, 16), // "yRotationChanged"
37QT_MOC_LITERAL(50, 16), // "zRotationChanged"
38QT_MOC_LITERAL(67, 12), // "setXRotation"
39QT_MOC_LITERAL(80, 12), // "setYRotation"
40QT_MOC_LITERAL(93, 12), // "setZRotation"
41QT_MOC_LITERAL(106, 7) // "cleanup"
42
43 },
44 "GLWidget\0xRotationChanged\0\0angle\0"
45 "yRotationChanged\0zRotationChanged\0"
46 "setXRotation\0setYRotation\0setZRotation\0"
47 "cleanup"
48};
49#undef QT_MOC_LITERAL
50
51static const uint qt_meta_data_GLWidget[] = {
52
53 // content:
54 9, // revision
55 0, // classname
56 0, 0, // classinfo
57 7, 14, // methods
58 0, 0, // properties
59 0, 0, // enums/sets
60 0, 0, // constructors
61 0, // flags
62 3, // signalCount
63
64 // signals: name, argc, parameters, tag, flags, initial metatype offsets
65 1, 1, 56, 2, 0x06, 0 /* Public */,
66 4, 1, 59, 2, 0x06, 2 /* Public */,
67 5, 1, 62, 2, 0x06, 4 /* Public */,
68
69 // slots: name, argc, parameters, tag, flags, initial metatype offsets
70 6, 1, 65, 2, 0x0a, 6 /* Public */,
71 7, 1, 68, 2, 0x0a, 8 /* Public */,
72 8, 1, 71, 2, 0x0a, 10 /* Public */,
73 9, 0, 74, 2, 0x0a, 12 /* Public */,
74
75 // signals: parameters
76 QMetaType::Void, QMetaType::Int, 3,
77 QMetaType::Void, QMetaType::Int, 3,
78 QMetaType::Void, QMetaType::Int, 3,
79
80 // slots: parameters
81 QMetaType::Void, QMetaType::Int, 3,
82 QMetaType::Void, QMetaType::Int, 3,
83 QMetaType::Void, QMetaType::Int, 3,
84 QMetaType::Void,
85
86 0 // eod
87};
88
89void GLWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
90{
91 if (_c == QMetaObject::InvokeMetaMethod) {
92 Q_ASSERT(staticMetaObject.cast(_o));
93 auto *_t = static_cast<GLWidget *>(_o);
94 Q_UNUSED(_t)
95 switch (_id) {
96 case 0: _t->xRotationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
97 case 1: _t->yRotationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
98 case 2: _t->zRotationChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
99 case 3: _t->setXRotation((*reinterpret_cast< int(*)>(_a[1]))); break;
100 case 4: _t->setYRotation((*reinterpret_cast< int(*)>(_a[1]))); break;
101 case 5: _t->setZRotation((*reinterpret_cast< int(*)>(_a[1]))); break;
102 case 6: _t->cleanup(); break;
103 default: ;
104 }
105 } else if (_c == QMetaObject::IndexOfMethod) {
106 int *result = reinterpret_cast<int *>(_a[0]);
107 {
108 using _t = void (GLWidget::*)(int );
109 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GLWidget::xRotationChanged)) {
110 *result = 0;
111 return;
112 }
113 }
114 {
115 using _t = void (GLWidget::*)(int );
116 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GLWidget::yRotationChanged)) {
117 *result = 1;
118 return;
119 }
120 }
121 {
122 using _t = void (GLWidget::*)(int );
123 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GLWidget::zRotationChanged)) {
124 *result = 2;
125 return;
126 }
127 }
128 }
129}
130
131const QMetaObject GLWidget::staticMetaObject = { {
132 QMetaObject::SuperData::link<QOpenGLWidget::staticMetaObject>(),
133 qt_meta_stringdata_GLWidget.offsetsAndSize,
134 qt_meta_data_GLWidget,
135 qt_static_metacall,
136 nullptr,
137qt_incomplete_metaTypeArray<qt_meta_stringdata_GLWidget_t
138, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>
139, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
140
141
142>,
143 nullptr
144} };
145
146
147const QMetaObject *GLWidget::metaObject() const
148{
149 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
150}
151
152void *GLWidget::qt_metacast(const char *_clname)
153{
154 if (!_clname) return nullptr;
155 if (!strcmp(_clname, qt_meta_stringdata_GLWidget.stringdata0))
156 return static_cast<void*>(this);
157 if (!strcmp(_clname, "QOpenGLFunctions"))
158 return static_cast< QOpenGLFunctions*>(this);
159 return QOpenGLWidget::qt_metacast(_clname);
160}
161
162int GLWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
163{
164 _id = QOpenGLWidget::qt_metacall(_c, _id, _a);
165 if (_id < 0)
166 return _id;
167 if (_c == QMetaObject::InvokeMetaMethod) {
168 if (_id < 7)
169 qt_static_metacall(this, _c, _id, _a);
170 _id -= 7;
171 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
172 if (_id < 7)
173 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
174 _id -= 7;
175 }
176 return _id;
177}
178
179// SIGNAL 0
180void GLWidget::xRotationChanged(int _t1)
181{
182 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
183 QMetaObject::activate(this, &staticMetaObject, 0, _a);
184}
185
186// SIGNAL 1
187void GLWidget::yRotationChanged(int _t1)
188{
189 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
190 QMetaObject::activate(this, &staticMetaObject, 1, _a);
191}
192
193// SIGNAL 2
194void GLWidget::zRotationChanged(int _t1)
195{
196 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
197 QMetaObject::activate(this, &staticMetaObject, 2, _a);
198}
199QT_WARNING_POP
200QT_END_MOC_NAMESPACE
201