/****************************************************************************
** Meta object code from reading C++ file 'MainWindow.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/MainWindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MainWindow.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_MainWindow_t {
    QByteArrayData data[52];
    char stringdata0[1322];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 10), // "MainWindow"
QT_MOC_LITERAL(1, 11, 23), // "on_actionExit_triggered"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 24), // "on_actionAbout_triggered"
QT_MOC_LITERAL(4, 61, 34), // "on_actionCommandLineHelp_trig..."
QT_MOC_LITERAL(5, 96, 21), // "handleSynthRouteAdded"
QT_MOC_LITERAL(6, 118, 11), // "SynthRoute*"
QT_MOC_LITERAL(7, 130, 10), // "synthRoute"
QT_MOC_LITERAL(8, 141, 18), // "const AudioDevice*"
QT_MOC_LITERAL(9, 160, 11), // "audioDevice"
QT_MOC_LITERAL(10, 172, 8), // "pinnable"
QT_MOC_LITERAL(11, 181, 23), // "handleSynthRouteRemoved"
QT_MOC_LITERAL(12, 205, 20), // "handleROMSLoadFailed"
QT_MOC_LITERAL(13, 226, 5), // "bool&"
QT_MOC_LITERAL(14, 232, 17), // "recoveryAttempted"
QT_MOC_LITERAL(15, 250, 24), // "on_menuTools_aboutToShow"
QT_MOC_LITERAL(16, 275, 32), // "on_actionNew_MIDI_port_triggered"
QT_MOC_LITERAL(17, 308, 33), // "on_actionTest_MIDI_Driver_tog..."
QT_MOC_LITERAL(18, 342, 7), // "checked"
QT_MOC_LITERAL(19, 350, 33), // "on_actionPlay_MIDI_file_trigg..."
QT_MOC_LITERAL(20, 384, 39), // "on_actionConvert_MIDI_to_Wave..."
QT_MOC_LITERAL(21, 424, 34), // "on_menuPlay_Demo_Songs_aboutT..."
QT_MOC_LITERAL(22, 459, 44), // "on_actionSuitable_ROMs_unavai..."
QT_MOC_LITERAL(23, 504, 14), // "handleDemoPlay"
QT_MOC_LITERAL(24, 519, 8), // "QAction*"
QT_MOC_LITERAL(25, 528, 26), // "on_menuOptions_aboutToShow"
QT_MOC_LITERAL(26, 555, 31), // "on_actionStart_iconized_toggled"
QT_MOC_LITERAL(27, 587, 38), // "on_actionHide_to_tray_on_clos..."
QT_MOC_LITERAL(28, 626, 34), // "on_actionShow_LCD_balloons_to..."
QT_MOC_LITERAL(29, 661, 41), // "on_actionShow_connection_ball..."
QT_MOC_LITERAL(30, 703, 40), // "on_actionShow_native_file_dia..."
QT_MOC_LITERAL(31, 744, 49), // "on_actionConnect_JACK_audio_a..."
QT_MOC_LITERAL(32, 794, 35), // "on_menuFloating_Display_about..."
QT_MOC_LITERAL(33, 830, 38), // "handleFloatingDisplayVisibili..."
QT_MOC_LITERAL(34, 869, 15), // "triggeredAction"
QT_MOC_LITERAL(35, 885, 55), // "on_actionFloating_display_Byp..."
QT_MOC_LITERAL(36, 941, 27), // "on_synthTabs_currentChanged"
QT_MOC_LITERAL(37, 969, 5), // "index"
QT_MOC_LITERAL(38, 975, 36), // "on_actionROM_Configuration_tr..."
QT_MOC_LITERAL(39, 1012, 15), // "refreshTabNames"
QT_MOC_LITERAL(40, 1028, 18), // "showHideMainWindow"
QT_MOC_LITERAL(41, 1047, 23), // "showHideFloatingDisplay"
QT_MOC_LITERAL(42, 1071, 29), // "handleTrayIconMenuAboutToShow"
QT_MOC_LITERAL(43, 1101, 23), // "handleTrayIconActivated"
QT_MOC_LITERAL(44, 1125, 33), // "QSystemTrayIcon::ActivationRe..."
QT_MOC_LITERAL(45, 1159, 6), // "reason"
QT_MOC_LITERAL(46, 1166, 17), // "toggleShowConsole"
QT_MOC_LITERAL(47, 1184, 19), // "handlePlayMidiFiles"
QT_MOC_LITERAL(48, 1204, 8), // "fileList"
QT_MOC_LITERAL(49, 1213, 22), // "handleConvertMidiFiles"
QT_MOC_LITERAL(50, 1236, 37), // "on_actionNew_JACK_MIDI_port_t..."
QT_MOC_LITERAL(51, 1274, 47) // "on_actionNew_exclusive_JACK_M..."

    },
    "MainWindow\0on_actionExit_triggered\0\0"
    "on_actionAbout_triggered\0"
    "on_actionCommandLineHelp_triggered\0"
    "handleSynthRouteAdded\0SynthRoute*\0"
    "synthRoute\0const AudioDevice*\0audioDevice\0"
    "pinnable\0handleSynthRouteRemoved\0"
    "handleROMSLoadFailed\0bool&\0recoveryAttempted\0"
    "on_menuTools_aboutToShow\0"
    "on_actionNew_MIDI_port_triggered\0"
    "on_actionTest_MIDI_Driver_toggled\0"
    "checked\0on_actionPlay_MIDI_file_triggered\0"
    "on_actionConvert_MIDI_to_Wave_triggered\0"
    "on_menuPlay_Demo_Songs_aboutToShow\0"
    "on_actionSuitable_ROMs_unavailable_triggered\0"
    "handleDemoPlay\0QAction*\0"
    "on_menuOptions_aboutToShow\0"
    "on_actionStart_iconized_toggled\0"
    "on_actionHide_to_tray_on_close_toggled\0"
    "on_actionShow_LCD_balloons_toggled\0"
    "on_actionShow_connection_balloons_toggled\0"
    "on_actionShow_native_file_dialog_toggled\0"
    "on_actionConnect_JACK_audio_automatically_toggled\0"
    "on_menuFloating_Display_aboutToShow\0"
    "handleFloatingDisplayVisibilityChanged\0"
    "triggeredAction\0"
    "on_actionFloating_display_Bypass_window_manager_toggled\0"
    "on_synthTabs_currentChanged\0index\0"
    "on_actionROM_Configuration_triggered\0"
    "refreshTabNames\0showHideMainWindow\0"
    "showHideFloatingDisplay\0"
    "handleTrayIconMenuAboutToShow\0"
    "handleTrayIconActivated\0"
    "QSystemTrayIcon::ActivationReason\0"
    "reason\0toggleShowConsole\0handlePlayMidiFiles\0"
    "fileList\0handleConvertMidiFiles\0"
    "on_actionNew_JACK_MIDI_port_triggered\0"
    "on_actionNew_exclusive_JACK_MIDI_port_triggered"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MainWindow[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  194,    2, 0x08 /* Private */,
       3,    0,  195,    2, 0x08 /* Private */,
       4,    0,  196,    2, 0x08 /* Private */,
       5,    3,  197,    2, 0x08 /* Private */,
      11,    1,  204,    2, 0x08 /* Private */,
      12,    1,  207,    2, 0x08 /* Private */,
      15,    0,  210,    2, 0x08 /* Private */,
      16,    0,  211,    2, 0x08 /* Private */,
      17,    1,  212,    2, 0x08 /* Private */,
      19,    0,  215,    2, 0x08 /* Private */,
      20,    0,  216,    2, 0x08 /* Private */,
      21,    0,  217,    2, 0x08 /* Private */,
      22,    0,  218,    2, 0x08 /* Private */,
      23,    1,  219,    2, 0x08 /* Private */,
      25,    0,  222,    2, 0x08 /* Private */,
      26,    1,  223,    2, 0x08 /* Private */,
      27,    1,  226,    2, 0x08 /* Private */,
      28,    1,  229,    2, 0x08 /* Private */,
      29,    1,  232,    2, 0x08 /* Private */,
      30,    1,  235,    2, 0x08 /* Private */,
      31,    1,  238,    2, 0x08 /* Private */,
      32,    0,  241,    2, 0x08 /* Private */,
      33,    1,  242,    2, 0x08 /* Private */,
      35,    1,  245,    2, 0x08 /* Private */,
      36,    1,  248,    2, 0x08 /* Private */,
      38,    0,  251,    2, 0x08 /* Private */,
      39,    0,  252,    2, 0x08 /* Private */,
      40,    0,  253,    2, 0x08 /* Private */,
      41,    0,  254,    2, 0x08 /* Private */,
      42,    0,  255,    2, 0x08 /* Private */,
      43,    1,  256,    2, 0x08 /* Private */,
      46,    0,  259,    2, 0x08 /* Private */,
      47,    1,  260,    2, 0x08 /* Private */,
      49,    1,  263,    2, 0x08 /* Private */,
      50,    0,  266,    2, 0x08 /* Private */,
      51,    0,  267,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 8, QMetaType::Bool,    7,    9,   10,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 24,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 24,   34,
    QMetaType::Void, QMetaType::Bool,   18,
    QMetaType::Void, QMetaType::Int,   37,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 44,   45,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QStringList,   48,
    QMetaType::Void, QMetaType::QStringList,   48,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MainWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->on_actionExit_triggered(); break;
        case 1: _t->on_actionAbout_triggered(); break;
        case 2: _t->on_actionCommandLineHelp_triggered(); break;
        case 3: _t->handleSynthRouteAdded((*reinterpret_cast< SynthRoute*(*)>(_a[1])),(*reinterpret_cast< const AudioDevice*(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 4: _t->handleSynthRouteRemoved((*reinterpret_cast< SynthRoute*(*)>(_a[1]))); break;
        case 5: _t->handleROMSLoadFailed((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->on_menuTools_aboutToShow(); break;
        case 7: _t->on_actionNew_MIDI_port_triggered(); break;
        case 8: _t->on_actionTest_MIDI_Driver_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->on_actionPlay_MIDI_file_triggered(); break;
        case 10: _t->on_actionConvert_MIDI_to_Wave_triggered(); break;
        case 11: _t->on_menuPlay_Demo_Songs_aboutToShow(); break;
        case 12: _t->on_actionSuitable_ROMs_unavailable_triggered(); break;
        case 13: _t->handleDemoPlay((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 14: _t->on_menuOptions_aboutToShow(); break;
        case 15: _t->on_actionStart_iconized_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->on_actionHide_to_tray_on_close_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->on_actionShow_LCD_balloons_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 18: _t->on_actionShow_connection_balloons_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 19: _t->on_actionShow_native_file_dialog_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->on_actionConnect_JACK_audio_automatically_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 21: _t->on_menuFloating_Display_aboutToShow(); break;
        case 22: _t->handleFloatingDisplayVisibilityChanged((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        case 23: _t->on_actionFloating_display_Bypass_window_manager_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 24: _t->on_synthTabs_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 25: _t->on_actionROM_Configuration_triggered(); break;
        case 26: _t->refreshTabNames(); break;
        case 27: _t->showHideMainWindow(); break;
        case 28: _t->showHideFloatingDisplay(); break;
        case 29: _t->handleTrayIconMenuAboutToShow(); break;
        case 30: _t->handleTrayIconActivated((*reinterpret_cast< QSystemTrayIcon::ActivationReason(*)>(_a[1]))); break;
        case 31: _t->toggleShowConsole(); break;
        case 32: _t->handlePlayMidiFiles((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 33: _t->handleConvertMidiFiles((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 34: _t->on_actionNew_JACK_MIDI_port_triggered(); break;
        case 35: _t->on_actionNew_exclusive_JACK_MIDI_port_triggered(); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_MainWindow.data,
    qt_meta_data_MainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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