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