1/****************************************************************************
2** Meta object code from reading C++ file 'qwindow.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 "kernel/qwindow.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qwindow.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_QWindow_t {
25 const uint offsetsAndSize[188];
26 char stringdata0[1108];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QWindow_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QWindow_t qt_meta_stringdata_QWindow = {
31 {
32QT_MOC_LITERAL(0, 7), // "QWindow"
33QT_MOC_LITERAL(8, 13), // "screenChanged"
34QT_MOC_LITERAL(22, 0), // ""
35QT_MOC_LITERAL(23, 8), // "QScreen*"
36QT_MOC_LITERAL(32, 6), // "screen"
37QT_MOC_LITERAL(39, 15), // "modalityChanged"
38QT_MOC_LITERAL(55, 18), // "Qt::WindowModality"
39QT_MOC_LITERAL(74, 8), // "modality"
40QT_MOC_LITERAL(83, 18), // "windowStateChanged"
41QT_MOC_LITERAL(102, 15), // "Qt::WindowState"
42QT_MOC_LITERAL(118, 11), // "windowState"
43QT_MOC_LITERAL(130, 18), // "windowTitleChanged"
44QT_MOC_LITERAL(149, 5), // "title"
45QT_MOC_LITERAL(155, 8), // "xChanged"
46QT_MOC_LITERAL(164, 3), // "arg"
47QT_MOC_LITERAL(168, 8), // "yChanged"
48QT_MOC_LITERAL(177, 12), // "widthChanged"
49QT_MOC_LITERAL(190, 13), // "heightChanged"
50QT_MOC_LITERAL(204, 19), // "minimumWidthChanged"
51QT_MOC_LITERAL(224, 20), // "minimumHeightChanged"
52QT_MOC_LITERAL(245, 19), // "maximumWidthChanged"
53QT_MOC_LITERAL(265, 20), // "maximumHeightChanged"
54QT_MOC_LITERAL(286, 14), // "visibleChanged"
55QT_MOC_LITERAL(301, 17), // "visibilityChanged"
56QT_MOC_LITERAL(319, 19), // "QWindow::Visibility"
57QT_MOC_LITERAL(339, 10), // "visibility"
58QT_MOC_LITERAL(350, 13), // "activeChanged"
59QT_MOC_LITERAL(364, 25), // "contentOrientationChanged"
60QT_MOC_LITERAL(390, 21), // "Qt::ScreenOrientation"
61QT_MOC_LITERAL(412, 11), // "orientation"
62QT_MOC_LITERAL(424, 18), // "focusObjectChanged"
63QT_MOC_LITERAL(443, 6), // "object"
64QT_MOC_LITERAL(450, 14), // "opacityChanged"
65QT_MOC_LITERAL(465, 7), // "opacity"
66QT_MOC_LITERAL(473, 22), // "transientParentChanged"
67QT_MOC_LITERAL(496, 8), // "QWindow*"
68QT_MOC_LITERAL(505, 15), // "transientParent"
69QT_MOC_LITERAL(521, 15), // "requestActivate"
70QT_MOC_LITERAL(537, 10), // "setVisible"
71QT_MOC_LITERAL(548, 7), // "visible"
72QT_MOC_LITERAL(556, 4), // "show"
73QT_MOC_LITERAL(561, 4), // "hide"
74QT_MOC_LITERAL(566, 13), // "showMinimized"
75QT_MOC_LITERAL(580, 13), // "showMaximized"
76QT_MOC_LITERAL(594, 14), // "showFullScreen"
77QT_MOC_LITERAL(609, 10), // "showNormal"
78QT_MOC_LITERAL(620, 5), // "close"
79QT_MOC_LITERAL(626, 5), // "raise"
80QT_MOC_LITERAL(632, 5), // "lower"
81QT_MOC_LITERAL(638, 17), // "startSystemResize"
82QT_MOC_LITERAL(656, 9), // "Qt::Edges"
83QT_MOC_LITERAL(666, 5), // "edges"
84QT_MOC_LITERAL(672, 15), // "startSystemMove"
85QT_MOC_LITERAL(688, 8), // "setTitle"
86QT_MOC_LITERAL(697, 4), // "setX"
87QT_MOC_LITERAL(702, 4), // "setY"
88QT_MOC_LITERAL(707, 8), // "setWidth"
89QT_MOC_LITERAL(716, 9), // "setHeight"
90QT_MOC_LITERAL(726, 11), // "setGeometry"
91QT_MOC_LITERAL(738, 4), // "posx"
92QT_MOC_LITERAL(743, 4), // "posy"
93QT_MOC_LITERAL(748, 1), // "w"
94QT_MOC_LITERAL(750, 1), // "h"
95QT_MOC_LITERAL(752, 4), // "rect"
96QT_MOC_LITERAL(757, 15), // "setMinimumWidth"
97QT_MOC_LITERAL(773, 16), // "setMinimumHeight"
98QT_MOC_LITERAL(790, 15), // "setMaximumWidth"
99QT_MOC_LITERAL(806, 16), // "setMaximumHeight"
100QT_MOC_LITERAL(823, 5), // "alert"
101QT_MOC_LITERAL(829, 4), // "msec"
102QT_MOC_LITERAL(834, 13), // "requestUpdate"
103QT_MOC_LITERAL(848, 13), // "_q_clearAlert"
104QT_MOC_LITERAL(862, 5), // "flags"
105QT_MOC_LITERAL(868, 15), // "Qt::WindowFlags"
106QT_MOC_LITERAL(884, 1), // "x"
107QT_MOC_LITERAL(886, 1), // "y"
108QT_MOC_LITERAL(888, 5), // "width"
109QT_MOC_LITERAL(894, 6), // "height"
110QT_MOC_LITERAL(901, 12), // "minimumWidth"
111QT_MOC_LITERAL(914, 13), // "minimumHeight"
112QT_MOC_LITERAL(928, 12), // "maximumWidth"
113QT_MOC_LITERAL(941, 13), // "maximumHeight"
114QT_MOC_LITERAL(955, 6), // "active"
115QT_MOC_LITERAL(962, 10), // "Visibility"
116QT_MOC_LITERAL(973, 18), // "contentOrientation"
117QT_MOC_LITERAL(992, 6), // "Hidden"
118QT_MOC_LITERAL(999, 19), // "AutomaticVisibility"
119QT_MOC_LITERAL(1019, 8), // "Windowed"
120QT_MOC_LITERAL(1028, 9), // "Minimized"
121QT_MOC_LITERAL(1038, 9), // "Maximized"
122QT_MOC_LITERAL(1048, 10), // "FullScreen"
123QT_MOC_LITERAL(1059, 12), // "AncestorMode"
124QT_MOC_LITERAL(1072, 17), // "ExcludeTransients"
125QT_MOC_LITERAL(1090, 17) // "IncludeTransients"
126
127 },
128 "QWindow\0screenChanged\0\0QScreen*\0screen\0"
129 "modalityChanged\0Qt::WindowModality\0"
130 "modality\0windowStateChanged\0Qt::WindowState\0"
131 "windowState\0windowTitleChanged\0title\0"
132 "xChanged\0arg\0yChanged\0widthChanged\0"
133 "heightChanged\0minimumWidthChanged\0"
134 "minimumHeightChanged\0maximumWidthChanged\0"
135 "maximumHeightChanged\0visibleChanged\0"
136 "visibilityChanged\0QWindow::Visibility\0"
137 "visibility\0activeChanged\0"
138 "contentOrientationChanged\0"
139 "Qt::ScreenOrientation\0orientation\0"
140 "focusObjectChanged\0object\0opacityChanged\0"
141 "opacity\0transientParentChanged\0QWindow*\0"
142 "transientParent\0requestActivate\0"
143 "setVisible\0visible\0show\0hide\0showMinimized\0"
144 "showMaximized\0showFullScreen\0showNormal\0"
145 "close\0raise\0lower\0startSystemResize\0"
146 "Qt::Edges\0edges\0startSystemMove\0"
147 "setTitle\0setX\0setY\0setWidth\0setHeight\0"
148 "setGeometry\0posx\0posy\0w\0h\0rect\0"
149 "setMinimumWidth\0setMinimumHeight\0"
150 "setMaximumWidth\0setMaximumHeight\0alert\0"
151 "msec\0requestUpdate\0_q_clearAlert\0flags\0"
152 "Qt::WindowFlags\0x\0y\0width\0height\0"
153 "minimumWidth\0minimumHeight\0maximumWidth\0"
154 "maximumHeight\0active\0Visibility\0"
155 "contentOrientation\0Hidden\0AutomaticVisibility\0"
156 "Windowed\0Minimized\0Maximized\0FullScreen\0"
157 "AncestorMode\0ExcludeTransients\0"
158 "IncludeTransients"
159};
160#undef QT_MOC_LITERAL
161
162static const uint qt_meta_data_QWindow[] = {
163
164 // content:
165 9, // revision
166 0, // classname
167 0, 0, // classinfo
168 46, 14, // methods
169 17, 452, // properties
170 2, 537, // enums/sets
171 0, 0, // constructors
172 0, // flags
173 19, // signalCount
174
175 // signals: name, argc, parameters, tag, flags, initial metatype offsets
176 1, 1, 336, 2, 0x06, 17 /* Public */,
177 5, 1, 339, 2, 0x06, 19 /* Public */,
178 8, 1, 342, 2, 0x06, 21 /* Public */,
179 11, 1, 345, 2, 0x86, 23 /* Public | MethodRevisioned */,
180 13, 1, 348, 2, 0x06, 25 /* Public */,
181 15, 1, 351, 2, 0x06, 27 /* Public */,
182 16, 1, 354, 2, 0x06, 29 /* Public */,
183 17, 1, 357, 2, 0x06, 31 /* Public */,
184 18, 1, 360, 2, 0x06, 33 /* Public */,
185 19, 1, 363, 2, 0x06, 35 /* Public */,
186 20, 1, 366, 2, 0x06, 37 /* Public */,
187 21, 1, 369, 2, 0x06, 39 /* Public */,
188 22, 1, 372, 2, 0x06, 41 /* Public */,
189 23, 1, 375, 2, 0x86, 43 /* Public | MethodRevisioned */,
190 26, 0, 378, 2, 0x86, 45 /* Public | MethodRevisioned */,
191 27, 1, 379, 2, 0x06, 46 /* Public */,
192 30, 1, 382, 2, 0x06, 48 /* Public */,
193 32, 1, 385, 2, 0x86, 50 /* Public | MethodRevisioned */,
194 34, 1, 388, 2, 0x86, 52 /* Public | MethodRevisioned */,
195
196 // slots: name, argc, parameters, tag, flags, initial metatype offsets
197 37, 0, 391, 2, 0x8a, 54 /* Public | MethodRevisioned */,
198 38, 1, 392, 2, 0x0a, 55 /* Public */,
199 40, 0, 395, 2, 0x0a, 57 /* Public */,
200 41, 0, 396, 2, 0x0a, 58 /* Public */,
201 42, 0, 397, 2, 0x0a, 59 /* Public */,
202 43, 0, 398, 2, 0x0a, 60 /* Public */,
203 44, 0, 399, 2, 0x0a, 61 /* Public */,
204 45, 0, 400, 2, 0x0a, 62 /* Public */,
205 46, 0, 401, 2, 0x0a, 63 /* Public */,
206 47, 0, 402, 2, 0x0a, 64 /* Public */,
207 48, 0, 403, 2, 0x0a, 65 /* Public */,
208 49, 1, 404, 2, 0x0a, 66 /* Public */,
209 52, 0, 407, 2, 0x0a, 68 /* Public */,
210 53, 1, 408, 2, 0x0a, 69 /* Public */,
211 54, 1, 411, 2, 0x0a, 71 /* Public */,
212 55, 1, 414, 2, 0x0a, 73 /* Public */,
213 56, 1, 417, 2, 0x0a, 75 /* Public */,
214 57, 1, 420, 2, 0x0a, 77 /* Public */,
215 58, 4, 423, 2, 0x0a, 79 /* Public */,
216 58, 1, 432, 2, 0x0a, 84 /* Public */,
217 64, 1, 435, 2, 0x0a, 86 /* Public */,
218 65, 1, 438, 2, 0x0a, 88 /* Public */,
219 66, 1, 441, 2, 0x0a, 90 /* Public */,
220 67, 1, 444, 2, 0x0a, 92 /* Public */,
221 68, 1, 447, 2, 0x8a, 94 /* Public | MethodRevisioned */,
222 70, 0, 450, 2, 0x8a, 96 /* Public | MethodRevisioned */,
223 71, 0, 451, 2, 0x08, 97 /* Private */,
224
225 // signals: revision
226 0,
227 0,
228 0,
229 514,
230 0,
231 0,
232 0,
233 0,
234 0,
235 0,
236 0,
237 0,
238 0,
239 513,
240 513,
241 0,
242 0,
243 513,
244 525,
245
246 // slots: revision
247 513,
248 0,
249 0,
250 0,
251 0,
252 0,
253 0,
254 0,
255 0,
256 0,
257 0,
258 0,
259 0,
260 0,
261 0,
262 0,
263 0,
264 0,
265 0,
266 0,
267 0,
268 0,
269 0,
270 0,
271 513,
272 515,
273 0,
274
275 // signals: parameters
276 QMetaType::Void, 0x80000000 | 3, 4,
277 QMetaType::Void, 0x80000000 | 6, 7,
278 QMetaType::Void, 0x80000000 | 9, 10,
279 QMetaType::Void, QMetaType::QString, 12,
280 QMetaType::Void, QMetaType::Int, 14,
281 QMetaType::Void, QMetaType::Int, 14,
282 QMetaType::Void, QMetaType::Int, 14,
283 QMetaType::Void, QMetaType::Int, 14,
284 QMetaType::Void, QMetaType::Int, 14,
285 QMetaType::Void, QMetaType::Int, 14,
286 QMetaType::Void, QMetaType::Int, 14,
287 QMetaType::Void, QMetaType::Int, 14,
288 QMetaType::Void, QMetaType::Bool, 14,
289 QMetaType::Void, 0x80000000 | 24, 25,
290 QMetaType::Void,
291 QMetaType::Void, 0x80000000 | 28, 29,
292 QMetaType::Void, QMetaType::QObjectStar, 31,
293 QMetaType::Void, QMetaType::QReal, 33,
294 QMetaType::Void, 0x80000000 | 35, 36,
295
296 // slots: parameters
297 QMetaType::Void,
298 QMetaType::Void, QMetaType::Bool, 39,
299 QMetaType::Void,
300 QMetaType::Void,
301 QMetaType::Void,
302 QMetaType::Void,
303 QMetaType::Void,
304 QMetaType::Void,
305 QMetaType::Bool,
306 QMetaType::Void,
307 QMetaType::Void,
308 QMetaType::Bool, 0x80000000 | 50, 51,
309 QMetaType::Bool,
310 QMetaType::Void, QMetaType::QString, 2,
311 QMetaType::Void, QMetaType::Int, 14,
312 QMetaType::Void, QMetaType::Int, 14,
313 QMetaType::Void, QMetaType::Int, 14,
314 QMetaType::Void, QMetaType::Int, 14,
315 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int, 59, 60, 61, 62,
316 QMetaType::Void, QMetaType::QRect, 63,
317 QMetaType::Void, QMetaType::Int, 61,
318 QMetaType::Void, QMetaType::Int, 62,
319 QMetaType::Void, QMetaType::Int, 61,
320 QMetaType::Void, QMetaType::Int, 62,
321 QMetaType::Void, QMetaType::Int, 69,
322 QMetaType::Void,
323 QMetaType::Void,
324
325 // properties: name, type, flags
326 12, QMetaType::QString, 0x00015103, uint(3), 0,
327 7, 0x80000000 | 6, 0x0001510b, uint(1), 0,
328 72, 0x80000000 | 73, 0x0001510b, uint(-1), 0,
329 74, QMetaType::Int, 0x00015103, uint(4), 0,
330 75, QMetaType::Int, 0x00015103, uint(5), 0,
331 76, QMetaType::Int, 0x00015103, uint(6), 0,
332 77, QMetaType::Int, 0x00015103, uint(7), 0,
333 78, QMetaType::Int, 0x00015103, uint(8), 0,
334 79, QMetaType::Int, 0x00015103, uint(9), 0,
335 80, QMetaType::Int, 0x00015103, uint(10), 0,
336 81, QMetaType::Int, 0x00015103, uint(11), 0,
337 39, QMetaType::Bool, 0x00015103, uint(12), 0,
338 82, QMetaType::Bool, 0x00015001, uint(14), 513,
339 25, 0x80000000 | 83, 0x0001510b, uint(13), 513,
340 84, 0x80000000 | 28, 0x0001500b, uint(15), 0,
341 33, QMetaType::QReal, 0x00015103, uint(17), 513,
342 36, 0x80000000 | 35, 0x0001510b, uint(18), 525,
343
344 // enums: name, alias, flags, count, data
345 83, 83, 0x0, 6, 547,
346 91, 91, 0x0, 2, 559,
347
348 // enum data: key, value
349 85, uint(QWindow::Hidden),
350 86, uint(QWindow::AutomaticVisibility),
351 87, uint(QWindow::Windowed),
352 88, uint(QWindow::Minimized),
353 89, uint(QWindow::Maximized),
354 90, uint(QWindow::FullScreen),
355 92, uint(QWindow::ExcludeTransients),
356 93, uint(QWindow::IncludeTransients),
357
358 0 // eod
359};
360
361void QWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
362{
363 if (_c == QMetaObject::InvokeMetaMethod) {
364 Q_ASSERT(staticMetaObject.cast(_o));
365 auto *_t = static_cast<QWindow *>(_o);
366 Q_UNUSED(_t)
367 switch (_id) {
368 case 0: _t->screenChanged((*reinterpret_cast< QScreen*(*)>(_a[1]))); break;
369 case 1: _t->modalityChanged((*reinterpret_cast< Qt::WindowModality(*)>(_a[1]))); break;
370 case 2: _t->windowStateChanged((*reinterpret_cast< Qt::WindowState(*)>(_a[1]))); break;
371 case 3: _t->windowTitleChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
372 case 4: _t->xChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
373 case 5: _t->yChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
374 case 6: _t->widthChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
375 case 7: _t->heightChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
376 case 8: _t->minimumWidthChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
377 case 9: _t->minimumHeightChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
378 case 10: _t->maximumWidthChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
379 case 11: _t->maximumHeightChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
380 case 12: _t->visibleChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
381 case 13: _t->visibilityChanged((*reinterpret_cast< QWindow::Visibility(*)>(_a[1]))); break;
382 case 14: _t->activeChanged(); break;
383 case 15: _t->contentOrientationChanged((*reinterpret_cast< Qt::ScreenOrientation(*)>(_a[1]))); break;
384 case 16: _t->focusObjectChanged((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
385 case 17: _t->opacityChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
386 case 18: _t->transientParentChanged((*reinterpret_cast< QWindow*(*)>(_a[1]))); break;
387 case 19: _t->requestActivate(); break;
388 case 20: _t->setVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
389 case 21: _t->show(); break;
390 case 22: _t->hide(); break;
391 case 23: _t->showMinimized(); break;
392 case 24: _t->showMaximized(); break;
393 case 25: _t->showFullScreen(); break;
394 case 26: _t->showNormal(); break;
395 case 27: { bool _r = _t->close();
396 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
397 case 28: _t->raise(); break;
398 case 29: _t->lower(); break;
399 case 30: { bool _r = _t->startSystemResize((*reinterpret_cast< Qt::Edges(*)>(_a[1])));
400 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
401 case 31: { bool _r = _t->startSystemMove();
402 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
403 case 32: _t->setTitle((*reinterpret_cast< const QString(*)>(_a[1]))); break;
404 case 33: _t->setX((*reinterpret_cast< int(*)>(_a[1]))); break;
405 case 34: _t->setY((*reinterpret_cast< int(*)>(_a[1]))); break;
406 case 35: _t->setWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
407 case 36: _t->setHeight((*reinterpret_cast< int(*)>(_a[1]))); break;
408 case 37: _t->setGeometry((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
409 case 38: _t->setGeometry((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
410 case 39: _t->setMinimumWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
411 case 40: _t->setMinimumHeight((*reinterpret_cast< int(*)>(_a[1]))); break;
412 case 41: _t->setMaximumWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
413 case 42: _t->setMaximumHeight((*reinterpret_cast< int(*)>(_a[1]))); break;
414 case 43: _t->alert((*reinterpret_cast< int(*)>(_a[1]))); break;
415 case 44: _t->requestUpdate(); break;
416 case 45: _t->d_func()->_q_clearAlert(); break;
417 default: ;
418 }
419 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
420 switch (_id) {
421 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
422 case 18:
423 switch (*reinterpret_cast<int*>(_a[1])) {
424 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
425 case 0:
426 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QWindow* >(); break;
427 }
428 break;
429 }
430 } else if (_c == QMetaObject::IndexOfMethod) {
431 int *result = reinterpret_cast<int *>(_a[0]);
432 {
433 using _t = void (QWindow::*)(QScreen * );
434 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::screenChanged)) {
435 *result = 0;
436 return;
437 }
438 }
439 {
440 using _t = void (QWindow::*)(Qt::WindowModality );
441 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::modalityChanged)) {
442 *result = 1;
443 return;
444 }
445 }
446 {
447 using _t = void (QWindow::*)(Qt::WindowState );
448 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::windowStateChanged)) {
449 *result = 2;
450 return;
451 }
452 }
453 {
454 using _t = void (QWindow::*)(const QString & );
455 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::windowTitleChanged)) {
456 *result = 3;
457 return;
458 }
459 }
460 {
461 using _t = void (QWindow::*)(int );
462 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::xChanged)) {
463 *result = 4;
464 return;
465 }
466 }
467 {
468 using _t = void (QWindow::*)(int );
469 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::yChanged)) {
470 *result = 5;
471 return;
472 }
473 }
474 {
475 using _t = void (QWindow::*)(int );
476 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::widthChanged)) {
477 *result = 6;
478 return;
479 }
480 }
481 {
482 using _t = void (QWindow::*)(int );
483 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::heightChanged)) {
484 *result = 7;
485 return;
486 }
487 }
488 {
489 using _t = void (QWindow::*)(int );
490 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::minimumWidthChanged)) {
491 *result = 8;
492 return;
493 }
494 }
495 {
496 using _t = void (QWindow::*)(int );
497 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::minimumHeightChanged)) {
498 *result = 9;
499 return;
500 }
501 }
502 {
503 using _t = void (QWindow::*)(int );
504 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::maximumWidthChanged)) {
505 *result = 10;
506 return;
507 }
508 }
509 {
510 using _t = void (QWindow::*)(int );
511 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::maximumHeightChanged)) {
512 *result = 11;
513 return;
514 }
515 }
516 {
517 using _t = void (QWindow::*)(bool );
518 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::visibleChanged)) {
519 *result = 12;
520 return;
521 }
522 }
523 {
524 using _t = void (QWindow::*)(QWindow::Visibility );
525 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::visibilityChanged)) {
526 *result = 13;
527 return;
528 }
529 }
530 {
531 using _t = void (QWindow::*)();
532 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::activeChanged)) {
533 *result = 14;
534 return;
535 }
536 }
537 {
538 using _t = void (QWindow::*)(Qt::ScreenOrientation );
539 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::contentOrientationChanged)) {
540 *result = 15;
541 return;
542 }
543 }
544 {
545 using _t = void (QWindow::*)(QObject * );
546 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::focusObjectChanged)) {
547 *result = 16;
548 return;
549 }
550 }
551 {
552 using _t = void (QWindow::*)(qreal );
553 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::opacityChanged)) {
554 *result = 17;
555 return;
556 }
557 }
558 {
559 using _t = void (QWindow::*)(QWindow * );
560 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWindow::transientParentChanged)) {
561 *result = 18;
562 return;
563 }
564 }
565 } else if (_c == QMetaObject::RegisterPropertyMetaType) {
566 switch (_id) {
567 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
568 case 16:
569 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWindow* >(); break;
570 }
571 }
572
573#ifndef QT_NO_PROPERTIES
574 else if (_c == QMetaObject::ReadProperty) {
575 Q_ASSERT(staticMetaObject.cast(_o));
576 auto *_t = static_cast<QWindow *>(_o);
577 Q_UNUSED(_t)
578 void *_v = _a[0];
579 switch (_id) {
580 case 0: *reinterpret_cast< QString*>(_v) = _t->title(); break;
581 case 1: *reinterpret_cast< Qt::WindowModality*>(_v) = _t->modality(); break;
582 case 2: *reinterpret_cast< Qt::WindowFlags*>(_v) = _t->flags(); break;
583 case 3: *reinterpret_cast< int*>(_v) = _t->x(); break;
584 case 4: *reinterpret_cast< int*>(_v) = _t->y(); break;
585 case 5: *reinterpret_cast< int*>(_v) = _t->width(); break;
586 case 6: *reinterpret_cast< int*>(_v) = _t->height(); break;
587 case 7: *reinterpret_cast< int*>(_v) = _t->minimumWidth(); break;
588 case 8: *reinterpret_cast< int*>(_v) = _t->minimumHeight(); break;
589 case 9: *reinterpret_cast< int*>(_v) = _t->maximumWidth(); break;
590 case 10: *reinterpret_cast< int*>(_v) = _t->maximumHeight(); break;
591 case 11: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
592 case 12: *reinterpret_cast< bool*>(_v) = _t->isActive(); break;
593 case 13: *reinterpret_cast< Visibility*>(_v) = _t->visibility(); break;
594 case 14: *reinterpret_cast< Qt::ScreenOrientation*>(_v) = _t->contentOrientation(); break;
595 case 15: *reinterpret_cast< qreal*>(_v) = _t->opacity(); break;
596 case 16: *reinterpret_cast< QWindow**>(_v) = _t->QWindow::d_func()->transientParent; break;
597 default: break;
598 }
599 } else if (_c == QMetaObject::WriteProperty) {
600 Q_ASSERT(staticMetaObject.cast(_o));
601 auto *_t = static_cast<QWindow *>(_o);
602 Q_UNUSED(_t)
603 void *_v = _a[0];
604 switch (_id) {
605 case 0: _t->setTitle(*reinterpret_cast< QString*>(_v)); break;
606 case 1: _t->setModality(*reinterpret_cast< Qt::WindowModality*>(_v)); break;
607 case 2: _t->setFlags(*reinterpret_cast< Qt::WindowFlags*>(_v)); break;
608 case 3: _t->setX(*reinterpret_cast< int*>(_v)); break;
609 case 4: _t->setY(*reinterpret_cast< int*>(_v)); break;
610 case 5: _t->setWidth(*reinterpret_cast< int*>(_v)); break;
611 case 6: _t->setHeight(*reinterpret_cast< int*>(_v)); break;
612 case 7: _t->setMinimumWidth(*reinterpret_cast< int*>(_v)); break;
613 case 8: _t->setMinimumHeight(*reinterpret_cast< int*>(_v)); break;
614 case 9: _t->setMaximumWidth(*reinterpret_cast< int*>(_v)); break;
615 case 10: _t->setMaximumHeight(*reinterpret_cast< int*>(_v)); break;
616 case 11: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
617 case 13: _t->setVisibility(*reinterpret_cast< Visibility*>(_v)); break;
618 case 14: _t->reportContentOrientationChange(*reinterpret_cast< Qt::ScreenOrientation*>(_v)); break;
619 case 15: _t->setOpacity(*reinterpret_cast< qreal*>(_v)); break;
620 case 16: _t->QWindow::d_func()->setTransientParent(*reinterpret_cast< QWindow**>(_v)); break;
621 default: break;
622 }
623 } else if (_c == QMetaObject::ResetProperty) {
624 } else if (_c == QMetaObject::BindableProperty) {
625 }
626#endif // QT_NO_PROPERTIES
627}
628
629const QMetaObject QWindow::staticMetaObject = { {
630 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
631 qt_meta_stringdata_QWindow.offsetsAndSize,
632 qt_meta_data_QWindow,
633 qt_static_metacall,
634 nullptr,
635qt_incomplete_metaTypeArray<qt_meta_stringdata_QWindow_t
636, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::WindowModality, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::WindowFlags, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<Visibility, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::ScreenOrientation, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<QWindow*, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QScreen *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::WindowModality, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::WindowState, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QWindow::Visibility, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::ScreenOrientation, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QObject *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QWindow *, std::false_type>
637, QtPrivate::TypeAndForceComplete<void, 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<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, 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<Qt::Edges, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QRect &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
638
639
640>,
641 nullptr
642} };
643
644
645const QMetaObject *QWindow::metaObject() const
646{
647 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
648}
649
650void *QWindow::qt_metacast(const char *_clname)
651{
652 if (!_clname) return nullptr;
653 if (!strcmp(_clname, qt_meta_stringdata_QWindow.stringdata0))
654 return static_cast<void*>(this);
655 if (!strcmp(_clname, "QSurface"))
656 return static_cast< QSurface*>(this);
657 return QObject::qt_metacast(_clname);
658}
659
660int QWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
661{
662 _id = QObject::qt_metacall(_c, _id, _a);
663 if (_id < 0)
664 return _id;
665 if (_c == QMetaObject::InvokeMetaMethod) {
666 if (_id < 46)
667 qt_static_metacall(this, _c, _id, _a);
668 _id -= 46;
669 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
670 if (_id < 46)
671 qt_static_metacall(this, _c, _id, _a);
672 _id -= 46;
673 }
674#ifndef QT_NO_PROPERTIES
675 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
676 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
677 || _c == QMetaObject::RegisterPropertyMetaType) {
678 qt_static_metacall(this, _c, _id, _a);
679 _id -= 17;
680 }
681#endif // QT_NO_PROPERTIES
682 return _id;
683}
684
685// SIGNAL 0
686void QWindow::screenChanged(QScreen * _t1)
687{
688 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
689 QMetaObject::activate(this, &staticMetaObject, 0, _a);
690}
691
692// SIGNAL 1
693void QWindow::modalityChanged(Qt::WindowModality _t1)
694{
695 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
696 QMetaObject::activate(this, &staticMetaObject, 1, _a);
697}
698
699// SIGNAL 2
700void QWindow::windowStateChanged(Qt::WindowState _t1)
701{
702 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
703 QMetaObject::activate(this, &staticMetaObject, 2, _a);
704}
705
706// SIGNAL 3
707void QWindow::windowTitleChanged(const QString & _t1)
708{
709 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
710 QMetaObject::activate(this, &staticMetaObject, 3, _a);
711}
712
713// SIGNAL 4
714void QWindow::xChanged(int _t1)
715{
716 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
717 QMetaObject::activate(this, &staticMetaObject, 4, _a);
718}
719
720// SIGNAL 5
721void QWindow::yChanged(int _t1)
722{
723 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
724 QMetaObject::activate(this, &staticMetaObject, 5, _a);
725}
726
727// SIGNAL 6
728void QWindow::widthChanged(int _t1)
729{
730 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
731 QMetaObject::activate(this, &staticMetaObject, 6, _a);
732}
733
734// SIGNAL 7
735void QWindow::heightChanged(int _t1)
736{
737 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
738 QMetaObject::activate(this, &staticMetaObject, 7, _a);
739}
740
741// SIGNAL 8
742void QWindow::minimumWidthChanged(int _t1)
743{
744 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
745 QMetaObject::activate(this, &staticMetaObject, 8, _a);
746}
747
748// SIGNAL 9
749void QWindow::minimumHeightChanged(int _t1)
750{
751 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
752 QMetaObject::activate(this, &staticMetaObject, 9, _a);
753}
754
755// SIGNAL 10
756void QWindow::maximumWidthChanged(int _t1)
757{
758 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
759 QMetaObject::activate(this, &staticMetaObject, 10, _a);
760}
761
762// SIGNAL 11
763void QWindow::maximumHeightChanged(int _t1)
764{
765 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
766 QMetaObject::activate(this, &staticMetaObject, 11, _a);
767}
768
769// SIGNAL 12
770void QWindow::visibleChanged(bool _t1)
771{
772 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
773 QMetaObject::activate(this, &staticMetaObject, 12, _a);
774}
775
776// SIGNAL 13
777void QWindow::visibilityChanged(QWindow::Visibility _t1)
778{
779 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
780 QMetaObject::activate(this, &staticMetaObject, 13, _a);
781}
782
783// SIGNAL 14
784void QWindow::activeChanged()
785{
786 QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
787}
788
789// SIGNAL 15
790void QWindow::contentOrientationChanged(Qt::ScreenOrientation _t1)
791{
792 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
793 QMetaObject::activate(this, &staticMetaObject, 15, _a);
794}
795
796// SIGNAL 16
797void QWindow::focusObjectChanged(QObject * _t1)
798{
799 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
800 QMetaObject::activate(this, &staticMetaObject, 16, _a);
801}
802
803// SIGNAL 17
804void QWindow::opacityChanged(qreal _t1)
805{
806 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
807 QMetaObject::activate(this, &staticMetaObject, 17, _a);
808}
809
810// SIGNAL 18
811void QWindow::transientParentChanged(QWindow * _t1)
812{
813 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
814 QMetaObject::activate(this, &staticMetaObject, 18, _a);
815}
816QT_WARNING_POP
817QT_END_MOC_NAMESPACE
818