/****************************************************************************
** Meta object code from reading C++ file 'eventsheet.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/eventsheet.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'eventsheet.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_EventSheet_t {
    QByteArrayData data[56];
    char stringdata0[568];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EventSheet_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EventSheet_t qt_meta_stringdata_EventSheet = {
    {
QT_MOC_LITERAL(0, 0, 10), // "EventSheet"
QT_MOC_LITERAL(1, 11, 9), // "sendEvent"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 5), // "event"
QT_MOC_LITERAL(4, 28, 21), // "setLoopRangeFromSheet"
QT_MOC_LITERAL(5, 50, 5), // "start"
QT_MOC_LITERAL(6, 56, 3), // "end"
QT_MOC_LITERAL(7, 60, 23), // "setLoopEnabledFromSheet"
QT_MOC_LITERAL(8, 84, 7), // "enabled"
QT_MOC_LITERAL(9, 92, 8), // "modified"
QT_MOC_LITERAL(10, 101, 8), // "setTempo"
QT_MOC_LITERAL(11, 110, 5), // "value"
QT_MOC_LITERAL(12, 116, 13), // "setLoopLength"
QT_MOC_LITERAL(13, 130, 10), // "sendEvents"
QT_MOC_LITERAL(14, 141, 13), // "sendAllEvents"
QT_MOC_LITERAL(15, 155, 16), // "sendEventsOffset"
QT_MOC_LITERAL(16, 172, 10), // "loopEvents"
QT_MOC_LITERAL(17, 183, 13), // "setLoopActive"
QT_MOC_LITERAL(18, 197, 4), // "loop"
QT_MOC_LITERAL(19, 202, 8), // "markLoop"
QT_MOC_LITERAL(20, 211, 12), // "setLoopRange"
QT_MOC_LITERAL(21, 224, 13), // "stopAllEvents"
QT_MOC_LITERAL(22, 238, 3), // "del"
QT_MOC_LITERAL(23, 242, 3), // "cut"
QT_MOC_LITERAL(24, 246, 4), // "copy"
QT_MOC_LITERAL(25, 251, 5), // "paste"
QT_MOC_LITERAL(26, 257, 4), // "undo"
QT_MOC_LITERAL(27, 262, 4), // "redo"
QT_MOC_LITERAL(28, 267, 11), // "markHistory"
QT_MOC_LITERAL(29, 279, 12), // "clearHistory"
QT_MOC_LITERAL(30, 292, 18), // "setScriptDirectory"
QT_MOC_LITERAL(31, 311, 3), // "dir"
QT_MOC_LITERAL(32, 315, 8), // "subtract"
QT_MOC_LITERAL(33, 324, 3), // "add"
QT_MOC_LITERAL(34, 328, 8), // "multiply"
QT_MOC_LITERAL(35, 337, 6), // "divide"
QT_MOC_LITERAL(36, 344, 9), // "randomize"
QT_MOC_LITERAL(37, 354, 7), // "reverse"
QT_MOC_LITERAL(38, 362, 7), // "shuffle"
QT_MOC_LITERAL(39, 370, 6), // "rotate"
QT_MOC_LITERAL(40, 377, 4), // "fill"
QT_MOC_LITERAL(41, 382, 16), // "insertColumnHere"
QT_MOC_LITERAL(42, 399, 13), // "insertRowHere"
QT_MOC_LITERAL(43, 413, 12), // "appendColumn"
QT_MOC_LITERAL(44, 426, 9), // "appendRow"
QT_MOC_LITERAL(45, 436, 13), // "appendColumns"
QT_MOC_LITERAL(46, 450, 10), // "appendRows"
QT_MOC_LITERAL(47, 461, 12), // "deleteColumn"
QT_MOC_LITERAL(48, 474, 10), // "deleteRows"
QT_MOC_LITERAL(49, 485, 12), // "newSelection"
QT_MOC_LITERAL(50, 498, 21), // "cellDoubleClickedSlot"
QT_MOC_LITERAL(51, 520, 3), // "row"
QT_MOC_LITERAL(52, 524, 6), // "column"
QT_MOC_LITERAL(53, 531, 15), // "cellChangedSlot"
QT_MOC_LITERAL(54, 547, 10), // "stopScript"
QT_MOC_LITERAL(55, 558, 9) // "runScript"

    },
    "EventSheet\0sendEvent\0\0event\0"
    "setLoopRangeFromSheet\0start\0end\0"
    "setLoopEnabledFromSheet\0enabled\0"
    "modified\0setTempo\0value\0setLoopLength\0"
    "sendEvents\0sendAllEvents\0sendEventsOffset\0"
    "loopEvents\0setLoopActive\0loop\0markLoop\0"
    "setLoopRange\0stopAllEvents\0del\0cut\0"
    "copy\0paste\0undo\0redo\0markHistory\0"
    "clearHistory\0setScriptDirectory\0dir\0"
    "subtract\0add\0multiply\0divide\0randomize\0"
    "reverse\0shuffle\0rotate\0fill\0"
    "insertColumnHere\0insertRowHere\0"
    "appendColumn\0appendRow\0appendColumns\0"
    "appendRows\0deleteColumn\0deleteRows\0"
    "newSelection\0cellDoubleClickedSlot\0"
    "row\0column\0cellChangedSlot\0stopScript\0"
    "runScript"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EventSheet[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  254,    2, 0x06 /* Public */,
       4,    2,  257,    2, 0x06 /* Public */,
       7,    1,  262,    2, 0x06 /* Public */,
       9,    0,  265,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,  266,    2, 0x0a /* Public */,
      12,    1,  269,    2, 0x0a /* Public */,
      13,    0,  272,    2, 0x0a /* Public */,
      14,    0,  273,    2, 0x0a /* Public */,
      15,    0,  274,    2, 0x0a /* Public */,
      16,    0,  275,    2, 0x0a /* Public */,
      17,    1,  276,    2, 0x0a /* Public */,
      19,    2,  279,    2, 0x0a /* Public */,
      19,    1,  284,    2, 0x2a /* Public | MethodCloned */,
      19,    0,  287,    2, 0x2a /* Public | MethodCloned */,
      20,    0,  288,    2, 0x0a /* Public */,
      21,    0,  289,    2, 0x0a /* Public */,
      22,    0,  290,    2, 0x0a /* Public */,
      23,    0,  291,    2, 0x0a /* Public */,
      24,    1,  292,    2, 0x0a /* Public */,
      24,    0,  295,    2, 0x2a /* Public | MethodCloned */,
      25,    0,  296,    2, 0x0a /* Public */,
      26,    0,  297,    2, 0x0a /* Public */,
      27,    0,  298,    2, 0x0a /* Public */,
      28,    0,  299,    2, 0x0a /* Public */,
      29,    0,  300,    2, 0x0a /* Public */,
      30,    1,  301,    2, 0x0a /* Public */,
      32,    0,  304,    2, 0x0a /* Public */,
      33,    0,  305,    2, 0x0a /* Public */,
      34,    0,  306,    2, 0x0a /* Public */,
      35,    0,  307,    2, 0x0a /* Public */,
      36,    0,  308,    2, 0x0a /* Public */,
      37,    0,  309,    2, 0x0a /* Public */,
      38,    0,  310,    2, 0x0a /* Public */,
      39,    0,  311,    2, 0x0a /* Public */,
      40,    0,  312,    2, 0x0a /* Public */,
      41,    0,  313,    2, 0x0a /* Public */,
      42,    0,  314,    2, 0x0a /* Public */,
      43,    0,  315,    2, 0x0a /* Public */,
      44,    0,  316,    2, 0x0a /* Public */,
      45,    0,  317,    2, 0x0a /* Public */,
      46,    0,  318,    2, 0x0a /* Public */,
      47,    0,  319,    2, 0x0a /* Public */,
      48,    0,  320,    2, 0x0a /* Public */,
      49,    0,  321,    2, 0x08 /* Private */,
      50,    2,  322,    2, 0x08 /* Private */,
      53,    2,  327,    2, 0x08 /* Private */,
      54,    0,  332,    2, 0x08 /* Private */,
      55,    0,  333,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::Double, QMetaType::Double,    5,    6,
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Double,   11,
    QMetaType::Void, QMetaType::Double,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, QMetaType::Double, QMetaType::Double,    5,    6,
    QMetaType::Void, QMetaType::Double,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   31,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   51,   52,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   51,   52,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void EventSheet::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<EventSheet *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sendEvent((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 1: _t->setLoopRangeFromSheet((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 2: _t->setLoopEnabledFromSheet((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->modified(); break;
        case 4: _t->setTempo((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 5: _t->setLoopLength((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 6: _t->sendEvents(); break;
        case 7: _t->sendAllEvents(); break;
        case 8: _t->sendEventsOffset(); break;
        case 9: _t->loopEvents(); break;
        case 10: _t->setLoopActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 11: _t->markLoop((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 12: _t->markLoop((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 13: _t->markLoop(); break;
        case 14: _t->setLoopRange(); break;
        case 15: _t->stopAllEvents(); break;
        case 16: _t->del(); break;
        case 17: _t->cut(); break;
        case 18: _t->copy((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: _t->copy(); break;
        case 20: _t->paste(); break;
        case 21: _t->undo(); break;
        case 22: _t->redo(); break;
        case 23: _t->markHistory(); break;
        case 24: _t->clearHistory(); break;
        case 25: _t->setScriptDirectory((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 26: _t->subtract(); break;
        case 27: _t->add(); break;
        case 28: _t->multiply(); break;
        case 29: _t->divide(); break;
        case 30: _t->randomize(); break;
        case 31: _t->reverse(); break;
        case 32: _t->shuffle(); break;
        case 33: _t->rotate(); break;
        case 34: _t->fill(); break;
        case 35: _t->insertColumnHere(); break;
        case 36: _t->insertRowHere(); break;
        case 37: _t->appendColumn(); break;
        case 38: _t->appendRow(); break;
        case 39: _t->appendColumns(); break;
        case 40: _t->appendRows(); break;
        case 41: _t->deleteColumn(); break;
        case 42: _t->deleteRows(); break;
        case 43: _t->newSelection(); break;
        case 44: _t->cellDoubleClickedSlot((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 45: _t->cellChangedSlot((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 46: _t->stopScript(); break;
        case 47: _t->runScript(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (EventSheet::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventSheet::sendEvent)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (EventSheet::*)(double , double );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventSheet::setLoopRangeFromSheet)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (EventSheet::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventSheet::setLoopEnabledFromSheet)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (EventSheet::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&EventSheet::modified)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject EventSheet::staticMetaObject = { {
    QMetaObject::SuperData::link<QTableWidget::staticMetaObject>(),
    qt_meta_stringdata_EventSheet.data,
    qt_meta_data_EventSheet,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int EventSheet::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTableWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 48)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 48;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 48)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 48;
    }
    return _id;
}

// SIGNAL 0
void EventSheet::sendEvent(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void EventSheet::setLoopRangeFromSheet(double _t1, double _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void EventSheet::setLoopEnabledFromSheet(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void EventSheet::modified()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
