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

#include "../../../../amarok-3.3.3/src/MainWindow.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MainWindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN10MainWindowE_t {};
} // unnamed namespace

template <> constexpr inline auto MainWindow::qt_create_metaobjectdata<qt_meta_tag_ZN10MainWindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MainWindow",
        "loveTrack",
        "",
        "Meta::TrackPtr",
        "track",
        "banTrack",
        "skipTrack",
        "switchQueueStateShortcut",
        "drawNeedChanged",
        "showHide",
        "slotFullScreen",
        "showNotificationPopup",
        "setLayoutLocked",
        "locked",
        "resetLayout",
        "showAbout",
        "showReportBug",
        "setDefaultDockSizes",
        "slotLoveTrack",
        "slotBanTrack",
        "slotStopped",
        "slotPaused",
        "slotNewTrackPlaying",
        "slotMetadataChanged",
        "exportPlaylist",
        "slotShowActiveTrack",
        "slotEditTrackInfo",
        "slotShowBookmarkManager",
        "slotShowEqualizer",
        "slotShowCoverManager",
        "slotShowDiagnosticsDialog",
        "slotShowMenuBar",
        "slotPlayMedia",
        "slotAddLocation",
        "directPlay",
        "slotAddStream",
        "slotFocusPlaylistSearch",
        "slotFocusCollectionSearch",
        "slotShufflePlaylist",
        "slotSeekForwardShort",
        "slotSeekForwardMedium",
        "slotSeekForwardLong",
        "slotSeekBackwardShort",
        "slotSeekBackwardMedium",
        "slotSeekBackwardLong",
        "slotPutCurrentTrackToClipboard",
        "setRating1",
        "setRating2",
        "setRating3",
        "setRating4",
        "setRating5"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'loveTrack'
        QtMocHelpers::SignalData<void(Meta::TrackPtr)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'banTrack'
        QtMocHelpers::SignalData<void(Meta::TrackPtr)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'skipTrack'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'switchQueueStateShortcut'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'drawNeedChanged'
        QtMocHelpers::SignalData<void(bool) const>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'showHide'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotFullScreen'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showNotificationPopup'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setLayoutLocked'
        QtMocHelpers::SlotData<void(bool)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 13 },
        }}),
        // Slot 'resetLayout'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showAbout'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showReportBug'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setDefaultDockSizes'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotLoveTrack'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotBanTrack'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotStopped'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotPaused'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotNewTrackPlaying'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotMetadataChanged'
        QtMocHelpers::SlotData<void(Meta::TrackPtr)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'exportPlaylist'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowActiveTrack'
        QtMocHelpers::SlotData<void() const>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotEditTrackInfo'
        QtMocHelpers::SlotData<void() const>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowBookmarkManager'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowEqualizer'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowCoverManager'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowDiagnosticsDialog'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowMenuBar'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotPlayMedia'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotAddLocation'
        QtMocHelpers::SlotData<void(bool)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 34 },
        }}),
        // Slot 'slotAddLocation'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'slotAddStream'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotFocusPlaylistSearch'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotFocusCollectionSearch'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShufflePlaylist'
        QtMocHelpers::SlotData<void()>(38, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSeekForwardShort'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSeekForwardMedium'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSeekForwardLong'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSeekBackwardShort'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSeekBackwardMedium'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSeekBackwardLong'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotPutCurrentTrackToClipboard'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setRating1'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setRating2'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setRating3'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setRating4'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'setRating5'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MainWindow, qt_meta_tag_ZN10MainWindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<KMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10MainWindowE_t>.metaTypes,
    nullptr
} };

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MainWindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->loveTrack((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 1: _t->banTrack((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 2: _t->skipTrack(); break;
        case 3: _t->switchQueueStateShortcut(); break;
        case 4: _t->drawNeedChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->showHide(); break;
        case 6: _t->slotFullScreen(); break;
        case 7: _t->showNotificationPopup(); break;
        case 8: _t->setLayoutLocked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->resetLayout(); break;
        case 10: _t->showAbout(); break;
        case 11: _t->showReportBug(); break;
        case 12: _t->setDefaultDockSizes(); break;
        case 13: _t->slotLoveTrack(); break;
        case 14: _t->slotBanTrack(); break;
        case 15: _t->slotStopped(); break;
        case 16: _t->slotPaused(); break;
        case 17: _t->slotNewTrackPlaying(); break;
        case 18: _t->slotMetadataChanged((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 19: _t->exportPlaylist(); break;
        case 20: _t->slotShowActiveTrack(); break;
        case 21: _t->slotEditTrackInfo(); break;
        case 22: _t->slotShowBookmarkManager(); break;
        case 23: _t->slotShowEqualizer(); break;
        case 24: _t->slotShowCoverManager(); break;
        case 25: _t->slotShowDiagnosticsDialog(); break;
        case 26: _t->slotShowMenuBar(); break;
        case 27: _t->slotPlayMedia(); break;
        case 28: _t->slotAddLocation((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 29: _t->slotAddLocation(); break;
        case 30: _t->slotAddStream(); break;
        case 31: _t->slotFocusPlaylistSearch(); break;
        case 32: _t->slotFocusCollectionSearch(); break;
        case 33: _t->slotShufflePlaylist(); break;
        case 34: _t->slotSeekForwardShort(); break;
        case 35: _t->slotSeekForwardMedium(); break;
        case 36: _t->slotSeekForwardLong(); break;
        case 37: _t->slotSeekBackwardShort(); break;
        case 38: _t->slotSeekBackwardMedium(); break;
        case 39: _t->slotSeekBackwardLong(); break;
        case 40: _t->slotPutCurrentTrackToClipboard(); break;
        case 41: _t->setRating1(); break;
        case 42: _t->setRating2(); break;
        case 43: _t->setRating3(); break;
        case 44: _t->setRating4(); break;
        case 45: _t->setRating5(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MainWindow::*)(Meta::TrackPtr )>(_a, &MainWindow::loveTrack, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MainWindow::*)(Meta::TrackPtr )>(_a, &MainWindow::banTrack, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MainWindow::*)()>(_a, &MainWindow::skipTrack, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MainWindow::*)()>(_a, &MainWindow::switchQueueStateShortcut, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MainWindow::*)(bool ) const>(_a, &MainWindow::drawNeedChanged, 4))
            return;
    }
}

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_staticMetaObjectStaticContent<qt_meta_tag_ZN10MainWindowE_t>.strings))
        return static_cast<void*>(this);
    return KMainWindow::qt_metacast(_clname);
}

int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 46)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 46;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 46)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 46;
    }
    return _id;
}

// SIGNAL 0
void MainWindow::loveTrack(Meta::TrackPtr _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void MainWindow::banTrack(Meta::TrackPtr _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

// SIGNAL 3
void MainWindow::switchQueueStateShortcut()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void MainWindow::drawNeedChanged(bool _t1)const
{
    QMetaObject::activate<void>(const_cast< MainWindow *>(this), &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
