/****************************************************************************
** Meta object code from reading C++ file 'MediaDeviceHandler.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/mediadevicecollection/handler/MediaDeviceHandler.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 'MediaDeviceHandler.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_ZN4Meta18MediaDeviceHandlerE_t {};
} // unnamed namespace

template <> constexpr inline auto Meta::MediaDeviceHandler::qt_create_metaobjectdata<qt_meta_tag_ZN4Meta18MediaDeviceHandlerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Meta::MediaDeviceHandler",
        "gotCopyableUrls",
        "",
        "QMap<Meta::TrackPtr,QUrl>",
        "urls",
        "databaseWritten",
        "succeeded",
        "incrementProgress",
        "endProgressOperation",
        "owner",
        "copyTracksDone",
        "success",
        "removeTracksDone",
        "parseTracks",
        "writeDatabase",
        "savePlaylist",
        "Playlists::MediaDevicePlaylistPtr",
        "playlist",
        "name",
        "renamePlaylist",
        "deletePlaylists",
        "Playlists::MediaDevicePlaylistList",
        "playlistlist",
        "privateParseTracks",
        "copyNextTrackToDevice",
        "privateCopyTrackToDevice",
        "Meta::TrackPtr",
        "track",
        "removeNextTrackFromDevice",
        "privateRemoveTrackFromDevice",
        "slotCopyNextTrackFailed",
        "slotCopyNextTrackDone",
        "slotFinalizeTrackCopy",
        "slotCopyTrackFailed",
        "slotFinalizeTrackRemove",
        "slotDatabaseWritten",
        "enqueueNextCopyThread",
        "slotDeletingHandler"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'gotCopyableUrls'
        QtMocHelpers::SignalData<void(const QMap<Meta::TrackPtr,QUrl> &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'databaseWritten'
        QtMocHelpers::SignalData<void(bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 6 },
        }}),
        // Signal 'incrementProgress'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'endProgressOperation'
        QtMocHelpers::SignalData<void(QObject *)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QObjectStar, 9 },
        }}),
        // Signal 'copyTracksDone'
        QtMocHelpers::SignalData<void(bool)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 11 },
        }}),
        // Signal 'removeTracksDone'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'parseTracks'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'writeDatabase'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'savePlaylist'
        QtMocHelpers::SlotData<void(const Playlists::MediaDevicePlaylistPtr &, const QString &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 }, { QMetaType::QString, 18 },
        }}),
        // Slot 'renamePlaylist'
        QtMocHelpers::SlotData<void(const Playlists::MediaDevicePlaylistPtr &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'deletePlaylists'
        QtMocHelpers::SlotData<void(const Playlists::MediaDevicePlaylistList &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Slot 'privateParseTracks'
        QtMocHelpers::SlotData<bool()>(23, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'copyNextTrackToDevice'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'privateCopyTrackToDevice'
        QtMocHelpers::SlotData<bool(const Meta::TrackPtr &)>(25, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 26, 27 },
        }}),
        // Slot 'removeNextTrackFromDevice'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'privateRemoveTrackFromDevice'
        QtMocHelpers::SlotData<void(const Meta::TrackPtr &)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 26, 27 },
        }}),
        // Slot 'slotCopyNextTrackFailed'
        QtMocHelpers::SlotData<void(const Meta::TrackPtr &)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 26, 27 },
        }}),
        // Slot 'slotCopyNextTrackDone'
        QtMocHelpers::SlotData<void(const bool, const Meta::TrackPtr &)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 11 }, { 0x80000000 | 26, 27 },
        }}),
        // Slot 'slotFinalizeTrackCopy'
        QtMocHelpers::SlotData<void(const Meta::TrackPtr &)>(32, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 26, 27 },
        }}),
        // Slot 'slotCopyTrackFailed'
        QtMocHelpers::SlotData<void(const Meta::TrackPtr &)>(33, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 26, 27 },
        }}),
        // Slot 'slotFinalizeTrackRemove'
        QtMocHelpers::SlotData<void(const Meta::TrackPtr &)>(34, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 26, 27 },
        }}),
        // Slot 'slotDatabaseWritten'
        QtMocHelpers::SlotData<void(bool)>(35, 2, QMC::AccessProtected, QMetaType::Void, {{
            { QMetaType::Bool, 11 },
        }}),
        // Slot 'enqueueNextCopyThread'
        QtMocHelpers::SlotData<void()>(36, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotDeletingHandler'
        QtMocHelpers::SlotData<void()>(37, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MediaDeviceHandler, qt_meta_tag_ZN4Meta18MediaDeviceHandlerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Meta::MediaDeviceHandler::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Meta18MediaDeviceHandlerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Meta18MediaDeviceHandlerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4Meta18MediaDeviceHandlerE_t>.metaTypes,
    nullptr
} };

void Meta::MediaDeviceHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MediaDeviceHandler *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->gotCopyableUrls((*reinterpret_cast<std::add_pointer_t<QMap<Meta::TrackPtr,QUrl>>>(_a[1]))); break;
        case 1: _t->databaseWritten((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 2: _t->incrementProgress(); break;
        case 3: _t->endProgressOperation((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 4: _t->copyTracksDone((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->removeTracksDone(); break;
        case 6: _t->parseTracks(); break;
        case 7: _t->writeDatabase(); break;
        case 8: _t->savePlaylist((*reinterpret_cast<std::add_pointer_t<Playlists::MediaDevicePlaylistPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 9: _t->renamePlaylist((*reinterpret_cast<std::add_pointer_t<Playlists::MediaDevicePlaylistPtr>>(_a[1]))); break;
        case 10: _t->deletePlaylists((*reinterpret_cast<std::add_pointer_t<Playlists::MediaDevicePlaylistList>>(_a[1]))); break;
        case 11: { bool _r = _t->privateParseTracks();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->copyNextTrackToDevice(); break;
        case 13: { bool _r = _t->privateCopyTrackToDevice((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 14: _t->removeNextTrackFromDevice(); break;
        case 15: _t->privateRemoveTrackFromDevice((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 16: _t->slotCopyNextTrackFailed((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 17: _t->slotCopyNextTrackDone((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[2]))); break;
        case 18: _t->slotFinalizeTrackCopy((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 19: _t->slotCopyTrackFailed((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 20: _t->slotFinalizeTrackRemove((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 21: _t->slotDatabaseWritten((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 22: _t->enqueueNextCopyThread(); break;
        case 23: _t->slotDeletingHandler(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< Playlists::MediaDevicePlaylistPtr >(); 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< Playlists::MediaDevicePlaylistPtr >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Playlists::MediaDevicePlaylistList >(); break;
            }
            break;
        case 13:
            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 15:
            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 16:
            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 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Meta::TrackPtr >(); 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< Meta::TrackPtr >(); 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< Meta::TrackPtr >(); 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< Meta::TrackPtr >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceHandler::*)(const QMap<Meta::TrackPtr,QUrl> & )>(_a, &MediaDeviceHandler::gotCopyableUrls, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceHandler::*)(bool )>(_a, &MediaDeviceHandler::databaseWritten, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceHandler::*)()>(_a, &MediaDeviceHandler::incrementProgress, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceHandler::*)(QObject * )>(_a, &MediaDeviceHandler::endProgressOperation, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceHandler::*)(bool )>(_a, &MediaDeviceHandler::copyTracksDone, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceHandler::*)()>(_a, &MediaDeviceHandler::removeTracksDone, 5))
            return;
    }
}

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

void *Meta::MediaDeviceHandler::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Meta18MediaDeviceHandlerE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Meta::MetaHandlerCapability"))
        return static_cast< Meta::MetaHandlerCapability*>(this);
    if (!strcmp(_clname, "Meta::Observer"))
        return static_cast< Meta::Observer*>(this);
    return QObject::qt_metacast(_clname);
}

int Meta::MediaDeviceHandler::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 < 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 Meta::MediaDeviceHandler::gotCopyableUrls(const QMap<Meta::TrackPtr,QUrl> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Meta::MediaDeviceHandler::databaseWritten(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Meta::MediaDeviceHandler::incrementProgress()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

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

// SIGNAL 4
void Meta::MediaDeviceHandler::copyTracksDone(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Meta::MediaDeviceHandler::removeTracksDone()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
namespace {
struct qt_meta_tag_ZN4Meta17ParseWorkerThreadE_t {};
} // unnamed namespace

template <> constexpr inline auto Meta::ParseWorkerThread::qt_create_metaobjectdata<qt_meta_tag_ZN4Meta17ParseWorkerThreadE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Meta::ParseWorkerThread",
        "started",
        "",
        "ThreadWeaver::JobPointer",
        "done",
        "failed",
        "slotDoneSuccess"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'started'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'done'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'failed'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Slot 'slotDoneSuccess'
        QtMocHelpers::SlotData<void(ThreadWeaver::JobPointer)>(6, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ParseWorkerThread, qt_meta_tag_ZN4Meta17ParseWorkerThreadE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Meta::ParseWorkerThread::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Meta17ParseWorkerThreadE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Meta17ParseWorkerThreadE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4Meta17ParseWorkerThreadE_t>.metaTypes,
    nullptr
} };

void Meta::ParseWorkerThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ParseWorkerThread *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->started((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 1: _t->done((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 2: _t->failed((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 3: _t->slotDoneSuccess((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_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< ThreadWeaver::JobPointer >(); break;
            }
            break;
        case 1:
            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 2:
            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 3:
            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;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ParseWorkerThread::*)(ThreadWeaver::JobPointer )>(_a, &ParseWorkerThread::started, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ParseWorkerThread::*)(ThreadWeaver::JobPointer )>(_a, &ParseWorkerThread::done, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ParseWorkerThread::*)(ThreadWeaver::JobPointer )>(_a, &ParseWorkerThread::failed, 2))
            return;
    }
}

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

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

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

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

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

// SIGNAL 2
void Meta::ParseWorkerThread::failed(ThreadWeaver::JobPointer _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
namespace {
struct qt_meta_tag_ZN4Meta16CopyWorkerThreadE_t {};
} // unnamed namespace

template <> constexpr inline auto Meta::CopyWorkerThread::qt_create_metaobjectdata<qt_meta_tag_ZN4Meta16CopyWorkerThreadE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Meta::CopyWorkerThread",
        "copyTrackDone",
        "",
        "success",
        "Meta::TrackPtr",
        "track",
        "copyTrackFailed",
        "started",
        "ThreadWeaver::JobPointer",
        "done",
        "failed",
        "slotDoneSuccess",
        "slotDoneFailed"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'copyTrackDone'
        QtMocHelpers::SignalData<void(const bool, const Meta::TrackPtr &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 }, { 0x80000000 | 4, 5 },
        }}),
        // Signal 'copyTrackFailed'
        QtMocHelpers::SignalData<void(const Meta::TrackPtr &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'started'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 2 },
        }}),
        // Signal 'done'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 2 },
        }}),
        // Signal 'failed'
        QtMocHelpers::SignalData<void(ThreadWeaver::JobPointer)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 2 },
        }}),
        // Slot 'slotDoneSuccess'
        QtMocHelpers::SlotData<void(ThreadWeaver::JobPointer)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 8, 2 },
        }}),
        // Slot 'slotDoneFailed'
        QtMocHelpers::SlotData<void(ThreadWeaver::JobPointer)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 8, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CopyWorkerThread, qt_meta_tag_ZN4Meta16CopyWorkerThreadE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Meta::CopyWorkerThread::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Meta16CopyWorkerThreadE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4Meta16CopyWorkerThreadE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4Meta16CopyWorkerThreadE_t>.metaTypes,
    nullptr
} };

void Meta::CopyWorkerThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CopyWorkerThread *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->copyTrackDone((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[2]))); break;
        case 1: _t->copyTrackFailed((*reinterpret_cast<std::add_pointer_t<Meta::TrackPtr>>(_a[1]))); break;
        case 2: _t->started((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 3: _t->done((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 4: _t->failed((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 5: _t->slotDoneSuccess((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_a[1]))); break;
        case 6: _t->slotDoneFailed((*reinterpret_cast<std::add_pointer_t<ThreadWeaver::JobPointer>>(_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 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< Meta::TrackPtr >(); break;
            }
            break;
        case 1:
            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 2:
            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 3:
            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 4:
            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 5:
            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 6:
            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;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CopyWorkerThread::*)(const bool , const Meta::TrackPtr & )>(_a, &CopyWorkerThread::copyTrackDone, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CopyWorkerThread::*)(const Meta::TrackPtr & )>(_a, &CopyWorkerThread::copyTrackFailed, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (CopyWorkerThread::*)(ThreadWeaver::JobPointer )>(_a, &CopyWorkerThread::started, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (CopyWorkerThread::*)(ThreadWeaver::JobPointer )>(_a, &CopyWorkerThread::done, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (CopyWorkerThread::*)(ThreadWeaver::JobPointer )>(_a, &CopyWorkerThread::failed, 4))
            return;
    }
}

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

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

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

// SIGNAL 0
void Meta::CopyWorkerThread::copyTrackDone(const bool _t1, const Meta::TrackPtr & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void Meta::CopyWorkerThread::copyTrackFailed(const Meta::TrackPtr & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

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

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