1/****************************************************************************
2** Meta object code from reading C++ file 'qopenglshaderprogram.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 "qopenglshaderprogram.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qopenglshaderprogram.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_QOpenGLShader_t {
25 const uint offsetsAndSize[2];
26 char stringdata0[14];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QOpenGLShader_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QOpenGLShader_t qt_meta_stringdata_QOpenGLShader = {
31 {
32QT_MOC_LITERAL(0, 13) // "QOpenGLShader"
33
34 },
35 "QOpenGLShader"
36};
37#undef QT_MOC_LITERAL
38
39static const uint qt_meta_data_QOpenGLShader[] = {
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 QOpenGLShader::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 QOpenGLShader::staticMetaObject = { {
64 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
65 qt_meta_stringdata_QOpenGLShader.offsetsAndSize,
66 qt_meta_data_QOpenGLShader,
67 qt_static_metacall,
68 nullptr,
69 nullptr,
70 nullptr
71} };
72
73
74const QMetaObject *QOpenGLShader::metaObject() const
75{
76 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
77}
78
79void *QOpenGLShader::qt_metacast(const char *_clname)
80{
81 if (!_clname) return nullptr;
82 if (!strcmp(_clname, qt_meta_stringdata_QOpenGLShader.stringdata0))
83 return static_cast<void*>(this);
84 return QObject::qt_metacast(_clname);
85}
86
87int QOpenGLShader::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_QOpenGLShaderProgram_t {
93 const uint offsetsAndSize[6];
94 char stringdata0[38];
95};
96#define QT_MOC_LITERAL(ofs, len) \
97 uint(offsetof(qt_meta_stringdata_QOpenGLShaderProgram_t, stringdata0) + ofs), len
98static const qt_meta_stringdata_QOpenGLShaderProgram_t qt_meta_stringdata_QOpenGLShaderProgram = {
99 {
100QT_MOC_LITERAL(0, 20), // "QOpenGLShaderProgram"
101QT_MOC_LITERAL(21, 15), // "shaderDestroyed"
102QT_MOC_LITERAL(37, 0) // ""
103
104 },
105 "QOpenGLShaderProgram\0shaderDestroyed\0"
106 ""
107};
108#undef QT_MOC_LITERAL
109
110static const uint qt_meta_data_QOpenGLShaderProgram[] = {
111
112 // content:
113 9, // revision
114 0, // classname
115 0, 0, // classinfo
116 1, 14, // methods
117 0, 0, // properties
118 0, 0, // enums/sets
119 0, 0, // constructors
120 0, // flags
121 0, // signalCount
122
123 // slots: name, argc, parameters, tag, flags, initial metatype offsets
124 1, 0, 20, 2, 0x08, 0 /* Private */,
125
126 // slots: parameters
127 QMetaType::Void,
128
129 0 // eod
130};
131
132void QOpenGLShaderProgram::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
133{
134 if (_c == QMetaObject::InvokeMetaMethod) {
135 Q_ASSERT(staticMetaObject.cast(_o));
136 auto *_t = static_cast<QOpenGLShaderProgram *>(_o);
137 Q_UNUSED(_t)
138 switch (_id) {
139 case 0: _t->shaderDestroyed(); break;
140 default: ;
141 }
142 }
143 Q_UNUSED(_a);
144}
145
146const QMetaObject QOpenGLShaderProgram::staticMetaObject = { {
147 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
148 qt_meta_stringdata_QOpenGLShaderProgram.offsetsAndSize,
149 qt_meta_data_QOpenGLShaderProgram,
150 qt_static_metacall,
151 nullptr,
152qt_incomplete_metaTypeArray<qt_meta_stringdata_QOpenGLShaderProgram_t
153
154, QtPrivate::TypeAndForceComplete<void, std::false_type>
155
156
157>,
158 nullptr
159} };
160
161
162const QMetaObject *QOpenGLShaderProgram::metaObject() const
163{
164 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
165}
166
167void *QOpenGLShaderProgram::qt_metacast(const char *_clname)
168{
169 if (!_clname) return nullptr;
170 if (!strcmp(_clname, qt_meta_stringdata_QOpenGLShaderProgram.stringdata0))
171 return static_cast<void*>(this);
172 return QObject::qt_metacast(_clname);
173}
174
175int QOpenGLShaderProgram::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
176{
177 _id = QObject::qt_metacall(_c, _id, _a);
178 if (_id < 0)
179 return _id;
180 if (_c == QMetaObject::InvokeMetaMethod) {
181 if (_id < 1)
182 qt_static_metacall(this, _c, _id, _a);
183 _id -= 1;
184 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
185 if (_id < 1)
186 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
187 _id -= 1;
188 }
189 return _id;
190}
191QT_WARNING_POP
192QT_END_MOC_NAMESPACE
193