Coverage Report

Created: 2020-03-12 16:59

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