1/****************************************************************************
2** Meta object code from reading C++ file 'qgraphicsproxywidget.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 "graphicsview/qgraphicsproxywidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qgraphicsproxywidget.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_QGraphicsProxyWidget_t {
25 const uint offsetsAndSize[12];
26 char stringdata0[94];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QGraphicsProxyWidget_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QGraphicsProxyWidget_t qt_meta_stringdata_QGraphicsProxyWidget = {
31 {
32QT_MOC_LITERAL(0, 20), // "QGraphicsProxyWidget"
33QT_MOC_LITERAL(21, 14), // "newProxyWidget"
34QT_MOC_LITERAL(36, 21), // "QGraphicsProxyWidget*"
35QT_MOC_LITERAL(58, 0), // ""
36QT_MOC_LITERAL(59, 14), // "const QWidget*"
37QT_MOC_LITERAL(74, 19) // "_q_removeWidgetSlot"
38
39 },
40 "QGraphicsProxyWidget\0newProxyWidget\0"
41 "QGraphicsProxyWidget*\0\0const QWidget*\0"
42 "_q_removeWidgetSlot"
43};
44#undef QT_MOC_LITERAL
45
46static const uint qt_meta_data_QGraphicsProxyWidget[] = {
47
48 // content:
49 9, // revision
50 0, // classname
51 0, 0, // classinfo
52 2, 14, // methods
53 0, 0, // properties
54 0, 0, // enums/sets
55 0, 0, // constructors
56 0, // flags
57 0, // signalCount
58
59 // slots: name, argc, parameters, tag, flags, initial metatype offsets
60 1, 1, 26, 3, 0x09, 0 /* Protected */,
61 5, 0, 29, 3, 0x08, 2 /* Private */,
62
63 // slots: parameters
64 0x80000000 | 2, 0x80000000 | 4, 3,
65 QMetaType::Void,
66
67 0 // eod
68};
69
70void QGraphicsProxyWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
71{
72 if (_c == QMetaObject::InvokeMetaMethod) {
73 Q_ASSERT(staticMetaObject.cast(_o));
74 auto *_t = static_cast<QGraphicsProxyWidget *>(_o);
75 Q_UNUSED(_t)
76 switch (_id) {
77 case 0: { QGraphicsProxyWidget* _r = _t->newProxyWidget((*reinterpret_cast< const QWidget*(*)>(_a[1])));
78 if (_a[0]) *reinterpret_cast< QGraphicsProxyWidget**>(_a[0]) = std::move(_r); } break;
79 case 1: _t->d_func()->_q_removeWidgetSlot(); break;
80 default: ;
81 }
82 }
83}
84
85const QMetaObject QGraphicsProxyWidget::staticMetaObject = { {
86 QMetaObject::SuperData::link<QGraphicsWidget::staticMetaObject>(),
87 qt_meta_stringdata_QGraphicsProxyWidget.offsetsAndSize,
88 qt_meta_data_QGraphicsProxyWidget,
89 qt_static_metacall,
90 nullptr,
91qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsProxyWidget_t
92
93, QtPrivate::TypeAndForceComplete<QGraphicsProxyWidget *, std::false_type>, QtPrivate::TypeAndForceComplete<const QWidget *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
94
95
96>,
97 nullptr
98} };
99
100
101const QMetaObject *QGraphicsProxyWidget::metaObject() const
102{
103 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
104}
105
106void *QGraphicsProxyWidget::qt_metacast(const char *_clname)
107{
108 if (!_clname) return nullptr;
109 if (!strcmp(_clname, qt_meta_stringdata_QGraphicsProxyWidget.stringdata0))
110 return static_cast<void*>(this);
111 return QGraphicsWidget::qt_metacast(_clname);
112}
113
114int QGraphicsProxyWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
115{
116 _id = QGraphicsWidget::qt_metacall(_c, _id, _a);
117 if (_id < 0)
118 return _id;
119 if (_c == QMetaObject::InvokeMetaMethod) {
120 if (_id < 2)
121 qt_static_metacall(this, _c, _id, _a);
122 _id -= 2;
123 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
124 if (_id < 2)
125 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
126 _id -= 2;
127 }
128 return _id;
129}
130QT_WARNING_POP
131QT_END_MOC_NAMESPACE
132