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

template <> constexpr inline auto shq::Hub::qt_create_metaobjectdata<qt_meta_tag_ZN3shq3HubE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "shq::Hub",
        "connectedChanged",
        "",
        "connected",
        "sourcesChanged",
        "configChanged",
        "sourceId",
        "statsChanged",
        "triggerStateChanged",
        "captureReceived",
        "zoomReceived",
        "plotIdx",
        "historyZoomReceived",
        "historyInfoChanged",
        "maxPointsChanged",
        "uint32_t",
        "n",
        "onConnected",
        "onText",
        "json",
        "onBinary",
        "data"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'connectedChanged'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'sourcesChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'configChanged'
        QtMocHelpers::SignalData<void(const QString &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'statsChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'triggerStateChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'captureReceived'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'zoomReceived'
        QtMocHelpers::SignalData<void(int)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Signal 'historyZoomReceived'
        QtMocHelpers::SignalData<void(int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 11 },
        }}),
        // Signal 'historyInfoChanged'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'maxPointsChanged'
        QtMocHelpers::SignalData<void(uint32_t)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 },
        }}),
        // Slot 'onConnected'
        QtMocHelpers::SlotData<void(bool)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Slot 'onText'
        QtMocHelpers::SlotData<void(const QString &)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 19 },
        }}),
        // Slot 'onBinary'
        QtMocHelpers::SlotData<void(const QByteArray &)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QByteArray, 21 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Hub, qt_meta_tag_ZN3shq3HubE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject shq::Hub::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3shq3HubE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3shq3HubE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3shq3HubE_t>.metaTypes,
    nullptr
} };

void shq::Hub::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Hub *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->connectedChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->sourcesChanged(); break;
        case 2: _t->configChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->statsChanged(); break;
        case 4: _t->triggerStateChanged(); break;
        case 5: _t->captureReceived(); break;
        case 6: _t->zoomReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->historyZoomReceived((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->historyInfoChanged(); break;
        case 9: _t->maxPointsChanged((*reinterpret_cast<std::add_pointer_t<uint32_t>>(_a[1]))); break;
        case 10: _t->onConnected((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 11: _t->onText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->onBinary((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Hub::*)(bool )>(_a, &Hub::connectedChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Hub::*)()>(_a, &Hub::sourcesChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Hub::*)(const QString & )>(_a, &Hub::configChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Hub::*)()>(_a, &Hub::statsChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Hub::*)()>(_a, &Hub::triggerStateChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Hub::*)()>(_a, &Hub::captureReceived, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Hub::*)(int )>(_a, &Hub::zoomReceived, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Hub::*)(int )>(_a, &Hub::historyZoomReceived, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Hub::*)()>(_a, &Hub::historyInfoChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Hub::*)(uint32_t )>(_a, &Hub::maxPointsChanged, 9))
            return;
    }
}

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

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

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

// SIGNAL 0
void shq::Hub::connectedChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void shq::Hub::sourcesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void shq::Hub::configChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void shq::Hub::statsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void shq::Hub::triggerStateChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void shq::Hub::captureReceived()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void shq::Hub::zoomReceived(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void shq::Hub::historyZoomReceived(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void shq::Hub::historyInfoChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void shq::Hub::maxPointsChanged(uint32_t _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}
QT_WARNING_POP
