/****************************************************************************
** Meta object code from reading C++ file 'fluidsynthengine.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/library/rt-backends/fluidsynth/fluidsynthengine.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 != 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_drumstick__rt__FluidSynthEngine_t {
    uint offsetsAndSizes[50];
    char stringdata0[32];
    char stringdata1[11];
    char stringdata2[1];
    char stringdata3[13];
    char stringdata4[11];
    char stringdata5[9];
    char stringdata6[15];
    char stringdata7[6];
    char stringdata8[14];
    char stringdata9[8];
    char stringdata10[2];
    char stringdata11[7];
    char stringdata12[9];
    char stringdata13[9];
    char stringdata14[8];
    char stringdata15[14];
    char stringdata16[4];
    char stringdata17[6];
    char stringdata18[7];
    char stringdata19[16];
    char stringdata20[12];
    char stringdata21[6];
    char stringdata22[5];
    char stringdata23[8];
    char stringdata24[10];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_drumstick__rt__FluidSynthEngine_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_drumstick__rt__FluidSynthEngine_t qt_meta_stringdata_drumstick__rt__FluidSynthEngine = {
    {
        QT_MOC_LITERAL(0, 31),  // "drumstick::rt::FluidSynthEngine"
        QT_MOC_LITERAL(32, 10),  // "initialize"
        QT_MOC_LITERAL(43, 0),  // ""
        QT_MOC_LITERAL(44, 12),  // "readSettings"
        QT_MOC_LITERAL(57, 10),  // "QSettings*"
        QT_MOC_LITERAL(68, 8),  // "settings"
        QT_MOC_LITERAL(77, 14),  // "scanSoundFonts"
        QT_MOC_LITERAL(92, 5),  // "panic"
        QT_MOC_LITERAL(98, 13),  // "setInstrument"
        QT_MOC_LITERAL(112, 7),  // "channel"
        QT_MOC_LITERAL(120, 1),  // "i"
        QT_MOC_LITERAL(122, 6),  // "noteOn"
        QT_MOC_LITERAL(129, 8),  // "midiNote"
        QT_MOC_LITERAL(138, 8),  // "velocity"
        QT_MOC_LITERAL(147, 7),  // "noteOff"
        QT_MOC_LITERAL(155, 13),  // "controlChange"
        QT_MOC_LITERAL(169, 3),  // "ctl"
        QT_MOC_LITERAL(173, 5),  // "value"
        QT_MOC_LITERAL(179, 6),  // "bender"
        QT_MOC_LITERAL(186, 15),  // "channelPressure"
        QT_MOC_LITERAL(202, 11),  // "keyPressure"
        QT_MOC_LITERAL(214, 5),  // "sysex"
        QT_MOC_LITERAL(220, 4),  // "data"
        QT_MOC_LITERAL(225, 7),  // "version"
        QT_MOC_LITERAL(233, 9)   // "soundFont"
    },
    "drumstick::rt::FluidSynthEngine",
    "initialize",
    "",
    "readSettings",
    "QSettings*",
    "settings",
    "scanSoundFonts",
    "panic",
    "setInstrument",
    "channel",
    "i",
    "noteOn",
    "midiNote",
    "velocity",
    "noteOff",
    "controlChange",
    "ctl",
    "value",
    "bender",
    "channelPressure",
    "keyPressure",
    "sysex",
    "data",
    "version",
    "soundFont"
};
#undef QT_MOC_LITERAL
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_drumstick__rt__FluidSynthEngine[] = {

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

 // methods: name, argc, parameters, tag, flags, initial metatype offsets
       1,    0,   92,    2, 0x02,    2 /* Public */,
       3,    1,   93,    2, 0x02,    3 /* Public */,
       6,    0,   96,    2, 0x02,    5 /* Public */,
       7,    0,   97,    2, 0x02,    6 /* Public */,
       8,    2,   98,    2, 0x02,    7 /* Public */,
      11,    3,  103,    2, 0x02,   10 /* Public */,
      14,    3,  110,    2, 0x02,   14 /* Public */,
      15,    3,  117,    2, 0x02,   18 /* Public */,
      18,    2,  124,    2, 0x02,   22 /* Public */,
      19,    2,  129,    2, 0x02,   25 /* Public */,
      20,    3,  134,    2, 0x02,   28 /* Public */,
      21,    1,  141,    2, 0x02,   32 /* Public */,
      23,    0,  144,    2, 0x102,   34 /* Public | MethodIsConst  */,

 // 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, 0x00015103, uint(-1), 0,

       0        // eod
};

Q_CONSTINIT const QMetaObject drumstick::rt::FluidSynthEngine::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_drumstick__rt__FluidSynthEngine.offsetsAndSizes,
    qt_meta_data_drumstick__rt__FluidSynthEngine,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_drumstick__rt__FluidSynthEngine_t,
        // property 'soundFont'
        QtPrivate::TypeAndForceComplete<QString, std::true_type>,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<FluidSynthEngine, std::true_type>,
        // method 'initialize'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'readSettings'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QSettings *, std::false_type>,
        // method 'scanSoundFonts'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'panic'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'setInstrument'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'noteOn'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        // method 'noteOff'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        // method 'controlChange'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        // method 'bender'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        // method 'channelPressure'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        // method 'keyPressure'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const int, std::false_type>,
        // method 'sysex'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>,
        // method 'version'
        QtPrivate::TypeAndForceComplete<QString, std::false_type>
    >,
    nullptr
} };

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< std::add_pointer_t<QSettings*>>(_a[1]))); break;
        case 2: _t->scanSoundFonts(); break;
        case 3: _t->panic(); break;
        case 4: _t->setInstrument((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 5: _t->noteOn((*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 6: _t->noteOff((*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 7: _t->controlChange((*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 8: _t->bender((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 9: _t->channelPressure((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 10: _t->keyPressure((*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 11: _t->sysex((*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[1]))); break;
        case 12: { QString _r = _t->version();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }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) {
    } else if (_c == QMetaObject::BindableProperty) {
    }
}

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<QMetaType *>(_a[0]) = QMetaType();
        _id -= 13;
    }else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
