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

#include <memory>
#include "plugins/CopyEngine/Ultracopier-Spec/TransferThread.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TransferThread.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_TransferThread_t {
    QByteArrayData data[61];
    char stringdata0[873];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TransferThread_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TransferThread_t qt_meta_stringdata_TransferThread = {
    {
QT_MOC_LITERAL(0, 0, 14), // "TransferThread"
QT_MOC_LITERAL(1, 15, 26), // "internalStartPostOperation"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 25), // "internalStartPreOperation"
QT_MOC_LITERAL(4, 69, 27), // "internalTryStartTheTransfer"
QT_MOC_LITERAL(5, 97, 19), // "preOperationStopped"
QT_MOC_LITERAL(6, 117, 21), // "checkIfItCanBeResumed"
QT_MOC_LITERAL(7, 139, 11), // "readStopped"
QT_MOC_LITERAL(8, 151, 12), // "writeStopped"
QT_MOC_LITERAL(9, 164, 20), // "postOperationStopped"
QT_MOC_LITERAL(10, 185, 17), // "fileAlreadyExists"
QT_MOC_LITERAL(11, 203, 11), // "std::string"
QT_MOC_LITERAL(12, 215, 4), // "info"
QT_MOC_LITERAL(13, 220, 5), // "info2"
QT_MOC_LITERAL(14, 226, 6), // "isSame"
QT_MOC_LITERAL(15, 233, 11), // "errorOnFile"
QT_MOC_LITERAL(16, 245, 6), // "string"
QT_MOC_LITERAL(17, 252, 9), // "ErrorType"
QT_MOC_LITERAL(18, 262, 9), // "errorType"
QT_MOC_LITERAL(19, 272, 16), // "debugInformation"
QT_MOC_LITERAL(20, 289, 23), // "Ultracopier::DebugLevel"
QT_MOC_LITERAL(21, 313, 5), // "level"
QT_MOC_LITERAL(22, 319, 8), // "fonction"
QT_MOC_LITERAL(23, 328, 4), // "text"
QT_MOC_LITERAL(24, 333, 4), // "file"
QT_MOC_LITERAL(25, 338, 5), // "ligne"
QT_MOC_LITERAL(26, 344, 14), // "tryPutAtBottom"
QT_MOC_LITERAL(27, 359, 8), // "pushStat"
QT_MOC_LITERAL(28, 368, 12), // "TransferStat"
QT_MOC_LITERAL(29, 381, 4), // "stat"
QT_MOC_LITERAL(30, 386, 8), // "uint64_t"
QT_MOC_LITERAL(31, 395, 3), // "pos"
QT_MOC_LITERAL(32, 399, 17), // "setFileRenameSend"
QT_MOC_LITERAL(33, 417, 13), // "nameForRename"
QT_MOC_LITERAL(34, 431, 29), // "setAlwaysFileExistsActionSend"
QT_MOC_LITERAL(35, 461, 16), // "FileExistsAction"
QT_MOC_LITERAL(36, 478, 6), // "action"
QT_MOC_LITERAL(37, 485, 8), // "setFiles"
QT_MOC_LITERAL(38, 494, 6), // "source"
QT_MOC_LITERAL(39, 501, 7), // "int64_t"
QT_MOC_LITERAL(40, 509, 4), // "size"
QT_MOC_LITERAL(41, 514, 11), // "destination"
QT_MOC_LITERAL(42, 526, 21), // "Ultracopier::CopyMode"
QT_MOC_LITERAL(43, 548, 4), // "mode"
QT_MOC_LITERAL(44, 553, 13), // "setFileRename"
QT_MOC_LITERAL(45, 567, 25), // "setAlwaysFileExistsAction"
QT_MOC_LITERAL(46, 593, 16), // "setRightTransfer"
QT_MOC_LITERAL(47, 610, 15), // "doRightTransfer"
QT_MOC_LITERAL(48, 626, 9), // "setBuffer"
QT_MOC_LITERAL(49, 636, 6), // "buffer"
QT_MOC_LITERAL(50, 643, 11), // "setKeepDate"
QT_MOC_LITERAL(51, 655, 8), // "keepDate"
QT_MOC_LITERAL(52, 664, 11), // "putAtBottom"
QT_MOC_LITERAL(53, 676, 16), // "setRenamingRules"
QT_MOC_LITERAL(54, 693, 17), // "firstRenamingRule"
QT_MOC_LITERAL(55, 711, 17), // "otherRenamingRule"
QT_MOC_LITERAL(56, 729, 34), // "setDeletePartiallyTransferred..."
QT_MOC_LITERAL(57, 764, 31), // "deletePartiallyTransferredFiles"
QT_MOC_LITERAL(58, 796, 31), // "setRenameTheOriginalDestination"
QT_MOC_LITERAL(59, 828, 28), // "renameTheOriginalDestination"
QT_MOC_LITERAL(60, 857, 15) // "set_updateMount"

    },
    "TransferThread\0internalStartPostOperation\0"
    "\0internalStartPreOperation\0"
    "internalTryStartTheTransfer\0"
    "preOperationStopped\0checkIfItCanBeResumed\0"
    "readStopped\0writeStopped\0postOperationStopped\0"
    "fileAlreadyExists\0std::string\0info\0"
    "info2\0isSame\0errorOnFile\0string\0"
    "ErrorType\0errorType\0debugInformation\0"
    "Ultracopier::DebugLevel\0level\0fonction\0"
    "text\0file\0ligne\0tryPutAtBottom\0pushStat\0"
    "TransferStat\0stat\0uint64_t\0pos\0"
    "setFileRenameSend\0nameForRename\0"
    "setAlwaysFileExistsActionSend\0"
    "FileExistsAction\0action\0setFiles\0"
    "source\0int64_t\0size\0destination\0"
    "Ultracopier::CopyMode\0mode\0setFileRename\0"
    "setAlwaysFileExistsAction\0setRightTransfer\0"
    "doRightTransfer\0setBuffer\0buffer\0"
    "setKeepDate\0keepDate\0putAtBottom\0"
    "setRenamingRules\0firstRenamingRule\0"
    "otherRenamingRule\0setDeletePartiallyTransferredFiles\0"
    "deletePartiallyTransferredFiles\0"
    "setRenameTheOriginalDestination\0"
    "renameTheOriginalDestination\0"
    "set_updateMount"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TransferThread[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      27,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      16,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  149,    2, 0x06 /* Public */,
       3,    0,  150,    2, 0x06 /* Public */,
       4,    0,  151,    2, 0x06 /* Public */,
       5,    0,  152,    2, 0x06 /* Public */,
       6,    0,  153,    2, 0x06 /* Public */,
       7,    0,  154,    2, 0x06 /* Public */,
       8,    0,  155,    2, 0x06 /* Public */,
       9,    0,  156,    2, 0x06 /* Public */,
      10,    3,  157,    2, 0x06 /* Public */,
      15,    3,  164,    2, 0x06 /* Public */,
      15,    2,  171,    2, 0x26 /* Public | MethodCloned */,
      19,    5,  176,    2, 0x06 /* Public */,
      26,    0,  187,    2, 0x06 /* Public */,
      27,    2,  188,    2, 0x06 /* Public */,
      32,    1,  193,    2, 0x06 /* Public */,
      34,    1,  196,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      37,    4,  199,    2, 0x0a /* Public */,
      44,    1,  208,    2, 0x0a /* Public */,
      45,    1,  211,    2, 0x0a /* Public */,
      46,    1,  214,    2, 0x0a /* Public */,
      48,    1,  217,    2, 0x0a /* Public */,
      50,    1,  220,    2, 0x0a /* Public */,
      52,    0,  223,    2, 0x0a /* Public */,
      53,    2,  224,    2, 0x0a /* Public */,
      56,    1,  229,    2, 0x0a /* Public */,
      58,    1,  232,    2, 0x0a /* Public */,
      60,    0,  235,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 11, QMetaType::Bool,   12,   13,   14,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 11, 0x80000000 | 17,   12,   16,   18,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 11,   12,   16,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 11, 0x80000000 | 11, 0x80000000 | 11, QMetaType::Int,   21,   22,   23,   24,   25,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 28, 0x80000000 | 30,   29,   31,
    QMetaType::Void, 0x80000000 | 11,   33,
    QMetaType::Void, 0x80000000 | 35,   36,

 // slots: parameters
    QMetaType::Bool, 0x80000000 | 11, 0x80000000 | 39, 0x80000000 | 11, 0x80000000 | 42,   38,   40,   41,   43,
    QMetaType::Void, 0x80000000 | 11,   33,
    QMetaType::Void, 0x80000000 | 35,   36,
    QMetaType::Void, QMetaType::Bool,   47,
    QMetaType::Void, QMetaType::Bool,   49,
    QMetaType::Void, QMetaType::Bool,   51,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 11,   54,   55,
    QMetaType::Void, QMetaType::Bool,   57,
    QMetaType::Void, QMetaType::Bool,   59,
    QMetaType::Void,

       0        // eod
};

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

QT_INIT_METAOBJECT const QMetaObject TransferThread::staticMetaObject = { {
    QMetaObject::SuperData::link<QThread::staticMetaObject>(),
    qt_meta_stringdata_TransferThread.data,
    qt_meta_data_TransferThread,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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_meta_stringdata_TransferThread.stringdata0))
        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 < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 27;
    }
    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
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 8, _a);
}

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

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

// 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
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(const_cast< TransferThread *>(this), &staticMetaObject, 13, _a);
}

// SIGNAL 14
void TransferThread::setFileRenameSend(const std::string & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 14, _a);
}

// SIGNAL 15
void TransferThread::setAlwaysFileExistsActionSend(const FileExistsAction & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 15, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
