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

#include <memory>
#include "qprojectm_mainwindow.hpp"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qprojectm_mainwindow.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.14. 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_QProjectM_MainWindow_t {
    QByteArrayData data[46];
    char stringdata0[753];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QProjectM_MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QProjectM_MainWindow_t qt_meta_stringdata_QProjectM_MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 20), // "QProjectM_MainWindow"
QT_MOC_LITERAL(1, 21, 12), // "shuttingDown"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 19), // "dockLocationChanged"
QT_MOC_LITERAL(4, 55, 18), // "Qt::DockWidgetArea"
QT_MOC_LITERAL(5, 74, 4), // "area"
QT_MOC_LITERAL(6, 79, 19), // "presetRatingChanged"
QT_MOC_LITERAL(7, 99, 16), // "PresetRatingType"
QT_MOC_LITERAL(8, 116, 24), // "handleFailedPresetSwitch"
QT_MOC_LITERAL(9, 141, 9), // "isHardCut"
QT_MOC_LITERAL(10, 151, 5), // "index"
QT_MOC_LITERAL(11, 157, 7), // "message"
QT_MOC_LITERAL(12, 165, 13), // "presetHardCut"
QT_MOC_LITERAL(13, 179, 13), // "presetSoftCut"
QT_MOC_LITERAL(14, 193, 19), // "insertPresetsDialog"
QT_MOC_LITERAL(15, 213, 27), // "removeSelectedPlaylistItems"
QT_MOC_LITERAL(16, 241, 39), // "openPresetEditorDialogForSele..."
QT_MOC_LITERAL(17, 281, 24), // "popupPlaylistContextMenu"
QT_MOC_LITERAL(18, 306, 12), // "QMouseEvent*"
QT_MOC_LITERAL(19, 319, 15), // "QModelIndexList"
QT_MOC_LITERAL(20, 335, 5), // "items"
QT_MOC_LITERAL(21, 341, 15), // "hotkeyReference"
QT_MOC_LITERAL(22, 357, 18), // "selectPlaylistItem"
QT_MOC_LITERAL(23, 376, 8), // "rowIndex"
QT_MOC_LITERAL(24, 385, 18), // "clearPlaylistModel"
QT_MOC_LITERAL(25, 404, 22), // "openPresetEditorDialog"
QT_MOC_LITERAL(26, 427, 7), // "aboutQt"
QT_MOC_LITERAL(27, 435, 13), // "clearPlaylist"
QT_MOC_LITERAL(28, 449, 16), // "addPresetsDialog"
QT_MOC_LITERAL(29, 466, 11), // "QModelIndex"
QT_MOC_LITERAL(30, 478, 18), // "openPlaylistDialog"
QT_MOC_LITERAL(31, 497, 23), // "savePlaylistButtonClick"
QT_MOC_LITERAL(32, 521, 20), // "savePlaylistAsDialog"
QT_MOC_LITERAL(33, 542, 5), // "about"
QT_MOC_LITERAL(34, 548, 23), // "postProjectM_Initialize"
QT_MOC_LITERAL(35, 572, 23), // "updatePlaylistSelection"
QT_MOC_LITERAL(36, 596, 7), // "hardCut"
QT_MOC_LITERAL(37, 604, 21), // "changePresetAttribute"
QT_MOC_LITERAL(38, 626, 18), // "openSettingsDialog"
QT_MOC_LITERAL(39, 645, 22), // "updateFilteredPlaylist"
QT_MOC_LITERAL(40, 668, 4), // "text"
QT_MOC_LITERAL(41, 673, 14), // "refreshHeaders"
QT_MOC_LITERAL(42, 688, 13), // "QResizeEvent*"
QT_MOC_LITERAL(43, 702, 5), // "event"
QT_MOC_LITERAL(44, 708, 19), // "removePlaylistItems"
QT_MOC_LITERAL(45, 728, 24) // "dragAndDropPlaylistItems"

    },
    "QProjectM_MainWindow\0shuttingDown\0\0"
    "dockLocationChanged\0Qt::DockWidgetArea\0"
    "area\0presetRatingChanged\0PresetRatingType\0"
    "handleFailedPresetSwitch\0isHardCut\0"
    "index\0message\0presetHardCut\0presetSoftCut\0"
    "insertPresetsDialog\0removeSelectedPlaylistItems\0"
    "openPresetEditorDialogForSelectedPreset\0"
    "popupPlaylistContextMenu\0QMouseEvent*\0"
    "QModelIndexList\0items\0hotkeyReference\0"
    "selectPlaylistItem\0rowIndex\0"
    "clearPlaylistModel\0openPresetEditorDialog\0"
    "aboutQt\0clearPlaylist\0addPresetsDialog\0"
    "QModelIndex\0openPlaylistDialog\0"
    "savePlaylistButtonClick\0savePlaylistAsDialog\0"
    "about\0postProjectM_Initialize\0"
    "updatePlaylistSelection\0hardCut\0"
    "changePresetAttribute\0openSettingsDialog\0"
    "updateFilteredPlaylist\0text\0refreshHeaders\0"
    "QResizeEvent*\0event\0removePlaylistItems\0"
    "dragAndDropPlaylistItems"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QProjectM_MainWindow[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    1,  175,    2, 0x08 /* Private */,
       6,    3,  178,    2, 0x08 /* Private */,
       8,    3,  185,    2, 0x08 /* Private */,
      12,    0,  192,    2, 0x08 /* Private */,
      13,    0,  193,    2, 0x08 /* Private */,
      14,    0,  194,    2, 0x08 /* Private */,
      15,    0,  195,    2, 0x08 /* Private */,
      16,    0,  196,    2, 0x08 /* Private */,
      17,    2,  197,    2, 0x08 /* Private */,
      21,    0,  202,    2, 0x08 /* Private */,
      22,    1,  203,    2, 0x08 /* Private */,
      24,    0,  206,    2, 0x08 /* Private */,
      25,    1,  207,    2, 0x08 /* Private */,
      26,    0,  210,    2, 0x08 /* Private */,
      27,    0,  211,    2, 0x08 /* Private */,
      28,    0,  212,    2, 0x08 /* Private */,
      28,    1,  213,    2, 0x08 /* Private */,
      30,    0,  216,    2, 0x08 /* Private */,
      31,    0,  217,    2, 0x08 /* Private */,
      32,    0,  218,    2, 0x08 /* Private */,
      33,    0,  219,    2, 0x08 /* Private */,
      34,    0,  220,    2, 0x08 /* Private */,
      35,    2,  221,    2, 0x08 /* Private */,
      22,    1,  226,    2, 0x08 /* Private */,
      37,    1,  229,    2, 0x08 /* Private */,
      38,    0,  232,    2, 0x08 /* Private */,
      39,    1,  233,    2, 0x08 /* Private */,
      41,    1,  236,    2, 0x08 /* Private */,
      41,    0,  239,    2, 0x28 /* Private | MethodCloned */,
      44,    1,  240,    2, 0x08 /* Private */,
      45,    2,  243,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, QMetaType::UInt, QMetaType::Int, 0x80000000 | 7,    2,    2,    2,
    QMetaType::Void, QMetaType::Bool, QMetaType::UInt, QMetaType::QString,    9,   10,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 18, 0x80000000 | 19,    2,   20,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 29,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, QMetaType::UInt,   36,   10,
    QMetaType::Void, 0x80000000 | 29,   10,
    QMetaType::Void, 0x80000000 | 29,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   40,
    QMetaType::Void, 0x80000000 | 42,   43,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 19, 0x80000000 | 29,    2,    2,

       0        // eod
};

