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

#include <memory>
#include "../../src/qutesheet.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qutesheet.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_QuteSheet_t {
    QByteArrayData data[31];
    char stringdata0[308];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QuteSheet_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QuteSheet_t qt_meta_stringdata_QuteSheet = {
    {
QT_MOC_LITERAL(0, 0, 9), // "QuteSheet"
QT_MOC_LITERAL(1, 10, 13), // "new_QuteSheet"
QT_MOC_LITERAL(2, 24, 10), // "QuteSheet*"
QT_MOC_LITERAL(3, 35, 0), // ""
QT_MOC_LITERAL(4, 36, 16), // "delete_QuteSheet"
QT_MOC_LITERAL(5, 53, 1), // "o"
QT_MOC_LITERAL(6, 55, 4), // "text"
QT_MOC_LITERAL(7, 60, 7), // "allRows"
QT_MOC_LITERAL(8, 68, 23), // "QList<QList<QVariant> >"
QT_MOC_LITERAL(9, 92, 13), // "selectionText"
QT_MOC_LITERAL(10, 106, 9), // "selection"
QT_MOC_LITERAL(11, 116, 13), // "selectionRows"
QT_MOC_LITERAL(12, 130, 17), // "selectionFullRows"
QT_MOC_LITERAL(13, 148, 12), // "setCellValue"
QT_MOC_LITERAL(14, 161, 3), // "row"
QT_MOC_LITERAL(15, 165, 6), // "column"
QT_MOC_LITERAL(16, 172, 4), // "data"
QT_MOC_LITERAL(17, 177, 7), // "setRows"
QT_MOC_LITERAL(18, 185, 8), // "new_data"
QT_MOC_LITERAL(19, 194, 12), // "new_startRow"
QT_MOC_LITERAL(20, 207, 12), // "new_startCol"
QT_MOC_LITERAL(21, 220, 11), // "new_numRows"
QT_MOC_LITERAL(22, 232, 11), // "new_numCols"
QT_MOC_LITERAL(23, 244, 9), // "setValues"
QT_MOC_LITERAL(24, 254, 7), // "setText"
QT_MOC_LITERAL(25, 262, 4), // "sort"
QT_MOC_LITERAL(26, 267, 7), // "vectors"
QT_MOC_LITERAL(27, 275, 7), // "p_field"
QT_MOC_LITERAL(28, 283, 9), // "transpose"
QT_MOC_LITERAL(29, 293, 3), // "mtx"
QT_MOC_LITERAL(30, 297, 10) // "rowsToText"

    },
    "QuteSheet\0new_QuteSheet\0QuteSheet*\0\0"
    "delete_QuteSheet\0o\0text\0allRows\0"
    "QList<QList<QVariant> >\0selectionText\0"
    "selection\0selectionRows\0selectionFullRows\0"
    "setCellValue\0row\0column\0data\0setRows\0"
    "new_data\0new_startRow\0new_startCol\0"
    "new_numRows\0new_numCols\0setValues\0"
    "setText\0sort\0vectors\0p_field\0transpose\0"
    "mtx\0rowsToText"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QuteSheet[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  154,    3, 0x0a /* Public */,
       4,    1,  155,    3, 0x0a /* Public */,
       6,    1,  158,    3, 0x0a /* Public */,
       7,    1,  161,    3, 0x0a /* Public */,
       9,    1,  164,    3, 0x0a /* Public */,
      10,    1,  167,    3, 0x0a /* Public */,
      11,    1,  170,    3, 0x0a /* Public */,
      12,    1,  173,    3, 0x0a /* Public */,
      13,    4,  176,    3, 0x0a /* Public */,
      17,    5,  185,    3, 0x0a /* Public */,
      17,    4,  196,    3, 0x2a /* Public | MethodCloned */,
      17,    3,  205,    3, 0x2a /* Public | MethodCloned */,
      17,    2,  212,    3, 0x2a /* Public | MethodCloned */,
      17,    1,  217,    3, 0x2a /* Public | MethodCloned */,
      23,    5,  220,    3, 0x0a /* Public */,
      23,    4,  231,    3, 0x2a /* Public | MethodCloned */,
      23,    3,  240,    3, 0x2a /* Public | MethodCloned */,
      23,    2,  247,    3, 0x2a /* Public | MethodCloned */,
      23,    1,  252,    3, 0x2a /* Public | MethodCloned */,
      24,    5,  255,    3, 0x0a /* Public */,
      24,    4,  266,    3, 0x2a /* Public | MethodCloned */,
      24,    3,  275,    3, 0x2a /* Public | MethodCloned */,
      24,    2,  282,    3, 0x2a /* Public | MethodCloned */,
      24,    1,  287,    3, 0x2a /* Public | MethodCloned */,
      25,    2,  290,    3, 0x0a /* Public */,
      25,    1,  295,    3, 0x2a /* Public | MethodCloned */,
      28,    1,  298,    3, 0x0a /* Public */,
      30,    1,  301,    3, 0x0a /* Public */,

 // slots: parameters
    0x80000000 | 2,
    QMetaType::Void, 0x80000000 | 2,    5,
    QMetaType::QString, 0x80000000 | 2,    5,
    0x80000000 | 8, 0x80000000 | 2,    5,
    QMetaType::QString, 0x80000000 | 2,    5,
    QMetaType::QVariantList, 0x80000000 | 2,    5,
    0x80000000 | 8, 0x80000000 | 2,    5,
    0x80000000 | 8, 0x80000000 | 2,    5,
    QMetaType::Void, 0x80000000 | 2, QMetaType::Int, QMetaType::Int, QMetaType::QVariant,    5,   14,   15,   16,
    QMetaType::Bool, 0x80000000 | 8, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   18,   19,   20,   21,   22,
    QMetaType::Bool, 0x80000000 | 8, QMetaType::Int, QMetaType::Int, QMetaType::Int,   18,   19,   20,   21,
    QMetaType::Bool, 0x80000000 | 8, QMetaType::Int, QMetaType::Int,   18,   19,   20,
    QMetaType::Bool, 0x80000000 | 8, QMetaType::Int,   18,   19,
    QMetaType::Bool, 0x80000000 | 8,   18,
    QMetaType::Bool, QMetaType::QVariantList, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   18,   19,   20,   21,   22,
    QMetaType::Bool, QMetaType::QVariantList, QMetaType::Int, QMetaType::Int, QMetaType::Int,   18,   19,   20,   21,
    QMetaType::Bool, QMetaType::QVariantList, QMetaType::Int, QMetaType::Int,   18,   19,   20,
    QMetaType::Bool, QMetaType::QVariantList, QMetaType::Int,   18,   19,
    QMetaType::Bool, QMetaType::QVariantList,   18,
    QMetaType::Bool, QMetaType::QString, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,    6,   19,   20,   21,   22,
    QMetaType::Bool, QMetaType::QString, QMetaType::Int, QMetaType::Int, QMetaType::Int,    6,   19,   20,   21,
    QMetaType::Bool, QMetaType::QString, QMetaType::Int, QMetaType::Int,    6,   19,   20,
    QMetaType::Bool, QMetaType::QString, QMetaType::Int,    6,   19,
    QMetaType::Bool, QMetaType::QString,    6,
    0x80000000 | 8, 0x80000000 | 8, QMetaType::Int,   26,   27,
    0x80000000 | 8, 0x80000000 | 8,   26,
    0x80000000 | 8, 0x80000000 | 8,   29,
    QMetaType::QString, 0x80000000 | 8,   16,

       0        // eod
};

void QuteSheet::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QuteSheet *>(_o);
        (void)_t;
        switch (_id) {
        case 0: { QuteSheet* _r = _t->new_QuteSheet();
            if (_a[0]) *reinterpret_cast< QuteSheet**>(_a[0]) = std::move(_r); }  break;
        case 1: _t->delete_QuteSheet((*reinterpret_cast< QuteSheet*(*)>(_a[1]))); break;
        case 2: { QString _r = _t->text((*reinterpret_cast< QuteSheet*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 3: { QList<QList<QVariant> > _r = _t->allRows((*reinterpret_cast< QuteSheet*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<QList<QVariant> >*>(_a[0]) = std::move(_r); }  break;
        case 4: { QString _r = _t->selectionText((*reinterpret_cast< QuteSheet*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 5: { QList<QVariant> _r = _t->selection((*reinterpret_cast< QuteSheet*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<QVariant>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QList<QList<QVariant> > _r = _t->selectionRows((*reinterpret_cast< QuteSheet*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<QList<QVariant> >*>(_a[0]) = std::move(_r); }  break;
        case 7: { QList<QList<QVariant> > _r = _t->selectionFullRows((*reinterpret_cast< QuteSheet*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<QList<QVariant> >*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->setCellValue((*reinterpret_cast< QuteSheet*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< QVariant(*)>(_a[4]))); break;
        case 9: { bool _r = _t->setRows((*reinterpret_cast< QList<QList<QVariant> >(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 10: { bool _r = _t->setRows((*reinterpret_cast< QList<QList<QVariant> >(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->setRows((*reinterpret_cast< QList<QList<QVariant> >(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 12: { bool _r = _t->setRows((*reinterpret_cast< QList<QList<QVariant> >(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 13: { bool _r = _t->setRows((*reinterpret_cast< QList<QList<QVariant> >(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 14: { bool _r = _t->setValues((*reinterpret_cast< QList<QVariant>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 15: { bool _r = _t->setValues((*reinterpret_cast< QList<QVariant>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 16: { bool _r = _t->setValues((*reinterpret_cast< QList<QVariant>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 17: { bool _r = _t->setValues((*reinterpret_cast< QList<QVariant>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 18: { bool _r = _t->setValues((*reinterpret_cast< QList<QVariant>(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 19: { bool _r = _t->setText((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 20: { bool _r = _t->setText((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 21: { bool _r = _t->setText((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 22: { bool _r = _t->setText((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 23: { bool _r = _t->setText((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 24: { QList<QList<QVariant> > _r = _t->sort((*reinterpret_cast< QList<QList<QVariant> >(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QList<QList<QVariant> >*>(_a[0]) = std::move(_r); }  break;
        case 25: { QList<QList<QVariant> > _r = _t->sort((*reinterpret_cast< QList<QList<QVariant> >(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<QList<QVariant> >*>(_a[0]) = std::move(_r); }  break;
        case 26: { QList<QList<QVariant> > _r = _t->transpose((*reinterpret_cast< QList<QList<QVariant> >(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QList<QList<QVariant> >*>(_a[0]) = std::move(_r); }  break;
        case 27: { QString _r = _t->rowsToText((*reinterpret_cast< QList<QList<QVariant> >(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteSheet* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteSheet* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteSheet* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteSheet* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteSheet* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteSheet* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteSheet* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QuteSheet* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QList<QVariant> > >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QList<QVariant> > >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QList<QVariant> > >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QList<QVariant> > >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QList<QVariant> > >(); break;
            }
            break;
        case 24:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QList<QVariant> > >(); break;
            }
            break;
        case 25:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QList<QVariant> > >(); break;
            }
            break;
        case 26:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QList<QVariant> > >(); break;
            }
            break;
        case 27:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QList<QVariant> > >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QuteSheet::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QuteSheet.data,
    qt_meta_data_QuteSheet,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QuteSheet::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
