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

#include "../../../../../../drumstick-2.11.1/library/include/drumstick/rtmidiinput.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'rtmidiinput.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.2. 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_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN9drumstick2rt9MIDIInputE_t {};
} // unnamed namespace

template <> constexpr inline auto drumstick::rt::MIDIInput::qt_create_metaobjectdata<qt_meta_tag_ZN9drumstick2rt9MIDIInputE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "drumstick::rt::MIDIInput",
        "midiNoteOff",
        "",
        "chan",
        "note",
        "vel",
        "midiNoteOn",
        "midiKeyPressure",
        "value",
        "midiController",
        "control",
        "midiProgram",
        "program",
        "midiChannelPressure",
        "midiPitchBend",
        "midiSysex",
        "data",
        "midiSystemCommon",
        "status",
        "midiSystemRealtime"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'midiNoteOff'
        QtMocHelpers::SignalData<void(const int, const int, const int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 4 }, { QMetaType::Int, 5 },
        }}),
        // Signal 'midiNoteOn'
        QtMocHelpers::SignalData<void(const int, const int, const int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 4 }, { QMetaType::Int, 5 },
        }}),
        // Signal 'midiKeyPressure'
        QtMocHelpers::SignalData<void(const int, const int, const int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 4 }, { QMetaType::Int, 8 },
        }}),
        // Signal 'midiController'
        QtMocHelpers::SignalData<void(const int, const int, const int)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 10 }, { QMetaType::Int, 8 },
        }}),
        // Signal 'midiProgram'
        QtMocHelpers::SignalData<void(const int, const int)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 12 },
        }}),
        // Signal 'midiChannelPressure'
        QtMocHelpers::SignalData<void(const int, const int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 8 },
        }}),
        // Signal 'midiPitchBend'
        QtMocHelpers::SignalData<void(const int, const int)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 }, { QMetaType::Int, 8 },
        }}),
        // Signal 'midiSysex'
        QtMocHelpers::SignalData<void(const QByteArray &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QByteArray, 16 },
        }}),
        // Signal 'midiSystemCommon'
        QtMocHelpers::SignalData<void(const int)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 18 },
        }}),
        // Signal 'midiSystemRealtime'
        QtMocHelpers::SignalData<void(const int)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 18 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MIDIInput, qt_meta_tag_ZN9drumstick2rt9MIDIInputE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject drumstick::rt::MIDIInput::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9drumstick2rt9MIDIInputE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9drumstick2rt9MIDIInputE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9drumstick2rt9MIDIInputE_t>.metaTypes,
    nullptr
} };

void drumstick::rt::MIDIInput::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MIDIInput *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->midiNoteOff((*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->midiNoteOn((*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->midiKeyPressure((*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->midiController((*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->midiProgram((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 5: _t->midiChannelPressure((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 6: _t->midiPitchBend((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 7: _t->midiSysex((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1]))); break;
        case 8: _t->midiSystemCommon((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 9: _t->midiSystemRealtime((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MIDIInput::*)(const int , const int , const int )>(_a, &MIDIInput::midiNoteOff, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MIDIInput::*)(const int , const int , const int )>(_a, &MIDIInput::midiNoteOn, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MIDIInput::*)(const int , const int , const int )>(_a, &MIDIInput::midiKeyPressure, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MIDIInput::*)(const int , const int , const int )>(_a, &MIDIInput::midiController, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MIDIInput::*)(const int , const int )>(_a, &MIDIInput::midiProgram, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MIDIInput::*)(const int , const int )>(_a, &MIDIInput::midiChannelPressure, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (MIDIInput::*)(const int , const int )>(_a, &MIDIInput::midiPitchBend, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (MIDIInput::*)(const QByteArray & )>(_a, &MIDIInput::midiSysex, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (MIDIInput::*)(const int )>(_a, &MIDIInput::midiSystemCommon, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (MIDIInput::*)(const int )>(_a, &MIDIInput::midiSystemRealtime, 9))
            return;
    }
}

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

void *drumstick::rt::MIDIInput::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9drumstick2rt9MIDIInputE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int drumstick::rt::MIDIInput::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void drumstick::rt::MIDIInput::midiNoteOff(const int _t1, const int _t2, const int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

// SIGNAL 1
void drumstick::rt::MIDIInput::midiNoteOn(const int _t1, const int _t2, const int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void drumstick::rt::MIDIInput::midiKeyPressure(const int _t1, const int _t2, const int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3);
}

// SIGNAL 3
void drumstick::rt::MIDIInput::midiController(const int _t1, const int _t2, const int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2, _t3);
}

// SIGNAL 4
void drumstick::rt::MIDIInput::midiProgram(const int _t1, const int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}

// SIGNAL 5
void drumstick::rt::MIDIInput::midiChannelPressure(const int _t1, const int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void drumstick::rt::MIDIInput::midiPitchBend(const int _t1, const int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 7
void drumstick::rt::MIDIInput::midiSysex(const QByteArray & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void drumstick::rt::MIDIInput::midiSystemCommon(const int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void drumstick::rt::MIDIInput::midiSystemRealtime(const int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}
QT_WARNING_POP
