/****************************************************************************
** Meta object code from reading C++ file 'synthengine.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/library/rt-backends/fluidsynth/synthengine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'synthengine.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_drumstick__rt__SynthEngine_t {
    QByteArrayData data[21];
    char stringdata0[199];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_drumstick__rt__SynthEngine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_drumstick__rt__SynthEngine_t qt_meta_stringdata_drumstick__rt__SynthEngine = {
    {
QT_MOC_LITERAL(0, 0, 26), // "drumstick::rt::SynthEngine"
QT_MOC_LITERAL(1, 27, 10), // "initialize"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 12), // "readSettings"
QT_MOC_LITERAL(4, 52, 10), // "QSettings*"
QT_MOC_LITERAL(5, 63, 8), // "settings"
QT_MOC_LITERAL(6, 72, 14), // "scanSoundFonts"
QT_MOC_LITERAL(7, 87, 5), // "panic"
QT_MOC_LITERAL(8, 93, 13), // "setInstrument"
QT_MOC_LITERAL(9, 107, 7), // "channel"
QT_MOC_LITERAL(10, 115, 1), // "i"
QT_MOC_LITERAL(11, 117, 6), // "noteOn"
QT_MOC_LITERAL(12, 124, 8), // "midiNote"
QT_MOC_LITERAL(13, 133, 8), // "velocity"
QT_MOC_LITERAL(14, 142, 7), // "noteOff"
QT_MOC_LITERAL(15, 150, 13), // "controlChange"
QT_MOC_LITERAL(16, 164, 3), // "ctl"
QT_MOC_LITERAL(17, 168, 5), // "value"
QT_MOC_LITERAL(18, 174, 6), // "bender"
QT_MOC_LITERAL(19, 181, 7), // "version"
QT_MOC_LITERAL(20, 189, 9) // "soundFont"

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

static const uint qt_meta_data_drumstick__rt__SynthEngine[] = {

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

 // methods: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x02 /* Public */,
       3,    1,   65,    2, 0x02 /* Public */,
       6,    0,   68,    2, 0x02 /* Public */,
       7,    0,   69,    2, 0x02 /* Public */,
       8,    2,   70,    2, 0x02 /* Public */,
      11,    3,   75,    2, 0x02 /* Public */,
      14,    3,   82,    2, 0x02 /* Public */,
      15,    3,   89,    2, 0x02 /* Public */,
      18,    2,   96,    2, 0x02 /* Public */,
      19,    0,  101,    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::QString,

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

       0        // eod
};

void drumstick::rt::SynthEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SynthEngine *>(_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: { 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<SynthEngine *>(_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<SynthEngine *>(_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::SynthEngine::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_drumstick__rt__SynthEngine.data,
    qt_meta_data_drumstick__rt__SynthEngine,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int drumstick::rt::SynthEngine::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;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#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
