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

template <> constexpr inline auto WsjtxUDPReceiver::qt_create_metaobjectdata<qt_meta_tag_ZN16WsjtxUDPReceiverE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "WsjtxUDPReceiver",
        "statusReceived",
        "",
        "WsjtxStatus",
        "decodeReceived",
        "WsjtxDecode",
        "addContact",
        "QSqlRecord",
        "sendReply",
        "WsjtxEntry",
        "sendHighlightCallsign",
        "sendClearHighlightCallsign",
        "sendClearAllHighlightCallsign",
        "reloadSetting",
        "readPendingDatagrams",
        "insertContact",
        "WsjtxLog",
        "log",
        "contactReady",
        "record",
        "WsjtxLogADIF"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'statusReceived'
        QtMocHelpers::SignalData<void(WsjtxStatus)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'decodeReceived'
        QtMocHelpers::SignalData<void(WsjtxDecode)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 2 },
        }}),
        // Signal 'addContact'
        QtMocHelpers::SignalData<void(QSqlRecord)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
        // Slot 'sendReply'
        QtMocHelpers::SlotData<void(const WsjtxEntry &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 2 },
        }}),
        // Slot 'sendHighlightCallsign'
        QtMocHelpers::SlotData<void(const WsjtxEntry &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 2 },
        }}),
        // Slot 'sendClearHighlightCallsign'
        QtMocHelpers::SlotData<void(const WsjtxEntry &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 2 },
        }}),
        // Slot 'sendClearAllHighlightCallsign'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'reloadSetting'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'readPendingDatagrams'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'insertContact'
        QtMocHelpers::SlotData<void(WsjtxLog)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'contactReady'
        QtMocHelpers::SlotData<void(QSqlRecord)>(18, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 7, 19 },
        }}),
        // Slot 'insertContact'
        QtMocHelpers::SlotData<void(WsjtxLogADIF)>(15, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 20, 17 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<WsjtxUDPReceiver, qt_meta_tag_ZN16WsjtxUDPReceiverE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject WsjtxUDPReceiver::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16WsjtxUDPReceiverE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16WsjtxUDPReceiverE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16WsjtxUDPReceiverE_t>.metaTypes,
    nullptr
} };

void WsjtxUDPReceiver::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WsjtxUDPReceiver *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->statusReceived((*reinterpret_cast<std::add_pointer_t<WsjtxStatus>>(_a[1]))); break;
        case 1: _t->decodeReceived((*reinterpret_cast<std::add_pointer_t<WsjtxDecode>>(_a[1]))); break;
        case 2: _t->addContact((*reinterpret_cast<std::add_pointer_t<QSqlRecord>>(_a[1]))); break;
        case 3: _t->sendReply((*reinterpret_cast<std::add_pointer_t<WsjtxEntry>>(_a[1]))); break;
        case 4: _t->sendHighlightCallsign((*reinterpret_cast<std::add_pointer_t<WsjtxEntry>>(_a[1]))); break;
        case 5: _t->sendClearHighlightCallsign((*reinterpret_cast<std::add_pointer_t<WsjtxEntry>>(_a[1]))); break;
        case 6: _t->sendClearAllHighlightCallsign(); break;
        case 7: _t->reloadSetting(); break;
        case 8: _t->readPendingDatagrams(); break;
        case 9: _t->insertContact((*reinterpret_cast<std::add_pointer_t<WsjtxLog>>(_a[1]))); break;
        case 10: _t->contactReady((*reinterpret_cast<std::add_pointer_t<QSqlRecord>>(_a[1]))); break;
        case 11: _t->insertContact((*reinterpret_cast<std::add_pointer_t<WsjtxLogADIF>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (WsjtxUDPReceiver::*)(WsjtxStatus )>(_a, &WsjtxUDPReceiver::statusReceived, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (WsjtxUDPReceiver::*)(WsjtxDecode )>(_a, &WsjtxUDPReceiver::decodeReceived, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (WsjtxUDPReceiver::*)(QSqlRecord )>(_a, &WsjtxUDPReceiver::addContact, 2))
            return;
    }
}

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

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

int WsjtxUDPReceiver::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 WsjtxUDPReceiver::statusReceived(WsjtxStatus _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void WsjtxUDPReceiver::decodeReceived(WsjtxDecode _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void WsjtxUDPReceiver::addContact(QSqlRecord _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}
QT_WARNING_POP
