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

#include <memory>
#include "../../src/Master.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Master.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_Master_t {
    QByteArrayData data[32];
    char stringdata0[438];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Master_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Master_t qt_meta_stringdata_Master = {
    {
QT_MOC_LITERAL(0, 0, 6), // "Master"
QT_MOC_LITERAL(1, 7, 15), // "synthRouteAdded"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 11), // "SynthRoute*"
QT_MOC_LITERAL(4, 36, 5), // "route"
QT_MOC_LITERAL(5, 42, 18), // "const AudioDevice*"
QT_MOC_LITERAL(6, 61, 11), // "audioDevice"
QT_MOC_LITERAL(7, 73, 8), // "pinnable"
QT_MOC_LITERAL(8, 82, 17), // "synthRouteRemoved"
QT_MOC_LITERAL(9, 100, 16), // "synthRoutePinned"
QT_MOC_LITERAL(10, 117, 14), // "romsLoadFailed"
QT_MOC_LITERAL(11, 132, 5), // "bool&"
QT_MOC_LITERAL(12, 138, 17), // "recoveryAttempted"
QT_MOC_LITERAL(13, 156, 13), // "playMidiFiles"
QT_MOC_LITERAL(14, 170, 16), // "convertMidiFiles"
QT_MOC_LITERAL(15, 187, 22), // "mainWindowTitleUpdated"
QT_MOC_LITERAL(16, 210, 19), // "maxSessionsFinished"
QT_MOC_LITERAL(17, 230, 19), // "jackMidiPortDeleted"
QT_MOC_LITERAL(18, 250, 12), // "MidiSession*"
QT_MOC_LITERAL(19, 263, 17), // "createMidiSession"
QT_MOC_LITERAL(20, 281, 13), // "MidiSession**"
QT_MOC_LITERAL(21, 295, 9), // "returnVal"
QT_MOC_LITERAL(22, 305, 11), // "MidiDriver*"
QT_MOC_LITERAL(23, 317, 10), // "midiDriver"
QT_MOC_LITERAL(24, 328, 4), // "name"
QT_MOC_LITERAL(25, 333, 17), // "deleteMidiSession"
QT_MOC_LITERAL(26, 351, 11), // "midiSession"
QT_MOC_LITERAL(27, 363, 11), // "showBalloon"
QT_MOC_LITERAL(28, 375, 5), // "title"
QT_MOC_LITERAL(29, 381, 4), // "text"
QT_MOC_LITERAL(30, 386, 33), // "updateMainWindowTitleContribu..."
QT_MOC_LITERAL(31, 420, 17) // "titleContribution"

    },
    "Master\0synthRouteAdded\0\0SynthRoute*\0"
    "route\0const AudioDevice*\0audioDevice\0"
    "pinnable\0synthRouteRemoved\0synthRoutePinned\0"
    "romsLoadFailed\0bool&\0recoveryAttempted\0"
    "playMidiFiles\0convertMidiFiles\0"
    "mainWindowTitleUpdated\0maxSessionsFinished\0"
    "jackMidiPortDeleted\0MidiSession*\0"
    "createMidiSession\0MidiSession**\0"
    "returnVal\0MidiDriver*\0midiDriver\0name\0"
    "deleteMidiSession\0midiSession\0showBalloon\0"
    "title\0text\0updateMainWindowTitleContribution\0"
    "titleContribution"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Master[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   79,    2, 0x06 /* Public */,
       8,    1,   86,    2, 0x06 /* Public */,
       9,    0,   89,    2, 0x06 /* Public */,
      10,    1,   90,    2, 0x06 /* Public */,
      13,    1,   93,    2, 0x06 /* Public */,
      14,    1,   96,    2, 0x06 /* Public */,
      15,    1,   99,    2, 0x06 /* Public */,
      16,    0,  102,    2, 0x06 /* Public */,
      17,    1,  103,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      19,    3,  106,    2, 0x08 /* Private */,
      25,    1,  113,    2, 0x08 /* Private */,
      27,    2,  116,    2, 0x08 /* Private */,
      30,    1,  121,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, QMetaType::Bool,    4,    6,    7,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, QMetaType::QStringList,    2,
    QMetaType::Void, QMetaType::QStringList,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 18,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 22, QMetaType::QString,   21,   23,   24,
    QMetaType::Void, 0x80000000 | 18,   26,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   28,   29,
    QMetaType::Void, QMetaType::QString,   31,

       0        // eod
};

void Master::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Master *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->synthRouteAdded((*reinterpret_cast< SynthRoute*(*)>(_a[1])),(*reinterpret_cast< const AudioDevice*(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 1: _t->synthRouteRemoved((*reinterpret_cast< SynthRoute*(*)>(_a[1]))); break;
        case 2: _t->synthRoutePinned(); break;
        case 3: _t->romsLoadFailed((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->playMidiFiles((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 5: _t->convertMidiFiles((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 6: _t->mainWindowTitleUpdated((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->maxSessionsFinished(); break;
        case 8: _t->jackMidiPortDeleted((*reinterpret_cast< MidiSession*(*)>(_a[1]))); break;
        case 9: _t->createMidiSession((*reinterpret_cast< MidiSession**(*)>(_a[1])),(*reinterpret_cast< MidiDriver*(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
        case 10: _t->deleteMidiSession((*reinterpret_cast< MidiSession*(*)>(_a[1]))); break;
        case 11: _t->showBalloon((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 12: _t->updateMainWindowTitleContribution((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SynthRoute* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SynthRoute* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Master::*)(SynthRoute * , const AudioDevice * , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::synthRouteAdded)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Master::*)(SynthRoute * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::synthRouteRemoved)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Master::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::synthRoutePinned)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Master::*)(bool & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::romsLoadFailed)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Master::*)(const QStringList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::playMidiFiles)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Master::*)(const QStringList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::convertMidiFiles)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (Master::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::mainWindowTitleUpdated)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (Master::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::maxSessionsFinished)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (Master::*)(MidiSession * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Master::jackMidiPortDeleted)) {
                *result = 8;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Master::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Master.data,
    qt_meta_data_Master,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int Master::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void Master::synthRouteAdded(SynthRoute * _t1, const AudioDevice * _t2, bool _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Master::synthRouteRemoved(SynthRoute * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Master::synthRoutePinned()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Master::romsLoadFailed(bool & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Master::playMidiFiles(const QStringList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Master::convertMidiFiles(const QStringList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Master::mainWindowTitleUpdated(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Master::maxSessionsFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void Master::jackMidiPortDeleted(MidiSession * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
