/****************************************************************************
** Meta object code from reading C++ file 'ReadThread.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/ReadThread.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ReadThread.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_ReadThread_t {
    QByteArrayData data[32];
    char stringdata0[463];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ReadThread_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ReadThread_t qt_meta_stringdata_ReadThread = {
    {
QT_MOC_LITERAL(0, 0, 10), // "ReadThread"
QT_MOC_LITERAL(1, 11, 5), // "error"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 6), // "opened"
QT_MOC_LITERAL(4, 25, 13), // "readIsStarted"
QT_MOC_LITERAL(5, 39, 13), // "readIsStopped"
QT_MOC_LITERAL(6, 53, 6), // "closed"
QT_MOC_LITERAL(7, 60, 19), // "isSeekToZeroAndWait"
QT_MOC_LITERAL(8, 80, 13), // "checkIfIsWait"
QT_MOC_LITERAL(9, 94, 28), // "resumeAfterErrorByRestartAll"
QT_MOC_LITERAL(10, 123, 42), // "resumeAfterErrorByRestartAtTh..."
QT_MOC_LITERAL(11, 166, 17), // "internalStartOpen"
QT_MOC_LITERAL(12, 184, 17), // "internalStartRead"
QT_MOC_LITERAL(13, 202, 18), // "internalStartClose"
QT_MOC_LITERAL(14, 221, 16), // "debugInformation"
QT_MOC_LITERAL(15, 238, 23), // "Ultracopier::DebugLevel"
QT_MOC_LITERAL(16, 262, 5), // "level"
QT_MOC_LITERAL(17, 268, 11), // "std::string"
QT_MOC_LITERAL(18, 280, 8), // "fonction"
QT_MOC_LITERAL(19, 289, 4), // "text"
QT_MOC_LITERAL(20, 294, 4), // "file"
QT_MOC_LITERAL(21, 299, 5), // "ligne"
QT_MOC_LITERAL(22, 305, 17), // "seekToZeroAndWait"
QT_MOC_LITERAL(23, 323, 13), // "postOperation"
QT_MOC_LITERAL(24, 337, 12), // "internalOpen"
QT_MOC_LITERAL(25, 350, 21), // "resetLastGoodPosition"
QT_MOC_LITERAL(26, 372, 16), // "internalOpenSlot"
QT_MOC_LITERAL(27, 389, 12), // "internalRead"
QT_MOC_LITERAL(28, 402, 13), // "internalClose"
QT_MOC_LITERAL(29, 416, 19), // "callByTheDestructor"
QT_MOC_LITERAL(30, 436, 17), // "internalCloseSlot"
QT_MOC_LITERAL(31, 454, 8) // "isInWait"

    },
    "ReadThread\0error\0\0opened\0readIsStarted\0"
    "readIsStopped\0closed\0isSeekToZeroAndWait\0"
    "checkIfIsWait\0resumeAfterErrorByRestartAll\0"
    "resumeAfterErrorByRestartAtTheLastPosition\0"
    "internalStartOpen\0internalStartRead\0"
    "internalStartClose\0debugInformation\0"
    "Ultracopier::DebugLevel\0level\0std::string\0"
    "fonction\0text\0file\0ligne\0seekToZeroAndWait\0"
    "postOperation\0internalOpen\0"
    "resetLastGoodPosition\0internalOpenSlot\0"
    "internalRead\0internalClose\0"
    "callByTheDestructor\0internalCloseSlot\0"
    "isInWait"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ReadThread[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  129,    2, 0x06 /* Public */,
       3,    0,  130,    2, 0x06 /* Public */,
       4,    0,  131,    2, 0x06 /* Public */,
       5,    0,  132,    2, 0x06 /* Public */,
       6,    0,  133,    2, 0x06 /* Public */,
       7,    0,  134,    2, 0x06 /* Public */,
       8,    0,  135,    2, 0x06 /* Public */,
       9,    0,  136,    2, 0x06 /* Public */,
      10,    0,  137,    2, 0x06 /* Public */,
      11,    0,  138,    2, 0x06 /* Public */,
      12,    0,  139,    2, 0x06 /* Public */,
      13,    0,  140,    2, 0x06 /* Public */,
      14,    5,  141,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      22,    0,  152,    2, 0x0a /* Public */,
      23,    0,  153,    2, 0x0a /* Public */,
      24,    1,  154,    2, 0x08 /* Private */,
      24,    0,  157,    2, 0x28 /* Private | MethodCloned */,
      26,    0,  158,    2, 0x08 /* Private */,
      27,    0,  159,    2, 0x08 /* Private */,
      28,    1,  160,    2, 0x08 /* Private */,
      28,    0,  163,    2, 0x28 /* Private | MethodCloned */,
      30,    0,  164,    2, 0x08 /* Private */,
      31,    0,  165,    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, 0x80000000 | 17, 0x80000000 | 17, QMetaType::Int,   16,   18,   19,   20,   21,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::Bool,   25,
    QMetaType::Bool,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   29,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void ReadThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ReadThread *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->error(); break;
        case 1: _t->opened(); break;
        case 2: _t->readIsStarted(); break;
        case 3: _t->readIsStopped(); break;
        case 4: _t->closed(); break;
        case 5: _t->isSeekToZeroAndWait(); break;
        case 6: _t->checkIfIsWait(); break;
        case 7: _t->resumeAfterErrorByRestartAll(); break;
        case 8: _t->resumeAfterErrorByRestartAtTheLastPosition(); break;
        case 9: _t->internalStartOpen(); break;
        case 10: _t->internalStartRead(); break;
        case 11: _t->internalStartClose(); break;
        case 12: _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 13: _t->seekToZeroAndWait(); break;
        case 14: _t->postOperation(); break;
        case 15: { bool _r = _t->internalOpen((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 16: { bool _r = _t->internalOpen();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 17: { bool _r = _t->internalOpenSlot();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->internalRead(); break;
        case 19: _t->internalClose((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->internalClose(); break;
        case 21: _t->internalCloseSlot(); break;
        case 22: _t->isInWait(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::error)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::opened)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::readIsStarted)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::readIsStopped)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::closed)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::isSeekToZeroAndWait)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::checkIfIsWait)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::resumeAfterErrorByRestartAll)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::resumeAfterErrorByRestartAtTheLastPosition)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::internalStartOpen)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::internalStartRead)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::internalStartClose)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (ReadThread::*)(const Ultracopier::DebugLevel & , std::string , std::string , std::string , int ) const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ReadThread::debugInformation)) {
                *result = 12;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ReadThread::staticMetaObject = { {
    QMetaObject::SuperData::link<QThread::staticMetaObject>(),
    qt_meta_stringdata_ReadThread.data,
    qt_meta_data_ReadThread,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SIGNAL 12
void ReadThread::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< ReadThread *>(this), &staticMetaObject, 12, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
