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

template <> constexpr inline auto PluginInterface_Listener::qt_create_metaobjectdata<qt_meta_tag_ZN24PluginInterface_ListenerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PluginInterface_Listener",
        "newState",
        "",
        "Ultracopier::ListeningState",
        "state",
        "newCopyWithoutDestination",
        "uint32_t",
        "orderId",
        "std::vector<std::string>",
        "sources",
        "newCopy",
        "std::string",
        "destination",
        "newMoveWithoutDestination",
        "newMove",
        "error",
        "newClientList",
        "debugInformation",
        "Ultracopier::DebugLevel",
        "level",
        "fonction",
        "text",
        "file",
        "ligne",
        "transferFinished",
        "withError",
        "transferCanceled",
        "newLanguageLoaded"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'newState'
        QtMocHelpers::SignalData<void(const Ultracopier::ListeningState &) const>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'newCopyWithoutDestination'
        QtMocHelpers::SignalData<void(const uint32_t &, const std::vector<std::string> &) const>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { 0x80000000 | 8, 9 },
        }}),
        // Signal 'newCopy'
        QtMocHelpers::SignalData<void(const uint32_t &, const std::vector<std::string> &, const std::string &) const>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { 0x80000000 | 8, 9 }, { 0x80000000 | 11, 12 },
        }}),
        // Signal 'newMoveWithoutDestination'
        QtMocHelpers::SignalData<void(const uint32_t &, const std::vector<std::string> &) const>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { 0x80000000 | 8, 9 },
        }}),
        // Signal 'newMove'
        QtMocHelpers::SignalData<void(const uint32_t &, const std::vector<std::string> &, const std::string &) const>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { 0x80000000 | 8, 9 }, { 0x80000000 | 11, 12 },
        }}),
        // Signal 'error'
        QtMocHelpers::SignalData<void(const std::string &) const>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 15 },
        }}),
        // Signal 'newClientList'
        QtMocHelpers::SignalData<void() const>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'debugInformation'
        QtMocHelpers::SignalData<void(const Ultracopier::DebugLevel &, const std::string &, const std::string &, const std::string &, const int &) const>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 }, { 0x80000000 | 11, 20 }, { 0x80000000 | 11, 21 }, { 0x80000000 | 11, 22 },
            { QMetaType::Int, 23 },
        }}),
        // Slot 'transferFinished'
        QtMocHelpers::SlotData<void(const uint32_t &, const bool &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { QMetaType::Bool, 25 },
        }}),
        // Slot 'transferCanceled'
        QtMocHelpers::SlotData<void(const uint32_t &)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Slot 'newLanguageLoaded'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PluginInterface_Listener, qt_meta_tag_ZN24PluginInterface_ListenerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PluginInterface_Listener::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24PluginInterface_ListenerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN24PluginInterface_ListenerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN24PluginInterface_ListenerE_t>.metaTypes,
    nullptr
} };

void PluginInterface_Listener::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PluginInterface_Listener *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->newState((*reinterpret_cast<std::add_pointer_t<Ultracopier::ListeningState>>(_a[1]))); break;
        case 1: _t->newCopyWithoutDestination((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[2]))); break;
        case 2: _t->newCopy((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[3]))); break;
        case 3: _t->newMoveWithoutDestination((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[2]))); break;
        case 4: _t->newMove((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::vector<std::string>>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[3]))); break;
        case 5: _t->error((*reinterpret_cast<std::add_pointer_t<std::string>>(_a[1]))); break;
        case 6: _t->newClientList(); break;
        case 7: _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 8: _t->transferFinished((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 9: _t->transferCanceled((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1]))); break;
        case 10: _t->newLanguageLoaded(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PluginInterface_Listener::*)(const Ultracopier::ListeningState & ) const>(_a, &PluginInterface_Listener::newState, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PluginInterface_Listener::*)(const uint32_t & , const std::vector<std::string> & ) const>(_a, &PluginInterface_Listener::newCopyWithoutDestination, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PluginInterface_Listener::*)(const uint32_t & , const std::vector<std::string> & , const std::string & ) const>(_a, &PluginInterface_Listener::newCopy, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PluginInterface_Listener::*)(const uint32_t & , const std::vector<std::string> & ) const>(_a, &PluginInterface_Listener::newMoveWithoutDestination, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (PluginInterface_Listener::*)(const uint32_t & , const std::vector<std::string> & , const std::string & ) const>(_a, &PluginInterface_Listener::newMove, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (PluginInterface_Listener::*)(const std::string & ) const>(_a, &PluginInterface_Listener::error, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (PluginInterface_Listener::*)() const>(_a, &PluginInterface_Listener::newClientList, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (PluginInterface_Listener::*)(const Ultracopier::DebugLevel & , const std::string & , const std::string & , const std::string & , const int & ) const>(_a, &PluginInterface_Listener::debugInformation, 7))
            return;
    }
}

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

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

int PluginInterface_Listener::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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 PluginInterface_Listener::newState(const Ultracopier::ListeningState & _t1)const
{
    QMetaObject::activate<void>(const_cast< PluginInterface_Listener *>(this), &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void PluginInterface_Listener::newCopyWithoutDestination(const uint32_t & _t1, const std::vector<std::string> & _t2)const
{
    QMetaObject::activate<void>(const_cast< PluginInterface_Listener *>(this), &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void PluginInterface_Listener::newCopy(const uint32_t & _t1, const std::vector<std::string> & _t2, const std::string & _t3)const
{
    QMetaObject::activate<void>(const_cast< PluginInterface_Listener *>(this), &staticMetaObject, 2, nullptr, _t1, _t2, _t3);
}

// SIGNAL 3
void PluginInterface_Listener::newMoveWithoutDestination(const uint32_t & _t1, const std::vector<std::string> & _t2)const
{
    QMetaObject::activate<void>(const_cast< PluginInterface_Listener *>(this), &staticMetaObject, 3, nullptr, _t1, _t2);
}

// SIGNAL 4
void PluginInterface_Listener::newMove(const uint32_t & _t1, const std::vector<std::string> & _t2, const std::string & _t3)const
{
    QMetaObject::activate<void>(const_cast< PluginInterface_Listener *>(this), &staticMetaObject, 4, nullptr, _t1, _t2, _t3);
}

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

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

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