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