/****************************************************************************
** Meta object code from reading C++ file 'MidiPlayerDialog.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/MidiPlayerDialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MidiPlayerDialog.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_MidiPlayerDialog_t {
    QByteArrayData data[33];
    char stringdata0[686];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MidiPlayerDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MidiPlayerDialog_t qt_meta_stringdata_MidiPlayerDialog = {
    {
QT_MOC_LITERAL(0, 0, 16), // "MidiPlayerDialog"
QT_MOC_LITERAL(1, 17, 15), // "playbackStarted"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 29), // "on_playList_currentRowChanged"
QT_MOC_LITERAL(4, 64, 10), // "currentRow"
QT_MOC_LITERAL(5, 75, 21), // "on_playList_activated"
QT_MOC_LITERAL(6, 97, 11), // "QModelIndex"
QT_MOC_LITERAL(7, 109, 5), // "index"
QT_MOC_LITERAL(8, 115, 20), // "on_addButton_clicked"
QT_MOC_LITERAL(9, 136, 24), // "on_addListButton_clicked"
QT_MOC_LITERAL(10, 161, 23), // "on_removeButton_clicked"
QT_MOC_LITERAL(11, 185, 22), // "on_clearButton_clicked"
QT_MOC_LITERAL(12, 208, 25), // "on_saveListButton_clicked"
QT_MOC_LITERAL(13, 234, 23), // "on_moveUpButton_clicked"
QT_MOC_LITERAL(14, 258, 25), // "on_moveDownButton_clicked"
QT_MOC_LITERAL(15, 284, 21), // "on_playButton_clicked"
QT_MOC_LITERAL(16, 306, 22), // "on_pauseButton_clicked"
QT_MOC_LITERAL(17, 329, 21), // "on_stopButton_clicked"
QT_MOC_LITERAL(18, 351, 28), // "on_fastForwardButton_pressed"
QT_MOC_LITERAL(19, 380, 29), // "on_fastForwardButton_released"
QT_MOC_LITERAL(20, 410, 32), // "on_fastFastForwardButton_pressed"
QT_MOC_LITERAL(21, 443, 33), // "on_fastFastForwardButton_rele..."
QT_MOC_LITERAL(22, 477, 28), // "on_tempoSpinBox_valueChanged"
QT_MOC_LITERAL(23, 506, 8), // "newValue"
QT_MOC_LITERAL(24, 515, 30), // "on_positionSlider_valueChanged"
QT_MOC_LITERAL(25, 546, 32), // "on_positionSlider_sliderReleased"
QT_MOC_LITERAL(26, 579, 22), // "handlePlaybackFinished"
QT_MOC_LITERAL(27, 602, 10), // "successful"
QT_MOC_LITERAL(28, 613, 25), // "handlePlaybackTimeChanged"
QT_MOC_LITERAL(29, 639, 12), // "currentNanos"
QT_MOC_LITERAL(30, 652, 12), // "totalSeconds"
QT_MOC_LITERAL(31, 665, 14), // "handleTempoSet"
QT_MOC_LITERAL(32, 680, 5) // "tempo"

    },
    "MidiPlayerDialog\0playbackStarted\0\0"
    "on_playList_currentRowChanged\0currentRow\0"
    "on_playList_activated\0QModelIndex\0"
    "index\0on_addButton_clicked\0"
    "on_addListButton_clicked\0"
    "on_removeButton_clicked\0on_clearButton_clicked\0"
    "on_saveListButton_clicked\0"
    "on_moveUpButton_clicked\0"
    "on_moveDownButton_clicked\0"
    "on_playButton_clicked\0on_pauseButton_clicked\0"
    "on_stopButton_clicked\0"
    "on_fastForwardButton_pressed\0"
    "on_fastForwardButton_released\0"
    "on_fastFastForwardButton_pressed\0"
    "on_fastFastForwardButton_released\0"
    "on_tempoSpinBox_valueChanged\0newValue\0"
    "on_positionSlider_valueChanged\0"
    "on_positionSlider_sliderReleased\0"
    "handlePlaybackFinished\0successful\0"
    "handlePlaybackTimeChanged\0currentNanos\0"
    "totalSeconds\0handleTempoSet\0tempo"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MidiPlayerDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  129,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    1,  134,    2, 0x08 /* Private */,
       5,    1,  137,    2, 0x08 /* Private */,
       8,    0,  140,    2, 0x08 /* Private */,
       9,    0,  141,    2, 0x08 /* Private */,
      10,    0,  142,    2, 0x08 /* Private */,
      11,    0,  143,    2, 0x08 /* Private */,
      12,    0,  144,    2, 0x08 /* Private */,
      13,    0,  145,    2, 0x08 /* Private */,
      14,    0,  146,    2, 0x08 /* Private */,
      15,    0,  147,    2, 0x08 /* Private */,
      16,    0,  148,    2, 0x08 /* Private */,
      17,    0,  149,    2, 0x08 /* Private */,
      18,    0,  150,    2, 0x08 /* Private */,
      19,    0,  151,    2, 0x08 /* Private */,
      20,    0,  152,    2, 0x08 /* Private */,
      21,    0,  153,    2, 0x08 /* Private */,
      22,    1,  154,    2, 0x08 /* Private */,
      24,    0,  157,    2, 0x08 /* Private */,
      25,    0,  158,    2, 0x08 /* Private */,
      26,    1,  159,    2, 0x08 /* Private */,
      28,    2,  162,    2, 0x08 /* Private */,
      31,    1,  167,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   27,
    QMetaType::Void, QMetaType::ULongLong, QMetaType::UInt,   29,   30,
    QMetaType::Void, QMetaType::UInt,   32,

       0        // eod
};

void MidiPlayerDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MidiPlayerDialog *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->playbackStarted((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->on_playList_currentRowChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->on_playList_activated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 3: _t->on_addButton_clicked(); break;
        case 4: _t->on_addListButton_clicked(); break;
        case 5: _t->on_removeButton_clicked(); break;
        case 6: _t->on_clearButton_clicked(); break;
        case 7: _t->on_saveListButton_clicked(); break;
        case 8: _t->on_moveUpButton_clicked(); break;
        case 9: _t->on_moveDownButton_clicked(); break;
        case 10: _t->on_playButton_clicked(); break;
        case 11: _t->on_pauseButton_clicked(); break;
        case 12: _t->on_stopButton_clicked(); break;
        case 13: _t->on_fastForwardButton_pressed(); break;
        case 14: _t->on_fastForwardButton_released(); break;
        case 15: _t->on_fastFastForwardButton_pressed(); break;
        case 16: _t->on_fastFastForwardButton_released(); break;
        case 17: _t->on_tempoSpinBox_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->on_positionSlider_valueChanged(); break;
        case 19: _t->on_positionSlider_sliderReleased(); break;
        case 20: _t->handlePlaybackFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->handlePlaybackTimeChanged((*reinterpret_cast< quint64(*)>(_a[1])),(*reinterpret_cast< quint32(*)>(_a[2]))); break;
        case 22: _t->handleTempoSet((*reinterpret_cast< quint32(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MidiPlayerDialog::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MidiPlayerDialog::playbackStarted)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MidiPlayerDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_meta_stringdata_MidiPlayerDialog.data,
    qt_meta_data_MidiPlayerDialog,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MidiPlayerDialog::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 < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 23;
    }
    return _id;
}

// SIGNAL 0
void MidiPlayerDialog::playbackStarted(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);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
