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

#include <memory>
#include "../../../drumstick-2.6.1/utils/playsmf/playsmf.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'playsmf.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.4. 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_PlaySMF_t {
    QByteArrayData data[34];
    char stringdata0[283];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PlaySMF_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PlaySMF_t qt_meta_stringdata_PlaySMF = {
    {
QT_MOC_LITERAL(0, 0, 7), // "PlaySMF"
QT_MOC_LITERAL(1, 8, 11), // "headerEvent"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 6), // "format"
QT_MOC_LITERAL(4, 28, 5), // "ntrks"
QT_MOC_LITERAL(5, 34, 8), // "division"
QT_MOC_LITERAL(6, 43, 11), // "noteOnEvent"
QT_MOC_LITERAL(7, 55, 4), // "chan"
QT_MOC_LITERAL(8, 60, 5), // "pitch"
QT_MOC_LITERAL(9, 66, 3), // "vol"
QT_MOC_LITERAL(10, 70, 12), // "noteOffEvent"
QT_MOC_LITERAL(11, 83, 13), // "keyPressEvent"
QT_MOC_LITERAL(12, 97, 5), // "press"
QT_MOC_LITERAL(13, 103, 14), // "ctlChangeEvent"
QT_MOC_LITERAL(14, 118, 3), // "ctl"
QT_MOC_LITERAL(15, 122, 5), // "value"
QT_MOC_LITERAL(16, 128, 14), // "pitchBendEvent"
QT_MOC_LITERAL(17, 143, 12), // "programEvent"
QT_MOC_LITERAL(18, 156, 5), // "patch"
QT_MOC_LITERAL(19, 162, 14), // "chanPressEvent"
QT_MOC_LITERAL(20, 177, 10), // "sysexEvent"
QT_MOC_LITERAL(21, 188, 4), // "data"
QT_MOC_LITERAL(22, 193, 9), // "textEvent"
QT_MOC_LITERAL(23, 203, 3), // "typ"
QT_MOC_LITERAL(24, 207, 10), // "tempoEvent"
QT_MOC_LITERAL(25, 218, 5), // "tempo"
QT_MOC_LITERAL(26, 224, 12), // "timeSigEvent"
QT_MOC_LITERAL(27, 237, 2), // "b0"
QT_MOC_LITERAL(28, 240, 2), // "b1"
QT_MOC_LITERAL(29, 243, 2), // "b2"
QT_MOC_LITERAL(30, 246, 2), // "b3"
QT_MOC_LITERAL(31, 249, 11), // "keySigEvent"
QT_MOC_LITERAL(32, 261, 12), // "errorHandler"
QT_MOC_LITERAL(33, 274, 8) // "errorStr"

    },
    "PlaySMF\0headerEvent\0\0format\0ntrks\0"
    "division\0noteOnEvent\0chan\0pitch\0vol\0"
    "noteOffEvent\0keyPressEvent\0press\0"
    "ctlChangeEvent\0ctl\0value\0pitchBendEvent\0"
    "programEvent\0patch\0chanPressEvent\0"
    "sysexEvent\0data\0textEvent\0typ\0tempoEvent\0"
    "tempo\0timeSigEvent\0b0\0b1\0b2\0b3\0"
    "keySigEvent\0errorHandler\0errorStr"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PlaySMF[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    3,   84,    2, 0x0a /* Public */,
       6,    3,   91,    2, 0x0a /* Public */,
      10,    3,   98,    2, 0x0a /* Public */,
      11,    3,  105,    2, 0x0a /* Public */,
      13,    3,  112,    2, 0x0a /* Public */,
      16,    2,  119,    2, 0x0a /* Public */,
      17,    2,  124,    2, 0x0a /* Public */,
      19,    2,  129,    2, 0x0a /* Public */,
      20,    1,  134,    2, 0x0a /* Public */,
      22,    2,  137,    2, 0x0a /* Public */,
      24,    1,  142,    2, 0x0a /* Public */,
      26,    4,  145,    2, 0x0a /* Public */,
      31,    2,  154,    2, 0x0a /* Public */,
      32,    1,  159,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    3,    4,    5,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    7,    8,    9,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    7,    8,    9,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    7,    8,   12,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    7,   14,   15,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,   15,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,   18,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,   12,
    QMetaType::Void, QMetaType::QByteArray,   21,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,   23,   21,
    QMetaType::Void, QMetaType::Int,   25,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   27,   28,   29,   30,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   27,   28,
    QMetaType::Void, QMetaType::QString,   33,

       0        // eod
};

void PlaySMF::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PlaySMF *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->headerEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 1: _t->noteOnEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 2: _t->noteOffEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 3: _t->keyPressEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 4: _t->ctlChangeEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 5: _t->pitchBendEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->programEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->chanPressEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: _t->sysexEvent((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 9: _t->textEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 10: _t->tempoEvent((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->timeSigEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 12: _t->keySigEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 13: _t->errorHandler((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject PlaySMF::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_PlaySMF.data,
    qt_meta_data_PlaySMF,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int PlaySMF::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
