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

#include "../../../../src/qtbase-opensource-src-5.4.2/src/widgets/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.4.2. 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
struct qt_meta_stringdata_QTableView_t {
    QByteArrayData data[43];
    char stringdata[570];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QTableView_t, stringdata) + 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, 11), // "setShowGrid"
QT_MOC_LITERAL(16, 197, 4), // "show"
QT_MOC_LITERAL(17, 202, 8), // "rowMoved"
QT_MOC_LITERAL(18, 211, 8), // "oldIndex"
QT_MOC_LITERAL(19, 220, 8), // "newIndex"
QT_MOC_LITERAL(20, 229, 11), // "columnMoved"
QT_MOC_LITERAL(21, 241, 10), // "rowResized"
QT_MOC_LITERAL(22, 252, 9), // "oldHeight"
QT_MOC_LITERAL(23, 262, 9), // "newHeight"
QT_MOC_LITERAL(24, 272, 13), // "columnResized"
QT_MOC_LITERAL(25, 286, 8), // "oldWidth"
QT_MOC_LITERAL(26, 295, 8), // "newWidth"
QT_MOC_LITERAL(27, 304, 15), // "rowCountChanged"
QT_MOC_LITERAL(28, 320, 8), // "oldCount"
QT_MOC_LITERAL(29, 329, 8), // "newCount"
QT_MOC_LITERAL(30, 338, 18), // "columnCountChanged"
QT_MOC_LITERAL(31, 357, 12), // "_q_selectRow"
QT_MOC_LITERAL(32, 370, 15), // "_q_selectColumn"
QT_MOC_LITERAL(33, 386, 25), // "_q_updateSpanInsertedRows"
QT_MOC_LITERAL(34, 412, 28), // "_q_updateSpanInsertedColumns"
QT_MOC_LITERAL(35, 441, 24), // "_q_updateSpanRemovedRows"
QT_MOC_LITERAL(36, 466, 27), // "_q_updateSpanRemovedColumns"
QT_MOC_LITERAL(37, 494, 8), // "showGrid"
QT_MOC_LITERAL(38, 503, 9), // "gridStyle"
QT_MOC_LITERAL(39, 513, 12), // "Qt::PenStyle"
QT_MOC_LITERAL(40, 526, 14), // "sortingEnabled"
QT_MOC_LITERAL(41, 541, 8), // "wordWrap"
QT_MOC_LITERAL(42, 550, 19) // "cornerButtonEnabled"

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

static const uint qt_meta_data_QTableView[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      24,   14, // methods
       5,  238, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,  134,    2, 0x0a /* Public */,
       4,    1,  137,    2, 0x0a /* Public */,
       6,    1,  140,    2, 0x0a /* Public */,
       7,    1,  143,    2, 0x0a /* Public */,
       8,    1,  146,    2, 0x0a /* Public */,
       9,    1,  149,    2, 0x0a /* Public */,
      10,    1,  152,    2, 0x0a /* Public */,
      11,    0,  155,    2, 0x0a /* Public */,
      12,    1,  156,    2, 0x0a /* Public */,
      13,    0,  159,    2, 0x0a /* Public */,
      14,    1,  160,    2, 0x0a /* Public */,
      15,    1,  163,    2, 0x0a /* Public */,
      17,    3,  166,    2, 0x09 /* Protected */,
      20,    3,  173,    2, 0x09 /* Protected */,
      21,    3,  180,    2, 0x09 /* Protected */,
      24,    3,  187,    2, 0x09 /* Protected */,
      27,    2,  194,    2, 0x09 /* Protected */,
      30,    2,  199,    2, 0x09 /* Protected */,
      31,    1,  204,    2, 0x08 /* Private */,
      32,    1,  207,    2, 0x08 /* Private */,
      33,    3,  210,    2, 0x08 /* Private */,
      34,    3,  217,    2, 0x08 /* Private */,
      35,    3,  224,    2, 0x08 /* Private */,
      36,    3,  231,    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::Bool,   16,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,   18,   19,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    5,   18,   19,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,   22,   23,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    5,   25,   26,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   28,   29,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   28,   29,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    2,    2,    2,

 // properties: name, type, flags
      37, QMetaType::Bool, 0x00095103,
      38, 0x80000000 | 39, 0x0009510b,
      40, QMetaType::Bool, 0x00095103,
      41, QMetaType::Bool, 0x00095103,
      42, QMetaType::Bool, 0x00095103,

       0        // eod
};

void QTableView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QTableView *_t = static_cast<QTableView *>(_o);
        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->setShowGrid((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->rowMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 13: _t->columnMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 14: _t->rowResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 15: _t->columnResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 16: _t->rowCountChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 17: _t->columnCountChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 18: _t->d_func()->_q_selectRow((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->d_func()->_q_selectColumn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->d_func()->_q_updateSpanInsertedRows((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 21: _t->d_func()->_q_updateSpanInsertedColumns((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 22: _t->d_func()->_q_updateSpanRemovedRows((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 23: _t->d_func()->_q_updateSpanRemovedColumns((*reinterpret_cast< QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        default: ;
        }
    }
}

const QMetaObject QTableView::staticMetaObject = {
    { &QAbstractItemView::staticMetaObject, qt_meta_stringdata_QTableView.data,
      qt_meta_data_QTableView,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QTableView.stringdata))
        return static_cast<void*>(const_cast< QTableView*>(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 < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 24;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = showGrid(); break;
        case 1: *reinterpret_cast< Qt::PenStyle*>(_v) = gridStyle(); break;
        case 2: *reinterpret_cast< bool*>(_v) = isSortingEnabled(); break;
        case 3: *reinterpret_cast< bool*>(_v) = wordWrap(); break;
        case 4: *reinterpret_cast< bool*>(_v) = isCornerButtonEnabled(); break;
        default: break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setShowGrid(*reinterpret_cast< bool*>(_v)); break;
        case 1: setGridStyle(*reinterpret_cast< Qt::PenStyle*>(_v)); break;
        case 2: setSortingEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 3: setWordWrap(*reinterpret_cast< bool*>(_v)); break;
        case 4: setCornerButtonEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
        _id -= 5;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
