/****************************************************************************
** Meta object code from reading C++ file 'AlertWidget.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 "ui/AlertWidget.h"
#include <QtNetwork/QSslError>
#include <QtCore/qmetatype.h>
#include <QtCore/QSet>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'AlertWidget.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_ZN11AlertWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto AlertWidget::qt_create_metaobjectdata<qt_meta_tag_ZN11AlertWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AlertWidget",
        "alertsCleared",
        "",
        "tuneDx",
        "DxSpot",
        "tuneWsjtx",
        "WsjtxEntry",
        "rulesChanged",
        "addAlert",
        "SpotAlert",
        "alert",
        "clearAllAlerts",
        "entryDoubleClicked",
        "QModelIndex",
        "index",
        "alertAgingChanged",
        "showEditRules",
        "resetDupe",
        "updateSpotsStatusWhenQSOAdded",
        "QSqlRecord",
        "record",
        "updateSpotsStatusWhenQSOUpdated",
        "updateSpotsDupeWhenQSODeleted",
        "updateSpotsDxccStatusWhenQSODeleted",
        "QSet<uint>",
        "entities",
        "recalculateDupe",
        "recalculateDxccStatus",
        "saveTableHeaderState",
        "showColumnVisibility",
        "alertAging",
        "restoreTableHeaderState"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'alertsCleared'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'tuneDx'
        QtMocHelpers::SignalData<void(DxSpot)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 2 },
        }}),
        // Signal 'tuneWsjtx'
        QtMocHelpers::SignalData<void(WsjtxEntry)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 2 },
        }}),
        // Signal 'rulesChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'addAlert'
        QtMocHelpers::SlotData<void(const SpotAlert &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 },
        }}),
        // Slot 'clearAllAlerts'
        QtMocHelpers::SlotData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'entryDoubleClicked'
        QtMocHelpers::SlotData<void(QModelIndex)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'alertAgingChanged'
        QtMocHelpers::SlotData<void(int)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'showEditRules'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'resetDupe'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateSpotsStatusWhenQSOAdded'
        QtMocHelpers::SlotData<void(const QSqlRecord &)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Slot 'updateSpotsStatusWhenQSOUpdated'
        QtMocHelpers::SlotData<void(const QSqlRecord &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Slot 'updateSpotsDupeWhenQSODeleted'
        QtMocHelpers::SlotData<void(const QSqlRecord &)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Slot 'updateSpotsDxccStatusWhenQSODeleted'
        QtMocHelpers::SlotData<void(const QSet<uint> &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 24, 25 },
        }}),
        // Slot 'recalculateDupe'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'recalculateDxccStatus'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'saveTableHeaderState'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'showColumnVisibility'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'alertAging'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'restoreTableHeaderState'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AlertWidget, qt_meta_tag_ZN11AlertWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AlertWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11AlertWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11AlertWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11AlertWidgetE_t>.metaTypes,
    nullptr
} };

void AlertWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AlertWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->alertsCleared(); break;
        case 1: _t->tuneDx((*reinterpret_cast<std::add_pointer_t<DxSpot>>(_a[1]))); break;
        case 2: _t->tuneWsjtx((*reinterpret_cast<std::add_pointer_t<WsjtxEntry>>(_a[1]))); break;
        case 3: _t->rulesChanged(); break;
        case 4: _t->addAlert((*reinterpret_cast<std::add_pointer_t<SpotAlert>>(_a[1]))); break;
        case 5: _t->clearAllAlerts(); break;
        case 6: _t->entryDoubleClicked((*reinterpret_cast<std::add_pointer_t<QModelIndex>>(_a[1]))); break;
        case 7: _t->alertAgingChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->showEditRules(); break;
        case 9: _t->resetDupe(); break;
        case 10: _t->updateSpotsStatusWhenQSOAdded((*reinterpret_cast<std::add_pointer_t<QSqlRecord>>(_a[1]))); break;
        case 11: _t->updateSpotsStatusWhenQSOUpdated((*reinterpret_cast<std::add_pointer_t<QSqlRecord>>(_a[1]))); break;
        case 12: _t->updateSpotsDupeWhenQSODeleted((*reinterpret_cast<std::add_pointer_t<QSqlRecord>>(_a[1]))); break;
        case 13: _t->updateSpotsDxccStatusWhenQSODeleted((*reinterpret_cast<std::add_pointer_t<QSet<uint>>>(_a[1]))); break;
        case 14: _t->recalculateDupe(); break;
        case 15: _t->recalculateDxccStatus(); break;
        case 16: _t->saveTableHeaderState(); break;
        case 17: _t->showColumnVisibility(); break;
        case 18: _t->alertAging(); break;
        case 19: _t->restoreTableHeaderState(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< DxSpot >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< SpotAlert >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QSet<uint> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AlertWidget::*)()>(_a, &AlertWidget::alertsCleared, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AlertWidget::*)(DxSpot )>(_a, &AlertWidget::tuneDx, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AlertWidget::*)(WsjtxEntry )>(_a, &AlertWidget::tuneWsjtx, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AlertWidget::*)()>(_a, &AlertWidget::rulesChanged, 3))
            return;
    }
}

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

void *AlertWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11AlertWidgetE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ShutdownAwareWidget"))
        return static_cast< ShutdownAwareWidget*>(this);
    return QWidget::qt_metacast(_clname);
}

int AlertWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 20)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 20;
    }
    return _id;
}

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

// SIGNAL 1
void AlertWidget::tuneDx(DxSpot _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void AlertWidget::tuneWsjtx(WsjtxEntry _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void AlertWidget::rulesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
