1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qtoolbarlayout_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/qtoolbarlayout_p.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'qtoolbarlayout_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_QToolBarLayout_t { |
25 | const uint offsetsAndSize[8]; |
26 | char stringdata0[30]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_QToolBarLayout_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_QToolBarLayout_t qt_meta_stringdata_QToolBarLayout = { |
31 | { |
32 | QT_MOC_LITERAL(0, 14), // "QToolBarLayout" |
33 | QT_MOC_LITERAL(15, 11), // "setExpanded" |
34 | QT_MOC_LITERAL(27, 0), // "" |
35 | QT_MOC_LITERAL(28, 1) // "b" |
36 | |
37 | }, |
38 | "QToolBarLayout\0setExpanded\0\0b" |
39 | }; |
40 | #undef QT_MOC_LITERAL |
41 | |
42 | static const uint qt_meta_data_QToolBarLayout[] = { |
43 | |
44 | // content: |
45 | 9, // revision |
46 | 0, // classname |
47 | 0, 0, // classinfo |
48 | 1, 14, // methods |
49 | 0, 0, // properties |
50 | 0, 0, // enums/sets |
51 | 0, 0, // constructors |
52 | 0, // flags |
53 | 0, // signalCount |
54 | |
55 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
56 | 1, 1, 20, 2, 0x0a, 0 /* Public */, |
57 | |
58 | // slots: parameters |
59 | QMetaType::Void, QMetaType::Bool, 3, |
60 | |
61 | 0 // eod |
62 | }; |
63 | |
64 | void QToolBarLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
65 | { |
66 | if (_c == QMetaObject::InvokeMetaMethod) { |
67 | Q_ASSERT(staticMetaObject.cast(_o)); |
68 | auto *_t = static_cast<QToolBarLayout *>(_o); |
69 | Q_UNUSED(_t) |
70 | switch (_id) { |
71 | case 0: _t->setExpanded((*reinterpret_cast< bool(*)>(_a[1]))); break; |
72 | default: ; |
73 | } |
74 | } |
75 | } |
76 | |
77 | const QMetaObject QToolBarLayout::staticMetaObject = { { |
78 | QMetaObject::SuperData::link<QLayout::staticMetaObject>(), |
79 | qt_meta_stringdata_QToolBarLayout.offsetsAndSize, |
80 | qt_meta_data_QToolBarLayout, |
81 | qt_static_metacall, |
82 | nullptr, |
83 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QToolBarLayout_t |
84 | |
85 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type> |
86 | |
87 | |
88 | >, |
89 | nullptr |
90 | } }; |
91 | |
92 | |
93 | const QMetaObject *QToolBarLayout::metaObject() const |
94 | { |
95 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
96 | } |
97 | |
98 | void *QToolBarLayout::qt_metacast(const char *_clname) |
99 | { |
100 | if (!_clname) return nullptr; |
101 | if (!strcmp(_clname, qt_meta_stringdata_QToolBarLayout.stringdata0)) |
102 | return static_cast<void*>(this); |
103 | return QLayout::qt_metacast(_clname); |
104 | } |
105 | |
106 | int QToolBarLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
107 | { |
108 | _id = QLayout::qt_metacall(_c, _id, _a); |
109 | if (_id < 0) |
110 | return _id; |
111 | if (_c == QMetaObject::InvokeMetaMethod) { |
112 | if (_id < 1) |
113 | qt_static_metacall(this, _c, _id, _a); |
114 | _id -= 1; |
115 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
116 | if (_id < 1) |
117 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
118 | _id -= 1; |
119 | } |
120 | return _id; |
121 | } |
122 | QT_WARNING_POP |
123 | QT_END_MOC_NAMESPACE |
124 | |