1/****************************************************************************
2** Meta object code from reading C++ file 'qbuttongroup.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/qbuttongroup.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qbuttongroup.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_QButtonGroup_t {
25 const uint offsetsAndSize[24];
26 char stringdata0[139];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QButtonGroup_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QButtonGroup_t qt_meta_stringdata_QButtonGroup = {
31 {
32QT_MOC_LITERAL(0, 12), // "QButtonGroup"
33QT_MOC_LITERAL(13, 13), // "buttonClicked"
34QT_MOC_LITERAL(27, 0), // ""
35QT_MOC_LITERAL(28, 16), // "QAbstractButton*"
36QT_MOC_LITERAL(45, 13), // "buttonPressed"
37QT_MOC_LITERAL(59, 14), // "buttonReleased"
38QT_MOC_LITERAL(74, 13), // "buttonToggled"
39QT_MOC_LITERAL(88, 9), // "idClicked"
40QT_MOC_LITERAL(98, 9), // "idPressed"
41QT_MOC_LITERAL(108, 10), // "idReleased"
42QT_MOC_LITERAL(119, 9), // "idToggled"
43QT_MOC_LITERAL(129, 9) // "exclusive"
44
45 },
46 "QButtonGroup\0buttonClicked\0\0"
47 "QAbstractButton*\0buttonPressed\0"
48 "buttonReleased\0buttonToggled\0idClicked\0"
49 "idPressed\0idReleased\0idToggled\0exclusive"
50};
51#undef QT_MOC_LITERAL
52
53static const uint qt_meta_data_QButtonGroup[] = {
54
55 // content:
56 9, // revision
57 0, // classname
58 0, 0, // classinfo
59 8, 14, // methods
60 1, 90, // properties
61 0, 0, // enums/sets
62 0, 0, // constructors
63 0, // flags
64 8, // signalCount
65
66 // signals: name, argc, parameters, tag, flags, initial metatype offsets
67 1, 1, 62, 2, 0x06, 1 /* Public */,
68 4, 1, 65, 2, 0x06, 3 /* Public */,
69 5, 1, 68, 2, 0x06, 5 /* Public */,
70 6, 2, 71, 2, 0x06, 7 /* Public */,
71 7, 1, 76, 2, 0x06, 10 /* Public */,
72 8, 1, 79, 2, 0x06, 12 /* Public */,
73 9, 1, 82, 2, 0x06, 14 /* Public */,
74 10, 2, 85, 2, 0x06, 16 /* Public */,
75
76 // signals: parameters
77 QMetaType::Void, 0x80000000 | 3, 2,
78 QMetaType::Void, 0x80000000 | 3, 2,
79 QMetaType::Void, 0x80000000 | 3, 2,
80 QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 2, 2,
81 QMetaType::Void, QMetaType::Int, 2,
82 QMetaType::Void, QMetaType::Int, 2,
83 QMetaType::Void, QMetaType::Int, 2,
84 QMetaType::Void, QMetaType::Int, QMetaType::Bool, 2, 2,
85
86 // properties: name, type, flags
87 11, QMetaType::Bool, 0x00015103, uint(-1), 0,
88
89 0 // eod
90};
91
92void QButtonGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
93{
94 if (_c == QMetaObject::InvokeMetaMethod) {
95 Q_ASSERT(staticMetaObject.cast(_o));
96 auto *_t = static_cast<QButtonGroup *>(_o);
97 Q_UNUSED(_t)
98 switch (_id) {
99 case 0: _t->buttonClicked((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
100 case 1: _t->buttonPressed((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
101 case 2: _t->buttonReleased((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
102 case 3: _t->buttonToggled((*reinterpret_cast< QAbstractButton*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
103 case 4: _t->idClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
104 case 5: _t->idPressed((*reinterpret_cast< int(*)>(_a[1]))); break;
105 case 6: _t->idReleased((*reinterpret_cast< int(*)>(_a[1]))); break;
106 case 7: _t->idToggled((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
107 default: ;
108 }
109 } else if (_c == QMetaObject::IndexOfMethod) {
110 int *result = reinterpret_cast<int *>(_a[0]);
111 {
112 using _t = void (QButtonGroup::*)(QAbstractButton * );
113 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QButtonGroup::buttonClicked)) {
114 *result = 0;
115 return;
116 }
117 }
118 {
119 using _t = void (QButtonGroup::*)(QAbstractButton * );
120 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QButtonGroup::buttonPressed)) {
121 *result = 1;
122 return;
123 }
124 }
125 {
126 using _t = void (QButtonGroup::*)(QAbstractButton * );
127 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QButtonGroup::buttonReleased)) {
128 *result = 2;
129 return;
130 }
131 }
132 {
133 using _t = void (QButtonGroup::*)(QAbstractButton * , bool );
134 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QButtonGroup::buttonToggled)) {
135 *result = 3;
136 return;
137 }
138 }
139 {
140 using _t = void (QButtonGroup::*)(int );
141 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QButtonGroup::idClicked)) {
142 *result = 4;
143 return;
144 }
145 }
146 {
147 using _t = void (QButtonGroup::*)(int );
148 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QButtonGroup::idPressed)) {
149 *result = 5;
150 return;
151 }
152 }
153 {
154 using _t = void (QButtonGroup::*)(int );
155 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QButtonGroup::idReleased)) {
156 *result = 6;
157 return;
158 }
159 }
160 {
161 using _t = void (QButtonGroup::*)(int , bool );
162 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QButtonGroup::idToggled)) {
163 *result = 7;
164 return;
165 }
166 }
167 }
168#ifndef QT_NO_PROPERTIES
169 else if (_c == QMetaObject::ReadProperty) {
170 Q_ASSERT(staticMetaObject.cast(_o));
171 auto *_t = static_cast<QButtonGroup *>(_o);
172 Q_UNUSED(_t)
173 void *_v = _a[0];
174 switch (_id) {
175 case 0: *reinterpret_cast< bool*>(_v) = _t->exclusive(); break;
176 default: break;
177 }
178 } else if (_c == QMetaObject::WriteProperty) {
179 Q_ASSERT(staticMetaObject.cast(_o));
180 auto *_t = static_cast<QButtonGroup *>(_o);
181 Q_UNUSED(_t)
182 void *_v = _a[0];
183 switch (_id) {
184 case 0: _t->setExclusive(*reinterpret_cast< bool*>(_v)); break;
185 default: break;
186 }
187 } else if (_c == QMetaObject::ResetProperty) {
188 } else if (_c == QMetaObject::BindableProperty) {
189 }
190#endif // QT_NO_PROPERTIES
191}
192
193const QMetaObject QButtonGroup::staticMetaObject = { {
194 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
195 qt_meta_stringdata_QButtonGroup.offsetsAndSize,
196 qt_meta_data_QButtonGroup,
197 qt_static_metacall,
198 nullptr,
199qt_incomplete_metaTypeArray<qt_meta_stringdata_QButtonGroup_t
200, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractButton *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractButton *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractButton *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractButton *, std::false_type>, QtPrivate::TypeAndForceComplete<bool, 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<bool, std::false_type>
201
202
203
204>,
205 nullptr
206} };
207
208
209const QMetaObject *QButtonGroup::metaObject() const
210{
211 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
212}
213
214void *QButtonGroup::qt_metacast(const char *_clname)
215{
216 if (!_clname) return nullptr;
217 if (!strcmp(_clname, qt_meta_stringdata_QButtonGroup.stringdata0))
218 return static_cast<void*>(this);
219 return QObject::qt_metacast(_clname);
220}
221
222int QButtonGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
223{
224 _id = QObject::qt_metacall(_c, _id, _a);
225 if (_id < 0)
226 return _id;
227 if (_c == QMetaObject::InvokeMetaMethod) {
228 if (_id < 8)
229 qt_static_metacall(this, _c, _id, _a);
230 _id -= 8;
231 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
232 if (_id < 8)
233 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
234 _id -= 8;
235 }
236#ifndef QT_NO_PROPERTIES
237 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
238 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
239 || _c == QMetaObject::RegisterPropertyMetaType) {
240 qt_static_metacall(this, _c, _id, _a);
241 _id -= 1;
242 }
243#endif // QT_NO_PROPERTIES
244 return _id;
245}
246
247// SIGNAL 0
248void QButtonGroup::buttonClicked(QAbstractButton * _t1)
249{
250 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
251 QMetaObject::activate(this, &staticMetaObject, 0, _a);
252}
253
254// SIGNAL 1
255void QButtonGroup::buttonPressed(QAbstractButton * _t1)
256{
257 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
258 QMetaObject::activate(this, &staticMetaObject, 1, _a);
259}
260
261// SIGNAL 2
262void QButtonGroup::buttonReleased(QAbstractButton * _t1)
263{
264 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
265 QMetaObject::activate(this, &staticMetaObject, 2, _a);
266}
267
268// SIGNAL 3
269void QButtonGroup::buttonToggled(QAbstractButton * _t1, bool _t2)
270{
271 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
272 QMetaObject::activate(this, &staticMetaObject, 3, _a);
273}
274
275// SIGNAL 4
276void QButtonGroup::idClicked(int _t1)
277{
278 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
279 QMetaObject::activate(this, &staticMetaObject, 4, _a);
280}
281
282// SIGNAL 5
283void QButtonGroup::idPressed(int _t1)
284{
285 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
286 QMetaObject::activate(this, &staticMetaObject, 5, _a);
287}
288
289// SIGNAL 6
290void QButtonGroup::idReleased(int _t1)
291{
292 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
293 QMetaObject::activate(this, &staticMetaObject, 6, _a);
294}
295
296// SIGNAL 7
297void QButtonGroup::idToggled(int _t1, bool _t2)
298{
299 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
300 QMetaObject::activate(this, &staticMetaObject, 7, _a);
301}
302QT_WARNING_POP
303QT_END_MOC_NAMESPACE
304