/****************************************************************************
** Meta object code from reading C++ file 'io_manager.cxxqt.h'
**
** Created by: The Qt Meta Object Compiler version 69 (Qt 6.11.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../../../../../cxxqt/crates/idescriptor_rust_codebase/include/idescriptor_rust_codebase/src/io_manager.cxxqt.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 'io_manager.cxxqt.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN3CXX9IOManagerE_t {};
} // unnamed namespace

template <> constexpr inline auto CXX::IOManager::qt_create_metaobjectdata<qt_meta_tag_ZN3CXX9IOManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CXX::IOManager",
        "file_transfer_progress",
        "",
        "QUuid",
        "job_id",
        "file_name",
        "::std::int64_t",
        "bytes_transferred",
        "total_bytes",
        "export_item_finished",
        "destination_path",
        "success",
        "error_message",
        "export_job_finished",
        "cancelled",
        "::std::int32_t",
        "successful_items",
        "failed_items",
        "import_item_finished",
        "import_job_finished",
        "start_export",
        "udid",
        "QList_QString",
        "device_paths",
        "destination_dir",
        "start_export_with_afc2",
        "start_export_with_hause_arrest_afc",
        "hause_arrest_afc",
        "start_import",
        "local_paths",
        "start_import_with_afc2",
        "start_import_with_hause_arrest_afc",
        "cancel_job",
        "cancel_all_jobs",
        "release_video_streamer",
        "url"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'file_transfer_progress'
        QtMocHelpers::SignalData<void(QUuid const &, QString const &, ::std::int64_t, ::std::int64_t)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::QString, 5 }, { 0x80000000 | 6, 7 }, { 0x80000000 | 6, 8 },
        }}),
        // Signal 'export_item_finished'
        QtMocHelpers::SignalData<void(QUuid const &, QString const &, QString const &, bool, ::std::int64_t, QString const &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::QString, 5 }, { QMetaType::QString, 10 }, { QMetaType::Bool, 11 },
            { 0x80000000 | 6, 7 }, { QMetaType::QString, 12 },
        }}),
        // Signal 'export_job_finished'
        QtMocHelpers::SignalData<void(QUuid const &, bool, ::std::int32_t, ::std::int32_t, ::std::int64_t)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::Bool, 14 }, { 0x80000000 | 15, 16 }, { 0x80000000 | 15, 17 },
            { 0x80000000 | 6, 8 },
        }}),
        // Signal 'import_item_finished'
        QtMocHelpers::SignalData<void(QUuid const &, QString const &, QString const &, bool, ::std::int64_t, QString const &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::QString, 5 }, { QMetaType::QString, 10 }, { QMetaType::Bool, 11 },
            { 0x80000000 | 6, 7 }, { QMetaType::QString, 12 },
        }}),
        // Signal 'import_job_finished'
        QtMocHelpers::SignalData<void(QUuid const &, bool, ::std::int32_t, ::std::int32_t, ::std::int64_t)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::Bool, 14 }, { 0x80000000 | 15, 16 }, { 0x80000000 | 15, 17 },
            { 0x80000000 | 6, 8 },
        }}),
        // Method 'start_export'
        QtMocHelpers::MethodData<void(QString const &, QUuid const &, QList_QString const &, QString const &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 }, { 0x80000000 | 3, 4 }, { 0x80000000 | 22, 23 }, { QMetaType::QString, 24 },
        }}),
        // Method 'start_export_with_afc2'
        QtMocHelpers::MethodData<void(QString const &, QUuid const &, QList_QString const &, QString const &)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 }, { 0x80000000 | 3, 4 }, { 0x80000000 | 22, 23 }, { QMetaType::QString, 24 },
        }}),
        // Method 'start_export_with_hause_arrest_afc'
        QtMocHelpers::MethodData<void(QString const &, QUuid const &, QList_QString const &, QString const &, QString const &)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 }, { 0x80000000 | 3, 4 }, { 0x80000000 | 22, 23 }, { QMetaType::QString, 24 },
            { QMetaType::QString, 27 },
        }}),
        // Method 'start_import'
        QtMocHelpers::MethodData<void(QString const &, QUuid const &, QList_QString const &, QString const &)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 }, { 0x80000000 | 3, 4 }, { 0x80000000 | 22, 29 }, { QMetaType::QString, 24 },
        }}),
        // Method 'start_import_with_afc2'
        QtMocHelpers::MethodData<void(QString const &, QUuid const &, QList_QString const &, QString const &)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 }, { 0x80000000 | 3, 4 }, { 0x80000000 | 22, 29 }, { QMetaType::QString, 24 },
        }}),
        // Method 'start_import_with_hause_arrest_afc'
        QtMocHelpers::MethodData<void(QString const &, QUuid const &, QList_QString const &, QString const &, QString const &)>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 }, { 0x80000000 | 3, 4 }, { 0x80000000 | 22, 29 }, { QMetaType::QString, 24 },
            { QMetaType::QString, 27 },
        }}),
        // Method 'cancel_job'
        QtMocHelpers::MethodData<void(QUuid const &)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Method 'cancel_all_jobs'
        QtMocHelpers::MethodData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'release_video_streamer'
        QtMocHelpers::MethodData<void(QString const &, QString const &) const>(34, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 21 }, { QMetaType::QString, 35 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<IOManager, qt_meta_tag_ZN3CXX9IOManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject CXX::IOManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3CXX9IOManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3CXX9IOManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3CXX9IOManagerE_t>.metaTypes,
    nullptr
} };

void CXX::IOManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<IOManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->file_transfer_progress((*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<::std::int64_t>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<::std::int64_t>>(_a[4]))); break;
        case 1: _t->export_item_finished((*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<::std::int64_t>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[6]))); break;
        case 2: _t->export_job_finished((*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<::std::int32_t>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<::std::int32_t>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<::std::int64_t>>(_a[5]))); break;
        case 3: _t->import_item_finished((*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<::std::int64_t>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[6]))); break;
        case 4: _t->import_job_finished((*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<::std::int32_t>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<::std::int32_t>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<::std::int64_t>>(_a[5]))); break;
        case 5: _t->start_export((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList_QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 6: _t->start_export_with_afc2((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList_QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 7: _t->start_export_with_hause_arrest_afc((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList_QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[5]))); break;
        case 8: _t->start_import((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList_QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 9: _t->start_import_with_afc2((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList_QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 10: _t->start_import_with_hause_arrest_afc((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QList_QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[5]))); break;
        case 11: _t->cancel_job((*reinterpret_cast<std::add_pointer_t<QUuid>>(_a[1]))); break;
        case 12: _t->cancel_all_jobs(); break;
        case 13: _t->release_video_streamer((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (IOManager::*)(QUuid const & , QString const & , ::std::int64_t , ::std::int64_t )>(_a, &IOManager::file_transfer_progress, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (IOManager::*)(QUuid const & , QString const & , QString const & , bool , ::std::int64_t , QString const & )>(_a, &IOManager::export_item_finished, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (IOManager::*)(QUuid const & , bool , ::std::int32_t , ::std::int32_t , ::std::int64_t )>(_a, &IOManager::export_job_finished, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (IOManager::*)(QUuid const & , QString const & , QString const & , bool , ::std::int64_t , QString const & )>(_a, &IOManager::import_item_finished, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (IOManager::*)(QUuid const & , bool , ::std::int32_t , ::std::int32_t , ::std::int64_t )>(_a, &IOManager::import_job_finished, 4))
            return;
    }
}

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

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

int CXX::IOManager::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void CXX::IOManager::file_transfer_progress(QUuid const & _t1, QString const & _t2, ::std::int64_t _t3, ::std::int64_t _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 1
void CXX::IOManager::export_item_finished(QUuid const & _t1, QString const & _t2, QString const & _t3, bool _t4, ::std::int64_t _t5, QString const & _t6)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3, _t4, _t5, _t6);
}

// SIGNAL 2
void CXX::IOManager::export_job_finished(QUuid const & _t1, bool _t2, ::std::int32_t _t3, ::std::int32_t _t4, ::std::int64_t _t5)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2, _t3, _t4, _t5);
}

// SIGNAL 3
void CXX::IOManager::import_item_finished(QUuid const & _t1, QString const & _t2, QString const & _t3, bool _t4, ::std::int64_t _t5, QString const & _t6)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2, _t3, _t4, _t5, _t6);
}

// SIGNAL 4
void CXX::IOManager::import_job_finished(QUuid const & _t1, bool _t2, ::std::int32_t _t3, ::std::int32_t _t4, ::std::int64_t _t5)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2, _t3, _t4, _t5);
}
QT_WARNING_POP
