/****************************************************************************
** Meta object code from reading C++ file 'qobuzservice.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 "../../../strawberry/src/qobuz/qobuzservice.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 'qobuzservice.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_ZN12QobuzServiceE_t {};
} // unnamed namespace

template <> constexpr inline auto QobuzService::qt_create_metaobjectdata<qt_meta_tag_ZN12QobuzServiceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "QobuzService",
        "Authenticate",
        "",
        "app_id",
        "app_secret",
        "private_key",
        "GetArtists",
        "GetAlbums",
        "GetSongs",
        "ResetArtistsRequest",
        "ResetAlbumsRequest",
        "ResetSongsRequest",
        "ExitReceived",
        "HandleLoginSSLErrors",
        "QList<QSslError>",
        "ssl_errors",
        "OAuthRedirectReceived",
        "HandleOAuthCallbackReply",
        "QNetworkReply*",
        "reply",
        "StartSearch",
        "ArtistsResultsReceived",
        "id",
        "SongMap",
        "songs",
        "error",
        "AlbumsResultsReceived",
        "SongsResultsReceived",
        "SearchResultsReceived",
        "ArtistsUpdateStatusReceived",
        "text",
        "AlbumsUpdateStatusReceived",
        "SongsUpdateStatusReceived",
        "ArtistsUpdateProgressReceived",
        "progress",
        "AlbumsUpdateProgressReceived",
        "SongsUpdateProgressReceived",
        "HandleStreamURLFailure",
        "QUrl",
        "media_url",
        "HandleStreamURLSuccess",
        "stream_url",
        "Song::FileType",
        "filetype",
        "samplerate",
        "bit_depth",
        "duration"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'Authenticate'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'Authenticate'
        QtMocHelpers::SlotData<void(const QString &, const QString &, const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 }, { QMetaType::QString, 4 }, { QMetaType::QString, 5 },
        }}),
        // Slot 'GetArtists'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'GetAlbums'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'GetSongs'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ResetArtistsRequest'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ResetAlbumsRequest'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ResetSongsRequest'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ExitReceived'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'HandleLoginSSLErrors'
        QtMocHelpers::SlotData<void(const QList<QSslError> &)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 14, 15 },
        }}),
        // Slot 'OAuthRedirectReceived'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'HandleOAuthCallbackReply'
        QtMocHelpers::SlotData<void(QNetworkReply *)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Slot 'StartSearch'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'ArtistsResultsReceived'
        QtMocHelpers::SlotData<void(const int, const SongMap &, const QString &)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { 0x80000000 | 23, 24 }, { QMetaType::QString, 25 },
        }}),
        // Slot 'AlbumsResultsReceived'
        QtMocHelpers::SlotData<void(const int, const SongMap &, const QString &)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { 0x80000000 | 23, 24 }, { QMetaType::QString, 25 },
        }}),
        // Slot 'SongsResultsReceived'
        QtMocHelpers::SlotData<void(const int, const SongMap &, const QString &)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { 0x80000000 | 23, 24 }, { QMetaType::QString, 25 },
        }}),
        // Slot 'SearchResultsReceived'
        QtMocHelpers::SlotData<void(const int, const SongMap &, const QString &)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { 0x80000000 | 23, 24 }, { QMetaType::QString, 25 },
        }}),
        // Slot 'ArtistsUpdateStatusReceived'
        QtMocHelpers::SlotData<void(const int, const QString &)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { QMetaType::QString, 30 },
        }}),
        // Slot 'AlbumsUpdateStatusReceived'
        QtMocHelpers::SlotData<void(const int, const QString &)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { QMetaType::QString, 30 },
        }}),
        // Slot 'SongsUpdateStatusReceived'
        QtMocHelpers::SlotData<void(const int, const QString &)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { QMetaType::QString, 30 },
        }}),
        // Slot 'ArtistsUpdateProgressReceived'
        QtMocHelpers::SlotData<void(const int, const int)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { QMetaType::Int, 34 },
        }}),
        // Slot 'AlbumsUpdateProgressReceived'
        QtMocHelpers::SlotData<void(const int, const int)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { QMetaType::Int, 34 },
        }}),
        // Slot 'SongsUpdateProgressReceived'
        QtMocHelpers::SlotData<void(const int, const int)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 22 }, { QMetaType::Int, 34 },
        }}),
        // Slot 'HandleStreamURLFailure'
        QtMocHelpers::SlotData<void(const uint, const QUrl &, const QString &)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UInt, 22 }, { 0x80000000 | 38, 39 }, { QMetaType::QString, 25 },
        }}),
        // Slot 'HandleStreamURLSuccess'
        QtMocHelpers::SlotData<void(const uint, const QUrl &, const QUrl &, const Song::FileType, const int, const int, const qint64)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UInt, 22 }, { 0x80000000 | 38, 39 }, { 0x80000000 | 38, 41 }, { 0x80000000 | 42, 43 },
            { QMetaType::Int, 44 }, { QMetaType::Int, 45 }, { QMetaType::LongLong, 46 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<QobuzService, qt_meta_tag_ZN12QobuzServiceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject QobuzService::staticMetaObject = { {
    QMetaObject::SuperData::link<StreamingService::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12QobuzServiceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12QobuzServiceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12QobuzServiceE_t>.metaTypes,
    nullptr
} };

void QobuzService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<QobuzService *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->Authenticate(); break;
        case 1: _t->Authenticate((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 2: _t->GetArtists(); break;
        case 3: _t->GetAlbums(); break;
        case 4: _t->GetSongs(); break;
        case 5: _t->ResetArtistsRequest(); break;
        case 6: _t->ResetAlbumsRequest(); break;
        case 7: _t->ResetSongsRequest(); break;
        case 8: _t->ExitReceived(); break;
        case 9: _t->HandleLoginSSLErrors((*reinterpret_cast<std::add_pointer_t<QList<QSslError>>>(_a[1]))); break;
        case 10: _t->OAuthRedirectReceived(); break;
        case 11: _t->HandleOAuthCallbackReply((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1]))); break;
        case 12: _t->StartSearch(); break;
        case 13: _t->ArtistsResultsReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<SongMap>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 14: _t->AlbumsResultsReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<SongMap>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 15: _t->SongsResultsReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<SongMap>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 16: _t->SearchResultsReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<SongMap>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 17: _t->ArtistsUpdateStatusReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 18: _t->AlbumsUpdateStatusReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 19: _t->SongsUpdateStatusReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 20: _t->ArtistsUpdateProgressReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 21: _t->AlbumsUpdateProgressReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 22: _t->SongsUpdateProgressReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 23: _t->HandleStreamURLFailure((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 24: _t->HandleStreamURLSuccess((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<Song::FileType>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[6])),(*reinterpret_cast<std::add_pointer_t<qint64>>(_a[7]))); break;
        default: ;
        }
    }
}

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

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

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