1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'qheaderview.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 "itemviews/qheaderview.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #include <QtCore/QList> |
14 | #if !defined(Q_MOC_OUTPUT_REVISION) |
15 | #error "The header file 'qheaderview.h' doesn't include <QObject>." |
16 | #elif Q_MOC_OUTPUT_REVISION != 68 |
17 | #error "This file was generated using the moc from 6.0.0. It" |
18 | #error "cannot be used with the include files from this version of Qt." |
19 | #error "(The moc has changed too much.)" |
20 | #endif |
21 | |
22 | QT_BEGIN_MOC_NAMESPACE |
23 | QT_WARNING_PUSH |
24 | QT_WARNING_DISABLE_DEPRECATED |
25 | struct { |
26 | const uint offsetsAndSize[134]; |
27 | char [1040]; |
28 | }; |
29 | #define QT_MOC_LITERAL(ofs, len) \ |
30 | uint(offsetof(qt_meta_stringdata_QHeaderView_t, stringdata0) + ofs), len |
31 | static const qt_meta_stringdata_QHeaderView_t = { |
32 | { |
33 | QT_MOC_LITERAL(0, 11), // "QHeaderView" |
34 | QT_MOC_LITERAL(12, 12), // "sectionMoved" |
35 | QT_MOC_LITERAL(25, 0), // "" |
36 | QT_MOC_LITERAL(26, 12), // "logicalIndex" |
37 | QT_MOC_LITERAL(39, 14), // "oldVisualIndex" |
38 | QT_MOC_LITERAL(54, 14), // "newVisualIndex" |
39 | QT_MOC_LITERAL(69, 14), // "sectionResized" |
40 | QT_MOC_LITERAL(84, 7), // "oldSize" |
41 | QT_MOC_LITERAL(92, 7), // "newSize" |
42 | QT_MOC_LITERAL(100, 14), // "sectionPressed" |
43 | QT_MOC_LITERAL(115, 14), // "sectionClicked" |
44 | QT_MOC_LITERAL(130, 14), // "sectionEntered" |
45 | QT_MOC_LITERAL(145, 20), // "sectionDoubleClicked" |
46 | QT_MOC_LITERAL(166, 19), // "sectionCountChanged" |
47 | QT_MOC_LITERAL(186, 8), // "oldCount" |
48 | QT_MOC_LITERAL(195, 8), // "newCount" |
49 | QT_MOC_LITERAL(204, 26), // "sectionHandleDoubleClicked" |
50 | QT_MOC_LITERAL(231, 17), // "geometriesChanged" |
51 | QT_MOC_LITERAL(249, 20), // "sortIndicatorChanged" |
52 | QT_MOC_LITERAL(270, 13), // "Qt::SortOrder" |
53 | QT_MOC_LITERAL(284, 5), // "order" |
54 | QT_MOC_LITERAL(290, 9), // "setOffset" |
55 | QT_MOC_LITERAL(300, 6), // "offset" |
56 | QT_MOC_LITERAL(307, 26), // "setOffsetToSectionPosition" |
57 | QT_MOC_LITERAL(334, 11), // "visualIndex" |
58 | QT_MOC_LITERAL(346, 22), // "setOffsetToLastSection" |
59 | QT_MOC_LITERAL(369, 17), // "headerDataChanged" |
60 | QT_MOC_LITERAL(387, 15), // "Qt::Orientation" |
61 | QT_MOC_LITERAL(403, 11), // "orientation" |
62 | QT_MOC_LITERAL(415, 12), // "logicalFirst" |
63 | QT_MOC_LITERAL(428, 11), // "logicalLast" |
64 | QT_MOC_LITERAL(440, 13), // "updateSection" |
65 | QT_MOC_LITERAL(454, 14), // "resizeSections" |
66 | QT_MOC_LITERAL(469, 16), // "sectionsInserted" |
67 | QT_MOC_LITERAL(486, 11), // "QModelIndex" |
68 | QT_MOC_LITERAL(498, 6), // "parent" |
69 | QT_MOC_LITERAL(505, 24), // "sectionsAboutToBeRemoved" |
70 | QT_MOC_LITERAL(530, 18), // "_q_sectionsRemoved" |
71 | QT_MOC_LITERAL(549, 25), // "_q_sectionsAboutToBeMoved" |
72 | QT_MOC_LITERAL(575, 12), // "sourceParent" |
73 | QT_MOC_LITERAL(588, 12), // "logicalStart" |
74 | QT_MOC_LITERAL(601, 10), // "logicalEnd" |
75 | QT_MOC_LITERAL(612, 17), // "destinationParent" |
76 | QT_MOC_LITERAL(630, 18), // "logicalDestination" |
77 | QT_MOC_LITERAL(649, 16), // "_q_sectionsMoved" |
78 | QT_MOC_LITERAL(666, 27), // "_q_sectionsAboutToBeChanged" |
79 | QT_MOC_LITERAL(694, 28), // "QList<QPersistentModelIndex>" |
80 | QT_MOC_LITERAL(723, 7), // "parents" |
81 | QT_MOC_LITERAL(731, 36), // "QAbstractItemModel::LayoutCha..." |
82 | QT_MOC_LITERAL(768, 4), // "hint" |
83 | QT_MOC_LITERAL(773, 18), // "_q_sectionsChanged" |
84 | QT_MOC_LITERAL(792, 19), // "firstSectionMovable" |
85 | QT_MOC_LITERAL(812, 17), // "showSortIndicator" |
86 | QT_MOC_LITERAL(830, 17), // "highlightSections" |
87 | QT_MOC_LITERAL(848, 18), // "stretchLastSection" |
88 | QT_MOC_LITERAL(867, 23), // "cascadingSectionResizes" |
89 | QT_MOC_LITERAL(891, 18), // "defaultSectionSize" |
90 | QT_MOC_LITERAL(910, 18), // "minimumSectionSize" |
91 | QT_MOC_LITERAL(929, 18), // "maximumSectionSize" |
92 | QT_MOC_LITERAL(948, 16), // "defaultAlignment" |
93 | QT_MOC_LITERAL(965, 13), // "Qt::Alignment" |
94 | QT_MOC_LITERAL(979, 10), // "ResizeMode" |
95 | QT_MOC_LITERAL(990, 11), // "Interactive" |
96 | QT_MOC_LITERAL(1002, 7), // "Stretch" |
97 | QT_MOC_LITERAL(1010, 5), // "Fixed" |
98 | QT_MOC_LITERAL(1016, 16), // "ResizeToContents" |
99 | QT_MOC_LITERAL(1033, 6) // "Custom" |
100 | |
101 | }, |
102 | "QHeaderView\0sectionMoved\0\0logicalIndex\0" |
103 | "oldVisualIndex\0newVisualIndex\0" |
104 | "sectionResized\0oldSize\0newSize\0" |
105 | "sectionPressed\0sectionClicked\0" |
106 | "sectionEntered\0sectionDoubleClicked\0" |
107 | "sectionCountChanged\0oldCount\0newCount\0" |
108 | "sectionHandleDoubleClicked\0geometriesChanged\0" |
109 | "sortIndicatorChanged\0Qt::SortOrder\0" |
110 | "order\0setOffset\0offset\0" |
111 | "setOffsetToSectionPosition\0visualIndex\0" |
112 | "setOffsetToLastSection\0headerDataChanged\0" |
113 | "Qt::Orientation\0orientation\0logicalFirst\0" |
114 | "logicalLast\0updateSection\0resizeSections\0" |
115 | "sectionsInserted\0QModelIndex\0parent\0" |
116 | "sectionsAboutToBeRemoved\0_q_sectionsRemoved\0" |
117 | "_q_sectionsAboutToBeMoved\0sourceParent\0" |
118 | "logicalStart\0logicalEnd\0destinationParent\0" |
119 | "logicalDestination\0_q_sectionsMoved\0" |
120 | "_q_sectionsAboutToBeChanged\0" |
121 | "QList<QPersistentModelIndex>\0parents\0" |
122 | "QAbstractItemModel::LayoutChangeHint\0" |
123 | "hint\0_q_sectionsChanged\0firstSectionMovable\0" |
124 | "showSortIndicator\0highlightSections\0" |
125 | "stretchLastSection\0cascadingSectionResizes\0" |
126 | "defaultSectionSize\0minimumSectionSize\0" |
127 | "maximumSectionSize\0defaultAlignment\0" |
128 | "Qt::Alignment\0ResizeMode\0Interactive\0" |
129 | "Stretch\0Fixed\0ResizeToContents\0Custom" |
130 | }; |
131 | #undef QT_MOC_LITERAL |
132 | |
133 | static const uint [] = { |
134 | |
135 | // content: |
136 | 9, // revision |
137 | 0, // classname |
138 | 0, 0, // classinfo |
139 | 27, 14, // methods |
140 | 9, 295, // properties |
141 | 1, 340, // enums/sets |
142 | 0, 0, // constructors |
143 | 0, // flags |
144 | 10, // signalCount |
145 | |
146 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
147 | 1, 3, 176, 2, 0x06, 9 /* Public */, |
148 | 6, 3, 183, 2, 0x06, 13 /* Public */, |
149 | 9, 1, 190, 2, 0x06, 17 /* Public */, |
150 | 10, 1, 193, 2, 0x06, 19 /* Public */, |
151 | 11, 1, 196, 2, 0x06, 21 /* Public */, |
152 | 12, 1, 199, 2, 0x06, 23 /* Public */, |
153 | 13, 2, 202, 2, 0x06, 25 /* Public */, |
154 | 16, 1, 207, 2, 0x06, 28 /* Public */, |
155 | 17, 0, 210, 2, 0x06, 30 /* Public */, |
156 | 18, 2, 211, 2, 0x06, 31 /* Public */, |
157 | |
158 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
159 | 21, 1, 216, 2, 0x0a, 34 /* Public */, |
160 | 23, 1, 219, 2, 0x0a, 36 /* Public */, |
161 | 25, 0, 222, 2, 0x0a, 38 /* Public */, |
162 | 26, 3, 223, 2, 0x0a, 39 /* Public */, |
163 | 31, 1, 230, 2, 0x09, 43 /* Protected */, |
164 | 32, 0, 233, 2, 0x09, 45 /* Protected */, |
165 | 33, 3, 234, 2, 0x09, 46 /* Protected */, |
166 | 36, 3, 241, 2, 0x09, 50 /* Protected */, |
167 | 37, 3, 248, 2, 0x08, 54 /* Private */, |
168 | 38, 5, 255, 2, 0x08, 58 /* Private */, |
169 | 44, 5, 266, 2, 0x08, 64 /* Private */, |
170 | 45, 2, 277, 2, 0x08, 70 /* Private */, |
171 | 45, 1, 282, 2, 0x28, 73 /* Private | MethodCloned */, |
172 | 45, 0, 285, 2, 0x28, 75 /* Private | MethodCloned */, |
173 | 50, 2, 286, 2, 0x08, 76 /* Private */, |
174 | 50, 1, 291, 2, 0x28, 79 /* Private | MethodCloned */, |
175 | 50, 0, 294, 2, 0x28, 81 /* Private | MethodCloned */, |
176 | |
177 | // signals: parameters |
178 | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 4, 5, |
179 | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 7, 8, |
180 | QMetaType::Void, QMetaType::Int, 3, |
181 | QMetaType::Void, QMetaType::Int, 3, |
182 | QMetaType::Void, QMetaType::Int, 3, |
183 | QMetaType::Void, QMetaType::Int, 3, |
184 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 14, 15, |
185 | QMetaType::Void, QMetaType::Int, 3, |
186 | QMetaType::Void, |
187 | QMetaType::Void, QMetaType::Int, 0x80000000 | 19, 3, 20, |
188 | |
189 | // slots: parameters |
190 | QMetaType::Void, QMetaType::Int, 22, |
191 | QMetaType::Void, QMetaType::Int, 24, |
192 | QMetaType::Void, |
193 | QMetaType::Void, 0x80000000 | 27, QMetaType::Int, QMetaType::Int, 28, 29, 30, |
194 | QMetaType::Void, QMetaType::Int, 3, |
195 | QMetaType::Void, |
196 | QMetaType::Void, 0x80000000 | 34, QMetaType::Int, QMetaType::Int, 35, 29, 30, |
197 | QMetaType::Void, 0x80000000 | 34, QMetaType::Int, QMetaType::Int, 35, 29, 30, |
198 | QMetaType::Void, 0x80000000 | 34, QMetaType::Int, QMetaType::Int, 35, 29, 30, |
199 | QMetaType::Void, 0x80000000 | 34, QMetaType::Int, QMetaType::Int, 0x80000000 | 34, QMetaType::Int, 39, 40, 41, 42, 43, |
200 | QMetaType::Void, 0x80000000 | 34, QMetaType::Int, QMetaType::Int, 0x80000000 | 34, QMetaType::Int, 39, 40, 41, 42, 43, |
201 | QMetaType::Void, 0x80000000 | 46, 0x80000000 | 48, 47, 49, |
202 | QMetaType::Void, 0x80000000 | 46, 47, |
203 | QMetaType::Void, |
204 | QMetaType::Void, 0x80000000 | 46, 0x80000000 | 48, 47, 49, |
205 | QMetaType::Void, 0x80000000 | 46, 47, |
206 | QMetaType::Void, |
207 | |
208 | // properties: name, type, flags |
209 | 51, QMetaType::Bool, 0x00015103, uint(-1), 0, |
210 | 52, QMetaType::Bool, 0x00015003, uint(-1), 0, |
211 | 53, QMetaType::Bool, 0x00015103, uint(-1), 0, |
212 | 54, QMetaType::Bool, 0x00015103, uint(-1), 0, |
213 | 55, QMetaType::Bool, 0x00015103, uint(-1), 0, |
214 | 56, QMetaType::Int, 0x00015107, uint(-1), 0, |
215 | 57, QMetaType::Int, 0x00015103, uint(-1), 0, |
216 | 58, QMetaType::Int, 0x00015103, uint(-1), 0, |
217 | 59, 0x80000000 | 60, 0x0001510b, uint(-1), 0, |
218 | |
219 | // enums: name, alias, flags, count, data |
220 | 61, 61, 0x0, 5, 345, |
221 | |
222 | // enum data: key, value |
223 | 62, uint(QHeaderView::Interactive), |
224 | 63, uint(QHeaderView::Stretch), |
225 | 64, uint(QHeaderView::Fixed), |
226 | 65, uint(QHeaderView::ResizeToContents), |
227 | 66, uint(QHeaderView::Custom), |
228 | |
229 | 0 // eod |
230 | }; |
231 | |
232 | void QHeaderView::(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
233 | { |
234 | if (_c == QMetaObject::InvokeMetaMethod) { |
235 | Q_ASSERT(staticMetaObject.cast(_o)); |
236 | auto *_t = static_cast<QHeaderView *>(_o); |
237 | Q_UNUSED(_t) |
238 | switch (_id) { |
239 | case 0: _t->sectionMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
240 | case 1: _t->sectionResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
241 | case 2: _t->sectionPressed((*reinterpret_cast< int(*)>(_a[1]))); break; |
242 | case 3: _t->sectionClicked((*reinterpret_cast< int(*)>(_a[1]))); break; |
243 | case 4: _t->sectionEntered((*reinterpret_cast< int(*)>(_a[1]))); break; |
244 | case 5: _t->sectionDoubleClicked((*reinterpret_cast< int(*)>(_a[1]))); break; |
245 | case 6: _t->sectionCountChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; |
246 | case 7: _t->sectionHandleDoubleClicked((*reinterpret_cast< int(*)>(_a[1]))); break; |
247 | case 8: _t->geometriesChanged(); break; |
248 | case 9: _t->sortIndicatorChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break; |
249 | case 10: _t->setOffset((*reinterpret_cast< int(*)>(_a[1]))); break; |
250 | case 11: _t->setOffsetToSectionPosition((*reinterpret_cast< int(*)>(_a[1]))); break; |
251 | case 12: _t->setOffsetToLastSection(); break; |
252 | case 13: _t->headerDataChanged((*reinterpret_cast< Qt::Orientation(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
253 | case 14: _t->updateSection((*reinterpret_cast< int(*)>(_a[1]))); break; |
254 | case 15: _t->resizeSections(); break; |
255 | case 16: _t->sectionsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
256 | case 17: _t->sectionsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
257 | case 18: _t->d_func()->_q_sectionsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; |
258 | case 19: _t->d_func()->_q_sectionsAboutToBeMoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QModelIndex(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break; |
259 | case 20: _t->d_func()->_q_sectionsMoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QModelIndex(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break; |
260 | case 21: _t->d_func()->_q_sectionsAboutToBeChanged((*reinterpret_cast< const QList<QPersistentModelIndex>(*)>(_a[1])),(*reinterpret_cast< QAbstractItemModel::LayoutChangeHint(*)>(_a[2]))); break; |
261 | case 22: _t->d_func()->_q_sectionsAboutToBeChanged((*reinterpret_cast< const QList<QPersistentModelIndex>(*)>(_a[1]))); break; |
262 | case 23: _t->d_func()->_q_sectionsAboutToBeChanged(); break; |
263 | case 24: _t->d_func()->_q_sectionsChanged((*reinterpret_cast< const QList<QPersistentModelIndex>(*)>(_a[1])),(*reinterpret_cast< QAbstractItemModel::LayoutChangeHint(*)>(_a[2]))); break; |
264 | case 25: _t->d_func()->_q_sectionsChanged((*reinterpret_cast< const QList<QPersistentModelIndex>(*)>(_a[1]))); break; |
265 | case 26: _t->d_func()->_q_sectionsChanged(); break; |
266 | default: ; |
267 | } |
268 | } else if (_c == QMetaObject::IndexOfMethod) { |
269 | int *result = reinterpret_cast<int *>(_a[0]); |
270 | { |
271 | using _t = void (QHeaderView::*)(int , int , int ); |
272 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHeaderView::sectionMoved)) { |
273 | *result = 0; |
274 | return; |
275 | } |
276 | } |
277 | { |
278 | using _t = void (QHeaderView::*)(int , int , int ); |
279 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHeaderView::sectionResized)) { |
280 | *result = 1; |
281 | return; |
282 | } |
283 | } |
284 | { |
285 | using _t = void (QHeaderView::*)(int ); |
286 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHeaderView::sectionPressed)) { |
287 | *result = 2; |
288 | return; |
289 | } |
290 | } |
291 | { |
292 | using _t = void (QHeaderView::*)(int ); |
293 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHeaderView::sectionClicked)) { |
294 | *result = 3; |
295 | return; |
296 | } |
297 | } |
298 | { |
299 | using _t = void (QHeaderView::*)(int ); |
300 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHeaderView::sectionEntered)) { |
301 | *result = 4; |
302 | return; |
303 | } |
304 | } |
305 | { |
306 | using _t = void (QHeaderView::*)(int ); |
307 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHeaderView::sectionDoubleClicked)) { |
308 | *result = 5; |
309 | return; |
310 | } |
311 | } |
312 | { |
313 | using _t = void (QHeaderView::*)(int , int ); |
314 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHeaderView::sectionCountChanged)) { |
315 | *result = 6; |
316 | return; |
317 | } |
318 | } |
319 | { |
320 | using _t = void (QHeaderView::*)(int ); |
321 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHeaderView::sectionHandleDoubleClicked)) { |
322 | *result = 7; |
323 | return; |
324 | } |
325 | } |
326 | { |
327 | using _t = void (QHeaderView::*)(); |
328 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHeaderView::geometriesChanged)) { |
329 | *result = 8; |
330 | return; |
331 | } |
332 | } |
333 | { |
334 | using _t = void (QHeaderView::*)(int , Qt::SortOrder ); |
335 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QHeaderView::sortIndicatorChanged)) { |
336 | *result = 9; |
337 | return; |
338 | } |
339 | } |
340 | } |
341 | #ifndef QT_NO_PROPERTIES |
342 | else if (_c == QMetaObject::ReadProperty) { |
343 | Q_ASSERT(staticMetaObject.cast(_o)); |
344 | auto *_t = static_cast<QHeaderView *>(_o); |
345 | Q_UNUSED(_t) |
346 | void *_v = _a[0]; |
347 | switch (_id) { |
348 | case 0: *reinterpret_cast< bool*>(_v) = _t->isFirstSectionMovable(); break; |
349 | case 1: *reinterpret_cast< bool*>(_v) = _t->isSortIndicatorShown(); break; |
350 | case 2: *reinterpret_cast< bool*>(_v) = _t->highlightSections(); break; |
351 | case 3: *reinterpret_cast< bool*>(_v) = _t->stretchLastSection(); break; |
352 | case 4: *reinterpret_cast< bool*>(_v) = _t->cascadingSectionResizes(); break; |
353 | case 5: *reinterpret_cast< int*>(_v) = _t->defaultSectionSize(); break; |
354 | case 6: *reinterpret_cast< int*>(_v) = _t->minimumSectionSize(); break; |
355 | case 7: *reinterpret_cast< int*>(_v) = _t->maximumSectionSize(); break; |
356 | case 8: *reinterpret_cast< Qt::Alignment*>(_v) = _t->defaultAlignment(); break; |
357 | default: break; |
358 | } |
359 | } else if (_c == QMetaObject::WriteProperty) { |
360 | Q_ASSERT(staticMetaObject.cast(_o)); |
361 | auto *_t = static_cast<QHeaderView *>(_o); |
362 | Q_UNUSED(_t) |
363 | void *_v = _a[0]; |
364 | switch (_id) { |
365 | case 0: _t->setFirstSectionMovable(*reinterpret_cast< bool*>(_v)); break; |
366 | case 1: _t->setSortIndicatorShown(*reinterpret_cast< bool*>(_v)); break; |
367 | case 2: _t->setHighlightSections(*reinterpret_cast< bool*>(_v)); break; |
368 | case 3: _t->setStretchLastSection(*reinterpret_cast< bool*>(_v)); break; |
369 | case 4: _t->setCascadingSectionResizes(*reinterpret_cast< bool*>(_v)); break; |
370 | case 5: _t->setDefaultSectionSize(*reinterpret_cast< int*>(_v)); break; |
371 | case 6: _t->setMinimumSectionSize(*reinterpret_cast< int*>(_v)); break; |
372 | case 7: _t->setMaximumSectionSize(*reinterpret_cast< int*>(_v)); break; |
373 | case 8: _t->setDefaultAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break; |
374 | default: break; |
375 | } |
376 | } else if (_c == QMetaObject::ResetProperty) { |
377 | Q_ASSERT(staticMetaObject.cast(_o)); |
378 | auto *_t = static_cast<QHeaderView *>(_o); |
379 | Q_UNUSED(_t) |
380 | switch (_id) { |
381 | case 5: _t->resetDefaultSectionSize(); break; |
382 | default: break; |
383 | } |
384 | } else if (_c == QMetaObject::BindableProperty) { |
385 | } |
386 | #endif // QT_NO_PROPERTIES |
387 | } |
388 | |
389 | const QMetaObject QHeaderView:: = { { |
390 | QMetaObject::SuperData::link<QAbstractItemView::staticMetaObject>(), |
391 | qt_meta_stringdata_QHeaderView.offsetsAndSize, |
392 | qt_meta_data_QHeaderView, |
393 | qt_static_metacall, |
394 | nullptr, |
395 | qt_incomplete_metaTypeArray<qt_meta_stringdata_QHeaderView_t |
396 | , QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::Alignment, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, 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<int, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::SortOrder, std::false_type> |
397 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, 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<Qt::Orientation, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, 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<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QPersistentModelIndex> &, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractItemModel::LayoutChangeHint, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QPersistentModelIndex> &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QPersistentModelIndex> &, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractItemModel::LayoutChangeHint, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QList<QPersistentModelIndex> &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
398 | |
399 | |
400 | >, |
401 | nullptr |
402 | } }; |
403 | |
404 | |
405 | const QMetaObject *QHeaderView::() const |
406 | { |
407 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
408 | } |
409 | |
410 | void *QHeaderView::(const char *_clname) |
411 | { |
412 | if (!_clname) return nullptr; |
413 | if (!strcmp(_clname, qt_meta_stringdata_QHeaderView.stringdata0)) |
414 | return static_cast<void*>(this); |
415 | return QAbstractItemView::qt_metacast(_clname); |
416 | } |
417 | |
418 | int QHeaderView::(QMetaObject::Call _c, int _id, void **_a) |
419 | { |
420 | _id = QAbstractItemView::qt_metacall(_c, _id, _a); |
421 | if (_id < 0) |
422 | return _id; |
423 | if (_c == QMetaObject::InvokeMetaMethod) { |
424 | if (_id < 27) |
425 | qt_static_metacall(this, _c, _id, _a); |
426 | _id -= 27; |
427 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
428 | if (_id < 27) |
429 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
430 | _id -= 27; |
431 | } |
432 | #ifndef QT_NO_PROPERTIES |
433 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
434 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
435 | || _c == QMetaObject::RegisterPropertyMetaType) { |
436 | qt_static_metacall(this, _c, _id, _a); |
437 | _id -= 9; |
438 | } |
439 | #endif // QT_NO_PROPERTIES |
440 | return _id; |
441 | } |
442 | |
443 | // SIGNAL 0 |
444 | void QHeaderView::(int _t1, int _t2, int _t3) |
445 | { |
446 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) }; |
447 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
448 | } |
449 | |
450 | // SIGNAL 1 |
451 | void QHeaderView::(int _t1, int _t2, int _t3) |
452 | { |
453 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) }; |
454 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
455 | } |
456 | |
457 | // SIGNAL 2 |
458 | void QHeaderView::(int _t1) |
459 | { |
460 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
461 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
462 | } |
463 | |
464 | // SIGNAL 3 |
465 | void QHeaderView::(int _t1) |
466 | { |
467 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
468 | QMetaObject::activate(this, &staticMetaObject, 3, _a); |
469 | } |
470 | |
471 | // SIGNAL 4 |
472 | void QHeaderView::(int _t1) |
473 | { |
474 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
475 | QMetaObject::activate(this, &staticMetaObject, 4, _a); |
476 | } |
477 | |
478 | // SIGNAL 5 |
479 | void QHeaderView::(int _t1) |
480 | { |
481 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
482 | QMetaObject::activate(this, &staticMetaObject, 5, _a); |
483 | } |
484 | |
485 | // SIGNAL 6 |
486 | void QHeaderView::(int _t1, int _t2) |
487 | { |
488 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
489 | QMetaObject::activate(this, &staticMetaObject, 6, _a); |
490 | } |
491 | |
492 | // SIGNAL 7 |
493 | void QHeaderView::sectionHandleDoubleClicked(int _t1) |
494 | { |
495 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
496 | QMetaObject::activate(this, &staticMetaObject, 7, _a); |
497 | } |
498 | |
499 | // SIGNAL 8 |
500 | void QHeaderView::() |
501 | { |
502 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); |
503 | } |
504 | |
505 | // SIGNAL 9 |
506 | void QHeaderView::(int _t1, Qt::SortOrder _t2) |
507 | { |
508 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) }; |
509 | QMetaObject::activate(this, &staticMetaObject, 9, _a); |
510 | } |
511 | QT_WARNING_POP |
512 | QT_END_MOC_NAMESPACE |
513 | |