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