1/****************************************************************************
2** Meta object code from reading C++ file 'qmdisubwindow.cpp'
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 <QtCore/qbytearray.h>
11#include <QtCore/qmetatype.h>
12#if !defined(Q_MOC_OUTPUT_REVISION)
13#error "The header file 'qmdisubwindow.cpp' doesn't include <QObject>."
14#elif Q_MOC_OUTPUT_REVISION != 68
15#error "This file was generated using the moc from 6.0.0. It"
16#error "cannot be used with the include files from this version of Qt."
17#error "(The moc has changed too much.)"
18#endif
19
20QT_BEGIN_MOC_NAMESPACE
21QT_WARNING_PUSH
22QT_WARNING_DISABLE_DEPRECATED
23struct qt_meta_stringdata_QMdi__ControlLabel_t {
24 const uint offsetsAndSize[8];
25 char stringdata0[48];
26};
27#define QT_MOC_LITERAL(ofs, len) \
28 uint(offsetof(qt_meta_stringdata_QMdi__ControlLabel_t, stringdata0) + ofs), len
29static const qt_meta_stringdata_QMdi__ControlLabel_t qt_meta_stringdata_QMdi__ControlLabel = {
30 {
31QT_MOC_LITERAL(0, 18), // "QMdi::ControlLabel"
32QT_MOC_LITERAL(19, 10), // "_q_clicked"
33QT_MOC_LITERAL(30, 0), // ""
34QT_MOC_LITERAL(31, 16) // "_q_doubleClicked"
35
36 },
37 "QMdi::ControlLabel\0_q_clicked\0\0"
38 "_q_doubleClicked"
39};
40#undef QT_MOC_LITERAL
41
42static const uint qt_meta_data_QMdi__ControlLabel[] = {
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 2, // signalCount
54
55 // signals: name, argc, parameters, tag, flags, initial metatype offsets
56 1, 0, 26, 2, 0x06, 0 /* Public */,
57 3, 0, 27, 2, 0x06, 1 /* Public */,
58
59 // signals: parameters
60 QMetaType::Void,
61 QMetaType::Void,
62
63 0 // eod
64};
65
66void QMdi::ControlLabel::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<ControlLabel *>(_o);
71 Q_UNUSED(_t)
72 switch (_id) {
73 case 0: _t->_q_clicked(); break;
74 case 1: _t->_q_doubleClicked(); break;
75 default: ;
76 }
77 } else if (_c == QMetaObject::IndexOfMethod) {
78 int *result = reinterpret_cast<int *>(_a[0]);
79 {
80 using _t = void (ControlLabel::*)();
81 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlLabel::_q_clicked)) {
82 *result = 0;
83 return;
84 }
85 }
86 {
87 using _t = void (ControlLabel::*)();
88 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControlLabel::_q_doubleClicked)) {
89 *result = 1;
90 return;
91 }
92 }
93 }
94 Q_UNUSED(_a);
95}
96
97const QMetaObject QMdi::ControlLabel::staticMetaObject = { {
98 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
99 qt_meta_stringdata_QMdi__ControlLabel.offsetsAndSize,
100 qt_meta_data_QMdi__ControlLabel,
101 qt_static_metacall,
102 nullptr,
103qt_incomplete_metaTypeArray<qt_meta_stringdata_QMdi__ControlLabel_t
104, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
105
106
107
108>,
109 nullptr
110} };
111
112
113const QMetaObject *QMdi::ControlLabel::metaObject() const
114{
115 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
116}
117
118void *QMdi::ControlLabel::qt_metacast(const char *_clname)
119{
120 if (!_clname) return nullptr;
121 if (!strcmp(_clname, qt_meta_stringdata_QMdi__ControlLabel.stringdata0))
122 return static_cast<void*>(this);
123 return QWidget::qt_metacast(_clname);
124}
125
126int QMdi::ControlLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
127{
128 _id = QWidget::qt_metacall(_c, _id, _a);
129 if (_id < 0)
130 return _id;
131 if (_c == QMetaObject::InvokeMetaMethod) {
132 if (_id < 2)
133 qt_static_metacall(this, _c, _id, _a);
134 _id -= 2;
135 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
136 if (_id < 2)
137 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
138 _id -= 2;
139 }
140 return _id;
141}
142
143// SIGNAL 0
144void QMdi::ControlLabel::_q_clicked()
145{
146 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
147}
148
149// SIGNAL 1
150void QMdi::ControlLabel::_q_doubleClicked()
151{
152 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
153}
154struct qt_meta_stringdata_QMdi__ControllerWidget_t {
155 const uint offsetsAndSize[10];
156 char stringdata0[56];
157};
158#define QT_MOC_LITERAL(ofs, len) \
159 uint(offsetof(qt_meta_stringdata_QMdi__ControllerWidget_t, stringdata0) + ofs), len
160static const qt_meta_stringdata_QMdi__ControllerWidget_t qt_meta_stringdata_QMdi__ControllerWidget = {
161 {
162QT_MOC_LITERAL(0, 22), // "QMdi::ControllerWidget"
163QT_MOC_LITERAL(23, 11), // "_q_minimize"
164QT_MOC_LITERAL(35, 0), // ""
165QT_MOC_LITERAL(36, 10), // "_q_restore"
166QT_MOC_LITERAL(47, 8) // "_q_close"
167
168 },
169 "QMdi::ControllerWidget\0_q_minimize\0\0"
170 "_q_restore\0_q_close"
171};
172#undef QT_MOC_LITERAL
173
174static const uint qt_meta_data_QMdi__ControllerWidget[] = {
175
176 // content:
177 9, // revision
178 0, // classname
179 0, 0, // classinfo
180 3, 14, // methods
181 0, 0, // properties
182 0, 0, // enums/sets
183 0, 0, // constructors
184 0, // flags
185 3, // signalCount
186
187 // signals: name, argc, parameters, tag, flags, initial metatype offsets
188 1, 0, 32, 2, 0x06, 0 /* Public */,
189 3, 0, 33, 2, 0x06, 1 /* Public */,
190 4, 0, 34, 2, 0x06, 2 /* Public */,
191
192 // signals: parameters
193 QMetaType::Void,
194 QMetaType::Void,
195 QMetaType::Void,
196
197 0 // eod
198};
199
200void QMdi::ControllerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
201{
202 if (_c == QMetaObject::InvokeMetaMethod) {
203 Q_ASSERT(staticMetaObject.cast(_o));
204 auto *_t = static_cast<ControllerWidget *>(_o);
205 Q_UNUSED(_t)
206 switch (_id) {
207 case 0: _t->_q_minimize(); break;
208 case 1: _t->_q_restore(); break;
209 case 2: _t->_q_close(); break;
210 default: ;
211 }
212 } else if (_c == QMetaObject::IndexOfMethod) {
213 int *result = reinterpret_cast<int *>(_a[0]);
214 {
215 using _t = void (ControllerWidget::*)();
216 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControllerWidget::_q_minimize)) {
217 *result = 0;
218 return;
219 }
220 }
221 {
222 using _t = void (ControllerWidget::*)();
223 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControllerWidget::_q_restore)) {
224 *result = 1;
225 return;
226 }
227 }
228 {
229 using _t = void (ControllerWidget::*)();
230 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ControllerWidget::_q_close)) {
231 *result = 2;
232 return;
233 }
234 }
235 }
236 Q_UNUSED(_a);
237}
238
239const QMetaObject QMdi::ControllerWidget::staticMetaObject = { {
240 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
241 qt_meta_stringdata_QMdi__ControllerWidget.offsetsAndSize,
242 qt_meta_data_QMdi__ControllerWidget,
243 qt_static_metacall,
244 nullptr,
245qt_incomplete_metaTypeArray<qt_meta_stringdata_QMdi__ControllerWidget_t
246, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
247
248
249
250>,
251 nullptr
252} };
253
254
255const QMetaObject *QMdi::ControllerWidget::metaObject() const
256{
257 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
258}
259
260void *QMdi::ControllerWidget::qt_metacast(const char *_clname)
261{
262 if (!_clname) return nullptr;
263 if (!strcmp(_clname, qt_meta_stringdata_QMdi__ControllerWidget.stringdata0))
264 return static_cast<void*>(this);
265 return QWidget::qt_metacast(_clname);
266}
267
268int QMdi::ControllerWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
269{
270 _id = QWidget::qt_metacall(_c, _id, _a);
271 if (_id < 0)
272 return _id;
273 if (_c == QMetaObject::InvokeMetaMethod) {
274 if (_id < 3)
275 qt_static_metacall(this, _c, _id, _a);
276 _id -= 3;
277 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
278 if (_id < 3)
279 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
280 _id -= 3;
281 }
282 return _id;
283}
284
285// SIGNAL 0
286void QMdi::ControllerWidget::_q_minimize()
287{
288 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
289}
290
291// SIGNAL 1
292void QMdi::ControllerWidget::_q_restore()
293{
294 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
295}
296
297// SIGNAL 2
298void QMdi::ControllerWidget::_q_close()
299{
300 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
301}
302QT_WARNING_POP
303QT_END_MOC_NAMESPACE
304