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

template <> constexpr inline auto LogThread::qt_create_metaobjectdata<qt_meta_tag_ZN9LogThreadE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "LogThread",
        "newData",
        "",
        "std::string",
        "text",
        "newTransferStart",
        "Ultracopier::ItemOfCopyList",
        "item",
        "newTransferStop",
        "transferSkip",
        "error",
        "path",
        "uint64_t",
        "size",
        "mtime",
        "openLogs",
        "closeLogs",
        "rmPath",
        "mkPath",
        "realDataWrite",
        "newOptionValue",
        "group",
        "name",
        "value"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'newData'
        QtMocHelpers::SignalData<void(const std::string &) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'newTransferStart'
        QtMocHelpers::SlotData<void(const Ultracopier::ItemOfCopyList &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'newTransferStop'
        QtMocHelpers::SlotData<void(const Ultracopier::ItemOfCopyList &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'transferSkip'
        QtMocHelpers::SlotData<void(const Ultracopier::ItemOfCopyList &)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'error'
        QtMocHelpers::SlotData<void(const std::string &, const uint64_t &, const uint64_t &, const std::string &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 11 }, { 0x80000000 | 12, 13 }, { 0x80000000 | 12, 14 }, { 0x80000000 | 3, 10 },
        }}),
        // Slot 'openLogs'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'closeLogs'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'rmPath'
        QtMocHelpers::SlotData<void(const std::string &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 11 },
        }}),
        // Slot 'mkPath'
        QtMocHelpers::SlotData<void(const std::string &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 11 },
        }}),
        // Slot 'realDataWrite'
        QtMocHelpers::SlotData<void(const std::string &)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'newOptionValue'
        QtMocHelpers::SlotData<void(const std::string &, const std::string &, const std::string &)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 3, 21 }, { 0x80000000 | 3, 22 }, { 0x80000000 | 3, 23 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<LogThread, qt_meta_tag_ZN9LogThreadE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject LogThread::staticMetaObject = { {
    QMetaObject::SuperData::link<QThread::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9LogThreadE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN9LogThreadE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN9LogThreadE_t>.metaTypes,
    nullptr
} };

void LogThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<LogThread *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->newData((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 1: _t->newTransferStart((*reinterpret_cast<std::add_pointer_t<Ultracopier::ItemOfCopyList>>(_a[1]))); break;
        case 2: _t->newTransferStop((*reinterpret_cast<std::add_pointer_t<Ultracopier::ItemOfCopyList>>(_a[1]))); break;
        case 3: _t->transferSkip((*reinterpret_cast<std::add_pointer_t<Ultracopier::ItemOfCopyList>>(_a[1]))); break;
        case 4: _t->error((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[4]))); break;
        case 5: _t->openLogs(); break;
        case 6: _t->closeLogs(); break;
        case 7: _t->rmPath((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 8: _t->mkPath((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 9: _t->realDataWrite((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 10: _t->newOptionValue((*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<std::string>>(_a[3]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (LogThread::*)(const std::string & ) const>(_a, &LogThread::newData, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void LogThread::newData(const std::string & _t1)const
{
    QMetaObject::activate<void>(const_cast< LogThread *>(this), &staticMetaObject, 0, nullptr, _t1);
}
QT_WARNING_POP
