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

template <> constexpr inline auto Core::qt_create_metaobjectdata<qt_meta_tag_ZN4CoreE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Core",
        "copyFinished",
        "",
        "uint32_t",
        "orderId",
        "withError",
        "copyCanceled",
        "askProductKey",
        "newCopyWithoutDestination",
        "std::vector<std::string>",
        "protocolsUsedForTheSources",
        "sources",
        "newTransfer",
        "Ultracopier::CopyMode",
        "mode",
        "std::string",
        "protocolsUsedForTheDestination",
        "destination",
        "newCopy",
        "newMoveWithoutDestination",
        "newMove",
        "addWindowCopyMove",
        "name",
        "addWindowTransfer",
        "newTransferList",
        "engine",
        "file",
        "startNewTransferOneUniqueCopyEngine",
        "changeToUltimate",
        "copyInstanceCanceledByEngine",
        "copyInstanceCanceledByInterface",
        "copyInstanceCanceledByIndex",
        "index",
        "deleteCopyEngine",
        "actionInProgess",
        "Ultracopier::EngineActionInProgress",
        "action",
        "newFolderListing",
        "path",
        "isInPause",
        "periodicSynchronization",
        "resetSpeedDetectedEngine",
        "resetSpeedDetectedInterface",
        "loadInterface",
        "unloadInterface",
        "error",
        "uint64_t",
        "size",
        "mtime",
        "rmPath",
        "mkPath",
        "urlDropped",
        "urls",
        "syncReady",
        "doneTime",
        "std::vector<std::pair<uint64_t,uint32_t>>",
        "timeList",
        "getActionOnList",
        "std::vector<Ultracopier::ReturnActionOnCopyList>",
        "actionList",
        "pushGeneralProgression",
        "current",
        "total"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'copyFinished'
        QtMocHelpers::SignalData<void(const uint32_t &, bool) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::Bool, 5 },
        }}),
        // Signal 'copyCanceled'
        QtMocHelpers::SignalData<void(const uint32_t &) const>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'askProductKey'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'newCopyWithoutDestination'
        QtMocHelpers::SlotData<void(const uint32_t &, const std::vector<std::string> &, const std::vector<std::string> &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 9, 10 }, { 0x80000000 | 9, 11 },
        }}),
        // Slot 'newTransfer'
        QtMocHelpers::SlotData<void(const Ultracopier::CopyMode &, const uint32_t &, const std::vector<std::string> &, const std::vector<std::string> &, const std::string &, const std::string &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 }, { 0x80000000 | 3, 4 }, { 0x80000000 | 9, 10 }, { 0x80000000 | 9, 11 },
            { 0x80000000 | 15, 16 }, { 0x80000000 | 15, 17 },
        }}),
        // Slot 'newCopy'
        QtMocHelpers::SlotData<void(const uint32_t &, const std::vector<std::string> &, const std::vector<std::string> &, const std::string &, const std::string &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 9, 10 }, { 0x80000000 | 9, 11 }, { 0x80000000 | 15, 16 },
            { 0x80000000 | 15, 17 },
        }}),
        // Slot 'newMoveWithoutDestination'
        QtMocHelpers::SlotData<void(const uint32_t &, const std::vector<std::string> &, const std::vector<std::string> &)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 9, 10 }, { 0x80000000 | 9, 11 },
        }}),
        // Slot 'newMove'
        QtMocHelpers::SlotData<void(const uint32_t &, const std::vector<std::string> &, const std::vector<std::string> &, const std::string &, const std::string &)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 9, 10 }, { 0x80000000 | 9, 11 }, { 0x80000000 | 15, 16 },
            { 0x80000000 | 15, 17 },
        }}),
        // Slot 'addWindowCopyMove'
        QtMocHelpers::SlotData<void(const Ultracopier::CopyMode &, const std::string &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 }, { 0x80000000 | 15, 22 },
        }}),
        // Slot 'addWindowTransfer'
        QtMocHelpers::SlotData<void(const std::string &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 22 },
        }}),
        // Slot 'newTransferList'
        QtMocHelpers::SlotData<void(std::string, std::string, std::string)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 25 }, { 0x80000000 | 15, 14 }, { 0x80000000 | 15, 26 },
        }}),
        // Slot 'startNewTransferOneUniqueCopyEngine'
        QtMocHelpers::SlotData<bool()>(27, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'changeToUltimate'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'copyInstanceCanceledByEngine'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'copyInstanceCanceledByInterface'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'copyInstanceCanceledByIndex'
        QtMocHelpers::SlotData<void(const unsigned int &)>(31, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::UInt, 32 },
        }}),
        // Slot 'deleteCopyEngine'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'actionInProgess'
        QtMocHelpers::SlotData<void(const Ultracopier::EngineActionInProgress &)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 35, 36 },
        }}),
        // Slot 'newFolderListing'
        QtMocHelpers::SlotData<void(const std::string &)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 15, 38 },
        }}),
        // Slot 'isInPause'
        QtMocHelpers::SlotData<void(const bool &)>(39, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'periodicSynchronization'
        QtMocHelpers::SlotData<void()>(40, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'resetSpeedDetectedEngine'
        QtMocHelpers::SlotData<void()>(41, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'resetSpeedDetectedInterface'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'loadInterface'
        QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'unloadInterface'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'error'
        QtMocHelpers::SlotData<void(const std::string &, const uint64_t &, const uint64_t &, const std::string &)>(45, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 15, 38 }, { 0x80000000 | 46, 47 }, { 0x80000000 | 46, 48 }, { 0x80000000 | 15, 45 },
        }}),
        // Slot 'rmPath'
        QtMocHelpers::SlotData<void(const std::string &)>(49, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 15, 38 },
        }}),
        // Slot 'mkPath'
        QtMocHelpers::SlotData<void(const std::string &)>(50, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 15, 38 },
        }}),
        // Slot 'urlDropped'
        QtMocHelpers::SlotData<void(const std::vector<std::string> &)>(51, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 9, 52 },
        }}),
        // Slot 'syncReady'
        QtMocHelpers::SlotData<void()>(53, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'doneTime'
        QtMocHelpers::SlotData<void(const std::vector<std::pair<uint64_t,uint32_t> > &)>(54, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 55, 56 },
        }}),
        // Slot 'getActionOnList'
        QtMocHelpers::SlotData<void(const std::vector<Ultracopier::ReturnActionOnCopyList> &)>(57, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 58, 59 },
        }}),
        // Slot 'pushGeneralProgression'
        QtMocHelpers::SlotData<void(const uint64_t &, const uint64_t &)>(60, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 46, 61 }, { 0x80000000 | 46, 62 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Core, qt_meta_tag_ZN4CoreE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Core::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4CoreE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN4CoreE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN4CoreE_t>.metaTypes,
    nullptr
} };

