/****************************************************************************
** Meta object code from reading C++ file 'TransferThread.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 "plugins/CopyEngine/Ultracopier-Spec/TransferThread.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 'TransferThread.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_ZN14TransferThreadE_t {};
} // unnamed namespace

template <> constexpr inline auto TransferThread::qt_create_metaobjectdata<qt_meta_tag_ZN14TransferThreadE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "TransferThread",
        "internalStartPostOperation",
        "",
        "internalStartPreOperation",
        "internalTryStartTheTransfer",
        "preOperationStopped",
        "checkIfItCanBeResumed",
        "readStopped",
        "writeStopped",
        "postOperationStopped",
        "fileAlreadyExists",
        "std::string",
        "info",
        "info2",
        "isSame",
        "errorOnFile",
        "string",
        "ErrorType",
        "errorType",
        "debugInformation",
        "Ultracopier::DebugLevel",
        "level",
        "fonction",
        "text",
        "file",
        "ligne",
        "tryPutAtBottom",
        "pushStat",
        "TransferStat",
        "stat",
        "uint64_t",
        "pos",
        "setFileRenameSend",
        "nameForRename",
        "setAlwaysFileExistsActionSend",
        "FileExistsAction",
        "action",
        "setFiles",
        "source",
        "int64_t",
        "size",
        "destination",
        "Ultracopier::CopyMode",
        "mode",
        "setFileRename",
        "setAlwaysFileExistsAction",
        "setRightTransfer",
        "doRightTransfer",
        "setBuffer",
        "buffer",
        "setKeepDate",
        "keepDate",
        "putAtBottom",
        "setRenamingRules",
        "firstRenamingRule",
        "otherRenamingRule",
        "setDeletePartiallyTransferredFiles",
        "deletePartiallyTransferredFiles",
        "setRenameTheOriginalDestination",
        "renameTheOriginalDestination",
        "set_updateMount",
        "setChecksum",
        "checksum"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'internalStartPostOperation'
        QtMocHelpers::SignalData<void() const>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'internalStartPreOperation'
        QtMocHelpers::SignalData<void() const>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'internalTryStartTheTransfer'
        QtMocHelpers::SignalData<void() const>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'preOperationStopped'
        QtMocHelpers::SignalData<void() const>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'checkIfItCanBeResumed'
        QtMocHelpers::SignalData<void() const>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'readStopped'
        QtMocHelpers::SignalData<void() const>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'writeStopped'
        QtMocHelpers::SignalData<void() const>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'postOperationStopped'
        QtMocHelpers::SignalData<void() const>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fileAlreadyExists'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const bool &) const>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { 0x80000000 | 11, 13 }, { QMetaType::Bool, 14 },
        }}),
        // Signal 'errorOnFile'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const ErrorType &) const>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { 0x80000000 | 11, 16 }, { 0x80000000 | 17, 18 },
        }}),
        // Signal 'errorOnFile'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &) const>(15, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 11, 12 }, { 0x80000000 | 11, 16 },
        }}),
        // Signal 'debugInformation'
        QtMocHelpers::SignalData<void(const Ultracopier::DebugLevel &, std::string, std::string, std::string, int) const>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 20, 21 }, { 0x80000000 | 11, 22 }, { 0x80000000 | 11, 23 }, { 0x80000000 | 11, 24 },
            { QMetaType::Int, 25 },
        }}),
        // Signal 'tryPutAtBottom'
        QtMocHelpers::SignalData<void() const>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'pushStat'
        QtMocHelpers::SignalData<void(const TransferStat &, const uint64_t &) const>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 28, 29 }, { 0x80000000 | 30, 31 },
        }}),
        // Signal 'setFileRenameSend'
        QtMocHelpers::SignalData<void(const std::string &)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 33 },
        }}),
        // Signal 'setAlwaysFileExistsActionSend'
        QtMocHelpers::SignalData<void(const FileExistsAction &)>(34, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 35, 36 },
        }}),
        // Slot 'setFiles'
        QtMocHelpers::SlotData<bool(const std::string &, const int64_t &, const std::string &, const Ultracopier::CopyMode &)>(37, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 11, 38 }, { 0x80000000 | 39, 40 }, { 0x80000000 | 11, 41 }, { 0x80000000 | 42, 43 },
        }}),
        // Slot 'setFileRename'
        QtMocHelpers::SlotData<void(const std::string &)>(44, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 33 },
        }}),
        // Slot 'setAlwaysFileExistsAction'
        QtMocHelpers::SlotData<void(const FileExistsAction &)>(45, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 35, 36 },
        }}),
        // Slot 'setRightTransfer'
        QtMocHelpers::SlotData<void(const bool)>(46, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 47 },
        }}),
        // Slot 'setBuffer'
        QtMocHelpers::SlotData<void(const bool)>(48, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 49 },
        }}),
        // Slot 'setKeepDate'
        QtMocHelpers::SlotData<void(const bool)>(50, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 51 },
        }}),
        // Slot 'putAtBottom'
        QtMocHelpers::SlotData<void()>(52, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setRenamingRules'
        QtMocHelpers::SlotData<void(const std::string &, const std::string &)>(53, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 54 }, { 0x80000000 | 11, 55 },
        }}),
        // Slot 'setDeletePartiallyTransferredFiles'
        QtMocHelpers::SlotData<void(const bool &)>(56, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 57 },
        }}),
        // Slot 'setRenameTheOriginalDestination'
        QtMocHelpers::SlotData<void(const bool &)>(58, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 59 },
        }}),
        // Slot 'set_updateMount'
        QtMocHelpers::SlotData<void()>(60, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setChecksum'
        QtMocHelpers::SlotData<void(const bool)>(61, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 62 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<TransferThread, qt_meta_tag_ZN14TransferThreadE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject TransferThread::staticMetaObject = { {
    QMetaObject::SuperData::link<QThread::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14TransferThreadE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14TransferThreadE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14TransferThreadE_t>.metaTypes,
    nullptr
} };

void TransferThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<TransferThread *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->internalStartPostOperation(); break;
        case 1: _t->internalStartPreOperation(); break;
        case 2: _t->internalTryStartTheTransfer(); break;
        case 3: _t->preOperationStopped(); break;
        case 4: _t->checkIfItCanBeResumed(); break;
        case 5: _t->readStopped(); break;
        case 6: _t->writeStopped(); break;
        case 7: _t->postOperationStopped(); break;
        case 8: _t->fileAlreadyExists((*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<bool>>(_a[3]))); break;
        case 9: _t->errorOnFile((*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<ErrorType>>(_a[3]))); break;
        case 10: _t->errorOnFile((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2]))); break;
        case 11: _t->debugInformation((*reinterpret_cast<std::add_pointer_t<Ultracopier::DebugLevel>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[5]))); break;
        case 12: _t->tryPutAtBottom(); break;
        case 13: _t->pushStat((*reinterpret_cast<std::add_pointer_t<TransferStat>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[2]))); break;
        case 14: _t->setFileRenameSend((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 15: _t->setAlwaysFileExistsActionSend((*reinterpret_cast<std::add_pointer_t<FileExistsAction>>(_a[1]))); break;
        case 16: { bool _r = _t->setFiles((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int64_t>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<Ultracopier::CopyMode>>(_a[4])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 17: _t->setFileRename((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 18: _t->setAlwaysFileExistsAction((*reinterpret_cast<std::add_pointer_t<FileExistsAction>>(_a[1]))); break;
        case 19: _t->setRightTransfer((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 20: _t->setBuffer((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 21: _t->setKeepDate((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 22: _t->putAtBottom(); break;
        case 23: _t->setRenamingRules((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2]))); break;
        case 24: _t->setDeletePartiallyTransferredFiles((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 25: _t->setRenameTheOriginalDestination((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 26: _t->set_updateMount(); break;
        case 27: _t->setChecksum((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)() const>(_a, &TransferThread::internalStartPostOperation, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)() const>(_a, &TransferThread::internalStartPreOperation, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)() const>(_a, &TransferThread::internalTryStartTheTransfer, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)() const>(_a, &TransferThread::preOperationStopped, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)() const>(_a, &TransferThread::checkIfItCanBeResumed, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)() const>(_a, &TransferThread::readStopped, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)() const>(_a, &TransferThread::writeStopped, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)() const>(_a, &TransferThread::postOperationStopped, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)(const std::string & , const std::string & , const bool & ) const>(_a, &TransferThread::fileAlreadyExists, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)(const std::string & , const std::string & , const ErrorType & ) const>(_a, &TransferThread::errorOnFile, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)(const Ultracopier::DebugLevel & , std::string , std::string , std::string , int ) const>(_a, &TransferThread::debugInformation, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)() const>(_a, &TransferThread::tryPutAtBottom, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)(const TransferStat & , const uint64_t & ) const>(_a, &TransferThread::pushStat, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)(const std::string & )>(_a, &TransferThread::setFileRenameSend, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (TransferThread::*)(const FileExistsAction & )>(_a, &TransferThread::setAlwaysFileExistsActionSend, 15))
            return;
    }
}

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

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

int TransferThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 28)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 28;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 28)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 28;
    }
    return _id;
}

// SIGNAL 0
void TransferThread::internalStartPostOperation()const
{
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void TransferThread::internalStartPreOperation()const
{
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void TransferThread::internalTryStartTheTransfer()const
{
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void TransferThread::preOperationStopped()const
{
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void TransferThread::checkIfItCanBeResumed()const
{
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void TransferThread::readStopped()const
{
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void TransferThread::writeStopped()const
{
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void TransferThread::postOperationStopped()const
{
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void TransferThread::fileAlreadyExists(const std::string & _t1, const std::string & _t2, const bool & _t3)const
{
    QMetaObject::activate<void>(const_cast< TransferThread *>(this), &staticMetaObject, 8, nullptr, _t1, _t2, _t3);
}

// SIGNAL 9
void TransferThread::errorOnFile(const std::string & _t1, const std::string & _t2, const ErrorType & _t3)const
{
    QMetaObject::activate<void>(const_cast< TransferThread *>(this), &staticMetaObject, 9, nullptr, _t1, _t2, _t3);
}

// SIGNAL 11
void TransferThread::debugInformation(const Ultracopier::DebugLevel & _t1, std::string _t2, std::string _t3, std::string _t4, int _t5)const
{
    QMetaObject::activate<void>(const_cast< TransferThread *>(this), &staticMetaObject, 11, nullptr, _t1, _t2, _t3, _t4, _t5);
}

// SIGNAL 12
void TransferThread::tryPutAtBottom()const
{
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void TransferThread::pushStat(const TransferStat & _t1, const uint64_t & _t2)const
{
    QMetaObject::activate<void>(const_cast< TransferThread *>(this), &staticMetaObject, 13, nullptr, _t1, _t2);
}

// SIGNAL 14
void TransferThread::setFileRenameSend(const std::string & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void TransferThread::setAlwaysFileExistsActionSend(const FileExistsAction & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 15, nullptr, _t1);
}
QT_WARNING_POP
