/****************************************************************************
** Meta object code from reading C++ file 'IpodCopyTracksJob.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/core-impl/collections/ipodcollection/jobs/IpodCopyTracksJob.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 'IpodCopyTracksJob.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_ZN17IpodCopyTracksJobE_t {};
} // unnamed namespace

template <> constexpr inline auto IpodCopyTracksJob::qt_create_metaobjectdata<qt_meta_tag_ZN17IpodCopyTracksJobE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "IpodCopyTracksJob",
        "startDuplicateTrackSearch",
        "",
        "Meta::TrackPtr",
        "track",
        "startCopyOrTranscodeJob",
        "QUrl",
        "src",
        "dest",
        "isJustCopy",
        "displayErrorDialog",
        "incrementProgress",
        "endProgressOperation",
        "obj",
        "totalSteps",
        "steps",
        "signalTrackProcessed",
        "srcTrack",
        "destTrack",
        "IpodCopyTracksJob::CopiedStatus",
        "status",
        "started",
        "ThreadWeaver::JobPointer",
        "done",
        "failed",
        "abort",
        "slotStartDuplicateTrackSearch",
        "slotDuplicateTrackSearchNewResult",
        "Meta::TrackList",
        "tracks",
        "slotDuplicateTrackSearchQueryDone",
        "slotStartCopyOrTranscodeJob",
        "sourceUrl",
        "destUrl",
        "slotCopyOrTranscodeJobFinished",
        "KJob*",
        "job",
        "slotDisplayErrorDialog"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'startDuplicateTrackSearch'
        QtMocHelpers::SignalData<void(const Meta::TrackPtr &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'startCopyOrTranscodeJob'
        QtMocHelpers::SignalData<void(const QUrl &, const QUrl &, bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { 0x80000000 | 6, 8 }, { QMetaType::Bool, 9 },
        }}),
        // Signal 'displayErrorDialog'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'incrementProgress'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'endProgressOperation'
        QtMocHelpers::SignalData<void(QObject *)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QObjectStar, 13 },
        }}),
        // Signal 'totalSteps'
        QtMocHelpers::SignalData<void(int)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 15 },
        }}),
        // Signal 'signalTrackProcessed'
        QtMocHelpers::SignalData<void(Meta::TrackPtr, Meta::TrackPtr, IpodCopyTracksJob::CopiedStatus)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 17 }, { 0x80000000 | 3, 18 }, { 0x80000000 | 19, 20 },
        }}),
        // Signal 'started'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 2 },
        }}),
        // Signal 'done'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 2 },
        }}),
        // Signal 'failed'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 2 },
        }}),
        // Slot 'abort'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotStartDuplicateTrackSearch'
        QtMocHelpers::SlotData<void(const Meta::TrackPtr &)>(26, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'slotDuplicateTrackSearchNewResult'
        QtMocHelpers::SlotData<void(const Meta::TrackList &)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 28, 29 },
        }}),
        // Slot 'slotDuplicateTrackSearchQueryDone'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotStartCopyOrTranscodeJob'
        QtMocHelpers::SlotData<void(const QUrl &, const QUrl &, bool)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 6, 32 }, { 0x80000000 | 6, 33 }, { QMetaType::Bool, 9 },
        }}),
        // Slot 'slotCopyOrTranscodeJobFinished'
        QtMocHelpers::SlotData<void(KJob *)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 35, 36 },
        }}),
        // Slot 'slotDisplayErrorDialog'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<IpodCopyTracksJob, qt_meta_tag_ZN17IpodCopyTracksJobE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject IpodCopyTracksJob::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17IpodCopyTracksJobE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17IpodCopyTracksJobE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN17IpodCopyTracksJobE_t>.metaTypes,
    nullptr
} };

void IpodCopyTracksJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<IpodCopyTracksJob *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->startDuplicateTrackSearch((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 1: _t->startCopyOrTranscodeJob((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 2: _t->displayErrorDialog(); break;
        case 3: _t->incrementProgress(); break;
        case 4: _t->endProgressOperation((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 5: _t->totalSteps((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->signalTrackProcessed((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<IpodCopyTracksJob::CopiedStatus>>(_a[3]))); break;
        case 7: _t->started((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 8: _t->done((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 9: _t->failed((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 10: _t->abort(); break;
        case 11: _t->slotStartDuplicateTrackSearch((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 12: _t->slotDuplicateTrackSearchNewResult((*reinterpret_cast<std::add_pointer_t<Meta::TrackList>>(_a[1]))); break;
        case 13: _t->slotDuplicateTrackSearchQueryDone(); break;
        case 14: _t->slotStartCopyOrTranscodeJob((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 15: _t->slotCopyOrTranscodeJobFinished((*reinterpret_cast<std::add_pointer_t<KJob*>>(_a[1]))); break;
        case 16: _t->slotDisplayErrorDialog(); 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::TrackPtr >(); break;
            }
            break;
        case 6:
            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< Meta::TrackPtr >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ThreadWeaver::JobPointer >(); 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< ThreadWeaver::JobPointer >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< ThreadWeaver::JobPointer >(); break;
            }
            break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Meta::TrackPtr >(); break;
            }
            break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Meta::TrackList >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (IpodCopyTracksJob::*)(const Meta::TrackPtr & )>(_a, &IpodCopyTracksJob::startDuplicateTrackSearch, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (IpodCopyTracksJob::*)(const QUrl & , const QUrl & , bool )>(_a, &IpodCopyTracksJob::startCopyOrTranscodeJob, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (IpodCopyTracksJob::*)()>(_a, &IpodCopyTracksJob::displayErrorDialog, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (IpodCopyTracksJob::*)()>(_a, &IpodCopyTracksJob::incrementProgress, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (IpodCopyTracksJob::*)(QObject * )>(_a, &IpodCopyTracksJob::endProgressOperation, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (IpodCopyTracksJob::*)(int )>(_a, &IpodCopyTracksJob::totalSteps, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (IpodCopyTracksJob::*)(Meta::TrackPtr , Meta::TrackPtr , IpodCopyTracksJob::CopiedStatus )>(_a, &IpodCopyTracksJob::signalTrackProcessed, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (IpodCopyTracksJob::*)(ThreadWeaver::JobPointer )>(_a, &IpodCopyTracksJob::started, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (IpodCopyTracksJob::*)(ThreadWeaver::JobPointer )>(_a, &IpodCopyTracksJob::done, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (IpodCopyTracksJob::*)(ThreadWeaver::JobPointer )>(_a, &IpodCopyTracksJob::failed, 9))
            return;
    }
}

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

void *IpodCopyTracksJob::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN17IpodCopyTracksJobE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ThreadWeaver::Job"))
        return static_cast< ThreadWeaver::Job*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void IpodCopyTracksJob::startDuplicateTrackSearch(const Meta::TrackPtr & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void IpodCopyTracksJob::startCopyOrTranscodeJob(const QUrl & _t1, const QUrl & _t2, bool _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void IpodCopyTracksJob::displayErrorDialog()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void IpodCopyTracksJob::incrementProgress()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void IpodCopyTracksJob::endProgressOperation(QObject * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void IpodCopyTracksJob::totalSteps(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void IpodCopyTracksJob::signalTrackProcessed(Meta::TrackPtr _t1, Meta::TrackPtr _t2, IpodCopyTracksJob::CopiedStatus _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2, _t3);
}

// SIGNAL 7
void IpodCopyTracksJob::started(ThreadWeaver::JobPointer _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void IpodCopyTracksJob::done(ThreadWeaver::JobPointer _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void IpodCopyTracksJob::failed(ThreadWeaver::JobPointer _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}
QT_WARNING_POP
