/****************************************************************************
** Meta object code from reading C++ file 'SqlQueryMaker.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/db/sql/SqlQueryMaker.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 'SqlQueryMaker.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_ZN11Collections13SqlQueryMakerE_t {};
} // unnamed namespace

template <> constexpr inline auto Collections::SqlQueryMaker::qt_create_metaobjectdata<qt_meta_tag_ZN11Collections13SqlQueryMakerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Collections::SqlQueryMaker",
        "done",
        "",
        "ThreadWeaver::JobPointer",
        "job",
        "blockingNewTracksReady",
        "Meta::TrackList",
        "blockingNewArtistsReady",
        "Meta::ArtistList",
        "blockingNewAlbumsReady",
        "Meta::AlbumList",
        "blockingNewGenresReady",
        "Meta::GenreList",
        "blockingNewComposersReady",
        "Meta::ComposerList",
        "blockingNewYearsReady",
        "Meta::YearList",
        "blockingNewResultReady",
        "blockingNewLabelsReady",
        "Meta::LabelList"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'done'
        QtMocHelpers::SlotData<void(ThreadWeaver::JobPointer)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'blockingNewTracksReady'
        QtMocHelpers::SlotData<void(const Meta::TrackList &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 2 },
        }}),
        // Slot 'blockingNewArtistsReady'
        QtMocHelpers::SlotData<void(const Meta::ArtistList &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 2 },
        }}),
        // Slot 'blockingNewAlbumsReady'
        QtMocHelpers::SlotData<void(const Meta::AlbumList &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 2 },
        }}),
        // Slot 'blockingNewGenresReady'
        QtMocHelpers::SlotData<void(const Meta::GenreList &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 2 },
        }}),
        // Slot 'blockingNewComposersReady'
        QtMocHelpers::SlotData<void(const Meta::ComposerList &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 2 },
        }}),
        // Slot 'blockingNewYearsReady'
        QtMocHelpers::SlotData<void(const Meta::YearList &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 },
        }}),
        // Slot 'blockingNewResultReady'
        QtMocHelpers::SlotData<void(const QStringList &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 2 },
        }}),
        // Slot 'blockingNewLabelsReady'
        QtMocHelpers::SlotData<void(const Meta::LabelList &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SqlQueryMaker, qt_meta_tag_ZN11Collections13SqlQueryMakerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Collections::SqlQueryMaker::staticMetaObject = { {
    QMetaObject::SuperData::link<QueryMaker::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections13SqlQueryMakerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections13SqlQueryMakerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11Collections13SqlQueryMakerE_t>.metaTypes,
    nullptr
} };

void Collections::SqlQueryMaker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SqlQueryMaker *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->done((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 1: _t->blockingNewTracksReady((*reinterpret_cast<std::add_pointer_t<Meta::TrackList>>(_a[1]))); break;
        case 2: _t->blockingNewArtistsReady((*reinterpret_cast<std::add_pointer_t<Meta::ArtistList>>(_a[1]))); break;
        case 3: _t->blockingNewAlbumsReady((*reinterpret_cast<std::add_pointer_t<Meta::AlbumList>>(_a[1]))); break;
        case 4: _t->blockingNewGenresReady((*reinterpret_cast<std::add_pointer_t<Meta::GenreList>>(_a[1]))); break;
        case 5: _t->blockingNewComposersReady((*reinterpret_cast<std::add_pointer_t<Meta::ComposerList>>(_a[1]))); break;
        case 6: _t->blockingNewYearsReady((*reinterpret_cast<std::add_pointer_t<Meta::YearList>>(_a[1]))); break;
        case 7: _t->blockingNewResultReady((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 8: _t->blockingNewLabelsReady((*reinterpret_cast<std::add_pointer_t<Meta::LabelList>>(_a[1]))); 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< ThreadWeaver::JobPointer >(); break;
            }
            break;
        }
    }
}

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

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

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