void QProjectM_MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QProjectM_MainWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->shuttingDown(); break;
        case 1: _t->dockLocationChanged((*reinterpret_cast< Qt::DockWidgetArea(*)>(_a[1]))); break;
        case 2: _t->presetRatingChanged((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< PresetRatingType(*)>(_a[3]))); break;
        case 3: _t->handleFailedPresetSwitch((*reinterpret_cast< const bool(*)>(_a[1])),(*reinterpret_cast< const uint(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 4: _t->presetHardCut(); break;
        case 5: _t->presetSoftCut(); break;
        case 6: _t->insertPresetsDialog(); break;
        case 7: _t->removeSelectedPlaylistItems(); break;
        case 8: _t->openPresetEditorDialogForSelectedPreset(); break;
        case 9: _t->popupPlaylistContextMenu((*reinterpret_cast< QMouseEvent*(*)>(_a[1])),(*reinterpret_cast< const QModelIndexList(*)>(_a[2]))); break;
        case 10: _t->hotkeyReference(); break;
        case 11: _t->selectPlaylistItem((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->clearPlaylistModel(); break;
        case 13: _t->openPresetEditorDialog((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->aboutQt(); break;
        case 15: _t->clearPlaylist(); break;
        case 16: _t->addPresetsDialog(); break;
        case 17: _t->addPresetsDialog((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 18: _t->openPlaylistDialog(); break;
        case 19: _t->savePlaylistButtonClick(); break;
        case 20: _t->savePlaylistAsDialog(); break;
        case 21: _t->about(); break;
        case 22: _t->postProjectM_Initialize(); break;
        case 23: _t->updatePlaylistSelection((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 24: _t->selectPlaylistItem((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 25: _t->changePresetAttribute((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 26: _t->openSettingsDialog(); break;
        case 27: _t->updateFilteredPlaylist((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 28: _t->refreshHeaders((*reinterpret_cast< QResizeEvent*(*)>(_a[1]))); break;
        case 29: _t->refreshHeaders(); break;
        case 30: _t->removePlaylistItems((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 31: _t->dragAndDropPlaylistItems((*reinterpret_cast< const QModelIndexList(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QProjectM_MainWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QProjectM_MainWindow::shuttingDown)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QProjectM_MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_QProjectM_MainWindow.data,
    qt_meta_data_QProjectM_MainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void QProjectM_MainWindow::shuttingDown()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
