/****************************************************************************
** Meta object code from reading C++ file 'PlaydarQueryMaker.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/core-impl/collections/playdarcollection/PlaydarQueryMaker.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 'PlaydarQueryMaker.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_ZN11Collections17PlaydarQueryMakerE_t {};
} // unnamed namespace

template <> constexpr inline auto Collections::PlaydarQueryMaker::qt_create_metaobjectdata<qt_meta_tag_ZN11Collections17PlaydarQueryMakerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Collections::PlaydarQueryMaker",
        "newTracksReady",
        "",
        "Meta::TrackList",
        "newArtistsReady",
        "Meta::ArtistList",
        "newAlbumsReady",
        "Meta::AlbumList",
        "newGenresReady",
        "Meta::GenreList",
        "newComposersReady",
        "Meta::ComposerList",
        "newYearsReady",
        "Meta::YearList",
        "newResultReady",
        "newLabelsReady",
        "Meta::LabelList",
        "queryDone",
        "playdarError",
        "Playdar::Controller::ErrorState",
        "slotPlaydarError",
        "error",
        "collectQuery",
        "Playdar::Query*",
        "query",
        "collectResult",
        "Meta::PlaydarTrackPtr",
        "track",
        "aQueryEnded",
        "Meta::PlaydarTrackList",
        "trackList",
        "memoryQueryDone"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'newTracksReady'
        QtMocHelpers::SignalData<void(const Meta::TrackList &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'newArtistsReady'
        QtMocHelpers::SignalData<void(const Meta::ArtistList &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 2 },
        }}),
        // Signal 'newAlbumsReady'
        QtMocHelpers::SignalData<void(const Meta::AlbumList &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
        // Signal 'newGenresReady'
        QtMocHelpers::SignalData<void(const Meta::GenreList &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 2 },
        }}),
        // Signal 'newComposersReady'
        QtMocHelpers::SignalData<void(const Meta::ComposerList &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 },
        }}),
        // Signal 'newYearsReady'
        QtMocHelpers::SignalData<void(const Meta::YearList &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 2 },
        }}),
        // Signal 'newResultReady'
        QtMocHelpers::SignalData<void(const QStringList &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 2 },
        }}),
        // Signal 'newLabelsReady'
        QtMocHelpers::SignalData<void(const Meta::LabelList &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 },
        }}),
        // Signal 'queryDone'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'playdarError'
        QtMocHelpers::SignalData<void(Playdar::Controller::ErrorState)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 2 },
        }}),
        // Slot 'slotPlaydarError'
        QtMocHelpers::SlotData<void(Playdar::Controller::ErrorState)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 19, 21 },
        }}),
        // Slot 'collectQuery'
        QtMocHelpers::SlotData<void(Playdar::Query *)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Slot 'collectResult'
        QtMocHelpers::SlotData<void(Meta::PlaydarTrackPtr)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 26, 27 },
        }}),
        // Slot 'aQueryEnded'
        QtMocHelpers::SlotData<void(Playdar::Query *, const Meta::PlaydarTrackList &)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 24 }, { 0x80000000 | 29, 30 },
        }}),
        // Slot 'memoryQueryDone'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PlaydarQueryMaker, qt_meta_tag_ZN11Collections17PlaydarQueryMakerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Collections::PlaydarQueryMaker::staticMetaObject = { {
    QMetaObject::SuperData::link<QueryMaker::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections17PlaydarQueryMakerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections17PlaydarQueryMakerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11Collections17PlaydarQueryMakerE_t>.metaTypes,
    nullptr
} };

void Collections::PlaydarQueryMaker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PlaydarQueryMaker *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->newTracksReady((*reinterpret_cast<std::add_pointer_t<Meta::TrackList>>(_a[1]))); break;
        case 1: _t->newArtistsReady((*reinterpret_cast<std::add_pointer_t<Meta::ArtistList>>(_a[1]))); break;
        case 2: _t->newAlbumsReady((*reinterpret_cast<std::add_pointer_t<Meta::AlbumList>>(_a[1]))); break;
        case 3: _t->newGenresReady((*reinterpret_cast<std::add_pointer_t<Meta::GenreList>>(_a[1]))); break;
        case 4: _t->newComposersReady((*reinterpret_cast<std::add_pointer_t<Meta::ComposerList>>(_a[1]))); break;
        case 5: _t->newYearsReady((*reinterpret_cast<std::add_pointer_t<Meta::YearList>>(_a[1]))); break;
        case 6: _t->newResultReady((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 7: _t->newLabelsReady((*reinterpret_cast<std::add_pointer_t<Meta::LabelList>>(_a[1]))); break;
        case 8: _t->queryDone(); break;
        case 9: _t->playdarError((*reinterpret_cast<std::add_pointer_t<Playdar::Controller::ErrorState>>(_a[1]))); break;
        case 10: _t->slotPlaydarError((*reinterpret_cast<std::add_pointer_t<Playdar::Controller::ErrorState>>(_a[1]))); break;
        case 11: _t->collectQuery((*reinterpret_cast<std::add_pointer_t<Playdar::Query*>>(_a[1]))); break;
        case 12: _t->collectResult((*reinterpret_cast<std::add_pointer_t<Meta::PlaydarTrackPtr>>(_a[1]))); break;
        case 13: _t->aQueryEnded((*reinterpret_cast<std::add_pointer_t<Playdar::Query*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Meta::PlaydarTrackList>>(_a[2]))); break;
        case 14: _t->memoryQueryDone(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Meta::TrackList >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Meta::ArtistList >(); break;
            }
            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< Meta::AlbumList >(); 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< Meta::GenreList >(); 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< Meta::ComposerList >(); 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< Meta::YearList >(); 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< Meta::LabelList >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Playdar::Query* >(); 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< Playdar::Query* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PlaydarQueryMaker::*)(const Meta::TrackList & )>(_a, &PlaydarQueryMaker::newTracksReady, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaydarQueryMaker::*)(const Meta::ArtistList & )>(_a, &PlaydarQueryMaker::newArtistsReady, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaydarQueryMaker::*)(const Meta::AlbumList & )>(_a, &PlaydarQueryMaker::newAlbumsReady, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaydarQueryMaker::*)(const Meta::GenreList & )>(_a, &PlaydarQueryMaker::newGenresReady, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaydarQueryMaker::*)(const Meta::ComposerList & )>(_a, &PlaydarQueryMaker::newComposersReady, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaydarQueryMaker::*)(const Meta::YearList & )>(_a, &PlaydarQueryMaker::newYearsReady, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaydarQueryMaker::*)(const QStringList & )>(_a, &PlaydarQueryMaker::newResultReady, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaydarQueryMaker::*)(const Meta::LabelList & )>(_a, &PlaydarQueryMaker::newLabelsReady, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaydarQueryMaker::*)()>(_a, &PlaydarQueryMaker::queryDone, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlaydarQueryMaker::*)(Playdar::Controller::ErrorState )>(_a, &PlaydarQueryMaker::playdarError, 9))
            return;
    }
}

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

void *Collections::PlaydarQueryMaker::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections17PlaydarQueryMakerE_t>.strings))
        return static_cast<void*>(this);
    return QueryMaker::qt_metacast(_clname);
}

int Collections::PlaydarQueryMaker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QueryMaker::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    }
    return _id;
}

// SIGNAL 0
void Collections::PlaydarQueryMaker::newTracksReady(const Meta::TrackList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Collections::PlaydarQueryMaker::newArtistsReady(const Meta::ArtistList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Collections::PlaydarQueryMaker::newAlbumsReady(const Meta::AlbumList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Collections::PlaydarQueryMaker::newGenresReady(const Meta::GenreList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Collections::PlaydarQueryMaker::newComposersReady(const Meta::ComposerList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Collections::PlaydarQueryMaker::newYearsReady(const Meta::YearList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void Collections::PlaydarQueryMaker::newResultReady(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void Collections::PlaydarQueryMaker::newLabelsReady(const Meta::LabelList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void Collections::PlaydarQueryMaker::queryDone()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Collections::PlaydarQueryMaker::playdarError(Playdar::Controller::ErrorState _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}
QT_WARNING_POP
