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