/****************************************************************************
** Meta object code from reading C++ file 'WriteThread.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/async/WriteThread.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'WriteThread.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_WriteThread_t {
    QByteArrayData data[41];
    char stringdata0[626];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WriteThread_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WriteThread_t qt_meta_stringdata_WriteThread = {
    {
QT_MOC_LITERAL(0, 0, 11), // "WriteThread"
QT_MOC_LITERAL(1, 12, 5), // "error"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 6), // "opened"
QT_MOC_LITERAL(4, 26, 8), // "reopened"
QT_MOC_LITERAL(5, 35, 14), // "writeIsStarted"
QT_MOC_LITERAL(6, 50, 14), // "writeIsStopped"
QT_MOC_LITERAL(7, 65, 22), // "flushedAndSeekedToZero"
QT_MOC_LITERAL(8, 88, 6), // "closed"
QT_MOC_LITERAL(9, 95, 17), // "internalStartOpen"
QT_MOC_LITERAL(10, 113, 18), // "internalStartWrite"
QT_MOC_LITERAL(11, 132, 18), // "internalStartClose"
QT_MOC_LITERAL(12, 151, 22), // "internalStartEndOfFile"
QT_MOC_LITERAL(13, 174, 31), // "internalStartFlushAndSeekToZero"
QT_MOC_LITERAL(14, 206, 13), // "openWriteSend"
QT_MOC_LITERAL(15, 220, 11), // "std::string"
QT_MOC_LITERAL(16, 232, 4), // "file"
QT_MOC_LITERAL(17, 237, 8), // "uint64_t"
QT_MOC_LITERAL(18, 246, 9), // "startSize"
QT_MOC_LITERAL(19, 256, 16), // "debugInformation"
QT_MOC_LITERAL(20, 273, 23), // "Ultracopier::DebugLevel"
QT_MOC_LITERAL(21, 297, 5), // "level"
QT_MOC_LITERAL(22, 303, 8), // "fonction"
QT_MOC_LITERAL(23, 312, 4), // "text"
QT_MOC_LITERAL(24, 317, 5), // "ligne"
QT_MOC_LITERAL(25, 323, 13), // "postOperation"
QT_MOC_LITERAL(26, 337, 11), // "flushBuffer"
QT_MOC_LITERAL(27, 349, 13), // "endIsDetected"
QT_MOC_LITERAL(28, 363, 18), // "flushAndSeekToZero"
QT_MOC_LITERAL(29, 382, 34), // "setDeletePartiallyTransferred..."
QT_MOC_LITERAL(30, 417, 31), // "deletePartiallyTransferredFiles"
QT_MOC_LITERAL(31, 449, 26), // "timeOfTheBlockCopyFinished"
QT_MOC_LITERAL(32, 476, 16), // "resumeNotStarted"
QT_MOC_LITERAL(33, 493, 12), // "internalOpen"
QT_MOC_LITERAL(34, 506, 13), // "internalWrite"
QT_MOC_LITERAL(35, 520, 17), // "internalCloseSlot"
QT_MOC_LITERAL(36, 538, 13), // "internalClose"
QT_MOC_LITERAL(37, 552, 10), // "emitSignal"
QT_MOC_LITERAL(38, 563, 17), // "internalEndOfFile"
QT_MOC_LITERAL(39, 581, 26), // "internalFlushAndSeekToZero"
QT_MOC_LITERAL(40, 608, 17) // "openWriteInternal"

    },
    "WriteThread\0error\0\0opened\0reopened\0"
    "writeIsStarted\0writeIsStopped\0"
    "flushedAndSeekedToZero\0closed\0"
    "internalStartOpen\0internalStartWrite\0"
    "internalStartClose\0internalStartEndOfFile\0"
    "internalStartFlushAndSeekToZero\0"
    "openWriteSend\0std::string\0file\0uint64_t\0"
    "startSize\0debugInformation\0"
    "Ultracopier::DebugLevel\0level\0fonction\0"
    "text\0ligne\0postOperation\0flushBuffer\0"
    "endIsDetected\0flushAndSeekToZero\0"
    "setDeletePartiallyTransferredFiles\0"
    "deletePartiallyTransferredFiles\0"
    "timeOfTheBlockCopyFinished\0resumeNotStarted\0"
    "internalOpen\0internalWrite\0internalCloseSlot\0"
    "internalClose\0emitSignal\0internalEndOfFile\0"
    "internalFlushAndSeekToZero\0openWriteInternal"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WriteThread[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  159,    2, 0x06 /* Public */,
       3,    0,  160,    2, 0x06 /* Public */,
       4,    0,  161,    2, 0x06 /* Public */,
       5,    0,  162,    2, 0x06 /* Public */,
       6,    0,  163,    2, 0x06 /* Public */,
       7,    0,  164,    2, 0x06 /* Public */,
       8,    0,  165,    2, 0x06 /* Public */,
       9,    0,  166,    2, 0x06 /* Public */,
      10,    0,  167,    2, 0x06 /* Public */,
      11,    0,  168,    2, 0x06 /* Public */,
      12,    0,  169,    2, 0x06 /* Public */,
      13,    0,  170,    2, 0x06 /* Public */,
      14,    2,  171,    2, 0x06 /* Public */,
      19,    5,  176,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      25,    0,  187,    2, 0x0a /* Public */,
      26,    0,  188,    2, 0x0a /* Public */,
      27,    0,  189,    2, 0x0a /* Public */,
      28,    0,  190,    2, 0x0a /* Public */,
      29,    1,  191,    2, 0x0a /* Public */,
      31,    0,  194,    2, 0x0a /* Public */,
      32,    0,  195,    2, 0x0a /* Public */,
      33,    0,  196,    2, 0x08 /* Private */,
      34,    0,  197,    2, 0x08 /* Private */,
      35,    0,  198,    2, 0x08 /* Private */,
      36,    1,  199,    2, 0x08 /* Private */,
      36,    0,  202,    2, 0x28 /* Private | MethodCloned */,
      38,    0,  203,    2, 0x08 /* Private */,
      39,    0,  204,    2, 0x08 /* Private */,
      40,    2,  205,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 17,   16,   18,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 15, 0x80000000 | 15, 0x80000000 | 15, QMetaType::Int,   21,   22,   23,   16,   24,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   30,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   37,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 17,   16,   18,

       0        // eod
};

void WriteThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<WriteThread *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->error(); break;
        case 1: _t->opened(); break;
        case 2: _t->reopened(); break;
        case 3: _t->writeIsStarted(); break;
        case 4: _t->writeIsStopped(); break;
        case 5: _t->flushedAndSeekedToZero(); break;
        case 6: _t->closed(); break;
        case 7: _t->internalStartOpen(); break;
        case 8: _t->internalStartWrite(); break;
        case 9: _t->internalStartClose(); break;
        case 10: _t->internalStartEndOfFile(); break;
        case 11: _t->internalStartFlushAndSeekToZero(); break;
        case 12: _t->openWriteSend((*reinterpret_cast< const std::string(*)>(_a[1])),(*reinterpret_cast< const uint64_t(*)>(_a[2]))); break;
        case 13: _t->debugInformation((*reinterpret_cast< const Ultracopier::DebugLevel(*)>(_a[1])),(*reinterpret_cast< const std::string(*)>(_a[2])),(*reinterpret_cast< const std::string(*)>(_a[3])),(*reinterpret_cast< const std::string(*)>(_a[4])),(*reinterpret_cast< const int(*)>(_a[5]))); break;
        case 14: _t->postOperation(); break;
        case 15: _t->flushBuffer(); break;
        case 16: _t->endIsDetected(); break;
        case 17: _t->flushAndSeekToZero(); break;
        case 18: _t->setDeletePartiallyTransferredFiles((*reinterpret_cast< const bool(*)>(_a[1]))); break;
        case 19: _t->timeOfTheBlockCopyFinished(); break;
        case 20: _t->resumeNotStarted(); break;
        case 21: { bool _r = _t->internalOpen();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 22: _t->internalWrite(); break;
        case 23: _t->internalCloseSlot(); break;
        case 24: _t->internalClose((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 25: _t->internalClose(); break;
        case 26: _t->internalEndOfFile(); break;
        case 27: _t->internalFlushAndSeekToZero(); break;
        case 28: _t->openWriteInternal((*reinterpret_cast< const std::string(*)>(_a[1])),(*reinterpret_cast< const uint64_t(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::error)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::opened)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::reopened)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::writeIsStarted)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::writeIsStopped)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::flushedAndSeekedToZero)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::closed)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::internalStartOpen)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::internalStartWrite)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::internalStartClose)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::internalStartEndOfFile)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::internalStartFlushAndSeekToZero)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)(const std::string & , const uint64_t & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::openWriteSend)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (WriteThread::*)(const Ultracopier::DebugLevel & , const std::string & , const std::string & , const std::string & , const int & ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WriteThread::debugInformation)) {
                *result = 13;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject WriteThread::staticMetaObject = { {
    QMetaObject::SuperData::link<QThread::staticMetaObject>(),
    qt_meta_stringdata_WriteThread.data,
    qt_meta_data_WriteThread,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *WriteThread::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_WriteThread.stringdata0))
        return static_cast<void*>(this);
    return QThread::qt_metacast(_clname);
}

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

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

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

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

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

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

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

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

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

// SIGNAL 8
void WriteThread::internalStartWrite()const
{
    QMetaObject::activate(const_cast< WriteThread *>(this), &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void WriteThread::internalStartClose()const
{
    QMetaObject::activate(const_cast< WriteThread *>(this), &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void WriteThread::internalStartEndOfFile()const
{
    QMetaObject::activate(const_cast< WriteThread *>(this), &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void WriteThread::internalStartFlushAndSeekToZero()const
{
    QMetaObject::activate(const_cast< WriteThread *>(this), &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void WriteThread::openWriteSend(const std::string & _t1, const uint64_t & _t2)
{
    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(this, &staticMetaObject, 12, _a);
}

// SIGNAL 13
void WriteThread::debugInformation(const Ultracopier::DebugLevel & _t1, const std::string & _t2, const std::string & _t3, const std::string & _t4, const 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< WriteThread *>(this), &staticMetaObject, 13, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
