/****************************************************************************
** Meta object code from reading C++ file 'Matrix.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/Matrix.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Matrix.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_Matrix[] = {

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

 // signals: signature, parameters, type, tag, flags
       7,   25,   25,   25, 0x05,

 // slots: signature, parameters, type, tag, flags
      26,   45,   25,   25, 0x0a,
      54,   25,   25,   25, 0x0a,
      62,   45,   25,   25, 0x0a,
      77,   25,   25,   25, 0x0a,
      92,  113,   25,   25, 0x0a,
     119,  142,   25,   25, 0x0a,
     152,   25,   25,   25, 0x0a,
     164,   25,   25,   25, 0x0a,
     173,   25,  187,   25, 0x0a,
     194,   25,  208,   25, 0x0a,
     213,  227,  235,   25, 0x0a,
     243,  268,   25,   25, 0x0a,
     285,  227,  187,   25, 0x0a,
     299,  323,   25,   25, 0x0a,
     337,   25,  350,   25, 0x0a,
     356,   25,  368,   25, 0x0a,
     372,  397,   25,   25, 0x0a,
     402,  427,   25,   25, 0x0a,
     444,  472,   25,   25, 0x0a,
     479,   25,  235,   25, 0x0a,
     489,  509,   25,   25, 0x0a,
     511,  535,  235,   25, 0x0a,
     540,  535,  235,   25, 0x0a,
     562,   25,  235,   25, 0x0a,
     573,   25,   25,   25, 0x0a,
     588,   25,   25,   25, 0x0a,
     604,   25,   25,   25, 0x0a,
     621,   25,   25,   25, 0x0a,
     638,   25,   25,   25, 0x0a,
     650,   25,  208,   25, 0x0a,
     665,   25,   25,   25, 0x0a,
     686,   25,  368,   25, 0x0a,
     704,   25,   25,   25, 0x0a,
     719,   25,  208,   25, 0x0a,
     737,   25,   25,   25, 0x0a,
     761,   25,  368,   25, 0x0a,
     782,   25,   25,   25, 0x0a,
     802,   25,   25,   25, 0x0a,
     821,   25,  187,   25, 0x0a,
     830,   25,  187,   25, 0x0a,
     837,   25,  187,   25, 0x0a,
     846,   25,  187,   25, 0x0a,
     853,   25,  868,   25, 0x0a,
     882,  926,   25,   25, 0x0a,
     938,  961,   25,   25, 0x0a,
     969,  997, 1010,   25, 0x0a,
    1019, 1048,   25,   25, 0x0a,
    1058, 1090, 1100,   25, 0x0a,
    1108, 1122,   25,   25, 0x0a,
    1124,   25,  235,   25, 0x0a,
    1136,   25,   25,   25, 0x09,
    1151,   25,   25,   25, 0x09,
    1165,   25,   25,   25, 0x09,
    1175,   25,   25,   25, 0x09,
    1195, 1248,   25,   25, 0x09,

       0        // eod
};

static const char qt_meta_stringdata_Matrix[] = {
    "Matrix\0showContextMenu()\0\0exportPDF(QString)\0"
    "fileName\0print()\0print(QString)\0"
    "handleChange()\0setColumnsWidth(int)\0"
    "width\0setDimensions(int,int)\0rows,cols\0"
    "transpose()\0invert()\0determinant()\0"
    "double\0recalculate()\0bool\0text(int,int)\0"
    "row,col\0QString\0setText(int,int,QString)\0"
    "row,col,new_text\0cell(int,int)\0"
    "setCell(int,int,double)\0row,col,value\0"
    "textFormat()\0QChar\0precision()\0int\0"
    "setNumericPrecision(int)\0prec\0"
    "setTextFormat(QChar,int)\0format,precision\0"
    "setNumericFormat(QChar,int)\0f,prec\0"
    "formula()\0setFormula(QString)\0s\0"
    "saveAsTemplate(QString)\0info\0"
    "saveToString(QString)\0saveText()\0"
    "cutSelection()\0copySelection()\0"
    "clearSelection()\0pasteSelection()\0"
    "insertRow()\0rowsSelected()\0"
    "deleteSelectedRows()\0numSelectedRows()\0"
    "insertColumn()\0columnsSelected()\0"
    "deleteSelectedColumns()\0numSelectedColumns()\0"
    "saveCellsToMemory()\0forgetSavedCells()\0"
    "xStart()\0xEnd()\0yStart()\0yEnd()\0"
    "boundingRect()\0QwtDoubleRect\0"
    "setCoordinates(double,double,double,double)\0"
    "xs,xe,ys,ye\0range(double*,double*)\0"
    "min,max\0allocateMatrixData(int,int)\0"
    "rows,columns\0double**\0"
    "freeMatrixData(double**,int)\0data,rows\0"
    "fromImage(QImage,ScriptingEnv*)\0"
    "image,env\0Matrix*\0copy(Matrix*)\0m\0"
    "birthDate()\0applyFormula()\0addFunction()\0"
    "addCell()\0updateFunctionDoc()\0"
    "handleAspectDescriptionChange(const AbstractAspect*)\0"
    "aspect\0"
};

void Matrix::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        Matrix *_t = static_cast<Matrix *>(_o);
        switch (_id) {
        case 0: _t->showContextMenu(); break;
        case 1: _t->exportPDF((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->print(); break;
        case 3: _t->print((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->handleChange(); break;
        case 5: _t->setColumnsWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setDimensions((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->transpose(); break;
        case 8: _t->invert(); break;
        case 9: { double _r = _t->determinant();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 10: { bool _r = _t->recalculate();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 11: { QString _r = _t->text((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 12: _t->setText((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 13: { double _r = _t->cell((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 14: _t->setCell((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
        case 15: { QChar _r = _t->textFormat();
            if (_a[0]) *reinterpret_cast< QChar*>(_a[0]) = _r; }  break;
        case 16: { int _r = _t->precision();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 17: _t->setNumericPrecision((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->setTextFormat((*reinterpret_cast< const QChar(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 19: _t->setNumericFormat((*reinterpret_cast< const QChar(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 20: { QString _r = _t->formula();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 21: _t->setFormula((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 22: { QString _r = _t->saveAsTemplate((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 23: { QString _r = _t->saveToString((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 24: { QString _r = _t->saveText();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 25: _t->cutSelection(); break;
        case 26: _t->copySelection(); break;
        case 27: _t->clearSelection(); break;
        case 28: _t->pasteSelection(); break;
        case 29: _t->insertRow(); break;
        case 30: { bool _r = _t->rowsSelected();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 31: _t->deleteSelectedRows(); break;
        case 32: { int _r = _t->numSelectedRows();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 33: _t->insertColumn(); break;
        case 34: { bool _r = _t->columnsSelected();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 35: _t->deleteSelectedColumns(); break;
        case 36: { int _r = _t->numSelectedColumns();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 37: _t->saveCellsToMemory(); break;
        case 38: _t->forgetSavedCells(); break;
        case 39: { double _r = _t->xStart();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 40: { double _r = _t->xEnd();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 41: { double _r = _t->yStart();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 42: { double _r = _t->yEnd();
            if (_a[0]) *reinterpret_cast< double*>(_a[0]) = _r; }  break;
        case 43: { QwtDoubleRect _r = _t->boundingRect();
            if (_a[0]) *reinterpret_cast< QwtDoubleRect*>(_a[0]) = _r; }  break;
        case 44: _t->setCoordinates((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< double(*)>(_a[4]))); break;
        case 45: _t->range((*reinterpret_cast< double*(*)>(_a[1])),(*reinterpret_cast< double*(*)>(_a[2]))); break;
        case 46: { double** _r = _t->allocateMatrixData((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< double***>(_a[0]) = _r; }  break;
        case 47: _t->freeMatrixData((*reinterpret_cast< double**(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 48: { Matrix* _r = _t->fromImage((*reinterpret_cast< const QImage(*)>(_a[1])),(*reinterpret_cast< ScriptingEnv*(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< Matrix**>(_a[0]) = _r; }  break;
        case 49: _t->copy((*reinterpret_cast< Matrix*(*)>(_a[1]))); break;
        case 50: { QString _r = _t->birthDate();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 51: _t->applyFormula(); break;
        case 52: _t->addFunction(); break;
        case 53: _t->addCell(); break;
        case 54: _t->updateFunctionDoc(); break;
        case 55: _t->handleAspectDescriptionChange((*reinterpret_cast< const AbstractAspect*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

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

const QMetaObject Matrix::staticMetaObject = {
    { &MatrixView::staticMetaObject, qt_meta_stringdata_Matrix,
      qt_meta_data_Matrix, &staticMetaObjectExtraData }
};

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

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

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

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

// SIGNAL 0
void Matrix::showContextMenu()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
QT_END_MOC_NAMESPACE
