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

template <> constexpr inline auto System::qt_create_metaobjectdata<qt_meta_tag_ZN6SystemE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "System",
        "setInputPower",
        "",
        "inputPower",
        "setNoiseBand",
        "noiseBand",
        "setMinSignalToNoise",
        "minSignalToNoise",
        "setTemperature_K",
        "temperature_K",
        "setTemperature_C",
        "temperature_C",
        "setPeakToRatio",
        "peakToRatio",
        "solve",
        "setUseCelsium",
        "temperatureUnits",
        "val",
        "useCelsium",
        "converdBtoKp",
        "dB",
        "converdBtoW",
        "W",
        "converKptodB",
        "Kp",
        "solveSysPowerGain",
        "solveSysNoiseFigure",
        "solveSysIp3",
        "solveSysOutputPower",
        "solveSysP1db",
        "solveSysNoiseParam",
        "solveDynamicParam",
        "postSolveParam"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'setInputPower'
        QtMocHelpers::SlotData<void(double)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 3 },
        }}),
        // Slot 'inputPower'
        QtMocHelpers::SlotData<double()>(3, 2, QMC::AccessPublic, QMetaType::Double),
        // Slot 'setNoiseBand'
        QtMocHelpers::SlotData<void(float)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 5 },
        }}),
        // Slot 'noiseBand'
        QtMocHelpers::SlotData<float()>(5, 2, QMC::AccessPublic, QMetaType::Float),
        // Slot 'setMinSignalToNoise'
        QtMocHelpers::SlotData<void(double)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 7 },
        }}),
        // Slot 'minSignalToNoise'
        QtMocHelpers::SlotData<double()>(7, 2, QMC::AccessPublic, QMetaType::Double),
        // Slot 'setTemperature_K'
        QtMocHelpers::SlotData<void(float)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 9 },
        }}),
        // Slot 'temperature_K'
        QtMocHelpers::SlotData<float()>(9, 2, QMC::AccessPublic, QMetaType::Float),
        // Slot 'setTemperature_C'
        QtMocHelpers::SlotData<void(float)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Float, 11 },
        }}),
        // Slot 'temperature_C'
        QtMocHelpers::SlotData<float()>(11, 2, QMC::AccessPublic, QMetaType::Float),
        // Slot 'setPeakToRatio'
        QtMocHelpers::SlotData<void(double)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 13 },
        }}),
        // Slot 'peakToRatio'
        QtMocHelpers::SlotData<double()>(13, 2, QMC::AccessPublic, QMetaType::Double),
        // Slot 'solve'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setUseCelsium'
        QtMocHelpers::SlotData<void(enum temperatureUnits)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'useCelsium'
        QtMocHelpers::SlotData<enum temperatureUnits()>(18, 2, QMC::AccessPublic, 0x80000000 | 16),
        // Slot 'converdBtoKp'
        QtMocHelpers::SlotData<float(float)>(19, 2, QMC::AccessPrivate, QMetaType::Float, {{
            { QMetaType::Float, 20 },
        }}),
        // Slot 'converdBtoW'
        QtMocHelpers::SlotData<float(float)>(21, 2, QMC::AccessPrivate, QMetaType::Float, {{
            { QMetaType::Float, 22 },
        }}),
        // Slot 'converKptodB'
        QtMocHelpers::SlotData<float(float)>(23, 2, QMC::AccessPrivate, QMetaType::Float, {{
            { QMetaType::Float, 24 },
        }}),
        // Slot 'solveSysPowerGain'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'solveSysNoiseFigure'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'solveSysIp3'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'solveSysOutputPower'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'solveSysP1db'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'solveSysNoiseParam'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'solveDynamicParam'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'postSolveParam'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<System, qt_meta_tag_ZN6SystemE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject System::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6SystemE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6SystemE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6SystemE_t>.metaTypes,
    nullptr
} };

void System::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<System *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->setInputPower((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 1: { double _r = _t->inputPower();
            if (_a[0]) *reinterpret_cast<double*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->setNoiseBand((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 3: { float _r = _t->noiseBand();
            if (_a[0]) *reinterpret_cast<float*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->setMinSignalToNoise((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 5: { double _r = _t->minSignalToNoise();
            if (_a[0]) *reinterpret_cast<double*>(_a[0]) = std::move(_r); }  break;
        case 6: _t->setTemperature_K((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 7: { float _r = _t->temperature_K();
            if (_a[0]) *reinterpret_cast<float*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->setTemperature_C((*reinterpret_cast<std::add_pointer_t<float>>(_a[1]))); break;
        case 9: { float _r = _t->temperature_C();
            if (_a[0]) *reinterpret_cast<float*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->setPeakToRatio((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 11: { double _r = _t->peakToRatio();
            if (_a[0]) *reinterpret_cast<double*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->solve(); break;
        case 13: _t->setUseCelsium((*reinterpret_cast<std::add_pointer_t<enum temperatureUnits>>(_a[1]))); break;
        case 14: { enum temperatureUnits _r = _t->useCelsium();
            if (_a[0]) *reinterpret_cast<enum temperatureUnits*>(_a[0]) = std::move(_r); }  break;
        case 15: { float _r = _t->converdBtoKp((*reinterpret_cast<std::add_pointer_t<float>>(_a[1])));
            if (_a[0]) *reinterpret_cast<float*>(_a[0]) = std::move(_r); }  break;
        case 16: { float _r = _t->converdBtoW((*reinterpret_cast<std::add_pointer_t<float>>(_a[1])));
            if (_a[0]) *reinterpret_cast<float*>(_a[0]) = std::move(_r); }  break;
        case 17: { float _r = _t->converKptodB((*reinterpret_cast<std::add_pointer_t<float>>(_a[1])));
            if (_a[0]) *reinterpret_cast<float*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->solveSysPowerGain(); break;
        case 19: _t->solveSysNoiseFigure(); break;
        case 20: _t->solveSysIp3(); break;
        case 21: _t->solveSysOutputPower(); break;
        case 22: _t->solveSysP1db(); break;
        case 23: _t->solveSysNoiseParam(); break;
        case 24: _t->solveDynamicParam(); break;
        case 25: _t->postSolveParam(); break;
        default: ;
        }
    }
}

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

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

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