/****************************************************************************
** Meta object code from reading C++ file 'qtableview.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.19)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../itemviews/qtableview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qtableview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_QTableView_t {
    QByteArrayData data[47];
    char stringdata0[626];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QTableView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QTableView_t qt_meta_stringdata_QTableView = {
    {
QT_MOC_LITERAL(0, 0, 10), // "QTableView"
QT_MOC_LITERAL(1, 11, 9), // "selectRow"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 3), // "row"
QT_MOC_LITERAL(4, 26, 12), // "selectColumn"
QT_MOC_LITERAL(5, 39, 6), // "column"
QT_MOC_LITERAL(6, 46, 7), // "hideRow"
QT_MOC_LITERAL(7, 54, 10), // "hideColumn"
QT_MOC_LITERAL(8, 65, 7), // "showRow"
QT_MOC_LITERAL(9, 73, 10), // "showColumn"
QT_MOC_LITERAL(10, 84, 19), // "resizeRowToContents"
QT_MOC_LITERAL(11, 104, 20), // "resizeRowsToContents"
QT_MOC_LITERAL(12, 125, 22), // "resizeColumnToContents"
QT_MOC_LITERAL(13, 148, 23), // "resizeColumnsToContents"
QT_MOC_LITERAL(14, 172, 12), // "sortByColumn"
QT_MOC_LITERAL(15, 185, 13), // "Qt::SortOrder"
QT_MOC_LITERAL(16, 199, 5), // "order"
QT_MOC_LITERAL(17, 205, 11), // "setShowGrid"
QT_MOC_LITERAL(18, 217, 4), // "show"
QT_MOC_LITERAL(19, 222, 8), // "rowMoved"
QT_MOC_LITERAL(20, 231, 8), // "oldIndex"
QT_MOC_LITERAL(21, 240, 8), // "newIndex"
QT_MOC_LITERAL(22, 249, 11), // "columnMoved"
QT_MOC_LITERAL(23, 261, 10), // "rowResized"
QT_MOC_LITERAL(24, 272, 9), // "oldHeight"
QT_MOC_LITERAL(25, 282, 9), // "newHeight"
QT_MOC_LITERAL(26, 292, 13), // "columnResized"
QT_MOC_LITERAL(27, 306, 8), // "oldWidth"
QT_MOC_LITERAL(28, 315, 8), // "newWidth"
QT_MOC_LITERAL(29, 324, 15), // "rowCountChanged"
QT_MOC_LITERAL(30, 340, 8), // "oldCount"
QT_MOC_LITERAL(31, 349, 8), // "newCount"
QT_MOC_LITERAL(32, 358, 18), // "columnCountChanged"
QT_MOC_LITERAL(33, 377, 12), // "_q_selectRow"
QT_MOC_LITERAL(34, 390, 15), // "_q_selectColumn"
QT_MOC_LITERAL(35, 406, 25), // "_q_updateSpanInsertedRows"
QT_MOC_LITERAL(36, 432, 11), // "QModelIndex"
QT_MOC_LITERAL(37, 444, 28), // "_q_updateSpanInsertedColumns"
QT_MOC_LITERAL(38, 473, 24), // "_q_updateSpanRemovedRows"
QT_MOC_LITERAL(39, 498, 27), // "_q_updateSpanRemovedColumns"
QT_MOC_LITERAL(40, 526, 23), // "_q_sortIndicatorChanged"
QT_MOC_LITERAL(41, 550, 8), // "showGrid"
QT_MOC_LITERAL(42, 559, 9), // "gridStyle"
QT_MOC_LITERAL(43, 569, 12), // "Qt::PenStyle"
QT_MOC_LITERAL(44, 582, 14), // "sortingEnabled"
QT_MOC_LITERAL(45, 597, 8), // "wordWrap"
QT_MOC_LITERAL(46, 606, 19) // "cornerButtonEnabled"

    },
    "QTableView\0selectRow\0\0row\0selectColumn\0"
    "column\0hideRow\0hideColumn\0showRow\0"
    "showColumn\0resizeRowToContents\0"
    "resizeRowsToContents\0resizeColumnToContents\0"
    "resizeColumnsToContents\0sortByColumn\0"
    "Qt::SortOrder\0order\0setShowGrid\0show\0"
    "rowMoved\0oldIndex\0newIndex\0columnMoved\0"
    "rowResized\0oldHeight\0newHeight\0"
    "columnResized\0oldWidth\0newWidth\0"
    "rowCountChanged\0oldCount\0newCount\0"
    "columnCountChanged\0_q_selectRow\0"
    "_q_selectColumn\0_q_updateSpanInsertedRows\0"
    "QModelIndex\0_q_updateSpanInsertedColumns\0"
    "_q_updateSpanRemovedRows\0"
    "_q_updateSpanRemovedColumns\0"
    "_q_sortIndicatorChanged\0showGrid\0"
    "gridStyle\0Qt::PenStyle\0sortingEnabled\0"
    "wordWrap\0cornerButtonEnabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QTableView[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      26,   14, // methods
       5,  258, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,  144,    2, 0x0a /* Public */,
       4,    1,  147,    2, 0x0a /* Public */,
       6,    1,  150,    2, 0x0a /* Public */,
       7,    1,  153,    2, 0x0a /* Public */,
       8,    1,  156,    2, 0x0a /* Public */,
       9,    1,  159,    2, 0x0a /* Public */,
      10,    1,  162,    2, 0x0a /* Public */,
      11,    0,  165,    2, 0x0a /* Public */,
      12,    1,  166,    2, 0x0a /* Public */,
      13,    0,  169,    2, 0x0a /* Public */,
      14,    1,  170,    2, 0x0a /* Public */,
      14,    2,  173,    2, 0x0a /* Public */,
      17,    1,  178,    2, 0x0a /* Public */,
      19,    3,  181,    2, 0x09 /* Protected */,
      22,    3,  188,    2, 0x09 /* Protected */,
      23,    3,  195,    2, 0x09 /* Protected */,
      26,    3,  202,    2, 0x09 /* Protected */,
      29,    2,  209,    2, 0x09 /* Protected */,
      32,    2,  214,    2, 0x09 /* Protected */,
      33,    1,  219,    2, 0x08 /* Private */,
      34,    1,  222,    2, 0x08 /* Private */,
      35,    3,  225,    2, 0x08 /* Private */,
      37,    3,  232,    2, 0x08 /* Private */,
      38,    3,  239,    2, 0x08 /* Private */,
      39,    3,  246,    2, 0x08 /* Private */,
      40,    2,  253,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 15,    5,   16,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,   20,   21,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    5,   20,   21,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,   24,   25,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    5,   27,   28,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   30,   31,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   30,   31,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 36, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 36, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 36, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 36, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 15,    5,   16,

 // properties: name, type, flags
      41, QMetaType::Bool, 0x00095103,
      42, 0x80000000 | 43, 0x0009510b,
      44, QMetaType::Bool, 0x00095103,
      45, QMetaType::Bool, 0x00095103,
      46, QMetaType::Bool, 0x00095103,

       0        // eod
};

