1/****************************************************************************
2** Meta object code from reading C++ file 'glwidget.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 "glwidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'glwidget.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_GLWidget_t {
25 const uint offsetsAndSize[20];
26 char stringdata0[106];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_GLWidget_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_GLWidget_t qt_meta_stringdata_GLWidget = {
31 {
32QT_MOC_LITERAL(0, 8), // "GLWidget"
33QT_MOC_LITERAL(9, 10), // "setScaling"
34QT_MOC_LITERAL(20, 0), // ""
35QT_MOC_LITERAL(21, 5), // "scale"
36QT_MOC_LITERAL(27, 7), // "setLogo"
37QT_MOC_LITERAL(35, 10), // "setTexture"
38QT_MOC_LITERAL(46, 14), // "setShowBubbles"
39QT_MOC_LITERAL(61, 14), // "setTransparent"
40QT_MOC_LITERAL(76, 11), // "transparent"
41QT_MOC_LITERAL(88, 17) // "handleButtonPress"
42
43 },
44 "GLWidget\0setScaling\0\0scale\0setLogo\0"
45 "setTexture\0setShowBubbles\0setTransparent\0"
46 "transparent\0handleButtonPress"
47};
48#undef QT_MOC_LITERAL
49
50static const uint qt_meta_data_GLWidget[] = {
51
52 // content:
53 9, // revision
54 0, // classname
55 0, 0, // classinfo
56 6, 14, // methods
57 0, 0, // properties
58 0, 0, // enums/sets
59 0, 0, // constructors
60 0, // flags
61 0, // signalCount
62
63 // slots: name, argc, parameters, tag, flags, initial metatype offsets
64 1, 1, 50, 2, 0x0a, 0 /* Public */,
65 4, 0, 53, 2, 0x0a, 2 /* Public */,
66 5, 0, 54, 2, 0x0a, 3 /* Public */,
67 6, 1, 55, 2, 0x0a, 4 /* Public */,
68 7, 1, 58, 2, 0x0a, 6 /* Public */,
69 9, 0, 61, 2, 0x08, 8 /* Private */,
70
71 // slots: parameters
72 QMetaType::Void, QMetaType::Int, 3,
73 QMetaType::Void,
74 QMetaType::Void,
75 QMetaType::Void, QMetaType::Bool, 2,
76 QMetaType::Void, QMetaType::Bool, 8,
77 QMetaType::Void,
78
79 0 // eod
80};
81
82void GLWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
83{
84 if (_c == QMetaObject::InvokeMetaMethod) {
85 Q_ASSERT(staticMetaObject.cast(_o));
86 auto *_t = static_cast<GLWidget *>(_o);
87 Q_UNUSED(_t)
88 switch (_id) {
89 case 0: _t->setScaling((*reinterpret_cast< int(*)>(_a[1]))); break;
90 case 1: _t->setLogo(); break;
91 case 2: _t->setTexture(); break;
92 case 3: _t->setShowBubbles((*reinterpret_cast< bool(*)>(_a[1]))); break;
93 case 4: _t->setTransparent((*reinterpret_cast< bool(*)>(_a[1]))); break;
94 case 5: _t->handleButtonPress(); break;
95 default: ;
96 }
97 }
98}
99
100const QMetaObject GLWidget::staticMetaObject = { {
101 QMetaObject::SuperData::link<QOpenGLWidget::staticMetaObject>(),
102 qt_meta_stringdata_GLWidget.offsetsAndSize,
103 qt_meta_data_GLWidget,
104 qt_static_metacall,
105 nullptr,
106qt_incomplete_metaTypeArray<qt_meta_stringdata_GLWidget_t
107
108, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
109
110
111>,
112 nullptr
113} };
114
115
116const QMetaObject *GLWidget::metaObject() const
117{
118 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
119}
120
121void *GLWidget::qt_metacast(const char *_clname)
122{
123 if (!_clname) return nullptr;
124 if (!strcmp(_clname, qt_meta_stringdata_GLWidget.stringdata0))
125 return static_cast<void*>(this);
126 if (!strcmp(_clname, "QOpenGLFunctions"))
127 return static_cast< QOpenGLFunctions*>(this);
128 return QOpenGLWidget::qt_metacast(_clname);
129}
130
131int GLWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
132{
133 _id = QOpenGLWidget::qt_metacall(_c, _id, _a);
134 if (_id < 0)
135 return _id;
136 if (_c == QMetaObject::InvokeMetaMethod) {
137 if (_id < 6)
138 qt_static_metacall(this, _c, _id, _a);
139 _id -= 6;
140 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
141 if (_id < 6)
142 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
143 _id -= 6;
144 }
145 return _id;
146}
147QT_WARNING_POP
148QT_END_MOC_NAMESPACE
149