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

#include <memory>
#include "../../../drumstick-2.7.2/utils/playsmf/playsmf.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 != 68
#error "This file was generated using the moc from 6.4.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
namespace {
struct qt_meta_stringdata_PlaySMF_t {
    uint offsetsAndSizes[68];
    char stringdata0[8];
    char stringdata1[12];
    char stringdata2[1];
    char stringdata3[7];
    char stringdata4[6];
    char stringdata5[9];
    char stringdata6[12];
    char stringdata7[5];
    char stringdata8[6];
    char stringdata9[4];
    char stringdata10[13];
    char stringdata11[14];
    char stringdata12[6];
    char stringdata13[15];
    char stringdata14[4];
    char stringdata15[6];
    char stringdata16[15];
    char stringdata17[13];
    char stringdata18[6];
    char stringdata19[15];
    char stringdata20[11];
    char stringdata21[5];
    char stringdata22[10];
    char stringdata23[4];
    char stringdata24[11];
    char stringdata25[6];
    char stringdata26[13];
    char stringdata27[3];
    char stringdata28[3];
    char stringdata29[3];
    char stringdata30[3];
    char stringdata31[12];
    char stringdata32[13];
    char stringdata33[9];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_PlaySMF_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_PlaySMF_t qt_meta_stringdata_PlaySMF = {
    {
        QT_MOC_LITERAL(0, 7),  // "PlaySMF"
        QT_MOC_LITERAL(8, 11),  // "headerEvent"
        QT_MOC_LITERAL(20, 0),  // ""
        QT_MOC_LITERAL(21, 6),  // "format"
        QT_MOC_LITERAL(28, 5),  // "ntrks"
        QT_MOC_LITERAL(34, 8),  // "division"
        QT_MOC_LITERAL(43, 11),  // "noteOnEvent"
        QT_MOC_LITERAL(55, 4),  // "chan"
        QT_MOC_LITERAL(60, 5),  // "pitch"
        QT_MOC_LITERAL(66, 3),  // "vol"
        QT_MOC_LITERAL(70, 12),  // "noteOffEvent"
        QT_MOC_LITERAL(83, 13),  // "keyPressEvent"
        QT_MOC_LITERAL(97, 5),  // "press"
        QT_MOC_LITERAL(103, 14),  // "ctlChangeEvent"
        QT_MOC_LITERAL(118, 3),  // "ctl"
        QT_MOC_LITERAL(122, 5),  // "value"
        QT_MOC_LITERAL(128, 14),  // "pitchBendEvent"
        QT_MOC_LITERAL(143, 12),  // "programEvent"
        QT_MOC_LITERAL(156, 5),  // "patch"
        QT_MOC_LITERAL(162, 14),  // "chanPressEvent"
        QT_MOC_LITERAL(177, 10),  // "sysexEvent"
        QT_MOC_LITERAL(188, 4),  // "data"
        QT_MOC_LITERAL(193, 9),  // "textEvent"
        QT_MOC_LITERAL(203, 3),  // "typ"
        QT_MOC_LITERAL(207, 10),  // "tempoEvent"
        QT_MOC_LITERAL(218, 5),  // "tempo"
        QT_MOC_LITERAL(224, 12),  // "timeSigEvent"
        QT_MOC_LITERAL(237, 2),  // "b0"
        QT_MOC_LITERAL(240, 2),  // "b1"
        QT_MOC_LITERAL(243, 2),  // "b2"
        QT_MOC_LITERAL(246, 2),  // "b3"
        QT_MOC_LITERAL(249, 11),  // "keySigEvent"
        QT_MOC_LITERAL(261, 12),  // "errorHandler"
        QT_MOC_LITERAL(274, 8)   // "errorStr"
    },
    "PlaySMF",
    "headerEvent",
    "",
    "format",
    "ntrks",
    "division",
    "noteOnEvent",
    "chan",
    "pitch",
    "vol",
    "noteOffEvent",
    "keyPressEvent",
    "press",
    "ctlChangeEvent",
    "ctl",
    "value",
    "pitchBendEvent",
    "programEvent",
    "patch",
    "chanPressEvent",
    "sysexEvent",
    "data",
    "textEvent",
    "typ",
    "tempoEvent",
    "tempo",
    "timeSigEvent",
    "b0",
    "b1",
    "b2",
    "b3",
    "keySigEvent",
    "errorHandler",
    "errorStr"
};
#undef QT_MOC_LITERAL
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_PlaySMF[] = {

 // content:
      10,       // 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, initial metatype offsets
       1,    3,   98,    2, 0x0a,    1 /* Public */,
       6,    3,  105,    2, 0x0a,    5 /* Public */,
      10,    3,  112,    2, 0x0a,    9 /* Public */,
      11,    3,  119,    2, 0x0a,   13 /* Public */,
      13,    3,  126,    2, 0x0a,   17 /* Public */,
      16,    2,  133,    2, 0x0a,   21 /* Public */,
      17,    2,  138,    2, 0x0a,   24 /* Public */,
      19,    2,  143,    2, 0x0a,   27 /* Public */,
      20,    1,  148,    2, 0x0a,   30 /* Public */,
      22,    2,  151,    2, 0x0a,   32 /* Public */,
      24,    1,  156,    2, 0x0a,   35 /* Public */,
      26,    4,  159,    2, 0x0a,   37 /* Public */,
      31,    2,  168,    2, 0x0a,   42 /* Public */,
      32,    1,  173,    2, 0x0a,   45 /* 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
};

Q_CONSTINIT const QMetaObject PlaySMF::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_PlaySMF.offsetsAndSizes,
    qt_meta_data_PlaySMF,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_PlaySMF_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<PlaySMF, std::true_type>,
        // method 'headerEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'noteOnEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'noteOffEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'keyPressEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'ctlChangeEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'pitchBendEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'programEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'chanPressEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sysexEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>,
        // method 'textEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        // method 'tempoEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'timeSigEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'keySigEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'errorHandler'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
    >,
    nullptr
} };

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< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
        case 1: _t->noteOnEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
        case 2: _t->noteOffEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
        case 3: _t->keyPressEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
        case 4: _t->ctlChangeEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
        case 5: _t->pitchBendEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 6: _t->programEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 7: _t->chanPressEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 8: _t->sysexEvent((*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[1]))); break;
        case 9: _t->textEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2]))); break;
        case 10: _t->tempoEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->timeSigEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[4]))); break;
        case 12: _t->keySigEvent((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 13: _t->errorHandler((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
}

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<QMetaType *>(_a[0]) = QMetaType();
        _id -= 14;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
