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

template <> constexpr inline auto ConcertWidget::qt_create_metaobjectdata<qt_meta_tag_ZN13ConcertWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ConcertWidget",
        "setActionSearchEnabled",
        "",
        "MainWidgets",
        "setActionSaveEnabled",
        "clear",
        "setConcert",
        "Concert*",
        "concert",
        "onStartScraperSearch",
        "onSaveInformation",
        "onSaveAll",
        "onPlayConcert",
        "setEnabledTrue",
        "setDisabledTrue",
        "setBigWindow",
        "bigWindow",
        "updateConcertInfo",
        "onInfoChanged",
        "onInfoLoadDone",
        "onLoadDone",
        "onLoadImagesStarted",
        "onLoadingImages",
        "QSet<ImageType>",
        "imageTypes",
        "onDownloadProgress",
        "current",
        "maximum",
        "onSetImage",
        "ImageType",
        "type",
        "imageData",
        "onChooseImage",
        "onDeleteImage",
        "onImageDropped",
        "imageType",
        "QUrl",
        "imageUrl",
        "concertNameChanged",
        "text",
        "addGenre",
        "genre",
        "removeGenre",
        "addTag",
        "tag",
        "removeTag",
        "onRevertChanges",
        "onArtPageOne",
        "onArtPageTwo",
        "onRemoveExtraFanart",
        "file",
        "image",
        "onAddExtraFanart",
        "onExtraFanartDropped",
        "QList<QUrl>",
        "updateImage",
        "ClosableImage*"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'setActionSearchEnabled'
        QtMocHelpers::SignalData<void(bool, MainWidgets)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Signal 'setActionSaveEnabled'
        QtMocHelpers::SignalData<void(bool, MainWidgets)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setConcert'
        QtMocHelpers::SlotData<void(Concert *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'onStartScraperSearch'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onSaveInformation'
        QtMocHelpers::SlotData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onSaveAll'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onPlayConcert'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setEnabledTrue'
        QtMocHelpers::SlotData<void(Concert *)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'setEnabledTrue'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void),
        // Slot 'setDisabledTrue'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setBigWindow'
        QtMocHelpers::SlotData<void(bool)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 16 },
        }}),
        // Slot 'updateConcertInfo'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'onInfoChanged'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onInfoLoadDone'
        QtMocHelpers::SlotData<void(Concert *)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'onLoadDone'
        QtMocHelpers::SlotData<void(Concert *)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'onLoadImagesStarted'
        QtMocHelpers::SlotData<void(Concert *)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'onLoadingImages'
        QtMocHelpers::SlotData<void(Concert *, QSet<ImageType>)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { 0x80000000 | 23, 24 },
        }}),
        // Slot 'onDownloadProgress'
        QtMocHelpers::SlotData<void(Concert *, int, int)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { QMetaType::Int, 26 }, { QMetaType::Int, 27 },
        }}),
        // Slot 'onSetImage'
        QtMocHelpers::SlotData<void(Concert *, ImageType, QByteArray)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { 0x80000000 | 29, 30 }, { QMetaType::QByteArray, 31 },
        }}),
        // Slot 'onChooseImage'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDeleteImage'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onImageDropped'
        QtMocHelpers::SlotData<void(ImageType, QUrl)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 29, 35 }, { 0x80000000 | 36, 37 },
        }}),
        // Slot 'concertNameChanged'
        QtMocHelpers::SlotData<void(QString)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 39 },
        }}),
        // Slot 'addGenre'
        QtMocHelpers::SlotData<void(QString)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 41 },
        }}),
        // Slot 'removeGenre'
        QtMocHelpers::SlotData<void(QString)>(42, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 41 },
        }}),
        // Slot 'addTag'
        QtMocHelpers::SlotData<void(QString)>(43, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 44 },
        }}),
        // Slot 'removeTag'
        QtMocHelpers::SlotData<void(QString)>(45, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 44 },
        }}),
        // Slot 'onRevertChanges'
        QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onArtPageOne'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onArtPageTwo'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onRemoveExtraFanart'
        QtMocHelpers::SlotData<void(QString)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 50 },
        }}),
        // Slot 'onRemoveExtraFanart'
        QtMocHelpers::SlotData<void(QByteArray)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QByteArray, 51 },
        }}),
        // Slot 'onAddExtraFanart'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onExtraFanartDropped'
        QtMocHelpers::SlotData<void(QVector<QUrl>)>(53, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 54, 37 },
        }}),
        // Slot 'updateImage'
        QtMocHelpers::SlotData<void(ImageType, ClosableImage *)>(55, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 29, 35 }, { 0x80000000 | 56, 51 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ConcertWidget, qt_meta_tag_ZN13ConcertWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ConcertWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13ConcertWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13ConcertWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13ConcertWidgetE_t>.metaTypes,
    nullptr
} };

void ConcertWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ConcertWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->setActionSearchEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MainWidgets>>(_a[2]))); break;
        case 1: _t->setActionSaveEnabled((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<MainWidgets>>(_a[2]))); break;
        case 2: _t->clear(); break;
        case 3: _t->setConcert((*reinterpret_cast<std::add_pointer_t<Concert*>>(_a[1]))); break;
        case 4: _t->onStartScraperSearch(); break;
        case 5: _t->onSaveInformation(); break;
        case 6: _t->onSaveAll(); break;
        case 7: _t->onPlayConcert(); break;
        case 8: _t->setEnabledTrue((*reinterpret_cast<std::add_pointer_t<Concert*>>(_a[1]))); break;
        case 9: _t->setEnabledTrue(); break;
        case 10: _t->setDisabledTrue(); break;
        case 11: _t->setBigWindow((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->updateConcertInfo(); break;
        case 13: _t->onInfoChanged(); break;
        case 14: _t->onInfoLoadDone((*reinterpret_cast<std::add_pointer_t<Concert*>>(_a[1]))); break;
        case 15: _t->onLoadDone((*reinterpret_cast<std::add_pointer_t<Concert*>>(_a[1]))); break;
        case 16: _t->onLoadImagesStarted((*reinterpret_cast<std::add_pointer_t<Concert*>>(_a[1]))); break;
        case 17: _t->onLoadingImages((*reinterpret_cast<std::add_pointer_t<Concert*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QSet<ImageType>>>(_a[2]))); break;
        case 18: _t->onDownloadProgress((*reinterpret_cast<std::add_pointer_t<Concert*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 19: _t->onSetImage((*reinterpret_cast<std::add_pointer_t<Concert*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<ImageType>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[3]))); break;
        case 20: _t->onChooseImage(); break;
        case 21: _t->onDeleteImage(); break;
        case 22: _t->onImageDropped((*reinterpret_cast<std::add_pointer_t<ImageType>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 23: _t->concertNameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 24: _t->addGenre((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 25: _t->removeGenre((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 26: _t->addTag((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 27: _t->removeTag((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 28: _t->onRevertChanges(); break;
        case 29: _t->onArtPageOne(); break;
        case 30: _t->onArtPageTwo(); break;
        case 31: _t->onRemoveExtraFanart((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 32: _t->onRemoveExtraFanart((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1]))); break;
        case 33: _t->onAddExtraFanart(); break;
        case 34: _t->onExtraFanartDropped((*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[1]))); break;
        case 35: _t->updateImage((*reinterpret_cast<std::add_pointer_t<ImageType>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<ClosableImage*>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< Concert* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Concert* >(); break;
            }
            break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Concert* >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Concert* >(); break;
            }
            break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Concert* >(); break;
            }
            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< Concert* >(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QSet<ImageType> >(); 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< Concert* >(); 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< Concert* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ConcertWidget::*)(bool , MainWidgets )>(_a, &ConcertWidget::setActionSearchEnabled, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ConcertWidget::*)(bool , MainWidgets )>(_a, &ConcertWidget::setActionSaveEnabled, 1))
            return;
    }
}

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

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

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

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

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