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

#include <memory>
#include "../../../../drumstick-2.7.1/library/rt-backends/fluidsynth/fluidsynthengine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fluidsynthengine.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.5. 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_drumstick__rt__FluidSynthEngine_t {
    QByteArrayData data[25];
    char stringdata0[243];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_drumstick__rt__FluidSynthEngine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_drumstick__rt__FluidSynthEngine_t qt_meta_stringdata_drumstick__rt__FluidSynthEngine = {
    {
QT_MOC_LITERAL(0, 0, 31), // "drumstick::rt::FluidSynthEngine"
QT_MOC_LITERAL(1, 32, 10), // "initialize"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 12), // "readSettings"
QT_MOC_LITERAL(4, 57, 10), // "QSettings*"
QT_MOC_LITERAL(5, 68, 8), // "settings"
QT_MOC_LITERAL(6, 77, 14), // "scanSoundFonts"
QT_MOC_LITERAL(7, 92, 5), // "panic"
QT_MOC_LITERAL(8, 98, 13), // "setInstrument"
QT_MOC_LITERAL(9, 112, 7), // "channel"
QT_MOC_LITERAL(10, 120, 1), // "i"
QT_MOC_LITERAL(11, 122, 6), // "noteOn"
QT_MOC_LITERAL(12, 129, 8), // "midiNote"
QT_MOC_LITERAL(13, 138, 8), // "velocity"
QT_MOC_LITERAL(14, 147, 7), // "noteOff"
QT_MOC_LITERAL(15, 155, 13), // "controlChange"
QT_MOC_LITERAL(16, 169, 3), // "ctl"
QT_MOC_LITERAL(17, 173, 5), // "value"
QT_MOC_LITERAL(18, 179, 6), // "bender"
QT_MOC_LITERAL(19, 186, 15), // "channelPressure"
QT_MOC_LITERAL(20, 202, 11), // "keyPressure"
QT_MOC_LITERAL(21, 214, 5), // "sysex"
QT_MOC_LITERAL(22, 220, 4), // "data"
QT_MOC_LITERAL(23, 225, 7), // "version"
QT_MOC_LITERAL(24, 233, 9) // "soundFont"

    },
    "drumstick::rt::FluidSynthEngine\0"
    "initialize\0\0readSettings\0QSettings*\0"
    "settings\0scanSoundFonts\0panic\0"
    "setInstrument\0channel\0i\0noteOn\0midiNote\0"
    "velocity\0noteOff\0controlChange\0ctl\0"
    "value\0bender\0channelPressure\0keyPressure\0"
    "sysex\0data\0version\0soundFont"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_drumstick__rt__FluidSynthEngine[] = {

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

 // methods: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x02 /* Public */,
       3,    1,   80,    2, 0x02 /* Public */,
       6,    0,   83,    2, 0x02 /* Public */,
       7,    0,   84,    2, 0x02 /* Public */,
       8,    2,   85,    2, 0x02 /* Public */,
      11,    3,   90,    2, 0x02 /* Public */,
      14,    3,   97,    2, 0x02 /* Public */,
      15,    3,  104,    2, 0x02 /* Public */,
      18,    2,  111,    2, 0x02 /* Public */,
      19,    2,  116,    2, 0x02 /* Public */,
      20,    3,  121,    2, 0x02 /* Public */,
      21,    1,  128,    2, 0x02 /* Public */,
      23,    0,  131,    2, 0x02 /* Public */,

 // methods: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    9,   10,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    9,   12,   13,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    9,   12,   13,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    9,   16,   17,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    9,   17,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    9,   17,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,    9,   12,   17,
    QMetaType::Void, QMetaType::QByteArray,   22,
    QMetaType::QString,

 // properties: name, type, flags
      24, QMetaType::QString, 0x00095103,

       0        // eod
};

void drumstick::rt::FluidSynthEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<FluidSynthEngine *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->initialize(); break;
        case 1: _t->readSettings((*reinterpret_cast< QSettings*(*)>(_a[1]))); break;
        case 2: _t->scanSoundFonts(); break;
        case 3: _t->panic(); break;
        case 4: _t->setInstrument((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->noteOn((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const int(*)>(_a[3]))); break;
        case 6: _t->noteOff((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const int(*)>(_a[3]))); break;
        case 7: _t->controlChange((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const int(*)>(_a[3]))); break;
        case 8: _t->bender((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 9: _t->channelPressure((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2]))); break;
        case 10: _t->keyPressure((*reinterpret_cast< const int(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const int(*)>(_a[3]))); break;
        case 11: _t->sysex((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 12: { QString _r = _t->version();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<FluidSynthEngine *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->soundFont(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<FluidSynthEngine *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSoundFont(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject drumstick::rt::FluidSynthEngine::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_drumstick__rt__FluidSynthEngine.data,
    qt_meta_data_drumstick__rt__FluidSynthEngine,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int drumstick::rt::FluidSynthEngine::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
