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

template <> constexpr inline auto ScanFileOrFolder::qt_create_metaobjectdata<qt_meta_tag_ZN16ScanFileOrFolderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ScanFileOrFolder",
        "fileTransfer",
        "",
        "std::string",
        "source",
        "destination",
        "Ultracopier::CopyMode",
        "mode",
        "fileTransferWithInode",
        "TransferThread::dirent_uc",
        "inode",
        "debugInformation",
        "Ultracopier::DebugLevel",
        "level",
        "fonction",
        "text",
        "file",
        "ligne",
        "folderAlreadyExists",
        "isSame",
        "errorOnFolder",
        "fileInfo",
        "errorString",
        "ErrorType",
        "errorType",
        "finishedTheListing",
        "newFolderListing",
        "path",
        "addToMkPath",
        "addToMovePath",
        "inodeToRemove",
        "addToKeepAttributePath",
        "addToRealMove",
        "addToList",
        "std::vector<std::string>",
        "sources",
        "setFilters",
        "std::vector<Filters_rules>",
        "include",
        "exclude",
        "setFollowTheStrictOrder",
        "order",
        "setignoreBlackList",
        "ignoreBlackList",
        "set_updateMount"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'fileTransfer'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const Ultracopier::CopyMode &) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 3, 5 }, { 0x80000000 | 6, 7 },
        }}),
        // Signal 'fileTransferWithInode'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const Ultracopier::CopyMode &, const TransferThread::dirent_uc &) const>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 3, 5 }, { 0x80000000 | 6, 7 }, { 0x80000000 | 9, 10 },
        }}),
        // Signal 'debugInformation'
        QtMocHelpers::SignalData<void(const Ultracopier::DebugLevel &, const std::string &, const std::string &, const std::string &, const int &) const>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 }, { 0x80000000 | 3, 14 }, { 0x80000000 | 3, 15 }, { 0x80000000 | 3, 16 },
            { QMetaType::Int, 17 },
        }}),
        // Signal 'folderAlreadyExists'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const bool &) const>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 3, 5 }, { QMetaType::Bool, 19 },
        }}),
        // Signal 'errorOnFolder'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const ErrorType &) const>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 21 }, { 0x80000000 | 3, 22 }, { 0x80000000 | 23, 24 },
        }}),
        // Signal 'errorOnFolder'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &) const>(20, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 3, 21 }, { 0x80000000 | 3, 22 },
        }}),
        // Signal 'finishedTheListing'
        QtMocHelpers::SignalData<void() const>(25, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'newFolderListing'
        QtMocHelpers::SignalData<void(const std::string &) const>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 27 },
        }}),
        // Signal 'addToMkPath'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const int &) const>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 3, 5 }, { QMetaType::Int, 10 },
        }}),
        // Signal 'addToMovePath'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const int &) const>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 3, 5 }, { QMetaType::Int, 30 },
        }}),
        // Signal 'addToKeepAttributePath'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &, const int &) const>(31, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 3, 5 }, { QMetaType::Int, 30 },
        }}),
        // Signal 'addToRealMove'
        QtMocHelpers::SignalData<void(const std::string &, const std::string &) const>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 3, 5 },
        }}),
        // Slot 'addToList'
        QtMocHelpers::SlotData<void(const std::vector<std::string> &, const std::string &)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 34, 35 }, { 0x80000000 | 3, 5 },
        }}),
        // Slot 'setFilters'
        QtMocHelpers::SlotData<void(const std::vector<Filters_rules> &, const std::vector<Filters_rules> &)>(36, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 37, 38 }, { 0x80000000 | 37, 39 },
        }}),
        // Slot 'setFollowTheStrictOrder'
        QtMocHelpers::SlotData<void(const bool &)>(40, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 41 },
        }}),
        // Slot 'setignoreBlackList'
        QtMocHelpers::SlotData<void(const bool &)>(42, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 43 },
        }}),
        // Slot 'set_updateMount'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ScanFileOrFolder, qt_meta_tag_ZN16ScanFileOrFolderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ScanFileOrFolder::staticMetaObject = { {
    QMetaObject::SuperData::link<QThread::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16ScanFileOrFolderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16ScanFileOrFolderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16ScanFileOrFolderE_t>.metaTypes,
    nullptr
} };

