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

#include "../../kernel-shark-kernelshark-v2.4.0/src/KsDualMarker.hpp"
#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 'KsDualMarker.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.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_ZN14KsMarkerButtonE_t {};
} // unnamed namespace

template <> constexpr inline auto KsMarkerButton::qt_create_metaobjectdata<qt_meta_tag_ZN14KsMarkerButtonE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KsMarkerButton",
        "deselect",
        ""
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'deselect'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KsMarkerButton, qt_meta_tag_ZN14KsMarkerButtonE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KsMarkerButton::staticMetaObject = { {
    QMetaObject::SuperData::link<QPushButton::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KsMarkerButtonE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KsMarkerButtonE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14KsMarkerButtonE_t>.metaTypes,
    nullptr
} };

void KsMarkerButton::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KsMarkerButton *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->deselect(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KsMarkerButton::*)()>(_a, &KsMarkerButton::deselect, 0))
            return;
    }
}

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

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

int KsMarkerButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QPushButton::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)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void KsMarkerButton::deselect()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
namespace {
struct qt_meta_tag_ZN11KsGraphMarkE_t {};
} // unnamed namespace

template <> constexpr inline auto KsGraphMark::qt_create_metaobjectdata<qt_meta_tag_ZN11KsGraphMarkE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KsGraphMark"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KsGraphMark, qt_meta_tag_ZN11KsGraphMarkE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KsGraphMark::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11KsGraphMarkE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11KsGraphMarkE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11KsGraphMarkE_t>.metaTypes,
    nullptr
} };

void KsGraphMark::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KsGraphMark *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

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

int KsGraphMark::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}
namespace {
struct qt_meta_tag_ZN14KsDualMarkerSME_t {};
} // unnamed namespace

template <> constexpr inline auto KsDualMarkerSM::qt_create_metaobjectdata<qt_meta_tag_ZN14KsDualMarkerSME_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KsDualMarkerSM",
        "markSwitchForView",
        "",
        "updateView",
        "size_t",
        "pos",
        "mark",
        "updateGraph",
        "machineToA",
        "machineToB",
        "deselectA",
        "deselectB"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'markSwitchForView'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'updateView'
        QtMocHelpers::SignalData<void(size_t, bool)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 }, { QMetaType::Bool, 6 },
        }}),
        // Signal 'updateGraph'
        QtMocHelpers::SignalData<void(size_t)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 4, 5 },
        }}),
        // Signal 'machineToA'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'machineToB'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deselectA'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deselectB'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KsDualMarkerSM, qt_meta_tag_ZN14KsDualMarkerSME_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KsDualMarkerSM::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KsDualMarkerSME_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14KsDualMarkerSME_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14KsDualMarkerSME_t>.metaTypes,
    nullptr
} };

void KsDualMarkerSM::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KsDualMarkerSM *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->markSwitchForView(); break;
        case 1: _t->updateView((*reinterpret_cast< std::add_pointer_t<size_t>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
        case 2: _t->updateGraph((*reinterpret_cast< std::add_pointer_t<size_t>>(_a[1]))); break;
        case 3: _t->machineToA(); break;
        case 4: _t->machineToB(); break;
        case 5: _t->deselectA(); break;
        case 6: _t->deselectB(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KsDualMarkerSM::*)()>(_a, &KsDualMarkerSM::markSwitchForView, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsDualMarkerSM::*)(size_t , bool )>(_a, &KsDualMarkerSM::updateView, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsDualMarkerSM::*)(size_t )>(_a, &KsDualMarkerSM::updateGraph, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsDualMarkerSM::*)()>(_a, &KsDualMarkerSM::machineToA, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsDualMarkerSM::*)()>(_a, &KsDualMarkerSM::machineToB, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsDualMarkerSM::*)()>(_a, &KsDualMarkerSM::deselectA, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsDualMarkerSM::*)()>(_a, &KsDualMarkerSM::deselectB, 6))
            return;
    }
}

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

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

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

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

// SIGNAL 1
void KsDualMarkerSM::updateView(size_t _t1, bool _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void KsDualMarkerSM::updateGraph(size_t _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void KsDualMarkerSM::machineToA()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KsDualMarkerSM::machineToB()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KsDualMarkerSM::deselectA()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KsDualMarkerSM::deselectB()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
