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