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