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

#include "rig/drivers/GenericRigDrv.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 'GenericRigDrv.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. 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_ZN13GenericRigDrvE_t {};
} // unnamed namespace

template <> constexpr inline auto GenericRigDrv::qt_create_metaobjectdata<qt_meta_tag_ZN13GenericRigDrvE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "GenericRigDrv",
        "rigIsReady",
        "",
        "frequencyChanged",
        "txFrequencyChanged",
        "splitChanged",
        "pttChanged",
        "modeChanged",
        "vfoChanged",
        "powerChanged",
        "ritChanged",
        "xitChanged",
        "keySpeedChanged",
        "errorOccurred"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'rigIsReady'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'frequencyChanged'
        QtMocHelpers::SignalData<void(double, double, double)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 2 }, { QMetaType::Double, 2 }, { QMetaType::Double, 2 },
        }}),
        // Signal 'txFrequencyChanged'
        QtMocHelpers::SignalData<void(double)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Signal 'splitChanged'
        QtMocHelpers::SignalData<void(bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'pttChanged'
        QtMocHelpers::SignalData<void(bool)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Signal 'modeChanged'
        QtMocHelpers::SignalData<void(QString, QString, QString, qint32)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::QString, 2 }, { QMetaType::QString, 2 }, { QMetaType::Int, 2 },
        }}),
        // Signal 'vfoChanged'
        QtMocHelpers::SignalData<void(QString)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'powerChanged'
        QtMocHelpers::SignalData<void(double)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Signal 'ritChanged'
        QtMocHelpers::SignalData<void(double)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Signal 'xitChanged'
        QtMocHelpers::SignalData<void(double)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 2 },
        }}),
        // Signal 'keySpeedChanged'
        QtMocHelpers::SignalData<void(unsigned int)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 2 },
        }}),
        // Signal 'errorOccurred'
        QtMocHelpers::SignalData<void(QString, QString)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::QString, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GenericRigDrv, qt_meta_tag_ZN13GenericRigDrvE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject GenericRigDrv::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13GenericRigDrvE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13GenericRigDrvE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13GenericRigDrvE_t>.metaTypes,
    nullptr
} };

void GenericRigDrv::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GenericRigDrv *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->rigIsReady(); break;
        case 1: _t->frequencyChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[3]))); break;
        case 2: _t->txFrequencyChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 3: _t->splitChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->pttChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->modeChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<qint32>>(_a[4]))); break;
        case 6: _t->vfoChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: _t->powerChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 8: _t->ritChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 9: _t->xitChanged((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 10: _t->keySpeedChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 11: _t->errorOccurred((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)()>(_a, &GenericRigDrv::rigIsReady, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(double , double , double )>(_a, &GenericRigDrv::frequencyChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(double )>(_a, &GenericRigDrv::txFrequencyChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(bool )>(_a, &GenericRigDrv::splitChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(bool )>(_a, &GenericRigDrv::pttChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(QString , QString , QString , qint32 )>(_a, &GenericRigDrv::modeChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(QString )>(_a, &GenericRigDrv::vfoChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(double )>(_a, &GenericRigDrv::powerChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(double )>(_a, &GenericRigDrv::ritChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(double )>(_a, &GenericRigDrv::xitChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(unsigned int )>(_a, &GenericRigDrv::keySpeedChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (GenericRigDrv::*)(QString , QString )>(_a, &GenericRigDrv::errorOccurred, 11))
            return;
    }
}

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

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

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

// SIGNAL 0
void GenericRigDrv::rigIsReady()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void GenericRigDrv::frequencyChanged(double _t1, double _t2, double _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void GenericRigDrv::txFrequencyChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void GenericRigDrv::splitChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void GenericRigDrv::pttChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void GenericRigDrv::modeChanged(QString _t1, QString _t2, QString _t3, qint32 _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2, _t3, _t4);
}

// SIGNAL 6
void GenericRigDrv::vfoChanged(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void GenericRigDrv::powerChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void GenericRigDrv::ritChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void GenericRigDrv::xitChanged(double _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void GenericRigDrv::keySpeedChanged(unsigned int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void GenericRigDrv::errorOccurred(QString _t1, QString _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1, _t2);
}
QT_WARNING_POP
