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