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

template <> constexpr inline auto MkPath::qt_create_metaobjectdata<qt_meta_tag_ZN6MkPathE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MkPath",
        "errorOnFolder",
        "",
        "std::string",
        "ErrorType",
        "errorType",
        "firstFolderFinish",
        "internalStartAddPath",
        "source",
        "destination",
        "ActionType",
        "actionType",
        "internalStartDoThisPath",
        "internalStartSkip",
        "internalStartRetry",
        "debugInformation",
        "Ultracopier::DebugLevel",
        "level",
        "fonction",
        "text",
        "file",
        "ligne",
        "skip",
        "retry",
        "internalDoThisPath",
        "internalAddPath",
        "internalSkip",
        "internalRetry",
        "rmpath",
        "dir"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'errorOnFolder'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const ErrorType &) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { 0x80000000 | 3, 2 }, { 0x80000000 | 4, 5 },
        }}),
        // Signal 'errorOnFolder'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &) const>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 3, 2 }, { 0x80000000 | 3, 2 },
        }}),
        // Signal 'firstFolderFinish'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'internalStartAddPath'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const ActionType &) const>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 8 }, { 0x80000000 | 3, 9 }, { 0x80000000 | 10, 11 },
        }}),
        // Signal 'internalStartDoThisPath'
        QtMocHelpers::SignalData<void() const>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'internalStartSkip'
        QtMocHelpers::SignalData<void() const>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'internalStartRetry'
        QtMocHelpers::SignalData<void() const>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'debugInformation'
        QtMocHelpers::SignalData<void(const Ultracopier::DebugLevel &, const std::string &, const std::string &, const std::string &, const int &) const>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 }, { 0x80000000 | 3, 18 }, { 0x80000000 | 3, 19 }, { 0x80000000 | 3, 20 },
            { QMetaType::Int, 21 },
        }}),
        // Slot 'skip'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'retry'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'internalDoThisPath'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'internalAddPath'
        QtMocHelpers::SlotData<void(const std::string &, const std::string &, const ActionType &)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 8 }, { 0x80000000 | 3, 9 }, { 0x80000000 | 10, 11 },
        }}),
        // Slot 'internalSkip'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'internalRetry'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'rmpath'
        QtMocHelpers::SlotData<bool(const std::string &)>(28, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { 0x80000000 | 3, 29 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<MkPath, qt_meta_tag_ZN6MkPathE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject MkPath::staticMetaObject = { {
    QMetaObject::SuperData::link<QThread::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6MkPathE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6MkPathE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6MkPathE_t>.metaTypes,
    nullptr
} };

void MkPath::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MkPath *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->errorOnFolder((*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 1: _t->errorOnFolder((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2]))); break;
        case 2: _t->firstFolderFinish(); break;
        case 3: _t->internalStartAddPath((*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<ActionType>>(_a[3]))); break;
        case 4: _t->internalStartDoThisPath(); break;
        case 5: _t->internalStartSkip(); break;
        case 6: _t->internalStartRetry(); break;
        case 7: _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 8: _t->skip(); break;
        case 9: _t->retry(); break;
        case 10: _t->internalDoThisPath(); break;
        case 11: _t->internalAddPath((*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<ActionType>>(_a[3]))); break;
        case 12: _t->internalSkip(); break;
        case 13: _t->internalRetry(); break;
        case 14: { bool _r = _t->rmpath((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MkPath::*)(const std::string & , const std::string & , const ErrorType & ) const>(_a, &MkPath::errorOnFolder, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MkPath::*)()>(_a, &MkPath::firstFolderFinish, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MkPath::*)(const std::string & , const std::string & , const ActionType & ) const>(_a, &MkPath::internalStartAddPath, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MkPath::*)() const>(_a, &MkPath::internalStartDoThisPath, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MkPath::*)() const>(_a, &MkPath::internalStartSkip, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (MkPath::*)() const>(_a, &MkPath::internalStartRetry, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (MkPath::*)(const Ultracopier::DebugLevel & , const std::string & , const std::string & , const std::string & , const int & ) const>(_a, &MkPath::debugInformation, 7))
            return;
    }
}

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

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

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

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

// SIGNAL 2
void MkPath::firstFolderFinish()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void MkPath::internalStartAddPath(const std::string & _t1, const std::string & _t2, const ActionType & _t3)const
{
    QMetaObject::activate<void>(const_cast< MkPath *>(this), &staticMetaObject, 3, nullptr, _t1, _t2, _t3);
}

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

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

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

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