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

#include "../../../../../qmapshack-V_1.20.1/src/qmapshack/gis/trk/CDetailsTrk.h"
#include <QtGui/qtextcursor.h>
#include <QtGui/qscreen.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 'CDetailsTrk.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN11CDetailsTrkE_t {};
} // unnamed namespace

template <> constexpr inline auto CDetailsTrk::qt_create_metaobjectdata<qt_meta_tag_ZN11CDetailsTrkE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CDetailsTrk",
        "updateData",
        "",
        "slotNameChanged",
        "name",
        "slotNameChangeFinished",
        "slotShowPlots",
        "slotColorChanged",
        "idx",
        "slotChangeReadOnlyMode",
        "on",
        "slotLinkActivated",
        "QUrl",
        "url",
        "slotMouseClickState",
        "slotSetActivities",
        "slotSetEnergyCycling",
        "slotColorSourceChanged",
        "slotColorLimitHighChanged",
        "slotColorLimitLowChanged",
        "slotSetupGraph",
        "slotSetLimitModeGraph",
        "CLimit::mode_e",
        "mode",
        "CLimit*",
        "limit",
        "QDoubleSpinBox*",
        "spinMin",
        "spinMax",
        "slotSetLimitModeStyle",
        "slotLineWidthMode",
        "isUser",
        "slotLineWidth",
        "f",
        "slotWithArrowsMode",
        "slotWithArrows",
        "yes",
        "slotHasTrkPtInfo"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'updateData'
        QtMocHelpers::SlotData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotNameChanged'
        QtMocHelpers::SlotData<void(const QString &)>(3, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 4 },
        }}),
        // Slot 'slotNameChangeFinished'
        QtMocHelpers::SlotData<void()>(5, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowPlots'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotColorChanged'
        QtMocHelpers::SlotData<void(int)>(7, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 8 },
        }}),
        // Slot 'slotChangeReadOnlyMode'
        QtMocHelpers::SlotData<void(bool)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 10 },
        }}),
        // Slot 'slotLinkActivated'
        QtMocHelpers::SlotData<void(const QUrl &)>(11, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'slotMouseClickState'
        QtMocHelpers::SlotData<void(int)>(14, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'slotSetActivities'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSetEnergyCycling'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotColorSourceChanged'
        QtMocHelpers::SlotData<void(int)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 8 },
        }}),
        // Slot 'slotColorLimitHighChanged'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotColorLimitLowChanged'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSetupGraph'
        QtMocHelpers::SlotData<void(int)>(20, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 8 },
        }}),
        // Slot 'slotSetLimitModeGraph'
        QtMocHelpers::SlotData<void(CLimit::mode_e, CLimit *, QDoubleSpinBox *, QDoubleSpinBox *, bool)>(21, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 22, 23 }, { 0x80000000 | 24, 25 }, { 0x80000000 | 26, 27 }, { 0x80000000 | 26, 28 },
            { QMetaType::Bool, 10 },
        }}),
        // Slot 'slotSetLimitModeStyle'
        QtMocHelpers::SlotData<void(CLimit::mode_e, bool)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 22, 23 }, { QMetaType::Bool, 10 },
        }}),
        // Slot 'slotLineWidthMode'
        QtMocHelpers::SlotData<void(bool)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 31 },
        }}),
        // Slot 'slotLineWidth'
        QtMocHelpers::SlotData<void(int)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 33 },
        }}),
        // Slot 'slotWithArrowsMode'
        QtMocHelpers::SlotData<void(bool)>(34, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 31 },
        }}),
        // Slot 'slotWithArrows'
        QtMocHelpers::SlotData<void(bool)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 36 },
        }}),
        // Slot 'slotHasTrkPtInfo'
        QtMocHelpers::SlotData<void(bool)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 36 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CDetailsTrk, qt_meta_tag_ZN11CDetailsTrkE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject CDetailsTrk::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11CDetailsTrkE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11CDetailsTrkE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11CDetailsTrkE_t>.metaTypes,
    nullptr
} };

void CDetailsTrk::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CDetailsTrk *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->updateData(); break;
        case 1: _t->slotNameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->slotNameChangeFinished(); break;
        case 3: _t->slotShowPlots(); break;
        case 4: _t->slotColorChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->slotChangeReadOnlyMode((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: _t->slotLinkActivated((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 7: _t->slotMouseClickState((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->slotSetActivities(); break;
        case 9: _t->slotSetEnergyCycling(); break;
        case 10: _t->slotColorSourceChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 11: _t->slotColorLimitHighChanged(); break;
        case 12: _t->slotColorLimitLowChanged(); break;
        case 13: _t->slotSetupGraph((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 14: _t->slotSetLimitModeGraph((*reinterpret_cast<std::add_pointer_t<CLimit::mode_e>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<CLimit*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QDoubleSpinBox*>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QDoubleSpinBox*>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[5]))); break;
        case 15: _t->slotSetLimitModeStyle((*reinterpret_cast<std::add_pointer_t<CLimit::mode_e>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 16: _t->slotLineWidthMode((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 17: _t->slotLineWidth((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 18: _t->slotWithArrowsMode((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 19: _t->slotWithArrows((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 20: _t->slotHasTrkPtInfo((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< CLimit* >(); break;
            case 3:
            case 2:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDoubleSpinBox* >(); break;
            }
            break;
        }
    }
}

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

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

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