/****************************************************************************
** Meta object code from reading C++ file 'PlaylistActions.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/playlist/PlaylistActions.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'PlaylistActions.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_ZN8Playlist7ActionsE_t {};
} // unnamed namespace

template <> constexpr inline auto Playlist::Actions::qt_create_metaobjectdata<qt_meta_tag_ZN8Playlist7ActionsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Playlist::Actions",
        "navigatorChanged",
        "",
        "play",
        "row",
        "QModelIndex",
        "index",
        "id",
        "now",
        "next",
        "back",
        "enableDynamicMode",
        "enable",
        "playlistModeChanged",
        "repopulateDynamicPlaylist",
        "shuffle",
        "queue",
        "QList<int>",
        "rows",
        "QList<quint64>",
        "ids",
        "dequeue",
        "restoreDefaultPlaylist",
        "normalizeDynamicPlaylist",
        "repaintPlaylist",
        "slotTrackPlaying",
        "Meta::TrackPtr",
        "engineTrack",
        "slotPlayingStopped",
        "finalPosition",
        "trackLength"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'navigatorChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'play'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'play'
        QtMocHelpers::SlotData<void(const int)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
        // Slot 'play'
        QtMocHelpers::SlotData<void(const QModelIndex &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Slot 'play'
        QtMocHelpers::SlotData<void(const quint64, bool)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 7 }, { QMetaType::Bool, 8 },
        }}),
        // Slot 'play'
        QtMocHelpers::SlotData<void(const quint64)>(3, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::ULongLong, 7 },
        }}),
        // Slot 'next'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'back'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'enableDynamicMode'
        QtMocHelpers::SlotData<void(bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Slot 'playlistModeChanged'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'repopulateDynamicPlaylist'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'shuffle'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'queue'
        QtMocHelpers::SlotData<void(const QList<int> &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Slot 'queue'
        QtMocHelpers::SlotData<void(const QList<quint64> &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Slot 'dequeue'
        QtMocHelpers::SlotData<void(const QList<int> &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Slot 'restoreDefaultPlaylist'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'normalizeDynamicPlaylist'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'repaintPlaylist'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotTrackPlaying'
        QtMocHelpers::SlotData<void(Meta::TrackPtr)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 26, 27 },
        }}),
        // Slot 'slotPlayingStopped'
        QtMocHelpers::SlotData<void(qint64, qint64)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::LongLong, 29 }, { QMetaType::LongLong, 30 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Actions, qt_meta_tag_ZN8Playlist7ActionsE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Playlist::Actions::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Playlist7ActionsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Playlist7ActionsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8Playlist7ActionsE_t>.metaTypes,
    nullptr
} };

void Playlist::Actions::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Actions *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->navigatorChanged(); break;
        case 1: _t->play(); break;
        case 2: _t->play((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->play((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 4: _t->play((*reinterpret_cast<std::add_pointer_t<quint64>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 5: _t->play((*reinterpret_cast<std::add_pointer_t<quint64>>(_a[1]))); break;
        case 6: _t->next(); break;
        case 7: _t->back(); break;
        case 8: _t->enableDynamicMode((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->playlistModeChanged(); break;
        case 10: _t->repopulateDynamicPlaylist(); break;
        case 11: _t->shuffle(); break;
        case 12: _t->queue((*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[1]))); break;
        case 13: _t->queue((*reinterpret_cast<std::add_pointer_t<QList<quint64>>>(_a[1]))); break;
        case 14: _t->dequeue((*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[1]))); break;
        case 15: _t->restoreDefaultPlaylist(); break;
        case 16: _t->normalizeDynamicPlaylist(); break;
        case 17: _t->repaintPlaylist(); break;
        case 18: _t->slotTrackPlaying((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 19: _t->slotPlayingStopped((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<qint64>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<quint64> >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Actions::*)()>(_a, &Actions::navigatorChanged, 0))
            return;
    }
}

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

void *Playlist::Actions::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8Playlist7ActionsE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int Playlist::Actions::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    return _id;
}

// SIGNAL 0
void Playlist::Actions::navigatorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
