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

#include "../../scidavis/src/future/matrix/MatrixView.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MatrixView.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_MatrixViewWidget[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       2,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: signature, parameters, type, tag, flags
      17,   31,   31,   31, 0x05,

 // slots: signature, parameters, type, tag, flags
      32,   31,   31,   31, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_MatrixViewWidget[] = {
    "MatrixViewWidget\0advanceCell()\0\0"
    "selectAll()\0"
};

void MatrixViewWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        MatrixViewWidget *_t = static_cast<MatrixViewWidget *>(_o);
        switch (_id) {
        case 0: _t->advanceCell(); break;
        case 1: _t->selectAll(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObjectExtraData MatrixViewWidget::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject MatrixViewWidget::staticMetaObject = {
    { &QTableView::staticMetaObject, qt_meta_stringdata_MatrixViewWidget,
      qt_meta_data_MatrixViewWidget, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &MatrixViewWidget::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *MatrixViewWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_MatrixViewWidget))
        return static_cast<void*>(const_cast< MatrixViewWidget*>(this));
    return QTableView::qt_metacast(_clname);
}

int MatrixViewWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTableView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void MatrixViewWidget::advanceCell()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
static const uint qt_meta_data_MatrixView[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
      17,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: signature, parameters, type, tag, flags
      11,   44,   52,   52, 0x05,

 // slots: signature, parameters, type, tag, flags
      53,   52,   52,   52, 0x0a,
      74,   92,   52,   52, 0x0a,
     100,   52,   52,   52, 0x0a,
     112,   52,   52,   52, 0x0a,
     134,   52,   52,   52, 0x0a,
     162,   52,   52,   52, 0x0a,
     185,   52,   52,   52, 0x0a,
     209,   52,   52,   52, 0x0a,
     228,   52,   52,   52, 0x0a,
     251,   52,   52,   52, 0x0a,
     270,   52,   52,   52, 0x0a,
     288,   52,   52,   52, 0x0a,
     302,  346,   52,   52, 0x0a,
     375,  346,   52,   52, 0x0a,
     417,   52,   52,   52, 0x09,
     431,   52,   52,   52, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_MatrixView[] = {
    "MatrixView\0controlTabBarStatusChanged(bool)\0"
    "visible\0\0rereadSectionSizes()\0"
    "goToCell(int,int)\0row,col\0selectAll()\0"
    "toggleControlTabBar()\0showControlCoordinatesTab()\0"
    "showControlFormatTab()\0showControlFormulaTab()\0"
    "applyCoordinates()\0updateCoordinatesTab()\0"
    "updateFormulaTab()\0updateFormatTab()\0"
    "applyFormat()\0handleHorizontalSectionResized(int,int,int)\0"
    "logicalIndex,oldSize,newSize\0"
    "handleVerticalSectionResized(int,int,int)\0"
    "advanceCell()\0updateTypeInfo()\0"
};

void MatrixView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        MatrixView *_t = static_cast<MatrixView *>(_o);
        switch (_id) {
        case 0: _t->controlTabBarStatusChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->rereadSectionSizes(); break;
        case 2: _t->goToCell((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->selectAll(); break;
        case 4: _t->toggleControlTabBar(); break;
        case 5: _t->showControlCoordinatesTab(); break;
        case 6: _t->showControlFormatTab(); break;
        case 7: _t->showControlFormulaTab(); break;
        case 8: _t->applyCoordinates(); break;
        case 9: _t->updateCoordinatesTab(); break;
        case 10: _t->updateFormulaTab(); break;
        case 11: _t->updateFormatTab(); break;
        case 12: _t->applyFormat(); break;
        case 13: _t->handleHorizontalSectionResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 14: _t->handleVerticalSectionResized((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 15: _t->advanceCell(); break;
        case 16: _t->updateTypeInfo(); break;
        default: ;
        }
    }
}

const QMetaObjectExtraData MatrixView::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject MatrixView::staticMetaObject = {
    { &MyWidget::staticMetaObject, qt_meta_stringdata_MatrixView,
      qt_meta_data_MatrixView, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &MatrixView::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *MatrixView::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_MatrixView))
        return static_cast<void*>(const_cast< MatrixView*>(this));
    return MyWidget::qt_metacast(_clname);
}

int MatrixView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MyWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    return _id;
}

// SIGNAL 0
void MatrixView::controlTabBarStatusChanged(bool _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
