/****************************************************************************
** Meta object code from reading C++ file 'PlaylistManager.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/playlistmanager/PlaylistManager.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 'PlaylistManager.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_ZN15PlaylistManagerE_t {};
} // unnamed namespace

template <> constexpr inline auto PlaylistManager::qt_create_metaobjectdata<qt_meta_tag_ZN15PlaylistManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PlaylistManager",
        "updated",
        "",
        "category",
        "categoryAdded",
        "providerAdded",
        "Playlists::PlaylistProvider*",
        "provider",
        "providerRemoved",
        "playlistAdded",
        "Playlists::PlaylistPtr",
        "playlist",
        "playlistRemoved",
        "playlistUpdated",
        "renamePlaylist",
        "slotUpdated",
        "slotPlaylistAdded",
        "slotPlaylistRemoved",
        "slotSyncNeeded",
        "PlaylistCategory",
        "UserPlaylist",
        "PodcastChannel"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'updated'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'categoryAdded'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'providerAdded'
        QtMocHelpers::SignalData<void(Playlists::PlaylistProvider *, int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { QMetaType::Int, 3 },
        }}),
        // Signal 'providerRemoved'
        QtMocHelpers::SignalData<void(Playlists::PlaylistProvider *, int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { QMetaType::Int, 3 },
        }}),
        // Signal 'playlistAdded'
        QtMocHelpers::SignalData<void(Playlists::PlaylistPtr, int)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 }, { QMetaType::Int, 3 },
        }}),
        // Signal 'playlistRemoved'
        QtMocHelpers::SignalData<void(Playlists::PlaylistPtr, int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 }, { QMetaType::Int, 3 },
        }}),
        // Signal 'playlistUpdated'
        QtMocHelpers::SignalData<void(Playlists::PlaylistPtr, int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 }, { QMetaType::Int, 3 },
        }}),
        // Signal 'renamePlaylist'
        QtMocHelpers::SignalData<void(Playlists::PlaylistPtr)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'slotUpdated'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotPlaylistAdded'
        QtMocHelpers::SlotData<void(Playlists::PlaylistPtr)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'slotPlaylistRemoved'
        QtMocHelpers::SlotData<void(Playlists::PlaylistPtr)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'slotSyncNeeded'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'PlaylistCategory'
        QtMocHelpers::EnumData<enum PlaylistCategory>(19, 19, QMC::EnumFlags{}).add({
            {   20, PlaylistCategory::UserPlaylist },
            {   21, PlaylistCategory::PodcastChannel },
        }),
    };
    return QtMocHelpers::metaObjectData<PlaylistManager, qt_meta_tag_ZN15PlaylistManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PlaylistManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15PlaylistManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15PlaylistManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15PlaylistManagerE_t>.metaTypes,
    nullptr
} };

void PlaylistManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PlaylistManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->updated((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->categoryAdded((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->providerAdded((*reinterpret_cast<std::add_pointer_t<Playlists::PlaylistProvider*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->providerRemoved((*reinterpret_cast<std::add_pointer_t<Playlists::PlaylistProvider*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 4: _t->playlistAdded((*reinterpret_cast<std::add_pointer_t<Playlists::PlaylistPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 5: _t->playlistRemoved((*reinterpret_cast<std::add_pointer_t<Playlists::PlaylistPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 6: _t->playlistUpdated((*reinterpret_cast<std::add_pointer_t<Playlists::PlaylistPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 7: _t->renamePlaylist((*reinterpret_cast<std::add_pointer_t<Playlists::PlaylistPtr>>(_a[1]))); break;
        case 8: _t->slotUpdated(); break;
        case 9: _t->slotPlaylistAdded((*reinterpret_cast<std::add_pointer_t<Playlists::PlaylistPtr>>(_a[1]))); break;
        case 10: _t->slotPlaylistRemoved((*reinterpret_cast<std::add_pointer_t<Playlists::PlaylistPtr>>(_a[1]))); break;
        case 11: _t->slotSyncNeeded(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Playlists::PlaylistProvider* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Playlists::PlaylistProvider* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Playlists::PlaylistPtr >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Playlists::PlaylistPtr >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Playlists::PlaylistPtr >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Playlists::PlaylistPtr >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Playlists::PlaylistPtr >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Playlists::PlaylistPtr >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PlaylistManager::*)(int )>(_a, &PlaylistManager::updated, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistManager::*)(int )>(_a, &PlaylistManager::categoryAdded, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistManager::*)(Playlists::PlaylistProvider * , int )>(_a, &PlaylistManager::providerAdded, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistManager::*)(Playlists::PlaylistProvider * , int )>(_a, &PlaylistManager::providerRemoved, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistManager::*)(Playlists::PlaylistPtr , int )>(_a, &PlaylistManager::playlistAdded, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistManager::*)(Playlists::PlaylistPtr , int )>(_a, &PlaylistManager::playlistRemoved, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistManager::*)(Playlists::PlaylistPtr , int )>(_a, &PlaylistManager::playlistUpdated, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaylistManager::*)(Playlists::PlaylistPtr )>(_a, &PlaylistManager::renamePlaylist, 7))
            return;
    }
}

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

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

int PlaylistManager::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 < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void PlaylistManager::updated(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void PlaylistManager::categoryAdded(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void PlaylistManager::providerAdded(Playlists::PlaylistProvider * _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void PlaylistManager::providerRemoved(Playlists::PlaylistProvider * _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}

// SIGNAL 4
void PlaylistManager::playlistAdded(Playlists::PlaylistPtr _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2);
}

// SIGNAL 5
void PlaylistManager::playlistRemoved(Playlists::PlaylistPtr _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void PlaylistManager::playlistUpdated(Playlists::PlaylistPtr _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 7
void PlaylistManager::renamePlaylist(Playlists::PlaylistPtr _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}
QT_WARNING_POP
