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

template <> constexpr inline auto KsGLWidget::qt_create_metaobjectdata<qt_meta_tag_ZN10KsGLWidgetE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KsGLWidget",
        "found",
        "",
        "size_t",
        "pos",
        "notFound",
        "uint64_t",
        "ts",
        "sd",
        "cpu",
        "pid",
        "zoomIn",
        "zoomOut",
        "scrollLeft",
        "scrollRight",
        "stopUpdating",
        "select",
        "updateView",
        "mark"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'found'
        QtMocHelpers::SignalData<void(size_t)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'notFound'
        QtMocHelpers::SignalData<void(uint64_t, int, int, int)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { QMetaType::Int, 8 }, { QMetaType::Int, 9 }, { QMetaType::Int, 10 },
        }}),
        // Signal 'zoomIn'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'zoomOut'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'scrollLeft'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'scrollRight'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'stopUpdating'
        QtMocHelpers::SignalData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'select'
        QtMocHelpers::SignalData<void(size_t)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'updateView'
        QtMocHelpers::SignalData<void(size_t, bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::Bool, 18 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KsGLWidget, qt_meta_tag_ZN10KsGLWidgetE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KsGLWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QOpenGLWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KsGLWidgetE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10KsGLWidgetE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10KsGLWidgetE_t>.metaTypes,
    nullptr
} };

void KsGLWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KsGLWidget *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->found((*reinterpret_cast< std::add_pointer_t<size_t>>(_a[1]))); break;
        case 1: _t->notFound((*reinterpret_cast< std::add_pointer_t<uint64_t>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[4]))); break;
        case 2: _t->zoomIn(); break;
        case 3: _t->zoomOut(); break;
        case 4: _t->scrollLeft(); break;
        case 5: _t->scrollRight(); break;
        case 6: _t->stopUpdating(); break;
        case 7: _t->select((*reinterpret_cast< std::add_pointer_t<size_t>>(_a[1]))); break;
        case 8: _t->updateView((*reinterpret_cast< std::add_pointer_t<size_t>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KsGLWidget::*)(size_t )>(_a, &KsGLWidget::found, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsGLWidget::*)(uint64_t , int , int , int )>(_a, &KsGLWidget::notFound, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsGLWidget::*)()>(_a, &KsGLWidget::zoomIn, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsGLWidget::*)()>(_a, &KsGLWidget::zoomOut, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsGLWidget::*)()>(_a, &KsGLWidget::scrollLeft, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsGLWidget::*)()>(_a, &KsGLWidget::scrollRight, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsGLWidget::*)()>(_a, &KsGLWidget::stopUpdating, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsGLWidget::*)(size_t )>(_a, &KsGLWidget::select, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (KsGLWidget::*)(size_t , bool )>(_a, &KsGLWidget::updateView, 8))
            return;
    }
}

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

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

int KsGLWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QOpenGLWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void KsGLWidget::found(size_t _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KsGLWidget::notFound(uint64_t _t1, int _t2, int _t3, int _t4)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3, _t4);
}

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

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

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

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

// SIGNAL 6
void KsGLWidget::stopUpdating()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KsGLWidget::select(size_t _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

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