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

template <> constexpr inline auto Collections::CollectionLocation::qt_create_metaobjectdata<qt_meta_tag_ZN11Collections18CollectionLocationE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Collections::CollectionLocation",
        "startCopy",
        "",
        "QMap<Meta::TrackPtr,QUrl>",
        "sources",
        "Transcoding::Configuration",
        "finishCopy",
        "startRemove",
        "finishRemove",
        "prepareOperation",
        "Meta::TrackList",
        "tracks",
        "removeSources",
        "operationPrepared",
        "aborted",
        "slotGetKIOCopyableUrlsDone",
        "slotCopyOperationFinished",
        "slotRemoveOperationFinished",
        "slotShowSourceDialogDone",
        "slotShowRemoveDialogDone",
        "slotShowDestinationDialogDone",
        "slotShowSourceDialog",
        "slotPrepareOperation",
        "configuration",
        "slotOperationPrepared",
        "slotStartCopy",
        "slotFinishCopy",
        "slotStartRemove",
        "slotFinishRemove",
        "slotAborted",
        "resultReady",
        "queryDone"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'startCopy'
        QtMocHelpers::SignalData<void(const QMap<Meta::TrackPtr,QUrl> &, const Transcoding::Configuration &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 2 },
        }}),
        // Signal 'finishCopy'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'startRemove'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'finishRemove'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'prepareOperation'
        QtMocHelpers::SignalData<void(const Meta::TrackList &, bool, const Transcoding::Configuration &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 }, { QMetaType::Bool, 12 }, { 0x80000000 | 5, 2 },
        }}),
        // Signal 'operationPrepared'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'aborted'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotGetKIOCopyableUrlsDone'
        QtMocHelpers::SlotData<void(const QMap<Meta::TrackPtr,QUrl> &)>(15, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'slotCopyOperationFinished'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotRemoveOperationFinished'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotShowSourceDialogDone'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotShowRemoveDialogDone'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotShowDestinationDialogDone'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessProtected, QMetaType::Void),
        // Slot 'slotShowSourceDialog'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotPrepareOperation'
        QtMocHelpers::SlotData<void(const Meta::TrackList &, bool, const Transcoding::Configuration &)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 }, { QMetaType::Bool, 12 }, { 0x80000000 | 5, 23 },
        }}),
        // Slot 'slotOperationPrepared'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotStartCopy'
        QtMocHelpers::SlotData<void(const QMap<Meta::TrackPtr,QUrl> &, const Transcoding::Configuration &)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 23 },
        }}),
        // Slot 'slotFinishCopy'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotStartRemove'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotFinishRemove'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotAborted'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'resultReady'
        QtMocHelpers::SlotData<void(const Meta::TrackList &)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'queryDone'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'removeSources'
        QtMocHelpers::PropertyData<bool>(12, QMetaType::Bool, QMC::Readable | QMC::Writable | QMC::Stored | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CollectionLocation, qt_meta_tag_ZN11Collections18CollectionLocationE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Collections::CollectionLocation::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections18CollectionLocationE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections18CollectionLocationE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11Collections18CollectionLocationE_t>.metaTypes,
    nullptr
} };

void Collections::CollectionLocation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CollectionLocation *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->startCopy((*reinterpret_cast<std::add_pointer_t<QMap<Meta::TrackPtr,QUrl>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Transcoding::Configuration>>(_a[2]))); break;
        case 1: _t->finishCopy(); break;
        case 2: _t->startRemove(); break;
        case 3: _t->finishRemove(); break;
        case 4: _t->prepareOperation((*reinterpret_cast<std::add_pointer_t<Meta::TrackList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<Transcoding::Configuration>>(_a[3]))); break;
        case 5: _t->operationPrepared(); break;
        case 6: _t->aborted(); break;
        case 7: _t->slotGetKIOCopyableUrlsDone((*reinterpret_cast<std::add_pointer_t<QMap<Meta::TrackPtr,QUrl>>>(_a[1]))); break;
        case 8: _t->slotCopyOperationFinished(); break;
        case 9: _t->slotRemoveOperationFinished(); break;
        case 10: _t->slotShowSourceDialogDone(); break;
        case 11: _t->slotShowRemoveDialogDone(); break;
        case 12: _t->slotShowDestinationDialogDone(); break;
        case 13: _t->slotShowSourceDialog(); break;
        case 14: _t->slotPrepareOperation((*reinterpret_cast<std::add_pointer_t<Meta::TrackList>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<Transcoding::Configuration>>(_a[3]))); break;
        case 15: _t->slotOperationPrepared(); break;
        case 16: _t->slotStartCopy((*reinterpret_cast<std::add_pointer_t<QMap<Meta::TrackPtr,QUrl>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Transcoding::Configuration>>(_a[2]))); break;
        case 17: _t->slotFinishCopy(); break;
        case 18: _t->slotStartRemove(); break;
        case 19: _t->slotFinishRemove(); break;
        case 20: _t->slotAborted(); break;
        case 21: _t->resultReady((*reinterpret_cast<std::add_pointer_t<Meta::TrackList>>(_a[1]))); break;
        case 22: _t->queryDone(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< Meta::TrackList >(); 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< Meta::TrackList >(); break;
            }
            break;
        case 21:
            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 (CollectionLocation::*)(const QMap<Meta::TrackPtr,QUrl> & , const Transcoding::Configuration & )>(_a, &CollectionLocation::startCopy, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollectionLocation::*)()>(_a, &CollectionLocation::finishCopy, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollectionLocation::*)()>(_a, &CollectionLocation::startRemove, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollectionLocation::*)()>(_a, &CollectionLocation::finishRemove, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollectionLocation::*)(const Meta::TrackList & , bool , const Transcoding::Configuration & )>(_a, &CollectionLocation::prepareOperation, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollectionLocation::*)()>(_a, &CollectionLocation::operationPrepared, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (CollectionLocation::*)()>(_a, &CollectionLocation::aborted, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->getRemoveSources(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRemoveSources(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *Collections::CollectionLocation::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections18CollectionLocationE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int Collections::CollectionLocation::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 < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void Collections::CollectionLocation::startCopy(const QMap<Meta::TrackPtr,QUrl> & _t1, const Transcoding::Configuration & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void Collections::CollectionLocation::finishCopy()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Collections::CollectionLocation::startRemove()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Collections::CollectionLocation::finishRemove()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void Collections::CollectionLocation::prepareOperation(const Meta::TrackList & _t1, bool _t2, const Transcoding::Configuration & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2, _t3);
}

// SIGNAL 5
void Collections::CollectionLocation::operationPrepared()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void Collections::CollectionLocation::aborted()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
