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