1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'toolbar.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 "toolbar.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'toolbar.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_ToolBar_t { |
25 | const uint offsetsAndSize[40]; |
26 | char stringdata0[190]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_ToolBar_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_ToolBar_t qt_meta_stringdata_ToolBar = { |
31 | { |
32 | QT_MOC_LITERAL(0, 7), // "ToolBar" |
33 | QT_MOC_LITERAL(8, 5), // "order" |
34 | QT_MOC_LITERAL(14, 0), // "" |
35 | QT_MOC_LITERAL(15, 9), // "randomize" |
36 | QT_MOC_LITERAL(25, 10), // "addSpinBox" |
37 | QT_MOC_LITERAL(36, 13), // "removeSpinBox" |
38 | QT_MOC_LITERAL(50, 13), // "changeMovable" |
39 | QT_MOC_LITERAL(64, 7), // "movable" |
40 | QT_MOC_LITERAL(72, 9), // "allowLeft" |
41 | QT_MOC_LITERAL(82, 1), // "a" |
42 | QT_MOC_LITERAL(84, 10), // "allowRight" |
43 | QT_MOC_LITERAL(95, 8), // "allowTop" |
44 | QT_MOC_LITERAL(104, 11), // "allowBottom" |
45 | QT_MOC_LITERAL(116, 9), // "placeLeft" |
46 | QT_MOC_LITERAL(126, 1), // "p" |
47 | QT_MOC_LITERAL(128, 10), // "placeRight" |
48 | QT_MOC_LITERAL(139, 8), // "placeTop" |
49 | QT_MOC_LITERAL(148, 11), // "placeBottom" |
50 | QT_MOC_LITERAL(160, 10), // "updateMenu" |
51 | QT_MOC_LITERAL(171, 18) // "insertToolBarBreak" |
52 | |
53 | }, |
54 | "ToolBar\0order\0\0randomize\0addSpinBox\0" |
55 | "removeSpinBox\0changeMovable\0movable\0" |
56 | "allowLeft\0a\0allowRight\0allowTop\0" |
57 | "allowBottom\0placeLeft\0p\0placeRight\0" |
58 | "placeTop\0placeBottom\0updateMenu\0" |
59 | "insertToolBarBreak" |
60 | }; |
61 | #undef QT_MOC_LITERAL |
62 | |
63 | static const uint qt_meta_data_ToolBar[] = { |
64 | |
65 | // content: |
66 | 9, // revision |
67 | 0, // classname |
68 | 0, 0, // classinfo |
69 | 15, 14, // methods |
70 | 0, 0, // properties |
71 | 0, 0, // enums/sets |
72 | 0, 0, // constructors |
73 | 0, // flags |
74 | 0, // signalCount |
75 | |
76 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
77 | 1, 0, 104, 2, 0x08, 0 /* Private */, |
78 | 3, 0, 105, 2, 0x08, 1 /* Private */, |
79 | 4, 0, 106, 2, 0x08, 2 /* Private */, |
80 | 5, 0, 107, 2, 0x08, 3 /* Private */, |
81 | 6, 1, 108, 2, 0x08, 4 /* Private */, |
82 | 8, 1, 111, 2, 0x08, 6 /* Private */, |
83 | 10, 1, 114, 2, 0x08, 8 /* Private */, |
84 | 11, 1, 117, 2, 0x08, 10 /* Private */, |
85 | 12, 1, 120, 2, 0x08, 12 /* Private */, |
86 | 13, 1, 123, 2, 0x08, 14 /* Private */, |
87 | 15, 1, 126, 2, 0x08, 16 /* Private */, |
88 | 16, 1, 129, 2, 0x08, 18 /* Private */, |
89 | 17, 1, 132, 2, 0x08, 20 /* Private */, |
90 | 18, 0, 135, 2, 0x08, 22 /* Private */, |
91 | 19, 0, 136, 2, 0x08, 23 /* Private */, |
92 | |
93 | // slots: parameters |
94 | QMetaType::Void, |
95 | QMetaType::Void, |
96 | QMetaType::Void, |
97 | QMetaType::Void, |
98 | QMetaType::Void, QMetaType::Bool, 7, |
99 | QMetaType::Void, QMetaType::Bool, 9, |
100 | QMetaType::Void, QMetaType::Bool, 9, |
101 | QMetaType::Void, QMetaType::Bool, 9, |
102 | QMetaType::Void, QMetaType::Bool, 9, |
103 | QMetaType::Void, QMetaType::Bool, 14, |
104 | QMetaType::Void, QMetaType::Bool, 14, |
105 | QMetaType::Void, QMetaType::Bool, 14, |
106 | QMetaType::Void, QMetaType::Bool, 14, |
107 | QMetaType::Void, |
108 | QMetaType::Void, |
109 | |
110 | 0 // eod |
111 | }; |
112 | |
113 | void ToolBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
114 | { |
115 | if (_c == QMetaObject::InvokeMetaMethod) { |
116 | Q_ASSERT(staticMetaObject.cast(_o)); |
117 | auto *_t = static_cast<ToolBar *>(_o); |
118 | Q_UNUSED(_t) |
119 | switch (_id) { |
120 | case 0: _t->order(); break; |
121 | case 1: _t->randomize(); break; |
122 | case 2: _t->addSpinBox(); break; |
123 | case 3: _t->removeSpinBox(); break; |
124 | case 4: _t->changeMovable((*reinterpret_cast< bool(*)>(_a[1]))); break; |
125 | case 5: _t->allowLeft((*reinterpret_cast< bool(*)>(_a[1]))); break; |
126 | case 6: _t->allowRight((*reinterpret_cast< bool(*)>(_a[1]))); break; |
127 | case 7: _t->allowTop((*reinterpret_cast< bool(*)>(_a[1]))); break; |
128 | case 8: _t->allowBottom((*reinterpret_cast< bool(*)>(_a[1]))); break; |
129 | case 9: _t->placeLeft((*reinterpret_cast< bool(*)>(_a[1]))); break; |
130 | case 10: _t->placeRight((*reinterpret_cast< bool(*)>(_a[1]))); break; |
131 | case 11: _t->placeTop((*reinterpret_cast< bool(*)>(_a[1]))); break; |
132 | case 12: _t->placeBottom((*reinterpret_cast< bool(*)>(_a[1]))); break; |
133 | case 13: _t->updateMenu(); break; |
134 | case 14: _t->insertToolBarBreak(); break; |
135 | default: ; |
136 | } |
137 | } |
138 | } |
139 | |
140 | const QMetaObject ToolBar::staticMetaObject = { { |
141 | QMetaObject::SuperData::link<QToolBar::staticMetaObject>(), |
142 | qt_meta_stringdata_ToolBar.offsetsAndSize, |
143 | qt_meta_data_ToolBar, |
144 | qt_static_metacall, |
145 | nullptr, |
146 | qt_incomplete_metaTypeArray<qt_meta_stringdata_ToolBar_t |
147 | |
148 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
149 | |
150 | |
151 | >, |
152 | nullptr |
153 | } }; |
154 | |
155 | |
156 | const QMetaObject *ToolBar::metaObject() const |
157 | { |
158 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
159 | } |
160 | |
161 | void *ToolBar::qt_metacast(const char *_clname) |
162 | { |
163 | if (!_clname) return nullptr; |
164 | if (!strcmp(_clname, qt_meta_stringdata_ToolBar.stringdata0)) |
165 | return static_cast<void*>(this); |
166 | return QToolBar::qt_metacast(_clname); |
167 | } |
168 | |
169 | int ToolBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
170 | { |
171 | _id = QToolBar::qt_metacall(_c, _id, _a); |
172 | if (_id < 0) |
173 | return _id; |
174 | if (_c == QMetaObject::InvokeMetaMethod) { |
175 | if (_id < 15) |
176 | qt_static_metacall(this, _c, _id, _a); |
177 | _id -= 15; |
178 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
179 | if (_id < 15) |
180 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
181 | _id -= 15; |
182 | } |
183 | return _id; |
184 | } |
185 | QT_WARNING_POP |
186 | QT_END_MOC_NAMESPACE |
187 | |