1/****************************************************************************
2** Meta object code from reading C++ file 'qtreewidget.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/qtreewidget.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qtreewidget.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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
24struct qt_meta_stringdata_QTreeWidget_t {
25 const uint offsetsAndSize[90];
26 char stringdata0[642];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QTreeWidget_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QTreeWidget_t qt_meta_stringdata_QTreeWidget = {
31 {
32QT_MOC_LITERAL(0, 11), // "QTreeWidget"
33QT_MOC_LITERAL(12, 11), // "itemPressed"
34QT_MOC_LITERAL(24, 0), // ""
35QT_MOC_LITERAL(25, 16), // "QTreeWidgetItem*"
36QT_MOC_LITERAL(42, 4), // "item"
37QT_MOC_LITERAL(47, 6), // "column"
38QT_MOC_LITERAL(54, 11), // "itemClicked"
39QT_MOC_LITERAL(66, 17), // "itemDoubleClicked"
40QT_MOC_LITERAL(84, 13), // "itemActivated"
41QT_MOC_LITERAL(98, 11), // "itemEntered"
42QT_MOC_LITERAL(110, 11), // "itemChanged"
43QT_MOC_LITERAL(122, 12), // "itemExpanded"
44QT_MOC_LITERAL(135, 13), // "itemCollapsed"
45QT_MOC_LITERAL(149, 18), // "currentItemChanged"
46QT_MOC_LITERAL(168, 7), // "current"
47QT_MOC_LITERAL(176, 8), // "previous"
48QT_MOC_LITERAL(185, 20), // "itemSelectionChanged"
49QT_MOC_LITERAL(206, 12), // "scrollToItem"
50QT_MOC_LITERAL(219, 22), // "const QTreeWidgetItem*"
51QT_MOC_LITERAL(242, 29), // "QAbstractItemView::ScrollHint"
52QT_MOC_LITERAL(272, 4), // "hint"
53QT_MOC_LITERAL(277, 10), // "expandItem"
54QT_MOC_LITERAL(288, 12), // "collapseItem"
55QT_MOC_LITERAL(301, 5), // "clear"
56QT_MOC_LITERAL(307, 18), // "_q_emitItemPressed"
57QT_MOC_LITERAL(326, 11), // "QModelIndex"
58QT_MOC_LITERAL(338, 5), // "index"
59QT_MOC_LITERAL(344, 18), // "_q_emitItemClicked"
60QT_MOC_LITERAL(363, 24), // "_q_emitItemDoubleClicked"
61QT_MOC_LITERAL(388, 20), // "_q_emitItemActivated"
62QT_MOC_LITERAL(409, 18), // "_q_emitItemEntered"
63QT_MOC_LITERAL(428, 18), // "_q_emitItemChanged"
64QT_MOC_LITERAL(447, 19), // "_q_emitItemExpanded"
65QT_MOC_LITERAL(467, 20), // "_q_emitItemCollapsed"
66QT_MOC_LITERAL(488, 25), // "_q_emitCurrentItemChanged"
67QT_MOC_LITERAL(514, 7), // "_q_sort"
68QT_MOC_LITERAL(522, 14), // "_q_dataChanged"
69QT_MOC_LITERAL(537, 7), // "topLeft"
70QT_MOC_LITERAL(545, 11), // "bottomRight"
71QT_MOC_LITERAL(557, 19), // "_q_selectionChanged"
72QT_MOC_LITERAL(577, 14), // "QItemSelection"
73QT_MOC_LITERAL(592, 8), // "selected"
74QT_MOC_LITERAL(601, 10), // "deselected"
75QT_MOC_LITERAL(612, 11), // "columnCount"
76QT_MOC_LITERAL(624, 17) // "topLevelItemCount"
77
78 },
79 "QTreeWidget\0itemPressed\0\0QTreeWidgetItem*\0"
80 "item\0column\0itemClicked\0itemDoubleClicked\0"
81 "itemActivated\0itemEntered\0itemChanged\0"
82 "itemExpanded\0itemCollapsed\0"
83 "currentItemChanged\0current\0previous\0"
84 "itemSelectionChanged\0scrollToItem\0"
85 "const QTreeWidgetItem*\0"
86 "QAbstractItemView::ScrollHint\0hint\0"
87 "expandItem\0collapseItem\0clear\0"
88 "_q_emitItemPressed\0QModelIndex\0index\0"
89 "_q_emitItemClicked\0_q_emitItemDoubleClicked\0"
90 "_q_emitItemActivated\0_q_emitItemEntered\0"
91 "_q_emitItemChanged\0_q_emitItemExpanded\0"
92 "_q_emitItemCollapsed\0_q_emitCurrentItemChanged\0"
93 "_q_sort\0_q_dataChanged\0topLeft\0"
94 "bottomRight\0_q_selectionChanged\0"
95 "QItemSelection\0selected\0deselected\0"
96 "columnCount\0topLevelItemCount"
97};
98#undef QT_MOC_LITERAL
99
100static const uint qt_meta_data_QTreeWidget[] = {
101
102 // content:
103 9, // revision
104 0, // classname
105 0, 0, // classinfo
106 27, 14, // methods
107 2, 273, // properties
108 0, 0, // enums/sets
109 0, 0, // constructors
110 0, // flags
111 10, // signalCount
112
113 // signals: name, argc, parameters, tag, flags, initial metatype offsets
114 1, 2, 176, 2, 0x06, 2 /* Public */,
115 6, 2, 181, 2, 0x06, 5 /* Public */,
116 7, 2, 186, 2, 0x06, 8 /* Public */,
117 8, 2, 191, 2, 0x06, 11 /* Public */,
118 9, 2, 196, 2, 0x06, 14 /* Public */,
119 10, 2, 201, 2, 0x06, 17 /* Public */,
120 11, 1, 206, 2, 0x06, 20 /* Public */,
121 12, 1, 209, 2, 0x06, 22 /* Public */,
122 13, 2, 212, 2, 0x06, 24 /* Public */,
123 16, 0, 217, 2, 0x06, 27 /* Public */,
124
125 // slots: name, argc, parameters, tag, flags, initial metatype offsets
126 17, 2, 218, 2, 0x0a, 28 /* Public */,
127 17, 1, 223, 2, 0x2a, 31 /* Public | MethodCloned */,
128 21, 1, 226, 2, 0x0a, 33 /* Public */,
129 22, 1, 229, 2, 0x0a, 35 /* Public */,
130 23, 0, 232, 2, 0x0a, 37 /* Public */,
131 24, 1, 233, 2, 0x08, 38 /* Private */,
132 27, 1, 236, 2, 0x08, 40 /* Private */,
133 28, 1, 239, 2, 0x08, 42 /* Private */,
134 29, 1, 242, 2, 0x08, 44 /* Private */,
135 30, 1, 245, 2, 0x08, 46 /* Private */,
136 31, 1, 248, 2, 0x08, 48 /* Private */,
137 32, 1, 251, 2, 0x08, 50 /* Private */,
138 33, 1, 254, 2, 0x08, 52 /* Private */,
139 34, 2, 257, 2, 0x08, 54 /* Private */,
140 35, 0, 262, 2, 0x08, 57 /* Private */,
141 36, 2, 263, 2, 0x08, 58 /* Private */,
142 39, 2, 268, 2, 0x08, 61 /* Private */,
143
144 // signals: parameters
145 QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
146 QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
147 QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
148 QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
149 QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
150 QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 4, 5,
151 QMetaType::Void, 0x80000000 | 3, 4,
152 QMetaType::Void, 0x80000000 | 3, 4,
153 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 14, 15,
154 QMetaType::Void,
155
156 // slots: parameters
157 QMetaType::Void, 0x80000000 | 18, 0x80000000 | 19, 4, 20,
158 QMetaType::Void, 0x80000000 | 18, 4,
159 QMetaType::Void, 0x80000000 | 18, 4,
160 QMetaType::Void, 0x80000000 | 18, 4,
161 QMetaType::Void,
162 QMetaType::Void, 0x80000000 | 25, 26,
163 QMetaType::Void, 0x80000000 | 25, 26,
164 QMetaType::Void, 0x80000000 | 25, 26,
165 QMetaType::Void, 0x80000000 | 25, 26,
166 QMetaType::Void, 0x80000000 | 25, 26,
167 QMetaType::Void, 0x80000000 | 25, 26,
168 QMetaType::Void, 0x80000000 | 25, 26,
169 QMetaType::Void, 0x80000000 | 25, 26,
170 QMetaType::Void, 0x80000000 | 25, 0x80000000 | 25, 15, 14,
171 QMetaType::Void,
172 QMetaType::Void, 0x80000000 | 25, 0x80000000 | 25, 37, 38,
173 QMetaType::Void, 0x80000000 | 40, 0x80000000 | 40, 41, 42,
174
175 // properties: name, type, flags
176 43, QMetaType::Int, 0x00015103, uint(-1), 0,
177 44, QMetaType::Int, 0x00015001, uint(-1), 0,
178
179 0 // eod
180};
181
182void QTreeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
183{
184 if (_c == QMetaObject::InvokeMetaMethod) {
185 Q_ASSERT(staticMetaObject.cast(_o));
186 auto *_t = static_cast<QTreeWidget *>(_o);
187 Q_UNUSED(_t)
188 switch (_id) {
189 case 0: _t->itemPressed((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
190 case 1: _t->itemClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
191 case 2: _t->itemDoubleClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
192 case 3: _t->itemActivated((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
193 case 4: _t->itemEntered((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
194 case 5: _t->itemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
195 case 6: _t->itemExpanded((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
196 case 7: _t->itemCollapsed((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1]))); break;
197 case 8: _t->currentItemChanged((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QTreeWidgetItem*(*)>(_a[2]))); break;
198 case 9: _t->itemSelectionChanged(); break;
199 case 10: _t->scrollToItem((*reinterpret_cast< const QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QAbstractItemView::ScrollHint(*)>(_a[2]))); break;
200 case 11: _t->scrollToItem((*reinterpret_cast< const QTreeWidgetItem*(*)>(_a[1]))); break;
201 case 12: _t->expandItem((*reinterpret_cast< const QTreeWidgetItem*(*)>(_a[1]))); break;
202 case 13: _t->collapseItem((*reinterpret_cast< const QTreeWidgetItem*(*)>(_a[1]))); break;
203 case 14: _t->clear(); break;
204 case 15: _t->d_func()->_q_emitItemPressed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
205 case 16: _t->d_func()->_q_emitItemClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
206 case 17: _t->d_func()->_q_emitItemDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
207 case 18: _t->d_func()->_q_emitItemActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
208 case 19: _t->d_func()->_q_emitItemEntered((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
209 case 20: _t->d_func()->_q_emitItemChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
210 case 21: _t->d_func()->_q_emitItemExpanded((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
211 case 22: _t->d_func()->_q_emitItemCollapsed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
212 case 23: _t->d_func()->_q_emitCurrentItemChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
213 case 24: _t->d_func()->_q_sort(); break;
214 case 25: _t->d_func()->_q_dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
215 case 26: _t->d_func()->_q_selectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
216 default: ;
217 }
218 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
219 switch (_id) {
220 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
221 case 26:
222 switch (*reinterpret_cast<int*>(_a[1])) {
223 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
224 case 1:
225 case 0:
226 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QItemSelection >(); break;
227 }
228 break;
229 }
230 } else if (_c == QMetaObject::IndexOfMethod) {
231 int *result = reinterpret_cast<int *>(_a[0]);
232 {
233 using _t = void (QTreeWidget::*)(QTreeWidgetItem * , int );
234 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTreeWidget::itemPressed)) {
235 *result = 0;
236 return;
237 }
238 }
239 {
240 using _t = void (QTreeWidget::*)(QTreeWidgetItem * , int );
241 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTreeWidget::itemClicked)) {
242 *result = 1;
243 return;
244 }
245 }
246 {
247 using _t = void (QTreeWidget::*)(QTreeWidgetItem * , int );
248 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTreeWidget::itemDoubleClicked)) {
249 *result = 2;
250 return;
251 }
252 }
253 {
254 using _t = void (QTreeWidget::*)(QTreeWidgetItem * , int );
255 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTreeWidget::itemActivated)) {
256 *result = 3;
257 return;
258 }
259 }
260 {
261 using _t = void (QTreeWidget::*)(QTreeWidgetItem * , int );
262 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTreeWidget::itemEntered)) {
263 *result = 4;
264 return;
265 }
266 }
267 {
268 using _t = void (QTreeWidget::*)(QTreeWidgetItem * , int );
269 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTreeWidget::itemChanged)) {
270 *result = 5;
271 return;
272 }
273 }
274 {
275 using _t = void (QTreeWidget::*)(QTreeWidgetItem * );
276 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTreeWidget::itemExpanded)) {
277 *result = 6;
278 return;
279 }
280 }
281 {
282 using _t = void (QTreeWidget::*)(QTreeWidgetItem * );
283 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTreeWidget::itemCollapsed)) {
284 *result = 7;
285 return;
286 }
287 }
288 {
289 using _t = void (QTreeWidget::*)(QTreeWidgetItem * , QTreeWidgetItem * );
290 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTreeWidget::currentItemChanged)) {
291 *result = 8;
292 return;
293 }
294 }
295 {
296 using _t = void (QTreeWidget::*)();
297 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTreeWidget::itemSelectionChanged)) {
298 *result = 9;
299 return;
300 }
301 }
302 }
303#ifndef QT_NO_PROPERTIES
304 else if (_c == QMetaObject::ReadProperty) {
305 Q_ASSERT(staticMetaObject.cast(_o));
306 auto *_t = static_cast<QTreeWidget *>(_o);
307 Q_UNUSED(_t)
308 void *_v = _a[0];
309 switch (_id) {
310 case 0: *reinterpret_cast< int*>(_v) = _t->columnCount(); break;
311 case 1: *reinterpret_cast< int*>(_v) = _t->topLevelItemCount(); break;
312 default: break;
313 }
314 } else if (_c == QMetaObject::WriteProperty) {
315 Q_ASSERT(staticMetaObject.cast(_o));
316 auto *_t = static_cast<QTreeWidget *>(_o);
317 Q_UNUSED(_t)
318 void *_v = _a[0];
319 switch (_id) {
320 case 0: _t->setColumnCount(*reinterpret_cast< int*>(_v)); break;
321 default: break;
322 }
323 } else if (_c == QMetaObject::ResetProperty) {
324 } else if (_c == QMetaObject::BindableProperty) {
325 }
326#endif // QT_NO_PROPERTIES
327}
328
329const QMetaObject QTreeWidget::staticMetaObject = { {
330 QMetaObject::SuperData::link<QTreeView::staticMetaObject>(),
331 qt_meta_stringdata_QTreeWidget.offsetsAndSize,
332 qt_meta_data_QTreeWidget,
333 qt_static_metacall,
334 nullptr,
335qt_incomplete_metaTypeArray<qt_meta_stringdata_QTreeWidget_t
336, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
337, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractItemView::ScrollHint, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QTreeWidgetItem *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QItemSelection &, std::false_type>, QtPrivate::TypeAndForceComplete<const QItemSelection &, std::false_type>
338
339
340>,
341 nullptr
342} };
343
344
345const QMetaObject *QTreeWidget::metaObject() const
346{
347 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
348}
349
350void *QTreeWidget::qt_metacast(const char *_clname)
351{
352 if (!_clname) return nullptr;
353 if (!strcmp(_clname, qt_meta_stringdata_QTreeWidget.stringdata0))
354 return static_cast<void*>(this);
355 return QTreeView::qt_metacast(_clname);
356}
357
358int QTreeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
359{
360 _id = QTreeView::qt_metacall(_c, _id, _a);
361 if (_id < 0)
362 return _id;
363 if (_c == QMetaObject::InvokeMetaMethod) {
364 if (_id < 27)
365 qt_static_metacall(this, _c, _id, _a);
366 _id -= 27;
367 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
368 if (_id < 27)
369 qt_static_metacall(this, _c, _id, _a);
370 _id -= 27;
371 }
372#ifndef QT_NO_PROPERTIES
373 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
374 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
375 || _c == QMetaObject::RegisterPropertyMetaType) {
376 qt_static_metacall(this, _c, _id, _a);
377 _id -= 2;
378 }
379#endif // QT_NO_PROPERTIES
380 return _id;
381}
382
383// SIGNAL 0
384void QTreeWidget::itemPressed(QTreeWidgetItem * _t1, int _t2)
385{
386 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
387 QMetaObject::activate(this, &staticMetaObject, 0, _a);
388}
389
390// SIGNAL 1
391void QTreeWidget::itemClicked(QTreeWidgetItem * _t1, int _t2)
392{
393 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
394 QMetaObject::activate(this, &staticMetaObject, 1, _a);
395}
396
397// SIGNAL 2
398void QTreeWidget::itemDoubleClicked(QTreeWidgetItem * _t1, int _t2)
399{
400 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
401 QMetaObject::activate(this, &staticMetaObject, 2, _a);
402}
403
404// SIGNAL 3
405void QTreeWidget::itemActivated(QTreeWidgetItem * _t1, int _t2)
406{
407 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
408 QMetaObject::activate(this, &staticMetaObject, 3, _a);
409}
410
411// SIGNAL 4
412void QTreeWidget::itemEntered(QTreeWidgetItem * _t1, int _t2)
413{
414 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
415 QMetaObject::activate(this, &staticMetaObject, 4, _a);
416}
417
418// SIGNAL 5
419void QTreeWidget::itemChanged(QTreeWidgetItem * _t1, int _t2)
420{
421 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
422 QMetaObject::activate(this, &staticMetaObject, 5, _a);
423}
424
425// SIGNAL 6
426void QTreeWidget::itemExpanded(QTreeWidgetItem * _t1)
427{
428 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
429 QMetaObject::activate(this, &staticMetaObject, 6, _a);
430}
431
432// SIGNAL 7
433void QTreeWidget::itemCollapsed(QTreeWidgetItem * _t1)
434{
435 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
436 QMetaObject::activate(this, &staticMetaObject, 7, _a);
437}
438
439// SIGNAL 8
440void QTreeWidget::currentItemChanged(QTreeWidgetItem * _t1, QTreeWidgetItem * _t2)
441{
442 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
443 QMetaObject::activate(this, &staticMetaObject, 8, _a);
444}
445
446// SIGNAL 9
447void QTreeWidget::itemSelectionChanged()
448{
449 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
450}
451QT_WARNING_POP
452QT_END_MOC_NAMESPACE
453