1/****************************************************************************
2** Meta object code from reading C++ file 'qwidget.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/qwidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qwidget.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_QWidget_t {
25 const uint offsetsAndSize[198];
26 char stringdata0[1172];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QWidget_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QWidget_t qt_meta_stringdata_QWidget = {
31 {
32QT_MOC_LITERAL(0, 7), // "QWidget"
33QT_MOC_LITERAL(8, 18), // "windowTitleChanged"
34QT_MOC_LITERAL(27, 0), // ""
35QT_MOC_LITERAL(28, 5), // "title"
36QT_MOC_LITERAL(34, 17), // "windowIconChanged"
37QT_MOC_LITERAL(52, 4), // "icon"
38QT_MOC_LITERAL(57, 21), // "windowIconTextChanged"
39QT_MOC_LITERAL(79, 8), // "iconText"
40QT_MOC_LITERAL(88, 26), // "customContextMenuRequested"
41QT_MOC_LITERAL(115, 3), // "pos"
42QT_MOC_LITERAL(119, 10), // "setEnabled"
43QT_MOC_LITERAL(130, 11), // "setDisabled"
44QT_MOC_LITERAL(142, 17), // "setWindowModified"
45QT_MOC_LITERAL(160, 14), // "setWindowTitle"
46QT_MOC_LITERAL(175, 13), // "setStyleSheet"
47QT_MOC_LITERAL(189, 10), // "styleSheet"
48QT_MOC_LITERAL(200, 8), // "setFocus"
49QT_MOC_LITERAL(209, 6), // "update"
50QT_MOC_LITERAL(216, 7), // "repaint"
51QT_MOC_LITERAL(224, 10), // "setVisible"
52QT_MOC_LITERAL(235, 7), // "visible"
53QT_MOC_LITERAL(243, 9), // "setHidden"
54QT_MOC_LITERAL(253, 6), // "hidden"
55QT_MOC_LITERAL(260, 4), // "show"
56QT_MOC_LITERAL(265, 4), // "hide"
57QT_MOC_LITERAL(270, 13), // "showMinimized"
58QT_MOC_LITERAL(284, 13), // "showMaximized"
59QT_MOC_LITERAL(298, 14), // "showFullScreen"
60QT_MOC_LITERAL(313, 10), // "showNormal"
61QT_MOC_LITERAL(324, 5), // "close"
62QT_MOC_LITERAL(330, 5), // "raise"
63QT_MOC_LITERAL(336, 5), // "lower"
64QT_MOC_LITERAL(342, 16), // "updateMicroFocus"
65QT_MOC_LITERAL(359, 18), // "_q_showIfNotHidden"
66QT_MOC_LITERAL(378, 22), // "_q_closestWindowHandle"
67QT_MOC_LITERAL(401, 8), // "QWindow*"
68QT_MOC_LITERAL(410, 4), // "grab"
69QT_MOC_LITERAL(415, 9), // "rectangle"
70QT_MOC_LITERAL(425, 5), // "modal"
71QT_MOC_LITERAL(431, 14), // "windowModality"
72QT_MOC_LITERAL(446, 18), // "Qt::WindowModality"
73QT_MOC_LITERAL(465, 7), // "enabled"
74QT_MOC_LITERAL(473, 8), // "geometry"
75QT_MOC_LITERAL(482, 13), // "frameGeometry"
76QT_MOC_LITERAL(496, 14), // "normalGeometry"
77QT_MOC_LITERAL(511, 1), // "x"
78QT_MOC_LITERAL(513, 1), // "y"
79QT_MOC_LITERAL(515, 9), // "frameSize"
80QT_MOC_LITERAL(525, 4), // "size"
81QT_MOC_LITERAL(530, 5), // "width"
82QT_MOC_LITERAL(536, 6), // "height"
83QT_MOC_LITERAL(543, 4), // "rect"
84QT_MOC_LITERAL(548, 12), // "childrenRect"
85QT_MOC_LITERAL(561, 14), // "childrenRegion"
86QT_MOC_LITERAL(576, 10), // "sizePolicy"
87QT_MOC_LITERAL(587, 11), // "minimumSize"
88QT_MOC_LITERAL(599, 11), // "maximumSize"
89QT_MOC_LITERAL(611, 12), // "minimumWidth"
90QT_MOC_LITERAL(624, 13), // "minimumHeight"
91QT_MOC_LITERAL(638, 12), // "maximumWidth"
92QT_MOC_LITERAL(651, 13), // "maximumHeight"
93QT_MOC_LITERAL(665, 13), // "sizeIncrement"
94QT_MOC_LITERAL(679, 8), // "baseSize"
95QT_MOC_LITERAL(688, 7), // "palette"
96QT_MOC_LITERAL(696, 4), // "font"
97QT_MOC_LITERAL(701, 6), // "cursor"
98QT_MOC_LITERAL(708, 13), // "mouseTracking"
99QT_MOC_LITERAL(722, 14), // "tabletTracking"
100QT_MOC_LITERAL(737, 14), // "isActiveWindow"
101QT_MOC_LITERAL(752, 11), // "focusPolicy"
102QT_MOC_LITERAL(764, 15), // "Qt::FocusPolicy"
103QT_MOC_LITERAL(780, 5), // "focus"
104QT_MOC_LITERAL(786, 17), // "contextMenuPolicy"
105QT_MOC_LITERAL(804, 21), // "Qt::ContextMenuPolicy"
106QT_MOC_LITERAL(826, 14), // "updatesEnabled"
107QT_MOC_LITERAL(841, 9), // "minimized"
108QT_MOC_LITERAL(851, 9), // "maximized"
109QT_MOC_LITERAL(861, 10), // "fullScreen"
110QT_MOC_LITERAL(872, 8), // "sizeHint"
111QT_MOC_LITERAL(881, 15), // "minimumSizeHint"
112QT_MOC_LITERAL(897, 11), // "acceptDrops"
113QT_MOC_LITERAL(909, 11), // "windowTitle"
114QT_MOC_LITERAL(921, 10), // "windowIcon"
115QT_MOC_LITERAL(932, 14), // "windowIconText"
116QT_MOC_LITERAL(947, 13), // "windowOpacity"
117QT_MOC_LITERAL(961, 14), // "windowModified"
118QT_MOC_LITERAL(976, 7), // "toolTip"
119QT_MOC_LITERAL(984, 15), // "toolTipDuration"
120QT_MOC_LITERAL(1000, 9), // "statusTip"
121QT_MOC_LITERAL(1010, 9), // "whatsThis"
122QT_MOC_LITERAL(1020, 14), // "accessibleName"
123QT_MOC_LITERAL(1035, 21), // "accessibleDescription"
124QT_MOC_LITERAL(1057, 15), // "layoutDirection"
125QT_MOC_LITERAL(1073, 19), // "Qt::LayoutDirection"
126QT_MOC_LITERAL(1093, 18), // "autoFillBackground"
127QT_MOC_LITERAL(1112, 6), // "locale"
128QT_MOC_LITERAL(1119, 14), // "windowFilePath"
129QT_MOC_LITERAL(1134, 16), // "inputMethodHints"
130QT_MOC_LITERAL(1151, 20) // "Qt::InputMethodHints"
131
132 },
133 "QWidget\0windowTitleChanged\0\0title\0"
134 "windowIconChanged\0icon\0windowIconTextChanged\0"
135 "iconText\0customContextMenuRequested\0"
136 "pos\0setEnabled\0setDisabled\0setWindowModified\0"
137 "setWindowTitle\0setStyleSheet\0styleSheet\0"
138 "setFocus\0update\0repaint\0setVisible\0"
139 "visible\0setHidden\0hidden\0show\0hide\0"
140 "showMinimized\0showMaximized\0showFullScreen\0"
141 "showNormal\0close\0raise\0lower\0"
142 "updateMicroFocus\0_q_showIfNotHidden\0"
143 "_q_closestWindowHandle\0QWindow*\0grab\0"
144 "rectangle\0modal\0windowModality\0"
145 "Qt::WindowModality\0enabled\0geometry\0"
146 "frameGeometry\0normalGeometry\0x\0y\0"
147 "frameSize\0size\0width\0height\0rect\0"
148 "childrenRect\0childrenRegion\0sizePolicy\0"
149 "minimumSize\0maximumSize\0minimumWidth\0"
150 "minimumHeight\0maximumWidth\0maximumHeight\0"
151 "sizeIncrement\0baseSize\0palette\0font\0"
152 "cursor\0mouseTracking\0tabletTracking\0"
153 "isActiveWindow\0focusPolicy\0Qt::FocusPolicy\0"
154 "focus\0contextMenuPolicy\0Qt::ContextMenuPolicy\0"
155 "updatesEnabled\0minimized\0maximized\0"
156 "fullScreen\0sizeHint\0minimumSizeHint\0"
157 "acceptDrops\0windowTitle\0windowIcon\0"
158 "windowIconText\0windowOpacity\0"
159 "windowModified\0toolTip\0toolTipDuration\0"
160 "statusTip\0whatsThis\0accessibleName\0"
161 "accessibleDescription\0layoutDirection\0"
162 "Qt::LayoutDirection\0autoFillBackground\0"
163 "locale\0windowFilePath\0inputMethodHints\0"
164 "Qt::InputMethodHints"
165};
166#undef QT_MOC_LITERAL
167
168static const uint qt_meta_data_QWidget[] = {
169
170 // content:
171 9, // revision
172 0, // classname
173 0, 0, // classinfo
174 28, 14, // methods
175 59, 234, // properties
176 0, 0, // enums/sets
177 0, 0, // constructors
178 0, // flags
179 4, // signalCount
180
181 // signals: name, argc, parameters, tag, flags, initial metatype offsets
182 1, 1, 182, 2, 0x06, 59 /* Public */,
183 4, 1, 185, 2, 0x06, 61 /* Public */,
184 6, 1, 188, 2, 0x06, 63 /* Public */,
185 8, 1, 191, 2, 0x06, 65 /* Public */,
186
187 // slots: name, argc, parameters, tag, flags, initial metatype offsets
188 10, 1, 194, 2, 0x0a, 67 /* Public */,
189 11, 1, 197, 2, 0x0a, 69 /* Public */,
190 12, 1, 200, 2, 0x0a, 71 /* Public */,
191 13, 1, 203, 2, 0x0a, 73 /* Public */,
192 14, 1, 206, 2, 0x0a, 75 /* Public */,
193 16, 0, 209, 2, 0x0a, 77 /* Public */,
194 17, 0, 210, 2, 0x0a, 78 /* Public */,
195 18, 0, 211, 2, 0x0a, 79 /* Public */,
196 19, 1, 212, 2, 0x0a, 80 /* Public */,
197 21, 1, 215, 2, 0x0a, 82 /* Public */,
198 23, 0, 218, 2, 0x0a, 84 /* Public */,
199 24, 0, 219, 2, 0x0a, 85 /* Public */,
200 25, 0, 220, 2, 0x0a, 86 /* Public */,
201 26, 0, 221, 2, 0x0a, 87 /* Public */,
202 27, 0, 222, 2, 0x0a, 88 /* Public */,
203 28, 0, 223, 2, 0x0a, 89 /* Public */,
204 29, 0, 224, 2, 0x0a, 90 /* Public */,
205 30, 0, 225, 2, 0x0a, 91 /* Public */,
206 31, 0, 226, 2, 0x0a, 92 /* Public */,
207 32, 0, 227, 2, 0x09, 93 /* Protected */,
208 33, 0, 228, 2, 0x08, 94 /* Private */,
209 34, 0, 229, 2, 0x08, 95 /* Private */,
210
211 // methods: name, argc, parameters, tag, flags, initial metatype offsets
212 36, 1, 230, 2, 0x02, 96 /* Public */,
213 36, 0, 233, 2, 0x22, 98 /* Public | MethodCloned */,
214
215 // signals: parameters
216 QMetaType::Void, QMetaType::QString, 3,
217 QMetaType::Void, QMetaType::QIcon, 5,
218 QMetaType::Void, QMetaType::QString, 7,
219 QMetaType::Void, QMetaType::QPoint, 9,
220
221 // slots: parameters
222 QMetaType::Void, QMetaType::Bool, 2,
223 QMetaType::Void, QMetaType::Bool, 2,
224 QMetaType::Void, QMetaType::Bool, 2,
225 QMetaType::Void, QMetaType::QString, 2,
226 QMetaType::Void, QMetaType::QString, 15,
227 QMetaType::Void,
228 QMetaType::Void,
229 QMetaType::Void,
230 QMetaType::Void, QMetaType::Bool, 20,
231 QMetaType::Void, QMetaType::Bool, 22,
232 QMetaType::Void,
233 QMetaType::Void,
234 QMetaType::Void,
235 QMetaType::Void,
236 QMetaType::Void,
237 QMetaType::Void,
238 QMetaType::Bool,
239 QMetaType::Void,
240 QMetaType::Void,
241 QMetaType::Void,
242 QMetaType::Void,
243 0x80000000 | 35,
244
245 // methods: parameters
246 QMetaType::QPixmap, QMetaType::QRect, 37,
247 QMetaType::QPixmap,
248
249 // properties: name, type, flags
250 38, QMetaType::Bool, 0x00015001, uint(-1), 0,
251 39, 0x80000000 | 40, 0x0001510b, uint(-1), 0,
252 41, QMetaType::Bool, 0x00015103, uint(-1), 0,
253 42, QMetaType::QRect, 0x00015103, uint(-1), 0,
254 43, QMetaType::QRect, 0x00015001, uint(-1), 0,
255 44, QMetaType::QRect, 0x00015001, uint(-1), 0,
256 45, QMetaType::Int, 0x00015001, uint(-1), 0,
257 46, QMetaType::Int, 0x00015001, uint(-1), 0,
258 9, QMetaType::QPoint, 0x00004003, uint(-1), 0,
259 47, QMetaType::QSize, 0x00015001, uint(-1), 0,
260 48, QMetaType::QSize, 0x00004003, uint(-1), 0,
261 49, QMetaType::Int, 0x00015001, uint(-1), 0,
262 50, QMetaType::Int, 0x00015001, uint(-1), 0,
263 51, QMetaType::QRect, 0x00015001, uint(-1), 0,
264 52, QMetaType::QRect, 0x00015001, uint(-1), 0,
265 53, QMetaType::QRegion, 0x00015001, uint(-1), 0,
266 54, QMetaType::QSizePolicy, 0x00015103, uint(-1), 0,
267 55, QMetaType::QSize, 0x00015103, uint(-1), 0,
268 56, QMetaType::QSize, 0x00015103, uint(-1), 0,
269 57, QMetaType::Int, 0x00004103, uint(-1), 0,
270 58, QMetaType::Int, 0x00004103, uint(-1), 0,
271 59, QMetaType::Int, 0x00004103, uint(-1), 0,
272 60, QMetaType::Int, 0x00004103, uint(-1), 0,
273 61, QMetaType::QSize, 0x00015103, uint(-1), 0,
274 62, QMetaType::QSize, 0x00015103, uint(-1), 0,
275 63, QMetaType::QPalette, 0x00015103, uint(-1), 0,
276 64, QMetaType::QFont, 0x00015103, uint(-1), 0,
277 65, QMetaType::QCursor, 0x00015107, uint(-1), 0,
278 66, QMetaType::Bool, 0x00015103, uint(-1), 0,
279 67, QMetaType::Bool, 0x00015103, uint(-1), 0,
280 68, QMetaType::Bool, 0x00015001, uint(-1), 0,
281 69, 0x80000000 | 70, 0x0001510b, uint(-1), 0,
282 71, QMetaType::Bool, 0x00015001, uint(-1), 0,
283 72, 0x80000000 | 73, 0x0001510b, uint(-1), 0,
284 74, QMetaType::Bool, 0x00014103, uint(-1), 0,
285 20, QMetaType::Bool, 0x00014103, uint(-1), 0,
286 75, QMetaType::Bool, 0x00015001, uint(-1), 0,
287 76, QMetaType::Bool, 0x00015001, uint(-1), 0,
288 77, QMetaType::Bool, 0x00015001, uint(-1), 0,
289 78, QMetaType::QSize, 0x00015001, uint(-1), 0,
290 79, QMetaType::QSize, 0x00015001, uint(-1), 0,
291 80, QMetaType::Bool, 0x00015103, uint(-1), 0,
292 81, QMetaType::QString, 0x00015103, uint(0), 0,
293 82, QMetaType::QIcon, 0x00015103, uint(1), 0,
294 83, QMetaType::QString, 0x00015103, uint(2), 0,
295 84, QMetaType::Double, 0x00015103, uint(-1), 0,
296 85, QMetaType::Bool, 0x00015103, uint(-1), 0,
297 86, QMetaType::QString, 0x00015103, uint(-1), 0,
298 87, QMetaType::Int, 0x00015103, uint(-1), 0,
299 88, QMetaType::QString, 0x00015103, uint(-1), 0,
300 89, QMetaType::QString, 0x00015103, uint(-1), 0,
301 90, QMetaType::QString, 0x00015103, uint(-1), 0,
302 91, QMetaType::QString, 0x00015103, uint(-1), 0,
303 92, 0x80000000 | 93, 0x0001510f, uint(-1), 0,
304 94, QMetaType::Bool, 0x00015103, uint(-1), 0,
305 15, QMetaType::QString, 0x00015103, uint(-1), 0,
306 95, QMetaType::QLocale, 0x00015107, uint(-1), 0,
307 96, QMetaType::QString, 0x00015103, uint(-1), 0,
308 97, 0x80000000 | 98, 0x0001510b, uint(-1), 0,
309
310 0 // eod
311};
312
313void QWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
314{
315 if (_c == QMetaObject::InvokeMetaMethod) {
316 Q_ASSERT(staticMetaObject.cast(_o));
317 auto *_t = static_cast<QWidget *>(_o);
318 Q_UNUSED(_t)
319 switch (_id) {
320 case 0: _t->windowTitleChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
321 case 1: _t->windowIconChanged((*reinterpret_cast< const QIcon(*)>(_a[1]))); break;
322 case 2: _t->windowIconTextChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
323 case 3: _t->customContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
324 case 4: _t->setEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
325 case 5: _t->setDisabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
326 case 6: _t->setWindowModified((*reinterpret_cast< bool(*)>(_a[1]))); break;
327 case 7: _t->setWindowTitle((*reinterpret_cast< const QString(*)>(_a[1]))); break;
328 case 8: _t->setStyleSheet((*reinterpret_cast< const QString(*)>(_a[1]))); break;
329 case 9: _t->setFocus(); break;
330 case 10: _t->update(); break;
331 case 11: _t->repaint(); break;
332 case 12: _t->setVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
333 case 13: _t->setHidden((*reinterpret_cast< bool(*)>(_a[1]))); break;
334 case 14: _t->show(); break;
335 case 15: _t->hide(); break;
336 case 16: _t->showMinimized(); break;
337 case 17: _t->showMaximized(); break;
338 case 18: _t->showFullScreen(); break;
339 case 19: _t->showNormal(); break;
340 case 20: { bool _r = _t->close();
341 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
342 case 21: _t->raise(); break;
343 case 22: _t->lower(); break;
344 case 23: _t->updateMicroFocus(); break;
345 case 24: _t->d_func()->_q_showIfNotHidden(); break;
346 case 25: { QWindow* _r = _t->d_func()->_q_closestWindowHandle();
347 if (_a[0]) *reinterpret_cast< QWindow**>(_a[0]) = std::move(_r); } break;
348 case 26: { QPixmap _r = _t->grab((*reinterpret_cast< const QRect(*)>(_a[1])));
349 if (_a[0]) *reinterpret_cast< QPixmap*>(_a[0]) = std::move(_r); } break;
350 case 27: { QPixmap _r = _t->grab();
351 if (_a[0]) *reinterpret_cast< QPixmap*>(_a[0]) = std::move(_r); } break;
352 default: ;
353 }
354 } else if (_c == QMetaObject::IndexOfMethod) {
355 int *result = reinterpret_cast<int *>(_a[0]);
356 {
357 using _t = void (QWidget::*)(const QString & );
358 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidget::windowTitleChanged)) {
359 *result = 0;
360 return;
361 }
362 }
363 {
364 using _t = void (QWidget::*)(const QIcon & );
365 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidget::windowIconChanged)) {
366 *result = 1;
367 return;
368 }
369 }
370 {
371 using _t = void (QWidget::*)(const QString & );
372 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidget::windowIconTextChanged)) {
373 *result = 2;
374 return;
375 }
376 }
377 {
378 using _t = void (QWidget::*)(const QPoint & );
379 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWidget::customContextMenuRequested)) {
380 *result = 3;
381 return;
382 }
383 }
384 }
385#ifndef QT_NO_PROPERTIES
386 else if (_c == QMetaObject::ReadProperty) {
387 Q_ASSERT(staticMetaObject.cast(_o));
388 auto *_t = static_cast<QWidget *>(_o);
389 Q_UNUSED(_t)
390 void *_v = _a[0];
391 switch (_id) {
392 case 0: *reinterpret_cast< bool*>(_v) = _t->isModal(); break;
393 case 1: *reinterpret_cast< Qt::WindowModality*>(_v) = _t->windowModality(); break;
394 case 2: *reinterpret_cast< bool*>(_v) = _t->isEnabled(); break;
395 case 3: *reinterpret_cast< QRect*>(_v) = _t->geometry(); break;
396 case 4: *reinterpret_cast< QRect*>(_v) = _t->frameGeometry(); break;
397 case 5: *reinterpret_cast< QRect*>(_v) = _t->normalGeometry(); break;
398 case 6: *reinterpret_cast< int*>(_v) = _t->x(); break;
399 case 7: *reinterpret_cast< int*>(_v) = _t->y(); break;
400 case 8: *reinterpret_cast< QPoint*>(_v) = _t->pos(); break;
401 case 9: *reinterpret_cast< QSize*>(_v) = _t->frameSize(); break;
402 case 10: *reinterpret_cast< QSize*>(_v) = _t->size(); break;
403 case 11: *reinterpret_cast< int*>(_v) = _t->width(); break;
404 case 12: *reinterpret_cast< int*>(_v) = _t->height(); break;
405 case 13: *reinterpret_cast< QRect*>(_v) = _t->rect(); break;
406 case 14: *reinterpret_cast< QRect*>(_v) = _t->childrenRect(); break;
407 case 15: *reinterpret_cast< QRegion*>(_v) = _t->childrenRegion(); break;
408 case 16: *reinterpret_cast< QSizePolicy*>(_v) = _t->sizePolicy(); break;
409 case 17: *reinterpret_cast< QSize*>(_v) = _t->minimumSize(); break;
410 case 18: *reinterpret_cast< QSize*>(_v) = _t->maximumSize(); break;
411 case 19: *reinterpret_cast< int*>(_v) = _t->minimumWidth(); break;
412 case 20: *reinterpret_cast< int*>(_v) = _t->minimumHeight(); break;
413 case 21: *reinterpret_cast< int*>(_v) = _t->maximumWidth(); break;
414 case 22: *reinterpret_cast< int*>(_v) = _t->maximumHeight(); break;
415 case 23: *reinterpret_cast< QSize*>(_v) = _t->sizeIncrement(); break;
416 case 24: *reinterpret_cast< QSize*>(_v) = _t->baseSize(); break;
417 case 25: *reinterpret_cast< QPalette*>(_v) = _t->palette(); break;
418 case 26: *reinterpret_cast< QFont*>(_v) = _t->font(); break;
419 case 27: *reinterpret_cast< QCursor*>(_v) = _t->cursor(); break;
420 case 28: *reinterpret_cast< bool*>(_v) = _t->hasMouseTracking(); break;
421 case 29: *reinterpret_cast< bool*>(_v) = _t->hasTabletTracking(); break;
422 case 30: *reinterpret_cast< bool*>(_v) = _t->isActiveWindow(); break;
423 case 31: *reinterpret_cast< Qt::FocusPolicy*>(_v) = _t->focusPolicy(); break;
424 case 32: *reinterpret_cast< bool*>(_v) = _t->hasFocus(); break;
425 case 33: *reinterpret_cast< Qt::ContextMenuPolicy*>(_v) = _t->contextMenuPolicy(); break;
426 case 34: *reinterpret_cast< bool*>(_v) = _t->updatesEnabled(); break;
427 case 35: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
428 case 36: *reinterpret_cast< bool*>(_v) = _t->isMinimized(); break;
429 case 37: *reinterpret_cast< bool*>(_v) = _t->isMaximized(); break;
430 case 38: *reinterpret_cast< bool*>(_v) = _t->isFullScreen(); break;
431 case 39: *reinterpret_cast< QSize*>(_v) = _t->sizeHint(); break;
432 case 40: *reinterpret_cast< QSize*>(_v) = _t->minimumSizeHint(); break;
433 case 41: *reinterpret_cast< bool*>(_v) = _t->acceptDrops(); break;
434 case 42: *reinterpret_cast< QString*>(_v) = _t->windowTitle(); break;
435 case 43: *reinterpret_cast< QIcon*>(_v) = _t->windowIcon(); break;
436 case 44: *reinterpret_cast< QString*>(_v) = _t->windowIconText(); break;
437 case 45: *reinterpret_cast< double*>(_v) = _t->windowOpacity(); break;
438 case 46: *reinterpret_cast< bool*>(_v) = _t->isWindowModified(); break;
439 case 47: *reinterpret_cast< QString*>(_v) = _t->toolTip(); break;
440 case 48: *reinterpret_cast< int*>(_v) = _t->toolTipDuration(); break;
441 case 49: *reinterpret_cast< QString*>(_v) = _t->statusTip(); break;
442 case 50: *reinterpret_cast< QString*>(_v) = _t->whatsThis(); break;
443 case 51: *reinterpret_cast< QString*>(_v) = _t->accessibleName(); break;
444 case 52: *reinterpret_cast< QString*>(_v) = _t->accessibleDescription(); break;
445 case 53: *reinterpret_cast< Qt::LayoutDirection*>(_v) = _t->layoutDirection(); break;
446 case 54: *reinterpret_cast< bool*>(_v) = _t->autoFillBackground(); break;
447 case 55: *reinterpret_cast< QString*>(_v) = _t->styleSheet(); break;
448 case 56: *reinterpret_cast< QLocale*>(_v) = _t->locale(); break;
449 case 57: *reinterpret_cast< QString*>(_v) = _t->windowFilePath(); break;
450 case 58: *reinterpret_cast< Qt::InputMethodHints*>(_v) = _t->inputMethodHints(); break;
451 default: break;
452 }
453 } else if (_c == QMetaObject::WriteProperty) {
454 Q_ASSERT(staticMetaObject.cast(_o));
455 auto *_t = static_cast<QWidget *>(_o);
456 Q_UNUSED(_t)
457 void *_v = _a[0];
458 switch (_id) {
459 case 1: _t->setWindowModality(*reinterpret_cast< Qt::WindowModality*>(_v)); break;
460 case 2: _t->setEnabled(*reinterpret_cast< bool*>(_v)); break;
461 case 3: _t->setGeometry(*reinterpret_cast< QRect*>(_v)); break;
462 case 8: _t->move(*reinterpret_cast< QPoint*>(_v)); break;
463 case 10: _t->resize(*reinterpret_cast< QSize*>(_v)); break;
464 case 16: _t->setSizePolicy(*reinterpret_cast< QSizePolicy*>(_v)); break;
465 case 17: _t->setMinimumSize(*reinterpret_cast< QSize*>(_v)); break;
466 case 18: _t->setMaximumSize(*reinterpret_cast< QSize*>(_v)); break;
467 case 19: _t->setMinimumWidth(*reinterpret_cast< int*>(_v)); break;
468 case 20: _t->setMinimumHeight(*reinterpret_cast< int*>(_v)); break;
469 case 21: _t->setMaximumWidth(*reinterpret_cast< int*>(_v)); break;
470 case 22: _t->setMaximumHeight(*reinterpret_cast< int*>(_v)); break;
471 case 23: _t->setSizeIncrement(*reinterpret_cast< QSize*>(_v)); break;
472 case 24: _t->setBaseSize(*reinterpret_cast< QSize*>(_v)); break;
473 case 25: _t->setPalette(*reinterpret_cast< QPalette*>(_v)); break;
474 case 26: _t->setFont(*reinterpret_cast< QFont*>(_v)); break;
475 case 27: _t->setCursor(*reinterpret_cast< QCursor*>(_v)); break;
476 case 28: _t->setMouseTracking(*reinterpret_cast< bool*>(_v)); break;
477 case 29: _t->setTabletTracking(*reinterpret_cast< bool*>(_v)); break;
478 case 31: _t->setFocusPolicy(*reinterpret_cast< Qt::FocusPolicy*>(_v)); break;
479 case 33: _t->setContextMenuPolicy(*reinterpret_cast< Qt::ContextMenuPolicy*>(_v)); break;
480 case 34: _t->setUpdatesEnabled(*reinterpret_cast< bool*>(_v)); break;
481 case 35: _t->setVisible(*reinterpret_cast< bool*>(_v)); break;
482 case 41: _t->setAcceptDrops(*reinterpret_cast< bool*>(_v)); break;
483 case 42: _t->setWindowTitle(*reinterpret_cast< QString*>(_v)); break;
484 case 43: _t->setWindowIcon(*reinterpret_cast< QIcon*>(_v)); break;
485 case 44: _t->setWindowIconText(*reinterpret_cast< QString*>(_v)); break;
486 case 45: _t->setWindowOpacity(*reinterpret_cast< double*>(_v)); break;
487 case 46: _t->setWindowModified(*reinterpret_cast< bool*>(_v)); break;
488 case 47: _t->setToolTip(*reinterpret_cast< QString*>(_v)); break;
489 case 48: _t->setToolTipDuration(*reinterpret_cast< int*>(_v)); break;
490 case 49: _t->setStatusTip(*reinterpret_cast< QString*>(_v)); break;
491 case 50: _t->setWhatsThis(*reinterpret_cast< QString*>(_v)); break;
492 case 51: _t->setAccessibleName(*reinterpret_cast< QString*>(_v)); break;
493 case 52: _t->setAccessibleDescription(*reinterpret_cast< QString*>(_v)); break;
494 case 53: _t->setLayoutDirection(*reinterpret_cast< Qt::LayoutDirection*>(_v)); break;
495 case 54: _t->setAutoFillBackground(*reinterpret_cast< bool*>(_v)); break;
496 case 55: _t->setStyleSheet(*reinterpret_cast< QString*>(_v)); break;
497 case 56: _t->setLocale(*reinterpret_cast< QLocale*>(_v)); break;
498 case 57: _t->setWindowFilePath(*reinterpret_cast< QString*>(_v)); break;
499 case 58: _t->setInputMethodHints(*reinterpret_cast< Qt::InputMethodHints*>(_v)); break;
500 default: break;
501 }
502 } else if (_c == QMetaObject::ResetProperty) {
503 Q_ASSERT(staticMetaObject.cast(_o));
504 auto *_t = static_cast<QWidget *>(_o);
505 Q_UNUSED(_t)
506 switch (_id) {
507 case 27: _t->unsetCursor(); break;
508 case 53: _t->unsetLayoutDirection(); break;
509 case 56: _t->unsetLocale(); break;
510 default: break;
511 }
512 } else if (_c == QMetaObject::BindableProperty) {
513 }
514#endif // QT_NO_PROPERTIES
515}
516
517const QMetaObject QWidget::staticMetaObject = { {
518 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
519 qt_meta_stringdata_QWidget.offsetsAndSize,
520 qt_meta_data_QWidget,
521 qt_static_metacall,
522 nullptr,
523qt_incomplete_metaTypeArray<qt_meta_stringdata_QWidget_t
524, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::WindowModality, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QRect, std::true_type>, QtPrivate::TypeAndForceComplete<QRect, std::true_type>, QtPrivate::TypeAndForceComplete<QRect, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<QPoint, std::true_type>, QtPrivate::TypeAndForceComplete<QSize, std::true_type>, QtPrivate::TypeAndForceComplete<QSize, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<QRect, std::true_type>, QtPrivate::TypeAndForceComplete<QRect, std::true_type>, QtPrivate::TypeAndForceComplete<QRegion, std::true_type>, QtPrivate::TypeAndForceComplete<QSizePolicy, std::true_type>, QtPrivate::TypeAndForceComplete<QSize, std::true_type>, QtPrivate::TypeAndForceComplete<QSize, 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<QSize, std::true_type>, QtPrivate::TypeAndForceComplete<QSize, std::true_type>, QtPrivate::TypeAndForceComplete<QPalette, std::true_type>, QtPrivate::TypeAndForceComplete<QFont, std::true_type>, QtPrivate::TypeAndForceComplete<QCursor, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::FocusPolicy, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::ContextMenuPolicy, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QSize, std::true_type>, QtPrivate::TypeAndForceComplete<QSize, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QIcon, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<double, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::LayoutDirection, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QLocale, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::InputMethodHints, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QIcon &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>
525, 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<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<const QString &, 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<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<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QWindow *, std::false_type>
526, QtPrivate::TypeAndForceComplete<QPixmap, std::false_type>, QtPrivate::TypeAndForceComplete<const QRect &, std::false_type>, QtPrivate::TypeAndForceComplete<QPixmap, std::false_type>
527
528>,
529 nullptr
530} };
531
532
533const QMetaObject *QWidget::metaObject() const
534{
535 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
536}
537
538void *QWidget::qt_metacast(const char *_clname)
539{
540 if (!_clname) return nullptr;
541 if (!strcmp(_clname, qt_meta_stringdata_QWidget.stringdata0))
542 return static_cast<void*>(this);
543 if (!strcmp(_clname, "QPaintDevice"))
544 return static_cast< QPaintDevice*>(this);
545 return QObject::qt_metacast(_clname);
546}
547
548int QWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
549{
550 _id = QObject::qt_metacall(_c, _id, _a);
551 if (_id < 0)
552 return _id;
553 if (_c == QMetaObject::InvokeMetaMethod) {
554 if (_id < 28)
555 qt_static_metacall(this, _c, _id, _a);
556 _id -= 28;
557 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
558 if (_id < 28)
559 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
560 _id -= 28;
561 }
562#ifndef QT_NO_PROPERTIES
563 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
564 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
565 || _c == QMetaObject::RegisterPropertyMetaType) {
566 qt_static_metacall(this, _c, _id, _a);
567 _id -= 59;
568 }
569#endif // QT_NO_PROPERTIES
570 return _id;
571}
572
573// SIGNAL 0
574void QWidget::windowTitleChanged(const QString & _t1)
575{
576 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
577 QMetaObject::activate(this, &staticMetaObject, 0, _a);
578}
579
580// SIGNAL 1
581void QWidget::windowIconChanged(const QIcon & _t1)
582{
583 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
584 QMetaObject::activate(this, &staticMetaObject, 1, _a);
585}
586
587// SIGNAL 2
588void QWidget::windowIconTextChanged(const QString & _t1)
589{
590 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
591 QMetaObject::activate(this, &staticMetaObject, 2, _a);
592}
593
594// SIGNAL 3
595void QWidget::customContextMenuRequested(const QPoint & _t1)
596{
597 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
598 QMetaObject::activate(this, &staticMetaObject, 3, _a);
599}
600QT_WARNING_POP
601QT_END_MOC_NAMESPACE
602