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

template <> constexpr inline auto GraphicsScene::qt_create_metaobjectdata<qt_meta_tag_ZN13GraphicsSceneE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "GraphicsScene",
        "spotClicked",
        "",
        "BandPlan::BandPlanMode",
        "mode"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'spotClicked'
        QtMocHelpers::SignalData<void(QString, double, BandPlan::BandPlanMode)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::Double, 2 }, { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<GraphicsScene, qt_meta_tag_ZN13GraphicsSceneE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject GraphicsScene::staticMetaObject = { {
    QMetaObject::SuperData::link<QGraphicsScene::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13GraphicsSceneE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13GraphicsSceneE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13GraphicsSceneE_t>.metaTypes,
    nullptr
} };

void GraphicsScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<GraphicsScene *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->spotClicked((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<BandPlan::BandPlanMode>>(_a[3]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< BandPlan::BandPlanMode >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (GraphicsScene::*)(QString , double , BandPlan::BandPlanMode )>(_a, &GraphicsScene::spotClicked, 0))
            return;
    }
}

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

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

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

// SIGNAL 0
void GraphicsScene::spotClicked(QString _t1, double _t2, BandPlan::BandPlanMode _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}
namespace {
struct qt_meta_tag_ZN13BandmapWidgetE_t {};
} // unnamed namespace

template <> constexpr inline auto BandmapWidget::qt_create_metaobjectdata<qt_meta_tag_ZN13BandmapWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "BandmapWidget",
        "tuneDx",
        "",
        "DxSpot",
        "nearestSpotFound",
        "spotsUpdated",
        "requestNewNonVfoBandmapWindow",
        "id",
        "bandName",
        "update",
        "updateTunedFrequency",
        "VFOID",
        "updateMode",
        "mode",
        "subMode",
        "width",
        "addSpot",
        "spot",
        "spotAgingChanged",
        "clearSpots",
        "setZoom",
        "updateSpotsStatusWhenQSOAdded",
        "QSqlRecord",
        "record",
        "updateSpotsStatusWhenQSOUpdated",
        "updateSpotsDupeWhenQSODeleted",
        "updateSpotsDxccStatusWhenQSODeleted",
        "QSet<uint>",
        "entities",
        "recalculateDxccStatus",
        "resetDupe",
        "recalculateDupe",
        "updateStations",
        "clearWidgetBand",
        "finalizeBeforeAppExit",
        "increasePendingSpots",
        "centerRXActionChecked",
        "emergencyMarkersActionChecked",
        "spotClicked",
        "BandPlan::BandPlanMode",
        "showContextMenu",
        "QPoint",
        "updateStationTimer",
        "focusZoomFreq",
        "clickNewBandmapWindow"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'tuneDx'
        QtMocHelpers::SignalData<void(DxSpot)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'nearestSpotFound'
        QtMocHelpers::SignalData<void(const DxSpot &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'spotsUpdated'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'requestNewNonVfoBandmapWindow'
        QtMocHelpers::SignalData<void(const QString &, const QString &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 7 }, { QMetaType::QString, 8 },
        }}),
        // Slot 'update'
        QtMocHelpers::SlotData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateTunedFrequency'
        QtMocHelpers::SlotData<void(VFOID, double, double, double)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 }, { QMetaType::Double, 2 }, { QMetaType::Double, 2 }, { QMetaType::Double, 2 },
        }}),
        // Slot 'updateMode'
        QtMocHelpers::SlotData<void(VFOID, const QString &, const QString &, const QString &, qint32)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 }, { QMetaType::QString, 2 }, { QMetaType::QString, 13 }, { QMetaType::QString, 14 },
            { QMetaType::Int, 15 },
        }}),
        // Slot 'addSpot'
        QtMocHelpers::SlotData<void(DxSpot)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 17 },
        }}),
        // Slot 'spotAgingChanged'
        QtMocHelpers::SlotData<void(int)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'clearSpots'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setZoom'
        QtMocHelpers::SlotData<void(int)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'updateSpotsStatusWhenQSOAdded'
        QtMocHelpers::SlotData<void(const QSqlRecord &)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'updateSpotsStatusWhenQSOUpdated'
        QtMocHelpers::SlotData<void(const QSqlRecord &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 2 },
        }}),
        // Slot 'updateSpotsDupeWhenQSODeleted'
        QtMocHelpers::SlotData<void(const QSqlRecord &)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'updateSpotsDxccStatusWhenQSODeleted'
        QtMocHelpers::SlotData<void(const QSet<uint> &)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 27, 28 },
        }}),
        // Slot 'recalculateDxccStatus'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'resetDupe'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'recalculateDupe'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateStations'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'clearWidgetBand'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'finalizeBeforeAppExit'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'increasePendingSpots'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'centerRXActionChecked'
        QtMocHelpers::SlotData<void(bool)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'emergencyMarkersActionChecked'
        QtMocHelpers::SlotData<void(bool)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'spotClicked'
        QtMocHelpers::SlotData<void(const QString &, double, BandPlan::BandPlanMode)>(38, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 2 }, { QMetaType::Double, 2 }, { 0x80000000 | 39, 2 },
        }}),
        // Slot 'showContextMenu'
        QtMocHelpers::SlotData<void(const QPoint &)>(40, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 41, 2 },
        }}),
        // Slot 'updateStationTimer'
        QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'focusZoomFreq'
        QtMocHelpers::SlotData<void(int, int)>(43, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 }, { QMetaType::Int, 2 },
        }}),
        // Slot 'clickNewBandmapWindow'
        QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<BandmapWidget, qt_meta_tag_ZN13BandmapWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject BandmapWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13BandmapWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13BandmapWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13BandmapWidgetE_t>.metaTypes,
    nullptr
} };

void BandmapWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<BandmapWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->tuneDx((*reinterpret_cast<std::add_pointer_t<DxSpot>>(_a[1]))); break;
        case 1: _t->nearestSpotFound((*reinterpret_cast<std::add_pointer_t<DxSpot>>(_a[1]))); break;
        case 2: _t->spotsUpdated(); break;
        case 3: _t->requestNewNonVfoBandmapWindow((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 4: _t->update(); break;
        case 5: _t->updateTunedFrequency((*reinterpret_cast<std::add_pointer_t<VFOID>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[4]))); break;
        case 6: _t->updateMode((*reinterpret_cast<std::add_pointer_t<VFOID>>(_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<QString>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<qint32>>(_a[5]))); break;
        case 7: _t->addSpot((*reinterpret_cast<std::add_pointer_t<DxSpot>>(_a[1]))); break;
        case 8: _t->spotAgingChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 9: _t->clearSpots(); break;
        case 10: _t->setZoom((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->updateSpotsStatusWhenQSOAdded((*reinterpret_cast<std::add_pointer_t<QSqlRecord>>(_a[1]))); break;
        case 12: _t->updateSpotsStatusWhenQSOUpdated((*reinterpret_cast<std::add_pointer_t<QSqlRecord>>(_a[1]))); break;
        case 13: _t->updateSpotsDupeWhenQSODeleted((*reinterpret_cast<std::add_pointer_t<QSqlRecord>>(_a[1]))); break;
        case 14: _t->updateSpotsDxccStatusWhenQSODeleted((*reinterpret_cast<std::add_pointer_t<QSet<uint>>>(_a[1]))); break;
        case 15: _t->recalculateDxccStatus(); break;
        case 16: _t->resetDupe(); break;
        case 17: _t->recalculateDupe(); break;
        case 18: _t->updateStations(); break;
        case 19: _t->clearWidgetBand(); break;
        case 20: _t->finalizeBeforeAppExit(); break;
        case 21: _t->increasePendingSpots(); break;
        case 22: _t->centerRXActionChecked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 23: _t->emergencyMarkersActionChecked((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 24: _t->spotClicked((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<BandPlan::BandPlanMode>>(_a[3]))); break;
        case 25: _t->showContextMenu((*reinterpret_cast<std::add_pointer_t<QPoint>>(_a[1]))); break;
        case 26: _t->updateStationTimer(); break;
        case 27: _t->focusZoomFreq((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 28: _t->clickNewBandmapWindow(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            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 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 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< VFOID >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< VFOID >(); break;
            }
            break;
        case 7:
            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 14:
            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;
        case 24:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< BandPlan::BandPlanMode >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (BandmapWidget::*)(DxSpot )>(_a, &BandmapWidget::tuneDx, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (BandmapWidget::*)(const DxSpot & )>(_a, &BandmapWidget::nearestSpotFound, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (BandmapWidget::*)()>(_a, &BandmapWidget::spotsUpdated, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (BandmapWidget::*)(const QString & , const QString & )>(_a, &BandmapWidget::requestNewNonVfoBandmapWindow, 3))
            return;
    }
}

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

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

int BandmapWidget::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 < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 29)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 29;
    }
    return _id;
}

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

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

// SIGNAL 2
void BandmapWidget::spotsUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void BandmapWidget::requestNewNonVfoBandmapWindow(const QString & _t1, const QString & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}
QT_WARNING_POP
