1/****************************************************************************
2** Meta object code from reading C++ file 'qtableview.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/qtableview.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qtableview.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_QTableView_t {
25 const uint offsetsAndSize[94];
26 char stringdata0[626];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QTableView_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QTableView_t qt_meta_stringdata_QTableView = {
31 {
32QT_MOC_LITERAL(0, 10), // "QTableView"
33QT_MOC_LITERAL(11, 9), // "selectRow"
34QT_MOC_LITERAL(21, 0), // ""
35QT_MOC_LITERAL(22, 3), // "row"
36QT_MOC_LITERAL(26, 12), // "selectColumn"
37QT_MOC_LITERAL(39, 6), // "column"
38QT_MOC_LITERAL(46, 7), // "hideRow"
39QT_MOC_LITERAL(54, 10), // "hideColumn"
40QT_MOC_LITERAL(65, 7), // "showRow"
41QT_MOC_LITERAL(73, 10), // "showColumn"
42QT_MOC_LITERAL(84, 19), // "resizeRowToContents"
43QT_MOC_LITERAL(104, 20), // "resizeRowsToContents"
44QT_MOC_LITERAL(125, 22), // "resizeColumnToContents"
45QT_MOC_LITERAL(148, 23), // "resizeColumnsToContents"
46QT_MOC_LITERAL(172, 12), // "sortByColumn"
47QT_MOC_LITERAL(185, 13), // "Qt::SortOrder"
48QT_MOC_LITERAL(199, 5), // "order"
49QT_MOC_LITERAL(205, 11), // "setShowGrid"
50QT_MOC_LITERAL(217, 4), // "show"
51QT_MOC_LITERAL(222, 8), // "rowMoved"
52QT_MOC_LITERAL(231, 8), // "oldIndex"
53QT_MOC_LITERAL(240, 8), // "newIndex"
54QT_MOC_LITERAL(249, 11), // "columnMoved"
55QT_MOC_LITERAL(261, 10), // "rowResized"
56QT_MOC_LITERAL(272, 9), // "oldHeight"
57QT_MOC_LITERAL(282, 9), // "newHeight"
58QT_MOC_LITERAL(292, 13), // "columnResized"
59QT_MOC_LITERAL(306, 8), // "oldWidth"
60QT_MOC_LITERAL(315, 8), // "newWidth"
61QT_MOC_LITERAL(324, 15), // "rowCountChanged"
62QT_MOC_LITERAL(340, 8), // "oldCount"
63QT_MOC_LITERAL(349, 8), // "newCount"
64QT_MOC_LITERAL(358, 18), // "columnCountChanged"
65QT_MOC_LITERAL(377, 12), // "_q_selectRow"
66QT_MOC_LITERAL(390, 15), // "_q_selectColumn"
67QT_MOC_LITERAL(406, 25), // "_q_updateSpanInsertedRows"
68QT_MOC_LITERAL(432, 11), // "QModelIndex"
69QT_MOC_LITERAL(444, 28), // "_q_updateSpanInsertedColumns"
70QT_MOC_LITERAL(473, 24), // "_q_updateSpanRemovedRows"
71QT_MOC_LITERAL(498, 27), // "_q_updateSpanRemovedColumns"
72QT_MOC_LITERAL(526, 23), // "_q_sortIndicatorChanged"
73QT_MOC_LITERAL(550, 8), // "showGrid"
74QT_MOC_LITERAL(559, 9), // "gridStyle"
75QT_MOC_LITERAL(569, 12), // "Qt::PenStyle"
76QT_MOC_LITERAL(582, 14), // "sortingEnabled"
77QT_MOC_LITERAL(597, 8), // "wordWrap"
78QT_MOC_LITERAL(606, 19) // "cornerButtonEnabled"
79
80 },
81 "QTableView\0selectRow\0\0row\0selectColumn\0"
82 "column\0hideRow\0hideColumn\0showRow\0"
83 "showColumn\0resizeRowToContents\0"
84 "resizeRowsToContents\0resizeColumnToContents\0"
85 "resizeColumnsToContents\0sortByColumn\0"
86 "Qt::SortOrder\0order\0setShowGrid\0show\0"
87 "rowMoved\0oldIndex\0newIndex\0columnMoved\0"
88 "rowResized\0oldHeight\0newHeight\0"
89 "columnResized\0oldWidth\0newWidth\0"
90 "rowCountChanged\0oldCount\0newCount\0"
91 "columnCountChanged\0_q_selectRow\0"
92 "_q_selectColumn\0_q_updateSpanInsertedRows\0"
93 "QModelIndex\0_q_updateSpanInsertedColumns\0"
94 "_q_updateSpanRemovedRows\0"
95 "_q_updateSpanRemovedColumns\0"
96 "_q_sortIndicatorChanged\0showGrid\0"
97 "gridStyle\0Qt::PenStyle\0sortingEnabled\0"
98 "wordWrap\0cornerButtonEnabled"
99};
100#undef QT_MOC_LITERAL
101
102static const uint qt_meta_data_QTableView[] = {
103
104 // content:
105 9, // revision
106 0, // classname
107 0, 0, // classinfo
108 25, 14, // methods
109 5, 275, // properties
110 0, 0, // enums/sets
111 0, 0, // constructors
112 0, // flags
113 0, // signalCount
114
115 // slots: name, argc, parameters, tag, flags, initial metatype offsets
116 1, 1, 164, 2, 0x0a, 5 /* Public */,
117 4, 1, 167, 2, 0x0a, 7 /* Public */,
118 6, 1, 170, 2, 0x0a, 9 /* Public */,
119 7, 1, 173, 2, 0x0a, 11 /* Public */,
120 8, 1, 176, 2, 0x0a, 13 /* Public */,
121 9, 1, 179, 2, 0x0a, 15 /* Public */,
122 10, 1, 182, 2, 0x0a, 17 /* Public */,
123 11, 0, 185, 2, 0x0a, 19 /* Public */,
124 12, 1, 186, 2, 0x0a, 20 /* Public */,
125 13, 0, 189, 2, 0x0a, 22 /* Public */,
126 14, 2, 190, 2, 0x0a, 23 /* Public */,
127 17, 1, 195, 2, 0x0a, 26 /* Public */,
128 19, 3, 198, 2, 0x09, 28 /* Protected */,
129 22, 3, 205, 2, 0x09, 32 /* Protected */,
130 23, 3, 212, 2, 0x09, 36 /* Protected */,
131 26, 3, 219, 2, 0x09, 40 /* Protected */,
132 29, 2, 226, 2, 0x09, 44 /* Protected */,
133 32, 2, 231, 2, 0x09, 47 /* Protected */,
134 33, 1, 236, 2, 0x08, 50 /* Private */,
135 34, 1, 239, 2, 0x08, 52 /* Private */,
136 35, 3, 242, 2, 0x08, 54 /* Private */,
137 37, 3, 249, 2, 0x08, 58 /* Private */,
138 38, 3, 256, 2, 0x08, 62 /* Private */,
139 39, 3, 263, 2, 0x08, 66 /* Private */,
140 40, 2, 270, 2, 0x08, 70 /* Private */,
141
142 // slots: parameters
143 QMetaType::Void, QMetaType::Int, 3,
144 QMetaType::Void, QMetaType::Int, 5,
145 QMetaType::Void, QMetaType::Int, 3,
146 QMetaType::Void, QMetaType::Int, 5,
147 QMetaType::Void, QMetaType::Int, 3,
148 QMetaType::Void, QMetaType::Int, 5,
149 QMetaType::Void, QMetaType::Int, 3,
150 QMetaType::Void,
151 QMetaType::Void, QMetaType::Int, 5,
152 QMetaType::Void,
153 QMetaType::Void, QMetaType::Int, 0x80000000 | 15, 5, 16,
154 QMetaType::Void, QMetaType::Bool, 18,
155 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 20, 21,
156 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 5, 20, 21,
157 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 3, 24, 25,
158 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 5, 27, 28,
159 QMetaType::Void, QMetaType::Int, QMetaType::Int, 30, 31,
160 QMetaType::Void, QMetaType::Int, QMetaType::Int, 30, 31,
161 QMetaType::Void, QMetaType::Int, 2,
162 QMetaType::Void, QMetaType::Int, 2,
163 QMetaType::Void, 0x80000000 | 36, QMetaType::Int, QMetaType::Int, 2, 2, 2,
164 QMetaType::Void, 0x80000000 | 36, QMetaType::Int, QMetaType::Int, 2, 2, 2,
165 QMetaType::Void, 0x80000000 | 36, QMetaType::Int, QMetaType::Int, 2, 2, 2,
166 QMetaType::Void, 0x80000000 | 36, QMetaType::Int, QMetaType::Int, 2, 2, 2,
167 QMetaType::Void, QMetaType::Int, 0x80000000 | 15, 5, 16,
168
169 // properties: name, type, flags
170 41, QMetaType::Bool, 0x00015103, uint(-1), 0,
171 42, 0x80000000 | 43, 0x0001510b, uint(-1), 0,
172 44, QMetaType::Bool, 0x00015103, uint(-1), 0,
173 45, QMetaType::Bool, 0x00015103, uint(-1), 0,
174 46, QMetaType::Bool, 0x00015103, uint(-1), 0,
175
176 0 // eod
177};
178
179void QTableView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
180{
181 if (_c == QMetaObject::InvokeMetaMethod) {
182 Q_ASSERT(staticMetaObject.cast(_o));
183 auto *_t = static_cast<QTableView *>(_o);
184 Q_UNUSED(_t)
185 switch (_id) {
186 case 0: _t->selectRow((*reinterpret_cast< int(*)>(_a[1]))); break;
187 case 1: _t->selectColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
188 case 2: _t->hideRow((*reinterpret_cast< int(*)>(_a[1]))); break;
189 case 3: _t->hideColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
190 case 4: _t->showRow((*reinterpret_cast< int(*)>(_a[1]))); break;
191 case 5: _t->showColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
192 case 6: _t->resizeRowToContents((*reinterpret_cast< int(*)>(_a[1]))); break;
193 case 7: _t->resizeRowsToContents(); break;
194 case 8: _t->resizeColumnToContents((*reinterpret_cast< int(*)>(_a[1]))); break;
195 case 9: _t->resizeColumnsToContents(); break;
196 case 10: _t->sortByColumn((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break;
197 case 11: _t->setShowGrid((*reinterpret_cast< bool(*)>(_a[1]))); break;
198 case 12: _t->rowMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
199 case 13: _t->columnMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
200 case 14: _t->rowResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
201 case 15: _t->columnResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
202 case 16: _t->rowCountChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
203 case 17: _t->columnCountChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
204 case 18: _t->d_func()->_q_selectRow((*reinterpret_cast< int(*)>(_a[1]))); break;
205 case 19: _t->d_func()->_q_selectColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
206 case 20: _t->d_func()->_q_updateSpanInsertedRows((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
207 case 21: _t->d_func()->_q_updateSpanInsertedColumns((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
208 case 22: _t->d_func()->_q_updateSpanRemovedRows((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
209 case 23: _t->d_func()->_q_updateSpanRemovedColumns((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
210 case 24: _t->d_func()->_q_sortIndicatorChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break;
211 default: ;
212 }
213 }
214#ifndef QT_NO_PROPERTIES
215 else if (_c == QMetaObject::ReadProperty) {
216 Q_ASSERT(staticMetaObject.cast(_o));
217 auto *_t = static_cast<QTableView *>(_o);
218 Q_UNUSED(_t)
219 void *_v = _a[0];
220 switch (_id) {
221 case 0: *reinterpret_cast< bool*>(_v) = _t->showGrid(); break;
222 case 1: *reinterpret_cast< Qt::PenStyle*>(_v) = _t->gridStyle(); break;
223 case 2: *reinterpret_cast< bool*>(_v) = _t->isSortingEnabled(); break;
224 case 3: *reinterpret_cast< bool*>(_v) = _t->wordWrap(); break;
225 case 4: *reinterpret_cast< bool*>(_v) = _t->isCornerButtonEnabled(); break;
226 default: break;
227 }
228 } else if (_c == QMetaObject::WriteProperty) {
229 Q_ASSERT(staticMetaObject.cast(_o));
230 auto *_t = static_cast<QTableView *>(_o);
231 Q_UNUSED(_t)
232 void *_v = _a[0];
233 switch (_id) {
234 case 0: _t->setShowGrid(*reinterpret_cast< bool*>(_v)); break;
235 case 1: _t->setGridStyle(*reinterpret_cast< Qt::PenStyle*>(_v)); break;
236 case 2: _t->setSortingEnabled(*reinterpret_cast< bool*>(_v)); break;
237 case 3: _t->setWordWrap(*reinterpret_cast< bool*>(_v)); break;
238 case 4: _t->setCornerButtonEnabled(*reinterpret_cast< bool*>(_v)); break;
239 default: break;
240 }
241 } else if (_c == QMetaObject::ResetProperty) {
242 } else if (_c == QMetaObject::BindableProperty) {
243 }
244#endif // QT_NO_PROPERTIES
245}
246
247const QMetaObject QTableView::staticMetaObject = { {
248 QMetaObject::SuperData::link<QAbstractItemView::staticMetaObject>(),
249 qt_meta_stringdata_QTableView.offsetsAndSize,
250 qt_meta_data_QTableView,
251 qt_static_metacall,
252 nullptr,
253qt_incomplete_metaTypeArray<qt_meta_stringdata_QTableView_t
254, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<Qt::PenStyle, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>
255, 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<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<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>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, 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<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<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<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<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QModelIndex, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QModelIndex, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QModelIndex, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QModelIndex, 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<Qt::SortOrder, std::false_type>
256
257
258>,
259 nullptr
260} };
261
262
263const QMetaObject *QTableView::metaObject() const
264{
265 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
266}
267
268void *QTableView::qt_metacast(const char *_clname)
269{
270 if (!_clname) return nullptr;
271 if (!strcmp(_clname, qt_meta_stringdata_QTableView.stringdata0))
272 return static_cast<void*>(this);
273 return QAbstractItemView::qt_metacast(_clname);
274}
275
276int QTableView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
277{
278 _id = QAbstractItemView::qt_metacall(_c, _id, _a);
279 if (_id < 0)
280 return _id;
281 if (_c == QMetaObject::InvokeMetaMethod) {
282 if (_id < 25)
283 qt_static_metacall(this, _c, _id, _a);
284 _id -= 25;
285 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
286 if (_id < 25)
287 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
288 _id -= 25;
289 }
290#ifndef QT_NO_PROPERTIES
291 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
292 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
293 || _c == QMetaObject::RegisterPropertyMetaType) {
294 qt_static_metacall(this, _c, _id, _a);
295 _id -= 5;
296 }
297#endif // QT_NO_PROPERTIES
298 return _id;
299}
300QT_WARNING_POP
301QT_END_MOC_NAMESPACE
302