void Core::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Core *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->copyFinished((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 1: _t->copyCanceled((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1]))); break;
        case 2: _t->askProductKey(); break;
        case 3: _t->newCopyWithoutDestination((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[3]))); break;
        case 4: _t->newTransfer((*reinterpret_cast<std::add_pointer_t<Ultracopier::CopyMode>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[6]))); break;
        case 5: _t->newCopy((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[5]))); break;
        case 6: _t->newMoveWithoutDestination((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[3]))); break;
        case 7: _t->newMove((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[5]))); break;
        case 8: _t->addWindowCopyMove((*reinterpret_cast<std::add_pointer_t<Ultracopier::CopyMode>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2]))); break;
        case 9: _t->addWindowTransfer((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 10: _t->newTransferList((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[3]))); break;
        case 11: { bool _r = _t->startNewTransferOneUniqueCopyEngine();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->changeToUltimate(); break;
        case 13: _t->copyInstanceCanceledByEngine(); break;
        case 14: _t->copyInstanceCanceledByInterface(); break;
        case 15: _t->copyInstanceCanceledByIndex((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 16: _t->deleteCopyEngine(); break;
        case 17: _t->actionInProgess((*reinterpret_cast<std::add_pointer_t<Ultracopier::EngineActionInProgress>>(_a[1]))); break;
        case 18: _t->newFolderListing((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 19: _t->isInPause((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 20: _t->periodicSynchronization(); break;
        case 21: _t->resetSpeedDetectedEngine(); break;
        case 22: _t->resetSpeedDetectedInterface(); break;
        case 23: _t->loadInterface(); break;
        case 24: _t->unloadInterface(); break;
        case 25: _t->error((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[4]))); break;
        case 26: _t->rmPath((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 27: _t->mkPath((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 28: _t->urlDropped((*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[1]))); break;
        case 29: _t->syncReady(); break;
        case 30: _t->doneTime((*reinterpret_cast<std::add_pointer_t<std::vector<std::pair<uint64_t,uint32_t>>>>(_a[1]))); break;
        case 31: _t->getActionOnList((*reinterpret_cast<std::add_pointer_t<std::vector<Ultracopier::ReturnActionOnCopyList>>>(_a[1]))); break;
        case 32: _t->pushGeneralProgression((*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Core::*)(const uint32_t & , bool ) const>(_a, &Core::copyFinished, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Core::*)(const uint32_t & ) const>(_a, &Core::copyCanceled, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Core::*)()>(_a, &Core::askProductKey, 2))
            return;
    }
}

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

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

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

// SIGNAL 0
void Core::copyFinished(const uint32_t & _t1, bool _t2)const
{
    QMetaObject::activate<void>(const_cast< Core *>(this), &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void Core::copyCanceled(const uint32_t & _t1)const
{
    QMetaObject::activate<void>(const_cast< Core *>(this), &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void Core::askProductKey()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
