1/****************************************************************************
2** Meta object code from reading C++ file 'glwindow.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 "glwindow.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'glwindow.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_GLWindow_t {
25 const uint offsetsAndSize[12];
26 char stringdata0[34];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_GLWindow_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_GLWindow_t qt_meta_stringdata_GLWindow = {
31 {
32QT_MOC_LITERAL(0, 8), // "GLWindow"
33QT_MOC_LITERAL(9, 16), // "startSecondStage"
34QT_MOC_LITERAL(26, 0), // ""
35QT_MOC_LITERAL(27, 1), // "z"
36QT_MOC_LITERAL(29, 1), // "r"
37QT_MOC_LITERAL(31, 2) // "r2"
38
39 },
40 "GLWindow\0startSecondStage\0\0z\0r\0r2"
41};
42#undef QT_MOC_LITERAL
43
44static const uint qt_meta_data_GLWindow[] = {
45
46 // content:
47 9, // revision
48 0, // classname
49 0, 0, // classinfo
50 1, 14, // methods
51 3, 21, // properties
52 0, 0, // enums/sets
53 0, 0, // constructors
54 0, // flags
55 0, // signalCount
56
57 // slots: name, argc, parameters, tag, flags, initial metatype offsets
58 1, 0, 20, 2, 0x08, 3 /* Private */,
59
60 // slots: parameters
61 QMetaType::Void,
62
63 // properties: name, type, flags
64 3, QMetaType::Float, 0x00015103, uint(-1), 0,
65 4, QMetaType::Float, 0x00015103, uint(-1), 0,
66 5, QMetaType::Float, 0x00015103, uint(-1), 0,
67
68 0 // eod
69};
70
71void GLWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
72{
73 if (_c == QMetaObject::InvokeMetaMethod) {
74 Q_ASSERT(staticMetaObject.cast(_o));
75 auto *_t = static_cast<GLWindow *>(_o);
76 Q_UNUSED(_t)
77 switch (_id) {
78 case 0: _t->startSecondStage(); break;
79 default: ;
80 }
81 }
82#ifndef QT_NO_PROPERTIES
83 else if (_c == QMetaObject::ReadProperty) {
84 Q_ASSERT(staticMetaObject.cast(_o));
85 auto *_t = static_cast<GLWindow *>(_o);
86 Q_UNUSED(_t)
87 void *_v = _a[0];
88 switch (_id) {
89 case 0: *reinterpret_cast< float*>(_v) = _t->z(); break;
90 case 1: *reinterpret_cast< float*>(_v) = _t->r(); break;
91 case 2: *reinterpret_cast< float*>(_v) = _t->r2(); break;
92 default: break;
93 }
94 } else if (_c == QMetaObject::WriteProperty) {
95 Q_ASSERT(staticMetaObject.cast(_o));
96 auto *_t = static_cast<GLWindow *>(_o);
97 Q_UNUSED(_t)
98 void *_v = _a[0];
99 switch (_id) {
100 case 0: _t->setZ(*reinterpret_cast< float*>(_v)); break;
101 case 1: _t->setR(*reinterpret_cast< float*>(_v)); break;
102 case 2: _t->setR2(*reinterpret_cast< float*>(_v)); break;
103 default: break;
104 }
105 } else if (_c == QMetaObject::ResetProperty) {
106 } else if (_c == QMetaObject::BindableProperty) {
107 }
108#endif // QT_NO_PROPERTIES
109 Q_UNUSED(_a);
110}
111
112const QMetaObject GLWindow::staticMetaObject = { {
113 QMetaObject::SuperData::link<QOpenGLWindow::staticMetaObject>(),
114 qt_meta_stringdata_GLWindow.offsetsAndSize,
115 qt_meta_data_GLWindow,
116 qt_static_metacall,
117 nullptr,
118qt_incomplete_metaTypeArray<qt_meta_stringdata_GLWindow_t
119, QtPrivate::TypeAndForceComplete<float, std::true_type>, QtPrivate::TypeAndForceComplete<float, std::true_type>, QtPrivate::TypeAndForceComplete<float, std::true_type>
120, QtPrivate::TypeAndForceComplete<void, std::false_type>
121
122
123>,
124 nullptr
125} };
126
127
128const QMetaObject *GLWindow::metaObject() const
129{
130 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131}
132
133void *GLWindow::qt_metacast(const char *_clname)
134{
135 if (!_clname) return nullptr;
136 if (!strcmp(_clname, qt_meta_stringdata_GLWindow.stringdata0))
137 return static_cast<void*>(this);
138 return QOpenGLWindow::qt_metacast(_clname);
139}
140
141int GLWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
142{
143 _id = QOpenGLWindow::qt_metacall(_c, _id, _a);
144 if (_id < 0)
145 return _id;
146 if (_c == QMetaObject::InvokeMetaMethod) {
147 if (_id < 1)
148 qt_static_metacall(this, _c, _id, _a);
149 _id -= 1;
150 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
151 if (_id < 1)
152 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
153 _id -= 1;
154 }
155#ifndef QT_NO_PROPERTIES
156 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
157 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
158 || _c == QMetaObject::RegisterPropertyMetaType) {
159 qt_static_metacall(this, _c, _id, _a);
160 _id -= 3;
161 }
162#endif // QT_NO_PROPERTIES
163 return _id;
164}
165QT_WARNING_POP
166QT_END_MOC_NAMESPACE
167