void ScanFileOrFolder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ScanFileOrFolder *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->fileTransfer((*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<Ultracopier::CopyMode>>(_a[3]))); break;
        case 1: _t->fileTransferWithInode((*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<Ultracopier::CopyMode>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<TransferThread::dirent_uc>>(_a[4]))); break;
        case 2: _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 3: _t->folderAlreadyExists((*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 4: _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 5: _t->errorOnFolder((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2]))); break;
        case 6: _t->finishedTheListing(); break;
        case 7: _t->newFolderListing((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 8: _t->addToMkPath((*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<int>>(_a[3]))); break;
        case 9: _t->addToMovePath((*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<int>>(_a[3]))); break;
        case 10: _t->addToKeepAttributePath((*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<int>>(_a[3]))); break;
        case 11: _t->addToRealMove((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2]))); break;
        case 12: _t->addToList((*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2]))); break;
        case 13: _t->setFilters((*reinterpret_cast<std::add_pointer_t<std::vector<Filters_rules>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<Filters_rules>>>(_a[2]))); break;
        case 14: _t->setFollowTheStrictOrder((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->setignoreBlackList((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 16: _t->set_updateMount(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)(const std::string & , const std::string & , const Ultracopier::CopyMode & ) const>(_a, &ScanFileOrFolder::fileTransfer, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)(const std::string & , const std::string & , const Ultracopier::CopyMode & , const TransferThread::dirent_uc & ) const>(_a, &ScanFileOrFolder::fileTransferWithInode, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)(const Ultracopier::DebugLevel & , const std::string & , const std::string & , const std::string & , const int & ) const>(_a, &ScanFileOrFolder::debugInformation, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)(const std::string & , const std::string & , const bool & ) const>(_a, &ScanFileOrFolder::folderAlreadyExists, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)(const std::string & , const std::string & , const ErrorType & ) const>(_a, &ScanFileOrFolder::errorOnFolder, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)() const>(_a, &ScanFileOrFolder::finishedTheListing, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)(const std::string & ) const>(_a, &ScanFileOrFolder::newFolderListing, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)(const std::string & , const std::string & , const int & ) const>(_a, &ScanFileOrFolder::addToMkPath, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)(const std::string & , const std::string & , const int & ) const>(_a, &ScanFileOrFolder::addToMovePath, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)(const std::string & , const std::string & , const int & ) const>(_a, &ScanFileOrFolder::addToKeepAttributePath, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (ScanFileOrFolder::*)(const std::string & , const std::string & ) const>(_a, &ScanFileOrFolder::addToRealMove, 11))
            return;
    }
}

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

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

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

// SIGNAL 0
void ScanFileOrFolder::fileTransfer(const std::string & _t1, const std::string & _t2, const Ultracopier::CopyMode & _t3)const
{
    QMetaObject::activate<void>(const_cast< ScanFileOrFolder *>(this), &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

// SIGNAL 1
void ScanFileOrFolder::fileTransferWithInode(const std::string & _t1, const std::string & _t2, const Ultracopier::CopyMode & _t3, const TransferThread::dirent_uc & _t4)const
{
    QMetaObject::activate<void>(const_cast< ScanFileOrFolder *>(this), &staticMetaObject, 1, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 2
void ScanFileOrFolder::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< ScanFileOrFolder *>(this), &staticMetaObject, 2, nullptr, _t1, _t2, _t3, _t4, _t5);
}

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

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

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

// SIGNAL 7
void ScanFileOrFolder::newFolderListing(const std::string & _t1)const
{
    QMetaObject::activate<void>(const_cast< ScanFileOrFolder *>(this), &staticMetaObject, 7, nullptr, _t1);
}

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

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

// SIGNAL 10
void ScanFileOrFolder::addToKeepAttributePath(const std::string & _t1, const std::string & _t2, const int & _t3)const
{
    QMetaObject::activate<void>(const_cast< ScanFileOrFolder *>(this), &staticMetaObject, 10, nullptr, _t1, _t2, _t3);
}

// SIGNAL 11
void ScanFileOrFolder::addToRealMove(const std::string & _t1, const std::string & _t2)const
{
    QMetaObject::activate<void>(const_cast< ScanFileOrFolder *>(this), &staticMetaObject, 11, nullptr, _t1, _t2);
}
QT_WARNING_POP
