1/****************************************************************************
2** Meta object code from reading C++ file 'qcolumnview.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/qcolumnview.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qcolumnview.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_QColumnView_t {
25 const uint offsetsAndSize[18];
26 char stringdata0[117];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QColumnView_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QColumnView_t qt_meta_stringdata_QColumnView = {
31 {
32QT_MOC_LITERAL(0, 11), // "QColumnView"
33QT_MOC_LITERAL(12, 19), // "updatePreviewWidget"
34QT_MOC_LITERAL(32, 0), // ""
35QT_MOC_LITERAL(33, 11), // "QModelIndex"
36QT_MOC_LITERAL(45, 5), // "index"
37QT_MOC_LITERAL(51, 12), // "_q_gripMoved"
38QT_MOC_LITERAL(64, 22), // "_q_changeCurrentColumn"
39QT_MOC_LITERAL(87, 10), // "_q_clicked"
40QT_MOC_LITERAL(98, 18) // "resizeGripsVisible"
41
42 },
43 "QColumnView\0updatePreviewWidget\0\0"
44 "QModelIndex\0index\0_q_gripMoved\0"
45 "_q_changeCurrentColumn\0_q_clicked\0"
46 "resizeGripsVisible"
47};
48#undef QT_MOC_LITERAL
49
50static const uint qt_meta_data_QColumnView[] = {
51
52 // content:
53 9, // revision
54 0, // classname
55 0, 0, // classinfo
56 4, 14, // methods
57 1, 48, // properties
58 0, 0, // enums/sets
59 0, 0, // constructors
60 0, // flags
61 1, // signalCount
62
63 // signals: name, argc, parameters, tag, flags, initial metatype offsets
64 1, 1, 38, 2, 0x06, 1 /* Public */,
65
66 // slots: name, argc, parameters, tag, flags, initial metatype offsets
67 5, 1, 41, 2, 0x08, 3 /* Private */,
68 6, 0, 44, 2, 0x08, 5 /* Private */,
69 7, 1, 45, 2, 0x08, 6 /* Private */,
70
71 // signals: parameters
72 QMetaType::Void, 0x80000000 | 3, 4,
73
74 // slots: parameters
75 QMetaType::Void, QMetaType::Int, 2,
76 QMetaType::Void,
77 QMetaType::Void, 0x80000000 | 3, 2,
78
79 // properties: name, type, flags
80 8, QMetaType::Bool, 0x00015103, uint(-1), 0,
81
82 0 // eod
83};
84
85void QColumnView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
86{
87 if (_c == QMetaObject::InvokeMetaMethod) {
88 Q_ASSERT(staticMetaObject.cast(_o));
89 auto *_t = static_cast<QColumnView *>(_o);
90 Q_UNUSED(_t)
91 switch (_id) {
92 case 0: _t->updatePreviewWidget((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
93 case 1: _t->d_func()->_q_gripMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
94 case 2: _t->d_func()->_q_changeCurrentColumn(); break;
95 case 3: _t->d_func()->_q_clicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
96 default: ;
97 }
98 } else if (_c == QMetaObject::IndexOfMethod) {
99 int *result = reinterpret_cast<int *>(_a[0]);
100 {
101 using _t = void (QColumnView::*)(const QModelIndex & );
102 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QColumnView::updatePreviewWidget)) {
103 *result = 0;
104 return;
105 }
106 }
107 }
108#ifndef QT_NO_PROPERTIES
109 else if (_c == QMetaObject::ReadProperty) {
110 Q_ASSERT(staticMetaObject.cast(_o));
111 auto *_t = static_cast<QColumnView *>(_o);
112 Q_UNUSED(_t)
113 void *_v = _a[0];
114 switch (_id) {
115 case 0: *reinterpret_cast< bool*>(_v) = _t->resizeGripsVisible(); break;
116 default: break;
117 }
118 } else if (_c == QMetaObject::WriteProperty) {
119 Q_ASSERT(staticMetaObject.cast(_o));
120 auto *_t = static_cast<QColumnView *>(_o);
121 Q_UNUSED(_t)
122 void *_v = _a[0];
123 switch (_id) {
124 case 0: _t->setResizeGripsVisible(*reinterpret_cast< bool*>(_v)); break;
125 default: break;
126 }
127 } else if (_c == QMetaObject::ResetProperty) {
128 } else if (_c == QMetaObject::BindableProperty) {
129 }
130#endif // QT_NO_PROPERTIES
131}
132
133const QMetaObject QColumnView::staticMetaObject = { {
134 QMetaObject::SuperData::link<QAbstractItemView::staticMetaObject>(),
135 qt_meta_stringdata_QColumnView.offsetsAndSize,
136 qt_meta_data_QColumnView,
137 qt_static_metacall,
138 nullptr,
139qt_incomplete_metaTypeArray<qt_meta_stringdata_QColumnView_t
140, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>
141, 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>
142
143
144>,
145 nullptr
146} };
147
148
149const QMetaObject *QColumnView::metaObject() const
150{
151 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
152}
153
154void *QColumnView::qt_metacast(const char *_clname)
155{
156 if (!_clname) return nullptr;
157 if (!strcmp(_clname, qt_meta_stringdata_QColumnView.stringdata0))
158 return static_cast<void*>(this);
159 return QAbstractItemView::qt_metacast(_clname);
160}
161
162int QColumnView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
163{
164 _id = QAbstractItemView::qt_metacall(_c, _id, _a);
165 if (_id < 0)
166 return _id;
167 if (_c == QMetaObject::InvokeMetaMethod) {
168 if (_id < 4)
169 qt_static_metacall(this, _c, _id, _a);
170 _id -= 4;
171 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
172 if (_id < 4)
173 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
174 _id -= 4;
175 }
176#ifndef QT_NO_PROPERTIES
177 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
178 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
179 || _c == QMetaObject::RegisterPropertyMetaType) {
180 qt_static_metacall(this, _c, _id, _a);
181 _id -= 1;
182 }
183#endif // QT_NO_PROPERTIES
184 return _id;
185}
186
187// SIGNAL 0
188void QColumnView::updatePreviewWidget(const QModelIndex & _t1)
189{
190 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
191 QMetaObject::activate(this, &staticMetaObject, 0, _a);
192}
193QT_WARNING_POP
194QT_END_MOC_NAMESPACE
195