1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qcombobox_p.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/qcombobox_p.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qcombobox_p.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 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_QComboBoxListView_t { |
25 | const uint offsetsAndSize[2]; |
26 | char stringdata0[18]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QComboBoxListView_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QComboBoxListView_t qt_meta_stringdata_QComboBoxListView = { |
31 | { |
32 | QT_MOC_LITERAL(0, 17) // "QComboBoxListView" |
33 | |
34 | }, |
35 | "QComboBoxListView" |
36 | }; |
37 | #undef QT_MOC_LITERAL |
38 | |
39 | static const uint qt_meta_data_QComboBoxListView[] = { |
40 | |
41 | // content: |
42 | 9, // revision |
43 | 0, // classname |
44 | 0, 0, // classinfo |
45 | 0, 0, // methods |
46 | 0, 0, // properties |
47 | 0, 0, // enums/sets |
48 | 0, 0, // constructors |
49 | 0, // flags |
50 | 0, // signalCount |
51 | |
52 | 0 // eod |
53 | }; |
54 | |
55 | void QComboBoxListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
56 | { |
57 | Q_UNUSED(_o); |
58 | Q_UNUSED(_id); |
59 | Q_UNUSED(_c); |
60 | Q_UNUSED(_a); |
61 | } |
62 | |
63 | const QMetaObject QComboBoxListView::staticMetaObject = { { |
64 | QMetaObject::SuperData::link<QListView::staticMetaObject>(), |
65 | qt_meta_stringdata_QComboBoxListView.offsetsAndSize, |
66 | qt_meta_data_QComboBoxListView, |
67 | qt_static_metacall, |
68 | nullptr, |
69 | nullptr, |
70 | nullptr |
71 | } }; |
72 | |
73 | |
74 | const QMetaObject *QComboBoxListView::metaObject() const |
75 | { |
76 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
77 | } |
78 | |
79 | void *QComboBoxListView::qt_metacast(const char *_clname) |
80 | { |
81 | if (!_clname) return nullptr; |
82 | if (!strcmp(_clname, qt_meta_stringdata_QComboBoxListView.stringdata0)) |
83 | return static_cast<void*>(this); |
84 | return QListView::qt_metacast(_clname); |
85 | } |
86 | |
87 | int QComboBoxListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
88 | { |
89 | _id = QListView::qt_metacall(_c, _id, _a); |
90 | return _id; |
91 | } |
92 | struct qt_meta_stringdata_QComboBoxPrivateScroller_t { |
93 | const uint offsetsAndSize[8]; |
94 | char stringdata0[42]; |
95 | }; |
96 | #define QT_MOC_LITERAL(ofs, len) \ |
97 | uint(offsetof(qt_meta_stringdata_QComboBoxPrivateScroller_t, stringdata0) + ofs), len |
98 | static const qt_meta_stringdata_QComboBoxPrivateScroller_t qt_meta_stringdata_QComboBoxPrivateScroller = { |
99 | { |
100 | QT_MOC_LITERAL(0, 24), // "QComboBoxPrivateScroller" |
101 | QT_MOC_LITERAL(25, 8), // "doScroll" |
102 | QT_MOC_LITERAL(34, 0), // "" |
103 | QT_MOC_LITERAL(35, 6) // "action" |
104 | |
105 | }, |
106 | "QComboBoxPrivateScroller\0doScroll\0\0" |
107 | "action" |
108 | }; |
109 | #undef QT_MOC_LITERAL |
110 | |
111 | static const uint qt_meta_data_QComboBoxPrivateScroller[] = { |
112 | |
113 | // content: |
114 | 9, // revision |
115 | 0, // classname |
116 | 0, 0, // classinfo |
117 | 1, 14, // methods |
118 | 0, 0, // properties |
119 | 0, 0, // enums/sets |
120 | 0, 0, // constructors |
121 | 0, // flags |
122 | 1, // signalCount |
123 | |
124 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
125 | 1, 1, 20, 2, 0x06, 0 /* Public */, |
126 | |
127 | // signals: parameters |
128 | QMetaType::Void, QMetaType::Int, 3, |
129 | |
130 | 0 // eod |
131 | }; |
132 | |
133 | void QComboBoxPrivateScroller::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
134 | { |
135 | if (_c == QMetaObject::InvokeMetaMethod) { |
136 | Q_ASSERT(staticMetaObject.cast(_o)); |
137 | auto *_t = static_cast<QComboBoxPrivateScroller *>(_o); |
138 | Q_UNUSED(_t) |
139 | switch (_id) { |
140 | case 0: _t->doScroll((*reinterpret_cast< int(*)>(_a[1]))); break; |
141 | default: ; |
142 | } |
143 | } else if (_c == QMetaObject::IndexOfMethod) { |
144 | int *result = reinterpret_cast<int *>(_a[0]); |
145 | { |
146 | using _t = void (QComboBoxPrivateScroller::*)(int ); |
147 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QComboBoxPrivateScroller::doScroll)) { |
148 | *result = 0; |
149 | return; |
150 | } |
151 | } |
152 | } |
153 | } |
154 | |
155 | const QMetaObject QComboBoxPrivateScroller::staticMetaObject = { { |
156 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
157 | qt_meta_stringdata_QComboBoxPrivateScroller.offsetsAndSize, |
158 | qt_meta_data_QComboBoxPrivateScroller, |
159 | qt_static_metacall, |
160 | nullptr, |
161 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QComboBoxPrivateScroller_t |
162 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
163 | |
164 | |
165 | |
166 | >, |
167 | nullptr |
168 | } }; |
169 | |
170 | |
171 | const QMetaObject *QComboBoxPrivateScroller::metaObject() const |
172 | { |
173 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
174 | } |
175 | |
176 | void *QComboBoxPrivateScroller::qt_metacast(const char *_clname) |
177 | { |
178 | if (!_clname) return nullptr; |
179 | if (!strcmp(_clname, qt_meta_stringdata_QComboBoxPrivateScroller.stringdata0)) |
180 | return static_cast<void*>(this); |
181 | return QWidget::qt_metacast(_clname); |
182 | } |
183 | |
184 | int QComboBoxPrivateScroller::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
185 | { |
186 | _id = QWidget::qt_metacall(_c, _id, _a); |
187 | if (_id < 0) |
188 | return _id; |
189 | if (_c == QMetaObject::InvokeMetaMethod) { |
190 | if (_id < 1) |
191 | qt_static_metacall(this, _c, _id, _a); |
192 | _id -= 1; |
193 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
194 | if (_id < 1) |
195 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
196 | _id -= 1; |
197 | } |
198 | return _id; |
199 | } |
200 | |
201 | // SIGNAL 0 |
202 | void QComboBoxPrivateScroller::doScroll(int _t1) |
203 | { |
204 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
205 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
206 | } |
207 | struct qt_meta_stringdata_QComboBoxPrivateContainer_t { |
208 | const uint offsetsAndSize[20]; |
209 | char stringdata0[130]; |
210 | }; |
211 | #define QT_MOC_LITERAL(ofs, len) \ |
212 | uint(offsetof(qt_meta_stringdata_QComboBoxPrivateContainer_t, stringdata0) + ofs), len |
213 | static const qt_meta_stringdata_QComboBoxPrivateContainer_t qt_meta_stringdata_QComboBoxPrivateContainer = { |
214 | { |
215 | QT_MOC_LITERAL(0, 25), // "QComboBoxPrivateContainer" |
216 | QT_MOC_LITERAL(26, 12), // "itemSelected" |
217 | QT_MOC_LITERAL(39, 0), // "" |
218 | QT_MOC_LITERAL(40, 11), // "QModelIndex" |
219 | QT_MOC_LITERAL(52, 11), // "resetButton" |
220 | QT_MOC_LITERAL(64, 14), // "scrollItemView" |
221 | QT_MOC_LITERAL(79, 6), // "action" |
222 | QT_MOC_LITERAL(86, 13), // "hideScrollers" |
223 | QT_MOC_LITERAL(100, 15), // "updateScrollers" |
224 | QT_MOC_LITERAL(116, 13) // "viewDestroyed" |
225 | |
226 | }, |
227 | "QComboBoxPrivateContainer\0itemSelected\0" |
228 | "\0QModelIndex\0resetButton\0scrollItemView\0" |
229 | "action\0hideScrollers\0updateScrollers\0" |
230 | "viewDestroyed" |
231 | }; |
232 | #undef QT_MOC_LITERAL |
233 | |
234 | static const uint qt_meta_data_QComboBoxPrivateContainer[] = { |
235 | |
236 | // content: |
237 | 9, // revision |
238 | 0, // classname |
239 | 0, 0, // classinfo |
240 | 6, 14, // methods |
241 | 0, 0, // properties |
242 | 0, 0, // enums/sets |
243 | 0, 0, // constructors |
244 | 0, // flags |
245 | 2, // signalCount |
246 | |
247 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
248 | 1, 1, 50, 2, 0x06, 0 /* Public */, |
249 | 4, 0, 53, 2, 0x06, 2 /* Public */, |
250 | |
251 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
252 | 5, 1, 54, 2, 0x0a, 3 /* Public */, |
253 | 7, 0, 57, 2, 0x0a, 5 /* Public */, |
254 | 8, 0, 58, 2, 0x0a, 6 /* Public */, |
255 | 9, 0, 59, 2, 0x0a, 7 /* Public */, |
256 | |
257 | // signals: parameters |
258 | QMetaType::Void, 0x80000000 | 3, 2, |
259 | QMetaType::Void, |
260 | |
261 | // slots: parameters |
262 | QMetaType::Void, QMetaType::Int, 6, |
263 | QMetaType::Void, |
264 | QMetaType::Void, |
265 | QMetaType::Void, |
266 | |
267 | 0 // eod |
268 | }; |
269 | |
270 | void QComboBoxPrivateContainer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
271 | { |
272 | if (_c == QMetaObject::InvokeMetaMethod) { |
273 | Q_ASSERT(staticMetaObject.cast(_o)); |
274 | auto *_t = static_cast<QComboBoxPrivateContainer *>(_o); |
275 | Q_UNUSED(_t) |
276 | switch (_id) { |
277 | case 0: _t->itemSelected((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break; |
278 | case 1: _t->resetButton(); break; |
279 | case 2: _t->scrollItemView((*reinterpret_cast< int(*)>(_a[1]))); break; |
280 | case 3: _t->hideScrollers(); break; |
281 | case 4: _t->updateScrollers(); break; |
282 | case 5: _t->viewDestroyed(); break; |
283 | default: ; |
284 | } |
285 | } else if (_c == QMetaObject::IndexOfMethod) { |
286 | int *result = reinterpret_cast<int *>(_a[0]); |
287 | { |
288 | using _t = void (QComboBoxPrivateContainer::*)(const QModelIndex & ); |
289 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QComboBoxPrivateContainer::itemSelected)) { |
290 | *result = 0; |
291 | return; |
292 | } |
293 | } |
294 | { |
295 | using _t = void (QComboBoxPrivateContainer::*)(); |
296 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QComboBoxPrivateContainer::resetButton)) { |
297 | *result = 1; |
298 | return; |
299 | } |
300 | } |
301 | } |
302 | } |
303 | |
304 | const QMetaObject QComboBoxPrivateContainer::staticMetaObject = { { |
305 | QMetaObject::SuperData::link<QFrame::staticMetaObject>(), |
306 | qt_meta_stringdata_QComboBoxPrivateContainer.offsetsAndSize, |
307 | qt_meta_data_QComboBoxPrivateContainer, |
308 | qt_static_metacall, |
309 | nullptr, |
310 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QComboBoxPrivateContainer_t |
311 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
312 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
313 | |
314 | |
315 | >, |
316 | nullptr |
317 | } }; |
318 | |
319 | |
320 | const QMetaObject *QComboBoxPrivateContainer::metaObject() const |
321 | { |
322 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
323 | } |
324 | |
325 | void *QComboBoxPrivateContainer::qt_metacast(const char *_clname) |
326 | { |
327 | if (!_clname) return nullptr; |
328 | if (!strcmp(_clname, qt_meta_stringdata_QComboBoxPrivateContainer.stringdata0)) |
329 | return static_cast<void*>(this); |
330 | return QFrame::qt_metacast(_clname); |
331 | } |
332 | |
333 | int QComboBoxPrivateContainer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
334 | { |
335 | _id = QFrame::qt_metacall(_c, _id, _a); |
336 | if (_id < 0) |
337 | return _id; |
338 | if (_c == QMetaObject::InvokeMetaMethod) { |
339 | if (_id < 6) |
340 | qt_static_metacall(this, _c, _id, _a); |
341 | _id -= 6; |
342 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
343 | if (_id < 6) |
344 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
345 | _id -= 6; |
346 | } |
347 | return _id; |
348 | } |
349 | |
350 | // SIGNAL 0 |
351 | void QComboBoxPrivateContainer::itemSelected(const QModelIndex & _t1) |
352 | { |
353 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
354 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
355 | } |
356 | |
357 | // SIGNAL 1 |
358 | void QComboBoxPrivateContainer::resetButton() |
359 | { |
360 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
361 | } |
362 | struct { |
363 | const uint offsetsAndSize[2]; |
364 | char [19]; |
365 | }; |
366 | #define QT_MOC_LITERAL(ofs, len) \ |
367 | uint(offsetof(qt_meta_stringdata_QComboMenuDelegate_t, stringdata0) + ofs), len |
368 | static const qt_meta_stringdata_QComboMenuDelegate_t = { |
369 | { |
370 | QT_MOC_LITERAL(0, 18) // "QComboMenuDelegate" |
371 | |
372 | }, |
373 | "QComboMenuDelegate" |
374 | }; |
375 | #undef QT_MOC_LITERAL |
376 | |
377 | static const uint [] = { |
378 | |
379 | // content: |
380 | 9, // revision |
381 | 0, // classname |
382 | 0, 0, // classinfo |
383 | 0, 0, // methods |
384 | 0, 0, // properties |
385 | 0, 0, // enums/sets |
386 | 0, 0, // constructors |
387 | 0, // flags |
388 | 0, // signalCount |
389 | |
390 | 0 // eod |
391 | }; |
392 | |
393 | void QComboMenuDelegate::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
394 | { |
395 | Q_UNUSED(_o); |
396 | Q_UNUSED(_id); |
397 | Q_UNUSED(_c); |
398 | Q_UNUSED(_a); |
399 | } |
400 | |
401 | const QMetaObject QComboMenuDelegate:: = { { |
402 | QMetaObject::SuperData::link<QAbstractItemDelegate::staticMetaObject>(), |
403 | qt_meta_stringdata_QComboMenuDelegate.offsetsAndSize, |
404 | qt_meta_data_QComboMenuDelegate, |
405 | qt_static_metacall, |
406 | nullptr, |
407 | nullptr, |
408 | nullptr |
409 | } }; |
410 | |
411 | |
412 | const QMetaObject *QComboMenuDelegate::() const |
413 | { |
414 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
415 | } |
416 | |
417 | void *QComboMenuDelegate::(const char *_clname) |
418 | { |
419 | if (!_clname) return nullptr; |
420 | if (!strcmp(_clname, qt_meta_stringdata_QComboMenuDelegate.stringdata0)) |
421 | return static_cast<void*>(this); |
422 | return QAbstractItemDelegate::qt_metacast(_clname); |
423 | } |
424 | |
425 | int QComboMenuDelegate::(QMetaObject::Call _c, int _id, void **_a) |
426 | { |
427 | _id = QAbstractItemDelegate::qt_metacall(_c, _id, _a); |
428 | return _id; |
429 | } |
430 | struct qt_meta_stringdata_QComboBoxDelegate_t { |
431 | const uint offsetsAndSize[2]; |
432 | char stringdata0[18]; |
433 | }; |
434 | #define QT_MOC_LITERAL(ofs, len) \ |
435 | uint(offsetof(qt_meta_stringdata_QComboBoxDelegate_t, stringdata0) + ofs), len |
436 | static const qt_meta_stringdata_QComboBoxDelegate_t qt_meta_stringdata_QComboBoxDelegate = { |
437 | { |
438 | QT_MOC_LITERAL(0, 17) // "QComboBoxDelegate" |
439 | |
440 | }, |
441 | "QComboBoxDelegate" |
442 | }; |
443 | #undef QT_MOC_LITERAL |
444 | |
445 | static const uint qt_meta_data_QComboBoxDelegate[] = { |
446 | |
447 | // content: |
448 | 9, // revision |
449 | 0, // classname |
450 | 0, 0, // classinfo |
451 | 0, 0, // methods |
452 | 0, 0, // properties |
453 | 0, 0, // enums/sets |
454 | 0, 0, // constructors |
455 | 0, // flags |
456 | 0, // signalCount |
457 | |
458 | 0 // eod |
459 | }; |
460 | |
461 | void QComboBoxDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
462 | { |
463 | Q_UNUSED(_o); |
464 | Q_UNUSED(_id); |
465 | Q_UNUSED(_c); |
466 | Q_UNUSED(_a); |
467 | } |
468 | |
469 | const QMetaObject QComboBoxDelegate::staticMetaObject = { { |
470 | QMetaObject::SuperData::link<QStyledItemDelegate::staticMetaObject>(), |
471 | qt_meta_stringdata_QComboBoxDelegate.offsetsAndSize, |
472 | qt_meta_data_QComboBoxDelegate, |
473 | qt_static_metacall, |
474 | nullptr, |
475 | nullptr, |
476 | nullptr |
477 | } }; |
478 | |
479 | |
480 | const QMetaObject *QComboBoxDelegate::metaObject() const |
481 | { |
482 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
483 | } |
484 | |
485 | void *QComboBoxDelegate::qt_metacast(const char *_clname) |
486 | { |
487 | if (!_clname) return nullptr; |
488 | if (!strcmp(_clname, qt_meta_stringdata_QComboBoxDelegate.stringdata0)) |
489 | return static_cast<void*>(this); |
490 | return QStyledItemDelegate::qt_metacast(_clname); |
491 | } |
492 | |
493 | int QComboBoxDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
494 | { |
495 | _id = QStyledItemDelegate::qt_metacall(_c, _id, _a); |
496 | return _id; |
497 | } |
498 | QT_WARNING_POP |
499 | QT_END_MOC_NAMESPACE |
500 | |