/****************************************************************************
** Meta object code from reading C++ file 'CoverFoundDialog.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/covermanager/CoverFoundDialog.h"
#include <QtNetwork/QSslError>
#include <QtGui/qtextcursor.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 'CoverFoundDialog.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_ZN16CoverFoundDialogE_t {};
} // unnamed namespace

template <> constexpr inline auto CoverFoundDialog::qt_create_metaobjectdata<qt_meta_tag_ZN16CoverFoundDialogE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CoverFoundDialog",
        "newCustomQuery",
        "",
        "Meta::AlbumPtr",
        "album",
        "query",
        "page",
        "add",
        "QImage",
        "cover",
        "CoverFetch::Metadata",
        "metadata",
        "CoverFetch::ImageSize",
        "imageSize",
        "slotButtonClicked",
        "button",
        "addToCustomSearch",
        "text",
        "clearQueryButtonClicked",
        "clearView",
        "downloadProgressed",
        "bytesReceived",
        "bytesTotal",
        "fetchRequestRedirected",
        "QNetworkReply*",
        "oldReply",
        "newReply",
        "handleFetchResult",
        "QUrl",
        "url",
        "data",
        "NetworkAccessManagerProxy::Error",
        "e",
        "insertComboText",
        "currentItemChanged",
        "QListWidgetItem*",
        "current",
        "previous",
        "itemDoubleClicked",
        "item",
        "itemMenuRequested",
        "QPoint",
        "pos",
        "processCurrentQuery",
        "display",
        "processQuery",
        "input",
        "saveAs",
        "selectDiscogs",
        "selectLastFm",
        "selectGoogle",
        "sortingTriggered",
        "checked",
        "updateSearchButton"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'newCustomQuery'
        QtMocHelpers::SignalData<void(Meta::AlbumPtr, const QString &, int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::QString, 5 }, { QMetaType::Int, 6 },
        }}),
        // Slot 'add'
        QtMocHelpers::SlotData<void(const QImage &, const CoverFetch::Metadata &, const CoverFetch::ImageSize)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { 0x80000000 | 10, 11 }, { 0x80000000 | 12, 13 },
        }}),
        // Slot 'add'
        QtMocHelpers::SlotData<void(const QImage &, const CoverFetch::Metadata &)>(7, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 8, 9 }, { 0x80000000 | 10, 11 },
        }}),
        // Slot 'slotButtonClicked'
        QtMocHelpers::SlotData<void(int)>(14, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Int, 15 },
        }}),
        // Slot 'addToCustomSearch'
        QtMocHelpers::SlotData<void(const QString &)>(16, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 17 },
        }}),
        // Slot 'clearQueryButtonClicked'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'clearView'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'downloadProgressed'
        QtMocHelpers::SlotData<void(qint64, qint64)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::LongLong, 21 }, { QMetaType::LongLong, 22 },
        }}),
        // Slot 'fetchRequestRedirected'
        QtMocHelpers::SlotData<void(QNetworkReply *, QNetworkReply *)>(23, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 24, 25 }, { 0x80000000 | 24, 26 },
        }}),
        // Slot 'handleFetchResult'
        QtMocHelpers::SlotData<void(const QUrl &, const QByteArray &, const NetworkAccessManagerProxy::Error &)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { QMetaType::QByteArray, 30 }, { 0x80000000 | 31, 32 },
        }}),
        // Slot 'insertComboText'
        QtMocHelpers::SlotData<void(const QString &)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 17 },
        }}),
        // Slot 'currentItemChanged'
        QtMocHelpers::SlotData<void(QListWidgetItem *, QListWidgetItem *)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 35, 36 }, { 0x80000000 | 35, 37 },
        }}),
        // Slot 'itemDoubleClicked'
        QtMocHelpers::SlotData<void(QListWidgetItem *)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 35, 39 },
        }}),
        // Slot 'itemMenuRequested'
        QtMocHelpers::SlotData<void(const QPoint &)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 41, 42 },
        }}),
        // Slot 'processCurrentQuery'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'display'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'processQuery'
        QtMocHelpers::SlotData<void(const QString &)>(45, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 46 },
        }}),
        // Slot 'processQuery'
        QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate | QMC::MethodCloned, QMetaType::Void),
        // Slot 'saveAs'
        QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selectDiscogs'
        QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selectLastFm'
        QtMocHelpers::SlotData<void()>(49, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'selectGoogle'
        QtMocHelpers::SlotData<void()>(50, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'sortingTriggered'
        QtMocHelpers::SlotData<void(bool)>(51, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 52 },
        }}),
        // Slot 'updateSearchButton'
        QtMocHelpers::SlotData<void(const QString &)>(53, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 17 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CoverFoundDialog, qt_meta_tag_ZN16CoverFoundDialogE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject CoverFoundDialog::staticMetaObject = { {
    QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16CoverFoundDialogE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16CoverFoundDialogE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16CoverFoundDialogE_t>.metaTypes,
    nullptr
} };

void CoverFoundDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CoverFoundDialog *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->newCustomQuery((*reinterpret_cast<std::add_pointer_t<Meta::AlbumPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 1: _t->add((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<CoverFetch::Metadata>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<CoverFetch::ImageSize>>(_a[3]))); break;
        case 2: _t->add((*reinterpret_cast<std::add_pointer_t<QImage>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<CoverFetch::Metadata>>(_a[2]))); break;
        case 3: _t->slotButtonClicked((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->addToCustomSearch((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 5: _t->clearQueryButtonClicked(); break;
        case 6: _t->clearView(); break;
        case 7: _t->downloadProgressed((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<qint64>>(_a[2]))); break;
        case 8: _t->fetchRequestRedirected((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[2]))); break;
        case 9: _t->handleFetchResult((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<NetworkAccessManagerProxy::Error>>(_a[3]))); break;
        case 10: _t->insertComboText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->currentItemChanged((*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[2]))); break;
        case 12: _t->itemDoubleClicked((*reinterpret_cast<std::add_pointer_t<QListWidgetItem*>>(_a[1]))); break;
        case 13: _t->itemMenuRequested((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 14: _t->processCurrentQuery(); break;
        case 15: _t->display(); break;
        case 16: _t->processQuery((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 17: _t->processQuery(); break;
        case 18: _t->saveAs(); break;
        case 19: _t->selectDiscogs(); break;
        case 20: _t->selectLastFm(); break;
        case 21: _t->selectGoogle(); break;
        case 22: _t->sortingTriggered((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 23: _t->updateSearchButton((*reinterpret_cast<std::add_pointer_t<QString>>(_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< Meta::AlbumPtr >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< NetworkAccessManagerProxy::Error >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CoverFoundDialog::*)(Meta::AlbumPtr , const QString & , int )>(_a, &CoverFoundDialog::newCustomQuery, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void CoverFoundDialog::newCustomQuery(Meta::AlbumPtr _t1, const QString & _t2, int _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}
namespace {
struct qt_meta_tag_ZN17CoverFoundSideBarE_t {};
} // unnamed namespace

template <> constexpr inline auto CoverFoundSideBar::qt_create_metaobjectdata<qt_meta_tag_ZN17CoverFoundSideBarE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CoverFoundSideBar",
        "clear",
        "",
        "setPixmap",
        "QPixmap",
        "pixmap",
        "CoverFetch::Metadata",
        "metadata"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setPixmap'
        QtMocHelpers::SlotData<void(const QPixmap &, const CoverFetch::Metadata &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 }, { 0x80000000 | 6, 7 },
        }}),
        // Slot 'setPixmap'
        QtMocHelpers::SlotData<void(const QPixmap &)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CoverFoundSideBar, qt_meta_tag_ZN17CoverFoundSideBarE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject CoverFoundSideBar::staticMetaObject = { {
    QMetaObject::SuperData::link<BoxWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17CoverFoundSideBarE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17CoverFoundSideBarE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17CoverFoundSideBarE_t>.metaTypes,
    nullptr
} };

void CoverFoundSideBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CoverFoundSideBar *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->clear(); break;
        case 1: _t->setPixmap((*reinterpret_cast<std::add_pointer_t<QPixmap>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<CoverFetch::Metadata>>(_a[2]))); break;
        case 2: _t->setPixmap((*reinterpret_cast<std::add_pointer_t<QPixmap>>(_a[1]))); break;
        default: ;
        }
    }
}

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

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

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