1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qmdisubwindow.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 "widgets/qmdisubwindow.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qmdisubwindow.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_QMdiSubWindow_t { |
25 | const uint offsetsAndSize[30]; |
26 | char stringdata0[227]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QMdiSubWindow_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QMdiSubWindow_t qt_meta_stringdata_QMdiSubWindow = { |
31 | { |
32 | QT_MOC_LITERAL(0, 13), // "QMdiSubWindow" |
33 | QT_MOC_LITERAL(14, 18), // "windowStateChanged" |
34 | QT_MOC_LITERAL(33, 0), // "" |
35 | QT_MOC_LITERAL(34, 16), // "Qt::WindowStates" |
36 | QT_MOC_LITERAL(51, 8), // "oldState" |
37 | QT_MOC_LITERAL(60, 8), // "newState" |
38 | QT_MOC_LITERAL(69, 15), // "aboutToActivate" |
39 | QT_MOC_LITERAL(85, 14), // "showSystemMenu" |
40 | QT_MOC_LITERAL(100, 10), // "showShaded" |
41 | QT_MOC_LITERAL(111, 23), // "_q_updateStaysOnTopHint" |
42 | QT_MOC_LITERAL(135, 23), // "_q_enterInteractiveMode" |
43 | QT_MOC_LITERAL(159, 22), // "_q_processFocusChanged" |
44 | QT_MOC_LITERAL(182, 8), // "QWidget*" |
45 | QT_MOC_LITERAL(191, 18), // "keyboardSingleStep" |
46 | QT_MOC_LITERAL(210, 16) // "keyboardPageStep" |
47 | |
48 | }, |
49 | "QMdiSubWindow\0windowStateChanged\0\0" |
50 | "Qt::WindowStates\0oldState\0newState\0" |
51 | "aboutToActivate\0showSystemMenu\0" |
52 | "showShaded\0_q_updateStaysOnTopHint\0" |
53 | "_q_enterInteractiveMode\0_q_processFocusChanged\0" |
54 | "QWidget*\0keyboardSingleStep\0" |
55 | "keyboardPageStep" |
56 | }; |
57 | #undef QT_MOC_LITERAL |
58 | |
59 | static const uint qt_meta_data_QMdiSubWindow[] = { |
60 | |
61 | // content: |
62 | 9, // revision |
63 | 0, // classname |
64 | 0, 0, // classinfo |
65 | 7, 14, // methods |
66 | 2, 71, // properties |
67 | 0, 0, // enums/sets |
68 | 0, 0, // constructors |
69 | 0, // flags |
70 | 2, // signalCount |
71 | |
72 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
73 | 1, 2, 56, 2, 0x06, 2 /* Public */, |
74 | 6, 0, 61, 2, 0x06, 5 /* Public */, |
75 | |
76 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
77 | 7, 0, 62, 2, 0x0a, 6 /* Public */, |
78 | 8, 0, 63, 2, 0x0a, 7 /* Public */, |
79 | 9, 0, 64, 2, 0x08, 8 /* Private */, |
80 | 10, 0, 65, 2, 0x08, 9 /* Private */, |
81 | 11, 2, 66, 2, 0x08, 10 /* Private */, |
82 | |
83 | // signals: parameters |
84 | QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5, |
85 | QMetaType::Void, |
86 | |
87 | // slots: parameters |
88 | QMetaType::Void, |
89 | QMetaType::Void, |
90 | QMetaType::Void, |
91 | QMetaType::Void, |
92 | QMetaType::Void, 0x80000000 | 12, 0x80000000 | 12, 2, 2, |
93 | |
94 | // properties: name, type, flags |
95 | 13, QMetaType::Int, 0x00015103, uint(-1), 0, |
96 | 14, QMetaType::Int, 0x00015103, uint(-1), 0, |
97 | |
98 | 0 // eod |
99 | }; |
100 | |
101 | void QMdiSubWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
102 | { |
103 | if (_c == QMetaObject::InvokeMetaMethod) { |
104 | Q_ASSERT(staticMetaObject.cast(_o)); |
105 | auto *_t = static_cast<QMdiSubWindow *>(_o); |
106 | Q_UNUSED(_t) |
107 | switch (_id) { |
108 | case 0: _t->windowStateChanged((*reinterpret_cast< Qt::WindowStates(*)>(_a[1])),(*reinterpret_cast< Qt::WindowStates(*)>(_a[2]))); break; |
109 | case 1: _t->aboutToActivate(); break; |
110 | case 2: _t->showSystemMenu(); break; |
111 | case 3: _t->showShaded(); break; |
112 | case 4: _t->d_func()->_q_updateStaysOnTopHint(); break; |
113 | case 5: _t->d_func()->_q_enterInteractiveMode(); break; |
114 | case 6: _t->d_func()->_q_processFocusChanged((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< QWidget*(*)>(_a[2]))); break; |
115 | default: ; |
116 | } |
117 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
118 | switch (_id) { |
119 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
120 | case 6: |
121 | switch (*reinterpret_cast<int*>(_a[1])) { |
122 | default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break; |
123 | case 1: |
124 | case 0: |
125 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWidget* >(); break; |
126 | } |
127 | break; |
128 | } |
129 | } else if (_c == QMetaObject::IndexOfMethod) { |
130 | int *result = reinterpret_cast<int *>(_a[0]); |
131 | { |
132 | using _t = void (QMdiSubWindow::*)(Qt::WindowStates , Qt::WindowStates ); |
133 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMdiSubWindow::windowStateChanged)) { |
134 | *result = 0; |
135 | return; |
136 | } |
137 | } |
138 | { |
139 | using _t = void (QMdiSubWindow::*)(); |
140 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMdiSubWindow::aboutToActivate)) { |
141 | *result = 1; |
142 | return; |
143 | } |
144 | } |
145 | } |
146 | #ifndef QT_NO_PROPERTIES |
147 | else if (_c == QMetaObject::ReadProperty) { |
148 | Q_ASSERT(staticMetaObject.cast(_o)); |
149 | auto *_t = static_cast<QMdiSubWindow *>(_o); |
150 | Q_UNUSED(_t) |
151 | void *_v = _a[0]; |
152 | switch (_id) { |
153 | case 0: *reinterpret_cast< int*>(_v) = _t->keyboardSingleStep(); break; |
154 | case 1: *reinterpret_cast< int*>(_v) = _t->keyboardPageStep(); break; |
155 | default: break; |
156 | } |
157 | } else if (_c == QMetaObject::WriteProperty) { |
158 | Q_ASSERT(staticMetaObject.cast(_o)); |
159 | auto *_t = static_cast<QMdiSubWindow *>(_o); |
160 | Q_UNUSED(_t) |
161 | void *_v = _a[0]; |
162 | switch (_id) { |
163 | case 0: _t->setKeyboardSingleStep(*reinterpret_cast< int*>(_v)); break; |
164 | case 1: _t->setKeyboardPageStep(*reinterpret_cast< int*>(_v)); break; |
165 | default: break; |
166 | } |
167 | } else if (_c == QMetaObject::ResetProperty) { |
168 | } else if (_c == QMetaObject::BindableProperty) { |
169 | } |
170 | #endif // QT_NO_PROPERTIES |
171 | } |
172 | |
173 | const QMetaObject QMdiSubWindow::staticMetaObject = { { |
174 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
175 | qt_meta_stringdata_QMdiSubWindow.offsetsAndSize, |
176 | qt_meta_data_QMdiSubWindow, |
177 | qt_static_metacall, |
178 | nullptr, |
179 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QMdiSubWindow_t |
180 | , QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::WindowStates, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::WindowStates, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
181 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QWidget *, std::false_type>, QtPrivate::TypeAndForceComplete<QWidget *, std::false_type> |
182 | |
183 | |
184 | >, |
185 | nullptr |
186 | } }; |
187 | |
188 | |
189 | const QMetaObject *QMdiSubWindow::metaObject() const |
190 | { |
191 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
192 | } |
193 | |
194 | void *QMdiSubWindow::qt_metacast(const char *_clname) |
195 | { |
196 | if (!_clname) return nullptr; |
197 | if (!strcmp(_clname, qt_meta_stringdata_QMdiSubWindow.stringdata0)) |
198 | return static_cast<void*>(this); |
199 | return QWidget::qt_metacast(_clname); |
200 | } |
201 | |
202 | int QMdiSubWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
203 | { |
204 | _id = QWidget::qt_metacall(_c, _id, _a); |
205 | if (_id < 0) |
206 | return _id; |
207 | if (_c == QMetaObject::InvokeMetaMethod) { |
208 | if (_id < 7) |
209 | qt_static_metacall(this, _c, _id, _a); |
210 | _id -= 7; |
211 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
212 | if (_id < 7) |
213 | qt_static_metacall(this, _c, _id, _a); |
214 | _id -= 7; |
215 | } |
216 | #ifndef QT_NO_PROPERTIES |
217 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
218 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
219 | || _c == QMetaObject::RegisterPropertyMetaType) { |
220 | qt_static_metacall(this, _c, _id, _a); |
221 | _id -= 2; |
222 | } |
223 | #endif // QT_NO_PROPERTIES |
224 | return _id; |
225 | } |
226 | |
227 | // SIGNAL 0 |
228 | void QMdiSubWindow::windowStateChanged(Qt::WindowStates _t1, Qt::WindowStates _t2) |
229 | { |
230 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
231 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
232 | } |
233 | |
234 | // SIGNAL 1 |
235 | void QMdiSubWindow::aboutToActivate() |
236 | { |
237 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
238 | } |
239 | QT_WARNING_POP |
240 | QT_END_MOC_NAMESPACE |
241 | |