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

#include "../../../../../kdiagram-3.0.1/src/KChart/KChartAbstractCoordinatePlane.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 'KChartAbstractCoordinatePlane.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.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_ZN6KChart23AbstractCoordinatePlaneE_t {};
} // unnamed namespace

template <> constexpr inline auto KChart::AbstractCoordinatePlane::qt_create_metaobjectdata<qt_meta_tag_ZN6KChart23AbstractCoordinatePlaneE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KChart::AbstractCoordinatePlane",
        "destroyedCoordinatePlane",
        "",
        "KChart::AbstractCoordinatePlane*",
        "needUpdate",
        "needRelayout",
        "needLayoutPlanes",
        "propertiesChanged",
        "boundariesChanged",
        "geometryChanged",
        "QRect",
        "internal_geometryChanged",
        "viewportCoordinateSystemChanged",
        "update",
        "relayout",
        "layoutPlanes",
        "setGridNeedsRecalculate"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'destroyedCoordinatePlane'
        QtMocHelpers::SignalData<void(KChart::AbstractCoordinatePlane *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'needUpdate'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'needRelayout'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'needLayoutPlanes'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'propertiesChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'boundariesChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'geometryChanged'
        QtMocHelpers::SignalData<void(QRect, QRect)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 2 }, { 0x80000000 | 10, 2 },
        }}),
        // Signal 'internal_geometryChanged'
        QtMocHelpers::SignalData<void(QRect, QRect)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 2 }, { 0x80000000 | 10, 2 },
        }}),
        // Signal 'viewportCoordinateSystemChanged'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'update'
        QtMocHelpers::SlotData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'relayout'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'layoutPlanes'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setGridNeedsRecalculate'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AbstractCoordinatePlane, qt_meta_tag_ZN6KChart23AbstractCoordinatePlaneE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KChart::AbstractCoordinatePlane::staticMetaObject = { {
    QMetaObject::SuperData::link<AbstractArea::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6KChart23AbstractCoordinatePlaneE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6KChart23AbstractCoordinatePlaneE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6KChart23AbstractCoordinatePlaneE_t>.metaTypes,
    nullptr
} };

void KChart::AbstractCoordinatePlane::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AbstractCoordinatePlane *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->destroyedCoordinatePlane((*reinterpret_cast<std::add_pointer_t<KChart::AbstractCoordinatePlane*>>(_a[1]))); break;
        case 1: _t->needUpdate(); break;
        case 2: _t->needRelayout(); break;
        case 3: _t->needLayoutPlanes(); break;
        case 4: _t->propertiesChanged(); break;
        case 5: _t->boundariesChanged(); break;
        case 6: _t->geometryChanged((*reinterpret_cast<std::add_pointer_t<QRect>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QRect>>(_a[2]))); break;
        case 7: _t->internal_geometryChanged((*reinterpret_cast<std::add_pointer_t<QRect>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QRect>>(_a[2]))); break;
        case 8: _t->viewportCoordinateSystemChanged(); break;
        case 9: _t->update(); break;
        case 10: _t->relayout(); break;
        case 11: _t->layoutPlanes(); break;
        case 12: _t->setGridNeedsRecalculate(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KChart::AbstractCoordinatePlane* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AbstractCoordinatePlane::*)(KChart::AbstractCoordinatePlane * )>(_a, &AbstractCoordinatePlane::destroyedCoordinatePlane, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractCoordinatePlane::*)()>(_a, &AbstractCoordinatePlane::needUpdate, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractCoordinatePlane::*)()>(_a, &AbstractCoordinatePlane::needRelayout, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractCoordinatePlane::*)()>(_a, &AbstractCoordinatePlane::needLayoutPlanes, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractCoordinatePlane::*)()>(_a, &AbstractCoordinatePlane::propertiesChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractCoordinatePlane::*)()>(_a, &AbstractCoordinatePlane::boundariesChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractCoordinatePlane::*)(QRect , QRect )>(_a, &AbstractCoordinatePlane::geometryChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractCoordinatePlane::*)(QRect , QRect )>(_a, &AbstractCoordinatePlane::internal_geometryChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractCoordinatePlane::*)()>(_a, &AbstractCoordinatePlane::viewportCoordinateSystemChanged, 8))
            return;
    }
}

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

void *KChart::AbstractCoordinatePlane::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6KChart23AbstractCoordinatePlaneE_t>.strings))
        return static_cast<void*>(this);
    return AbstractArea::qt_metacast(_clname);
}

int KChart::AbstractCoordinatePlane::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractArea::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void KChart::AbstractCoordinatePlane::destroyedCoordinatePlane(KChart::AbstractCoordinatePlane * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KChart::AbstractCoordinatePlane::needUpdate()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KChart::AbstractCoordinatePlane::needRelayout()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KChart::AbstractCoordinatePlane::needLayoutPlanes()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KChart::AbstractCoordinatePlane::propertiesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KChart::AbstractCoordinatePlane::boundariesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KChart::AbstractCoordinatePlane::geometryChanged(QRect _t1, QRect _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1, _t2);
}

// SIGNAL 7
void KChart::AbstractCoordinatePlane::internal_geometryChanged(QRect _t1, QRect _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1, _t2);
}

// SIGNAL 8
void KChart::AbstractCoordinatePlane::viewportCoordinateSystemChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
QT_WARNING_POP
