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

#include "../../../../../qmapshack-V_1.20.1/src/qmapshack/gis/rte/router/CRouterBRouter.h"
#include <QtNetwork/QSslError>
#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 'CRouterBRouter.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN14CRouterBRouterE_t {};
} // unnamed namespace

template <> constexpr inline auto CRouterBRouter::qt_create_metaobjectdata<qt_meta_tag_ZN14CRouterBRouterE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CRouterBRouter",
        "slotToolSetupClicked",
        "",
        "slotVersionChanged",
        "slotRequestFinished",
        "QNetworkReply*",
        "reply",
        "slotCloseStatusMsg",
        "slotToolProfileInfoClicked",
        "slotDisplayError",
        "error",
        "details",
        "slotDisplayProfileInfo",
        "profile",
        "content",
        "slotToggleBRouter",
        "slotToggleConsole",
        "slotClearError"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotToolSetupClicked'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotVersionChanged'
        QtMocHelpers::SlotData<void()>(3, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotRequestFinished'
        QtMocHelpers::SlotData<void(QNetworkReply *)>(4, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Slot 'slotCloseStatusMsg'
        QtMocHelpers::SlotData<void() const>(7, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotToolProfileInfoClicked'
        QtMocHelpers::SlotData<void() const>(8, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotDisplayError'
        QtMocHelpers::SlotData<void(const QString &, const QString &) const>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 10 }, { QMetaType::QString, 11 },
        }}),
        // Slot 'slotDisplayProfileInfo'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(12, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 13 }, { QMetaType::QString, 14 },
        }}),
        // Slot 'slotToggleBRouter'
        QtMocHelpers::SlotData<void() const>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotToggleConsole'
        QtMocHelpers::SlotData<void() const>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotClearError'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CRouterBRouter, qt_meta_tag_ZN14CRouterBRouterE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject CRouterBRouter::staticMetaObject = { {
    QMetaObject::SuperData::link<IRouter::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14CRouterBRouterE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14CRouterBRouterE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14CRouterBRouterE_t>.metaTypes,
    nullptr
} };

void CRouterBRouter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CRouterBRouter *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slotToolSetupClicked(); break;
        case 1: _t->slotVersionChanged(); break;
        case 2: _t->slotRequestFinished((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1]))); break;
        case 3: _t->slotCloseStatusMsg(); break;
        case 4: _t->slotToolProfileInfoClicked(); break;
        case 5: _t->slotDisplayError((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 6: _t->slotDisplayProfileInfo((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 7: _t->slotToggleBRouter(); break;
        case 8: _t->slotToggleConsole(); break;
        case 9: _t->slotClearError(); break;
        default: ;
        }
    }
}

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

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

int CRouterBRouter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = IRouter::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 10;
    }
    return _id;
}
QT_WARNING_POP
