1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'hellovulkanwidget.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 "hellovulkanwidget.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'hellovulkanwidget.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_MainWindow_t { |
25 | const uint offsetsAndSize[14]; |
26 | char stringdata0[79]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = { |
31 | { |
32 | QT_MOC_LITERAL(0, 10), // "MainWindow" |
33 | QT_MOC_LITERAL(11, 20), // "onVulkanInfoReceived" |
34 | QT_MOC_LITERAL(32, 0), // "" |
35 | QT_MOC_LITERAL(33, 4), // "text" |
36 | QT_MOC_LITERAL(38, 13), // "onFrameQueued" |
37 | QT_MOC_LITERAL(52, 10), // "colorValue" |
38 | QT_MOC_LITERAL(63, 15) // "onGrabRequested" |
39 | |
40 | }, |
41 | "MainWindow\0onVulkanInfoReceived\0\0text\0" |
42 | "onFrameQueued\0colorValue\0onGrabRequested" |
43 | }; |
44 | #undef QT_MOC_LITERAL |
45 | |
46 | static const uint qt_meta_data_MainWindow[] = { |
47 | |
48 | // content: |
49 | 9, // revision |
50 | 0, // classname |
51 | 0, 0, // classinfo |
52 | 3, 14, // methods |
53 | 0, 0, // properties |
54 | 0, 0, // enums/sets |
55 | 0, 0, // constructors |
56 | 0, // flags |
57 | 0, // signalCount |
58 | |
59 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
60 | 1, 1, 32, 2, 0x0a, 0 /* Public */, |
61 | 4, 1, 35, 2, 0x0a, 2 /* Public */, |
62 | 6, 0, 38, 2, 0x0a, 4 /* Public */, |
63 | |
64 | // slots: parameters |
65 | QMetaType::Void, QMetaType::QString, 3, |
66 | QMetaType::Void, QMetaType::Int, 5, |
67 | QMetaType::Void, |
68 | |
69 | 0 // eod |
70 | }; |
71 | |
72 | void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
73 | { |
74 | if (_c == QMetaObject::InvokeMetaMethod) { |
75 | Q_ASSERT(staticMetaObject.cast(_o)); |
76 | auto *_t = static_cast<MainWindow *>(_o); |
77 | Q_UNUSED(_t) |
78 | switch (_id) { |
79 | case 0: _t->onVulkanInfoReceived((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
80 | case 1: _t->onFrameQueued((*reinterpret_cast< int(*)>(_a[1]))); break; |
81 | case 2: _t->onGrabRequested(); break; |
82 | default: ; |
83 | } |
84 | } |
85 | } |
86 | |
87 | const QMetaObject MainWindow::staticMetaObject = { { |
88 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
89 | qt_meta_stringdata_MainWindow.offsetsAndSize, |
90 | qt_meta_data_MainWindow, |
91 | qt_static_metacall, |
92 | nullptr, |
93 | qt_incomplete_metaTypeArray<qt_meta_stringdata_MainWindow_t |
94 | |
95 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
96 | |
97 | |
98 | >, |
99 | nullptr |
100 | } }; |
101 | |
102 | |
103 | const QMetaObject *MainWindow::metaObject() const |
104 | { |
105 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
106 | } |
107 | |
108 | void *MainWindow::qt_metacast(const char *_clname) |
109 | { |
110 | if (!_clname) return nullptr; |
111 | if (!strcmp(_clname, qt_meta_stringdata_MainWindow.stringdata0)) |
112 | return static_cast<void*>(this); |
113 | return QWidget::qt_metacast(_clname); |
114 | } |
115 | |
116 | int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
117 | { |
118 | _id = QWidget::qt_metacall(_c, _id, _a); |
119 | if (_id < 0) |
120 | return _id; |
121 | if (_c == QMetaObject::InvokeMetaMethod) { |
122 | if (_id < 3) |
123 | qt_static_metacall(this, _c, _id, _a); |
124 | _id -= 3; |
125 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
126 | if (_id < 3) |
127 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
128 | _id -= 3; |
129 | } |
130 | return _id; |
131 | } |
132 | struct qt_meta_stringdata_VulkanWindow_t { |
133 | const uint offsetsAndSize[12]; |
134 | char stringdata0[61]; |
135 | }; |
136 | #define QT_MOC_LITERAL(ofs, len) \ |
137 | uint(offsetof(qt_meta_stringdata_VulkanWindow_t, stringdata0) + ofs), len |
138 | static const qt_meta_stringdata_VulkanWindow_t qt_meta_stringdata_VulkanWindow = { |
139 | { |
140 | QT_MOC_LITERAL(0, 12), // "VulkanWindow" |
141 | QT_MOC_LITERAL(13, 18), // "vulkanInfoReceived" |
142 | QT_MOC_LITERAL(32, 0), // "" |
143 | QT_MOC_LITERAL(33, 4), // "text" |
144 | QT_MOC_LITERAL(38, 11), // "frameQueued" |
145 | QT_MOC_LITERAL(50, 10) // "colorValue" |
146 | |
147 | }, |
148 | "VulkanWindow\0vulkanInfoReceived\0\0text\0" |
149 | "frameQueued\0colorValue" |
150 | }; |
151 | #undef QT_MOC_LITERAL |
152 | |
153 | static const uint qt_meta_data_VulkanWindow[] = { |
154 | |
155 | // content: |
156 | 9, // revision |
157 | 0, // classname |
158 | 0, 0, // classinfo |
159 | 2, 14, // methods |
160 | 0, 0, // properties |
161 | 0, 0, // enums/sets |
162 | 0, 0, // constructors |
163 | 0, // flags |
164 | 2, // signalCount |
165 | |
166 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
167 | 1, 1, 26, 2, 0x06, 0 /* Public */, |
168 | 4, 1, 29, 2, 0x06, 2 /* Public */, |
169 | |
170 | // signals: parameters |
171 | QMetaType::Void, QMetaType::QString, 3, |
172 | QMetaType::Void, QMetaType::Int, 5, |
173 | |
174 | 0 // eod |
175 | }; |
176 | |
177 | void VulkanWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
178 | { |
179 | if (_c == QMetaObject::InvokeMetaMethod) { |
180 | Q_ASSERT(staticMetaObject.cast(_o)); |
181 | auto *_t = static_cast<VulkanWindow *>(_o); |
182 | Q_UNUSED(_t) |
183 | switch (_id) { |
184 | case 0: _t->vulkanInfoReceived((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
185 | case 1: _t->frameQueued((*reinterpret_cast< int(*)>(_a[1]))); break; |
186 | default: ; |
187 | } |
188 | } else if (_c == QMetaObject::IndexOfMethod) { |
189 | int *result = reinterpret_cast<int *>(_a[0]); |
190 | { |
191 | using _t = void (VulkanWindow::*)(const QString & ); |
192 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VulkanWindow::vulkanInfoReceived)) { |
193 | *result = 0; |
194 | return; |
195 | } |
196 | } |
197 | { |
198 | using _t = void (VulkanWindow::*)(int ); |
199 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&VulkanWindow::frameQueued)) { |
200 | *result = 1; |
201 | return; |
202 | } |
203 | } |
204 | } |
205 | } |
206 | |
207 | const QMetaObject VulkanWindow::staticMetaObject = { { |
208 | QMetaObject::SuperData::link<QVulkanWindow::staticMetaObject>(), |
209 | qt_meta_stringdata_VulkanWindow.offsetsAndSize, |
210 | qt_meta_data_VulkanWindow, |
211 | qt_static_metacall, |
212 | nullptr, |
213 | qt_incomplete_metaTypeArray<qt_meta_stringdata_VulkanWindow_t |
214 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
215 | |
216 | |
217 | |
218 | >, |
219 | nullptr |
220 | } }; |
221 | |
222 | |
223 | const QMetaObject *VulkanWindow::metaObject() const |
224 | { |
225 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
226 | } |
227 | |
228 | void *VulkanWindow::qt_metacast(const char *_clname) |
229 | { |
230 | if (!_clname) return nullptr; |
231 | if (!strcmp(_clname, qt_meta_stringdata_VulkanWindow.stringdata0)) |
232 | return static_cast<void*>(this); |
233 | return QVulkanWindow::qt_metacast(_clname); |
234 | } |
235 | |
236 | int VulkanWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
237 | { |
238 | _id = QVulkanWindow::qt_metacall(_c, _id, _a); |
239 | if (_id < 0) |
240 | return _id; |
241 | if (_c == QMetaObject::InvokeMetaMethod) { |
242 | if (_id < 2) |
243 | qt_static_metacall(this, _c, _id, _a); |
244 | _id -= 2; |
245 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
246 | if (_id < 2) |
247 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
248 | _id -= 2; |
249 | } |
250 | return _id; |
251 | } |
252 | |
253 | // SIGNAL 0 |
254 | void VulkanWindow::vulkanInfoReceived(const QString & _t1) |
255 | { |
256 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
257 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
258 | } |
259 | |
260 | // SIGNAL 1 |
261 | void VulkanWindow::frameQueued(int _t1) |
262 | { |
263 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
264 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
265 | } |
266 | QT_WARNING_POP |
267 | QT_END_MOC_NAMESPACE |
268 | |