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