/****************************************************************************
** Meta object code from reading C++ file 'MusicWidgetArtist.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 "../../../../../../src/ui/music/MusicWidgetArtist.h"
#include <QtGui/qtextcursor.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#include <QtCore/QSet>

#include <QtCore/qtmochelpers.h>

#include <memory>


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

template <> constexpr inline auto MusicWidgetArtist::qt_create_metaobjectdata<qt_meta_tag_ZN17MusicWidgetArtistE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MusicWidgetArtist",
        "sigSetActionSearchEnabled",
        "",
        "MainWidgets",
        "sigSetActionSaveEnabled",
        "sigDownloadsStarted",
        "sigDownloadsProgress",
        "sigDownloadsFinished",
        "onSetEnabled",
        "enabled",
        "onClear",
        "onSaveInformation",
        "onStartScraperSearch",
        "onRevertChanges",
        "onItemChanged",
        "text",
        "onBiographyChanged",
        "onAddCloudItem",
        "onRemoveCloudItem",
        "onChooseImage",
        "onDeleteImage",
        "onImageDropped",
        "ImageType",
        "imageType",
        "QUrl",
        "imageUrl",
        "onInfoLoadDone",
        "Artist*",
        "artist",
        "onLoadDone",
        "onDownloadProgress",
        "current",
        "maximum",
        "onLoadingImages",
        "QSet<ImageType>",
        "imageTypes",
        "onLoadImagesStarted",
        "onSetImage",
        "type",
        "imageData",
        "onRemoveExtraFanart",
        "file",
        "image",
        "onAddExtraFanart",
        "onExtraFanartDropped",
        "QList<QUrl>",
        "imageUrls",
        "onAddAlbum",
        "onRemoveAlbum",
        "onAlbumEdited",
        "QTableWidgetItem*",
        "item"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sigSetActionSearchEnabled'
        QtMocHelpers::SignalData<void(bool, MainWidgets)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Signal 'sigSetActionSaveEnabled'
        QtMocHelpers::SignalData<void(bool, MainWidgets)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Signal 'sigDownloadsStarted'
        QtMocHelpers::SignalData<void(QString, int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'sigDownloadsProgress'
        QtMocHelpers::SignalData<void(int, int, int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 }, { QMetaType::Int, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'sigDownloadsFinished'
        QtMocHelpers::SignalData<void(int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'onSetEnabled'
        QtMocHelpers::SlotData<void(bool)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 9 },
        }}),
        // Slot 'onClear'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onSaveInformation'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onStartScraperSearch'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onRevertChanges'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onItemChanged'
        QtMocHelpers::SlotData<void(QString)>(14, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'onBiographyChanged'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onAddCloudItem'
        QtMocHelpers::SlotData<void(QString)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'onRemoveCloudItem'
        QtMocHelpers::SlotData<void(QString)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 15 },
        }}),
        // Slot 'onChooseImage'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDeleteImage'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onImageDropped'
        QtMocHelpers::SlotData<void(ImageType, QUrl)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 22, 23 }, { 0x80000000 | 24, 25 },
        }}),
        // Slot 'onInfoLoadDone'
        QtMocHelpers::SlotData<void(Artist *)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'onLoadDone'
        QtMocHelpers::SlotData<void(Artist *)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'onDownloadProgress'
        QtMocHelpers::SlotData<void(Artist *, int, int)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 27, 28 }, { QMetaType::Int, 31 }, { QMetaType::Int, 32 },
        }}),
        // Slot 'onLoadingImages'
        QtMocHelpers::SlotData<void(Artist *, QSet<ImageType>)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 27, 28 }, { 0x80000000 | 34, 35 },
        }}),
        // Slot 'onLoadImagesStarted'
        QtMocHelpers::SlotData<void(Artist *)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'onSetImage'
        QtMocHelpers::SlotData<void(Artist *, ImageType, QByteArray)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 27, 28 }, { 0x80000000 | 22, 38 }, { QMetaType::QByteArray, 39 },
        }}),
        // Slot 'onRemoveExtraFanart'
        QtMocHelpers::SlotData<void(QString)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 41 },
        }}),
        // Slot 'onRemoveExtraFanart'
        QtMocHelpers::SlotData<void(QByteArray)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QByteArray, 42 },
        }}),
        // Slot 'onAddExtraFanart'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onExtraFanartDropped'
        QtMocHelpers::SlotData<void(QVector<QUrl>)>(44, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 45, 46 },
        }}),
        // Slot 'onAddAlbum'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onRemoveAlbum'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onAlbumEdited'
        QtMocHelpers::SlotData<void(QTableWidgetItem *)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 50, 51 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MusicWidgetArtist, qt_meta_tag_ZN17MusicWidgetArtistE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MusicWidgetArtist::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17MusicWidgetArtistE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17MusicWidgetArtistE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17MusicWidgetArtistE_t>.metaTypes,
    nullptr
} };

void MusicWidgetArtist::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MusicWidgetArtist *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sigSetActionSearchEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MainWidgets>>(_a[2]))); break;
        case 1: _t->sigSetActionSaveEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MainWidgets>>(_a[2]))); break;
        case 2: _t->sigDownloadsStarted((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->sigDownloadsProgress((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 4: _t->sigDownloadsFinished((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->onSetEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->onClear(); break;
        case 7: _t->onSaveInformation(); break;
        case 8: _t->onStartScraperSearch(); break;
        case 9: _t->onRevertChanges(); break;
        case 10: _t->onItemChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->onBiographyChanged(); break;
        case 12: _t->onAddCloudItem((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 13: _t->onRemoveCloudItem((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->onChooseImage(); break;
        case 15: _t->onDeleteImage(); break;
        case 16: _t->onImageDropped((*reinterpret_cast<std::add_pointer_t<ImageType>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 17: _t->onInfoLoadDone((*reinterpret_cast<std::add_pointer_t<Artist*>>(_a[1]))); break;
        case 18: _t->onLoadDone((*reinterpret_cast<std::add_pointer_t<Artist*>>(_a[1]))); break;
        case 19: _t->onDownloadProgress((*reinterpret_cast<std::add_pointer_t<Artist*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 20: _t->onLoadingImages((*reinterpret_cast<std::add_pointer_t<Artist*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QSet<ImageType>>>(_a[2]))); break;
        case 21: _t->onLoadImagesStarted((*reinterpret_cast<std::add_pointer_t<Artist*>>(_a[1]))); break;
        case 22: _t->onSetImage((*reinterpret_cast<std::add_pointer_t<Artist*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<ImageType>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[3]))); break;
        case 23: _t->onRemoveExtraFanart((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 24: _t->onRemoveExtraFanart((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1]))); break;
        case 25: _t->onAddExtraFanart(); break;
        case 26: _t->onExtraFanartDropped((*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[1]))); break;
        case 27: _t->onAddAlbum(); break;
        case 28: _t->onRemoveAlbum(); break;
        case 29: _t->onAlbumEdited((*reinterpret_cast<std::add_pointer_t<QTableWidgetItem*>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Artist* >(); break;
            }
            break;
        case 18:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Artist* >(); break;
            }
            break;
        case 19:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Artist* >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Artist* >(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QSet<ImageType> >(); break;
            }
            break;
        case 21:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Artist* >(); break;
            }
            break;
        case 22:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Artist* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MusicWidgetArtist::*)(bool , MainWidgets )>(_a, &MusicWidgetArtist::sigSetActionSearchEnabled, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MusicWidgetArtist::*)(bool , MainWidgets )>(_a, &MusicWidgetArtist::sigSetActionSaveEnabled, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MusicWidgetArtist::*)(QString , int )>(_a, &MusicWidgetArtist::sigDownloadsStarted, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MusicWidgetArtist::*)(int , int , int )>(_a, &MusicWidgetArtist::sigDownloadsProgress, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MusicWidgetArtist::*)(int )>(_a, &MusicWidgetArtist::sigDownloadsFinished, 4))
            return;
    }
}

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

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

int MusicWidgetArtist::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 30)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 30;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 30)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 30;
    }
    return _id;
}

// SIGNAL 0
void MusicWidgetArtist::sigSetActionSearchEnabled(bool _t1, MainWidgets _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void MusicWidgetArtist::sigSetActionSaveEnabled(bool _t1, MainWidgets _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void MusicWidgetArtist::sigDownloadsStarted(QString _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void MusicWidgetArtist::sigDownloadsProgress(int _t1, int _t2, int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2, _t3);
}

// SIGNAL 4
void MusicWidgetArtist::sigDownloadsFinished(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
