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