/****************************************************************************
** Meta object code from reading C++ file 'CCanvas.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 "../../../../../qmapshack-V_1.20.2/src/qmapshack/canvas/CCanvas.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 'CCanvas.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_ZN7CCanvasE_t {};
} // unnamed namespace

template <> constexpr inline auto CCanvas::qt_create_metaobjectdata<qt_meta_tag_ZN7CCanvasE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CCanvas",
        "sigMousePosition",
        "",
        "QPointF",
        "pos",
        "ele",
        "slope",
        "sigMoveAndZoom",
        "index",
        "focus",
        "sigZoom",
        "sigMove",
        "sigResize",
        "QSize",
        "size",
        "sigNameChanged",
        "self",
        "sigCanvasIsCurrent",
        "slotTriggerCompleteUpdate",
        "CCanvas::redraw_e",
        "flags",
        "slotUpdateTrackInfo",
        "updateVisuals",
        "slotCheckTrackOnFocus",
        "slotToolTip"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sigMousePosition'
        QtMocHelpers::SignalData<void(const QPointF &, qreal, qreal)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { QMetaType::QReal, 5 }, { QMetaType::QReal, 6 },
        }}),
        // Signal 'sigMoveAndZoom'
        QtMocHelpers::SignalData<void(int, const QPointF &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 8 }, { 0x80000000 | 3, 9 },
        }}),
        // Signal 'sigZoom'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigMove'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sigResize'
        QtMocHelpers::SignalData<void(const QSize &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Signal 'sigNameChanged'
        QtMocHelpers::SignalData<void(const CCanvas &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 0, 16 },
        }}),
        // Signal 'sigCanvasIsCurrent'
        QtMocHelpers::SignalData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotTriggerCompleteUpdate'
        QtMocHelpers::SlotData<void(CCanvas::redraw_e)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 19, 20 },
        }}),
        // Slot 'slotUpdateTrackInfo'
        QtMocHelpers::SlotData<void(bool)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 22 },
        }}),
        // Slot 'slotCheckTrackOnFocus'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotToolTip'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CCanvas, qt_meta_tag_ZN7CCanvasE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject CCanvas::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7CCanvasE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7CCanvasE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7CCanvasE_t>.metaTypes,
    nullptr
} };

void CCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CCanvas *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sigMousePosition((*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<qreal>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<qreal>>(_a[3]))); break;
        case 1: _t->sigMoveAndZoom((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPointF>>(_a[2]))); break;
        case 2: _t->sigZoom(); break;
        case 3: _t->sigMove(); break;
        case 4: _t->sigResize((*reinterpret_cast<std::add_pointer_t<QSize>>(_a[1]))); break;
        case 5: _t->sigNameChanged((*reinterpret_cast<std::add_pointer_t<CCanvas>>(_a[1]))); break;
        case 6: _t->sigCanvasIsCurrent(); break;
        case 7: _t->slotTriggerCompleteUpdate((*reinterpret_cast<std::add_pointer_t<CCanvas::redraw_e>>(_a[1]))); break;
        case 8: _t->slotUpdateTrackInfo((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->slotCheckTrackOnFocus(); break;
        case 10: _t->slotToolTip(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CCanvas::*)(const QPointF & , qreal , qreal )>(_a, &CCanvas::sigMousePosition, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CCanvas::*)(int , const QPointF & )>(_a, &CCanvas::sigMoveAndZoom, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (CCanvas::*)()>(_a, &CCanvas::sigZoom, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (CCanvas::*)()>(_a, &CCanvas::sigMove, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (CCanvas::*)(const QSize & )>(_a, &CCanvas::sigResize, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (CCanvas::*)(const CCanvas & )>(_a, &CCanvas::sigNameChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (CCanvas::*)()>(_a, &CCanvas::sigCanvasIsCurrent, 6))
            return;
    }
}

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

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

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

// SIGNAL 0
void CCanvas::sigMousePosition(const QPointF & _t1, qreal _t2, qreal _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

// SIGNAL 1
void CCanvas::sigMoveAndZoom(int _t1, const QPointF & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

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

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

// SIGNAL 4
void CCanvas::sigResize(const QSize & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void CCanvas::sigNameChanged(const CCanvas & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

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