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