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

template <> constexpr inline auto Collections::MediaDeviceCollectionFactoryBase::qt_create_metaobjectdata<qt_meta_tag_ZN11Collections32MediaDeviceCollectionFactoryBaseE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Collections::MediaDeviceCollectionFactoryBase",
        "slotDeviceDetected",
        "",
        "MediaDeviceInfo*",
        "info",
        "slotDeviceDisconnected",
        "udi"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotDeviceDetected'
        QtMocHelpers::SlotData<void(MediaDeviceInfo *)>(1, 2, QMC::AccessProtected, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'slotDeviceDisconnected'
        QtMocHelpers::SlotData<void(const QString &)>(5, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MediaDeviceCollectionFactoryBase, qt_meta_tag_ZN11Collections32MediaDeviceCollectionFactoryBaseE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Collections::MediaDeviceCollectionFactoryBase::staticMetaObject = { {
    QMetaObject::SuperData::link<Collections::CollectionFactory::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections32MediaDeviceCollectionFactoryBaseE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections32MediaDeviceCollectionFactoryBaseE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11Collections32MediaDeviceCollectionFactoryBaseE_t>.metaTypes,
    nullptr
} };

void Collections::MediaDeviceCollectionFactoryBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MediaDeviceCollectionFactoryBase *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slotDeviceDetected((*reinterpret_cast<std::add_pointer_t<MediaDeviceInfo*>>(_a[1]))); break;
        case 1: _t->slotDeviceDisconnected((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
}

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

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

int Collections::MediaDeviceCollectionFactoryBase::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Collections::CollectionFactory::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 2;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN11Collections21MediaDeviceCollectionE_t {};
} // unnamed namespace

template <> constexpr inline auto Collections::MediaDeviceCollection::qt_create_metaobjectdata<qt_meta_tag_ZN11Collections21MediaDeviceCollectionE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Collections::MediaDeviceCollection",
        "collectionReady",
        "",
        "Collections::Collection*",
        "collectionDisconnected",
        "udi",
        "deletingCollection",
        "attemptConnectionDone",
        "success",
        "copyTracksCompleted",
        "slotAttemptConnectionDone",
        "eject",
        "deleteCollection"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'collectionReady'
        QtMocHelpers::SignalData<void(Collections::Collection *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'collectionDisconnected'
        QtMocHelpers::SignalData<void(const QString &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 },
        }}),
        // Signal 'deletingCollection'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'attemptConnectionDone'
        QtMocHelpers::SignalData<void(bool)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Signal 'copyTracksCompleted'
        QtMocHelpers::SignalData<void(bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Slot 'slotAttemptConnectionDone'
        QtMocHelpers::SlotData<void(bool)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Slot 'eject'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'deleteCollection'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MediaDeviceCollection, qt_meta_tag_ZN11Collections21MediaDeviceCollectionE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Collections::MediaDeviceCollection::staticMetaObject = { {
    QMetaObject::SuperData::link<Collections::Collection::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections21MediaDeviceCollectionE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11Collections21MediaDeviceCollectionE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11Collections21MediaDeviceCollectionE_t>.metaTypes,
    nullptr
} };

void Collections::MediaDeviceCollection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MediaDeviceCollection *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->collectionReady((*reinterpret_cast<std::add_pointer_t<Collections::Collection*>>(_a[1]))); break;
        case 1: _t->collectionDisconnected((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->deletingCollection(); break;
        case 3: _t->attemptConnectionDone((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->copyTracksCompleted((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->slotAttemptConnectionDone((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->eject(); break;
        case 7: _t->deleteCollection(); 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< Collections::Collection* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceCollection::*)(Collections::Collection * )>(_a, &MediaDeviceCollection::collectionReady, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceCollection::*)(const QString & )>(_a, &MediaDeviceCollection::collectionDisconnected, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceCollection::*)()>(_a, &MediaDeviceCollection::deletingCollection, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceCollection::*)(bool )>(_a, &MediaDeviceCollection::attemptConnectionDone, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MediaDeviceCollection::*)(bool )>(_a, &MediaDeviceCollection::copyTracksCompleted, 4))
            return;
    }
}

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

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

int Collections::MediaDeviceCollection::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Collections::Collection::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void Collections::MediaDeviceCollection::collectionReady(Collections::Collection * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Collections::MediaDeviceCollection::collectionDisconnected(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

// SIGNAL 3
void Collections::MediaDeviceCollection::attemptConnectionDone(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Collections::MediaDeviceCollection::copyTracksCompleted(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}
QT_WARNING_POP
