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