1/****************************************************************************
2** Meta object code from reading C++ file 'qopenglcontext.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 "kernel/qopenglcontext.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qopenglcontext.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_QOpenGLContextGroup_t {
25 const uint offsetsAndSize[2];
26 char stringdata0[20];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QOpenGLContextGroup_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QOpenGLContextGroup_t qt_meta_stringdata_QOpenGLContextGroup = {
31 {
32QT_MOC_LITERAL(0, 19) // "QOpenGLContextGroup"
33
34 },
35 "QOpenGLContextGroup"
36};
37#undef QT_MOC_LITERAL
38
39static const uint qt_meta_data_QOpenGLContextGroup[] = {
40
41 // content:
42 9, // revision
43 0, // classname
44 0, 0, // classinfo
45 0, 0, // methods
46 0, 0, // properties
47 0, 0, // enums/sets
48 0, 0, // constructors
49 0, // flags
50 0, // signalCount
51
52 0 // eod
53};
54
55void QOpenGLContextGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
56{
57 Q_UNUSED(_o);
58 Q_UNUSED(_id);
59 Q_UNUSED(_c);
60 Q_UNUSED(_a);
61}
62
63const QMetaObject QOpenGLContextGroup::staticMetaObject = { {
64 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
65 qt_meta_stringdata_QOpenGLContextGroup.offsetsAndSize,
66 qt_meta_data_QOpenGLContextGroup,
67 qt_static_metacall,
68 nullptr,
69 nullptr,
70 nullptr
71} };
72
73
74const QMetaObject *QOpenGLContextGroup::metaObject() const
75{
76 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
77}
78
79void *QOpenGLContextGroup::qt_metacast(const char *_clname)
80{
81 if (!_clname) return nullptr;
82 if (!strcmp(_clname, qt_meta_stringdata_QOpenGLContextGroup.stringdata0))
83 return static_cast<void*>(this);
84 return QObject::qt_metacast(_clname);
85}
86
87int QOpenGLContextGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
88{
89 _id = QObject::qt_metacall(_c, _id, _a);
90 return _id;
91}
92struct qt_meta_stringdata_QOpenGLContext_t {
93 const uint offsetsAndSize[10];
94 char stringdata0[61];
95};
96#define QT_MOC_LITERAL(ofs, len) \
97 uint(offsetof(qt_meta_stringdata_QOpenGLContext_t, stringdata0) + ofs), len
98static const qt_meta_stringdata_QOpenGLContext_t qt_meta_stringdata_QOpenGLContext = {
99 {
100QT_MOC_LITERAL(0, 14), // "QOpenGLContext"
101QT_MOC_LITERAL(15, 18), // "aboutToBeDestroyed"
102QT_MOC_LITERAL(34, 0), // ""
103QT_MOC_LITERAL(35, 18), // "_q_screenDestroyed"
104QT_MOC_LITERAL(54, 6) // "object"
105
106 },
107 "QOpenGLContext\0aboutToBeDestroyed\0\0"
108 "_q_screenDestroyed\0object"
109};
110#undef QT_MOC_LITERAL
111
112static const uint qt_meta_data_QOpenGLContext[] = {
113
114 // content:
115 9, // revision
116 0, // classname
117 0, 0, // classinfo
118 2, 14, // methods
119 0, 0, // properties
120 0, 0, // enums/sets
121 0, 0, // constructors
122 0, // flags
123 1, // signalCount
124
125 // signals: name, argc, parameters, tag, flags, initial metatype offsets
126 1, 0, 26, 2, 0x06, 0 /* Public */,
127
128 // slots: name, argc, parameters, tag, flags, initial metatype offsets
129 3, 1, 27, 2, 0x08, 1 /* Private */,
130
131 // signals: parameters
132 QMetaType::Void,
133
134 // slots: parameters
135 QMetaType::Void, QMetaType::QObjectStar, 4,
136
137 0 // eod
138};
139
140void QOpenGLContext::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
141{
142 if (_c == QMetaObject::InvokeMetaMethod) {
143 Q_ASSERT(staticMetaObject.cast(_o));
144 auto *_t = static_cast<QOpenGLContext *>(_o);
145 Q_UNUSED(_t)
146 switch (_id) {
147 case 0: _t->aboutToBeDestroyed(); break;
148 case 1: _t->d_func()->_q_screenDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
149 default: ;
150 }
151 } else if (_c == QMetaObject::IndexOfMethod) {
152 int *result = reinterpret_cast<int *>(_a[0]);
153 {
154 using _t = void (QOpenGLContext::*)();
155 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QOpenGLContext::aboutToBeDestroyed)) {
156 *result = 0;
157 return;
158 }
159 }
160 }
161}
162
163const QMetaObject QOpenGLContext::staticMetaObject = { {
164 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
165 qt_meta_stringdata_QOpenGLContext.offsetsAndSize,
166 qt_meta_data_QOpenGLContext,
167 qt_static_metacall,
168 nullptr,
169qt_incomplete_metaTypeArray<qt_meta_stringdata_QOpenGLContext_t
170, QtPrivate::TypeAndForceComplete<void, std::false_type>
171, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QObject *, std::false_type>
172
173
174>,
175 nullptr
176} };
177
178
179const QMetaObject *QOpenGLContext::metaObject() const
180{
181 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
182}
183
184void *QOpenGLContext::qt_metacast(const char *_clname)
185{
186 if (!_clname) return nullptr;
187 if (!strcmp(_clname, qt_meta_stringdata_QOpenGLContext.stringdata0))
188 return static_cast<void*>(this);
189 return QObject::qt_metacast(_clname);
190}
191
192int QOpenGLContext::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 < 2)
199 qt_static_metacall(this, _c, _id, _a);
200 _id -= 2;
201 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
202 if (_id < 2)
203 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
204 _id -= 2;
205 }
206 return _id;
207}
208
209// SIGNAL 0
210void QOpenGLContext::aboutToBeDestroyed()
211{
212 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
213}
214QT_WARNING_POP
215QT_END_MOC_NAMESPACE
216