/****************************************************************************
** Meta object code from reading C++ file 'MusicScraper.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/scrapers/music/MusicScraper.h"
#include <QtNetwork/QSslError>
#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 'MusicScraper.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_ZN9mediaelch7scraper15ArtistSearchJobE_t {};
} // unnamed namespace

template <> constexpr inline auto mediaelch::scraper::ArtistSearchJob::qt_create_metaobjectdata<qt_meta_tag_ZN9mediaelch7scraper15ArtistSearchJobE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "mediaelch::scraper::ArtistSearchJob",
        "searchFinished",
        "",
        "mediaelch::scraper::ArtistSearchJob*",
        "searchJob"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'searchFinished'
        QtMocHelpers::SignalData<void(mediaelch::scraper::ArtistSearchJob *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ArtistSearchJob, qt_meta_tag_ZN9mediaelch7scraper15ArtistSearchJobE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject mediaelch::scraper::ArtistSearchJob::staticMetaObject = { {
    QMetaObject::SuperData::link<worker::Job::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper15ArtistSearchJobE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper15ArtistSearchJobE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9mediaelch7scraper15ArtistSearchJobE_t>.metaTypes,
    nullptr
} };

void mediaelch::scraper::ArtistSearchJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ArtistSearchJob *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->searchFinished((*reinterpret_cast<std::add_pointer_t<mediaelch::scraper::ArtistSearchJob*>>(_a[1])), QPrivateSignal()); 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< mediaelch::scraper::ArtistSearchJob* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ArtistSearchJob::*)(mediaelch::scraper::ArtistSearchJob * , QPrivateSignal)>(_a, &ArtistSearchJob::searchFinished, 0))
            return;
    }
}

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

void *mediaelch::scraper::ArtistSearchJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper15ArtistSearchJobE_t>.strings))
        return static_cast<void*>(this);
    return worker::Job::qt_metacast(_clname);
}

int mediaelch::scraper::ArtistSearchJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = worker::Job::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void mediaelch::scraper::ArtistSearchJob::searchFinished(mediaelch::scraper::ArtistSearchJob * _t1, QPrivateSignal _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}
namespace {
struct qt_meta_tag_ZN9mediaelch7scraper15ArtistScrapeJobE_t {};
} // unnamed namespace

template <> constexpr inline auto mediaelch::scraper::ArtistScrapeJob::qt_create_metaobjectdata<qt_meta_tag_ZN9mediaelch7scraper15ArtistScrapeJobE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "mediaelch::scraper::ArtistScrapeJob",
        "loadFinished",
        "",
        "mediaelch::scraper::ArtistScrapeJob*",
        "scrapeJob"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'loadFinished'
        QtMocHelpers::SignalData<void(mediaelch::scraper::ArtistScrapeJob *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ArtistScrapeJob, qt_meta_tag_ZN9mediaelch7scraper15ArtistScrapeJobE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject mediaelch::scraper::ArtistScrapeJob::staticMetaObject = { {
    QMetaObject::SuperData::link<worker::Job::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper15ArtistScrapeJobE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper15ArtistScrapeJobE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9mediaelch7scraper15ArtistScrapeJobE_t>.metaTypes,
    nullptr
} };

void mediaelch::scraper::ArtistScrapeJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ArtistScrapeJob *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->loadFinished((*reinterpret_cast<std::add_pointer_t<mediaelch::scraper::ArtistScrapeJob*>>(_a[1])), QPrivateSignal()); 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< mediaelch::scraper::ArtistScrapeJob* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ArtistScrapeJob::*)(mediaelch::scraper::ArtistScrapeJob * , QPrivateSignal)>(_a, &ArtistScrapeJob::loadFinished, 0))
            return;
    }
}

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

void *mediaelch::scraper::ArtistScrapeJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper15ArtistScrapeJobE_t>.strings))
        return static_cast<void*>(this);
    return worker::Job::qt_metacast(_clname);
}

int mediaelch::scraper::ArtistScrapeJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = worker::Job::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void mediaelch::scraper::ArtistScrapeJob::loadFinished(mediaelch::scraper::ArtistScrapeJob * _t1, QPrivateSignal _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}
namespace {
struct qt_meta_tag_ZN9mediaelch7scraper14AlbumSearchJobE_t {};
} // unnamed namespace

template <> constexpr inline auto mediaelch::scraper::AlbumSearchJob::qt_create_metaobjectdata<qt_meta_tag_ZN9mediaelch7scraper14AlbumSearchJobE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "mediaelch::scraper::AlbumSearchJob",
        "searchFinished",
        "",
        "mediaelch::scraper::AlbumSearchJob*",
        "searchJob"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'searchFinished'
        QtMocHelpers::SignalData<void(mediaelch::scraper::AlbumSearchJob *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AlbumSearchJob, qt_meta_tag_ZN9mediaelch7scraper14AlbumSearchJobE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject mediaelch::scraper::AlbumSearchJob::staticMetaObject = { {
    QMetaObject::SuperData::link<worker::Job::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper14AlbumSearchJobE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper14AlbumSearchJobE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9mediaelch7scraper14AlbumSearchJobE_t>.metaTypes,
    nullptr
} };

void mediaelch::scraper::AlbumSearchJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AlbumSearchJob *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->searchFinished((*reinterpret_cast<std::add_pointer_t<mediaelch::scraper::AlbumSearchJob*>>(_a[1])), QPrivateSignal()); 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< mediaelch::scraper::AlbumSearchJob* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AlbumSearchJob::*)(mediaelch::scraper::AlbumSearchJob * , QPrivateSignal)>(_a, &AlbumSearchJob::searchFinished, 0))
            return;
    }
}

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

void *mediaelch::scraper::AlbumSearchJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper14AlbumSearchJobE_t>.strings))
        return static_cast<void*>(this);
    return worker::Job::qt_metacast(_clname);
}

int mediaelch::scraper::AlbumSearchJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = worker::Job::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void mediaelch::scraper::AlbumSearchJob::searchFinished(mediaelch::scraper::AlbumSearchJob * _t1, QPrivateSignal _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}
namespace {
struct qt_meta_tag_ZN9mediaelch7scraper14AlbumScrapeJobE_t {};
} // unnamed namespace

template <> constexpr inline auto mediaelch::scraper::AlbumScrapeJob::qt_create_metaobjectdata<qt_meta_tag_ZN9mediaelch7scraper14AlbumScrapeJobE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "mediaelch::scraper::AlbumScrapeJob",
        "loadFinished",
        "",
        "mediaelch::scraper::AlbumScrapeJob*",
        "scrapeJob"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'loadFinished'
        QtMocHelpers::SignalData<void(mediaelch::scraper::AlbumScrapeJob *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AlbumScrapeJob, qt_meta_tag_ZN9mediaelch7scraper14AlbumScrapeJobE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject mediaelch::scraper::AlbumScrapeJob::staticMetaObject = { {
    QMetaObject::SuperData::link<worker::Job::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper14AlbumScrapeJobE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper14AlbumScrapeJobE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9mediaelch7scraper14AlbumScrapeJobE_t>.metaTypes,
    nullptr
} };

void mediaelch::scraper::AlbumScrapeJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AlbumScrapeJob *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->loadFinished((*reinterpret_cast<std::add_pointer_t<mediaelch::scraper::AlbumScrapeJob*>>(_a[1])), QPrivateSignal()); 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< mediaelch::scraper::AlbumScrapeJob* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AlbumScrapeJob::*)(mediaelch::scraper::AlbumScrapeJob * , QPrivateSignal)>(_a, &AlbumScrapeJob::loadFinished, 0))
            return;
    }
}

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

void *mediaelch::scraper::AlbumScrapeJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper14AlbumScrapeJobE_t>.strings))
        return static_cast<void*>(this);
    return worker::Job::qt_metacast(_clname);
}

int mediaelch::scraper::AlbumScrapeJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = worker::Job::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void mediaelch::scraper::AlbumScrapeJob::loadFinished(mediaelch::scraper::AlbumScrapeJob * _t1, QPrivateSignal _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}
namespace {
struct qt_meta_tag_ZN9mediaelch7scraper12MusicScraperE_t {};
} // unnamed namespace

template <> constexpr inline auto mediaelch::scraper::MusicScraper::qt_create_metaobjectdata<qt_meta_tag_ZN9mediaelch7scraper12MusicScraperE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "mediaelch::scraper::MusicScraper",
        "initialized",
        "",
        "isInitialized"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'initialized'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MusicScraper, qt_meta_tag_ZN9mediaelch7scraper12MusicScraperE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject mediaelch::scraper::MusicScraper::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper12MusicScraperE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper12MusicScraperE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9mediaelch7scraper12MusicScraperE_t>.metaTypes,
    nullptr
} };

void mediaelch::scraper::MusicScraper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MusicScraper *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->initialized((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MusicScraper::*)(bool )>(_a, &MusicScraper::initialized, 0))
            return;
    }
}

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

void *mediaelch::scraper::MusicScraper::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9mediaelch7scraper12MusicScraperE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ScraperInterface"))
        return static_cast< ScraperInterface*>(this);
    return QObject::qt_metacast(_clname);
}

int mediaelch::scraper::MusicScraper::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void mediaelch::scraper::MusicScraper::initialized(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
