/****************************************************************************
** Meta object code from reading C++ file 'MidiConverterDialog.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/MidiConverterDialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MidiConverterDialog.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_MidiConverterDialog_t {
    QByteArrayData data[24];
    char stringdata0[512];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MidiConverterDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MidiConverterDialog_t qt_meta_stringdata_MidiConverterDialog = {
    {
QT_MOC_LITERAL(0, 0, 19), // "MidiConverterDialog"
QT_MOC_LITERAL(1, 20, 18), // "conversionFinished"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 23), // "batchConversionFinished"
QT_MOC_LITERAL(4, 64, 23), // "on_newPcmButton_clicked"
QT_MOC_LITERAL(5, 88, 25), // "on_newGroupButton_clicked"
QT_MOC_LITERAL(6, 114, 24), // "on_addMidiButton_clicked"
QT_MOC_LITERAL(7, 139, 24), // "on_addInitButton_clicked"
QT_MOC_LITERAL(8, 164, 24), // "on_editPcmButton_clicked"
QT_MOC_LITERAL(9, 189, 23), // "on_removeButton_clicked"
QT_MOC_LITERAL(10, 213, 22), // "on_clearButton_clicked"
QT_MOC_LITERAL(11, 236, 23), // "on_moveUpButton_clicked"
QT_MOC_LITERAL(12, 260, 25), // "on_moveDownButton_clicked"
QT_MOC_LITERAL(13, 286, 22), // "on_startButton_clicked"
QT_MOC_LITERAL(14, 309, 21), // "on_stopButton_clicked"
QT_MOC_LITERAL(15, 331, 30), // "on_midiList_currentItemChanged"
QT_MOC_LITERAL(16, 362, 16), // "QListWidgetItem*"
QT_MOC_LITERAL(17, 379, 7), // "current"
QT_MOC_LITERAL(18, 387, 8), // "previous"
QT_MOC_LITERAL(19, 396, 29), // "on_pcmList_currentItemChanged"
QT_MOC_LITERAL(20, 426, 24), // "handleConversionFinished"
QT_MOC_LITERAL(21, 451, 24), // "updateConversionProgress"
QT_MOC_LITERAL(22, 476, 19), // "midiEventsProcessed"
QT_MOC_LITERAL(23, 496, 15) // "midiEventsTotal"

    },
    "MidiConverterDialog\0conversionFinished\0"
    "\0batchConversionFinished\0"
    "on_newPcmButton_clicked\0"
    "on_newGroupButton_clicked\0"
    "on_addMidiButton_clicked\0"
    "on_addInitButton_clicked\0"
    "on_editPcmButton_clicked\0"
    "on_removeButton_clicked\0on_clearButton_clicked\0"
    "on_moveUpButton_clicked\0"
    "on_moveDownButton_clicked\0"
    "on_startButton_clicked\0on_stopButton_clicked\0"
    "on_midiList_currentItemChanged\0"
    "QListWidgetItem*\0current\0previous\0"
    "on_pcmList_currentItemChanged\0"
    "handleConversionFinished\0"
    "updateConversionProgress\0midiEventsProcessed\0"
    "midiEventsTotal"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MidiConverterDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   99,    2, 0x06 /* Public */,
       3,    0,  104,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    0,  105,    2, 0x08 /* Private */,
       5,    0,  106,    2, 0x08 /* Private */,
       6,    0,  107,    2, 0x08 /* Private */,
       7,    0,  108,    2, 0x08 /* Private */,
       8,    0,  109,    2, 0x08 /* Private */,
       9,    0,  110,    2, 0x08 /* Private */,
      10,    0,  111,    2, 0x08 /* Private */,
      11,    0,  112,    2, 0x08 /* Private */,
      12,    0,  113,    2, 0x08 /* Private */,
      13,    0,  114,    2, 0x08 /* Private */,
      14,    0,  115,    2, 0x08 /* Private */,
      15,    2,  116,    2, 0x08 /* Private */,
      19,    2,  121,    2, 0x08 /* Private */,
      20,    0,  126,    2, 0x08 /* Private */,
      21,    2,  127,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    2,    2,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16, 0x80000000 | 16,   17,   18,
    QMetaType::Void, 0x80000000 | 16, 0x80000000 | 16,   17,   18,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   22,   23,

       0        // eod
};

void MidiConverterDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MidiConverterDialog *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->conversionFinished((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->batchConversionFinished(); break;
        case 2: _t->on_newPcmButton_clicked(); break;
        case 3: _t->on_newGroupButton_clicked(); break;
        case 4: _t->on_addMidiButton_clicked(); break;
        case 5: _t->on_addInitButton_clicked(); break;
        case 6: _t->on_editPcmButton_clicked(); break;
        case 7: _t->on_removeButton_clicked(); break;
        case 8: _t->on_clearButton_clicked(); break;
        case 9: _t->on_moveUpButton_clicked(); break;
        case 10: _t->on_moveDownButton_clicked(); break;
        case 11: _t->on_startButton_clicked(); break;
        case 12: _t->on_stopButton_clicked(); break;
        case 13: _t->on_midiList_currentItemChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QListWidgetItem*(*)>(_a[2]))); break;
        case 14: _t->on_pcmList_currentItemChanged((*reinterpret_cast< QListWidgetItem*(*)>(_a[1])),(*reinterpret_cast< QListWidgetItem*(*)>(_a[2]))); break;
        case 15: _t->handleConversionFinished(); break;
        case 16: _t->updateConversionProgress((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MidiConverterDialog::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiConverterDialog::conversionFinished)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (MidiConverterDialog::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiConverterDialog::batchConversionFinished)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MidiConverterDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_MidiConverterDialog.data,
    qt_meta_data_MidiConverterDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MidiConverterDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 17;
    }
    return _id;
}

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

// SIGNAL 1
void MidiConverterDialog::batchConversionFinished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