void QTableView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QTableView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->selectRow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->selectColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->hideRow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->hideColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->showRow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->showColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->resizeRowToContents((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->resizeRowsToContents(); break;
        case 8: _t->resizeColumnToContents((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->resizeColumnsToContents(); break;
        case 10: _t->sortByColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->sortByColumn((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break;
        case 12: _t->setShowGrid((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 13: _t->rowMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 14: _t->columnMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 15: _t->rowResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 16: _t->columnResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 17: _t->rowCountChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 18: _t->columnCountChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 19: _t->d_func()->_q_selectRow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->d_func()->_q_selectColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->d_func()->_q_updateSpanInsertedRows((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 22: _t->d_func()->_q_updateSpanInsertedColumns((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 23: _t->d_func()->_q_updateSpanRemovedRows((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 24: _t->d_func()->_q_updateSpanRemovedColumns((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 25: _t->d_func()->_q_sortIndicatorChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QTableView *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->showGrid(); break;
        case 1: *reinterpret_cast< Qt::PenStyle*>(_v) = _t->gridStyle(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isSortingEnabled(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->wordWrap(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isCornerButtonEnabled(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QTableView *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setShowGrid(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setGridStyle(*reinterpret_cast< Qt::PenStyle*>(_v)); break;
        case 2: _t->setSortingEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setWordWrap(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setCornerButtonEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QTableView::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractItemView::staticMetaObject>(),
    qt_meta_stringdata_QTableView.data,
    qt_meta_data_QTableView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *QTableView::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *QTableView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QTableView.stringdata0))
        return static_cast<void*>(this);
    return QAbstractItemView::qt_metacast(_clname);
}

int QTableView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 26;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 5;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
