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

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

template <> constexpr inline auto KChart::AbstractDiagram::qt_create_metaobjectdata<qt_meta_tag_ZN6KChart15AbstractDiagramE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KChart::AbstractDiagram",
        "layoutChanged",
        "",
        "KChart::AbstractDiagram*",
        "aboutToBeDestroyed",
        "modelsChanged",
        "attributesModelAboutToChange",
        "KChart::AttributesModel*",
        "newModel",
        "oldModel",
        "modelDataChanged",
        "dataHidden",
        "propertiesChanged",
        "boundariesChanged",
        "viewportCoordinateSystemChanged",
        "setDataBoundariesDirty"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'layoutChanged'
        QtMocHelpers::SignalData<void(KChart::AbstractDiagram *)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 2 },
        }}),
        // Signal 'aboutToBeDestroyed'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'modelsChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'attributesModelAboutToChange'
        QtMocHelpers::SignalData<void(KChart::AttributesModel *, KChart::AttributesModel *)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 }, { 0x80000000 | 7, 9 },
        }}),
        // Signal 'modelDataChanged'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'dataHidden'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'propertiesChanged'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'boundariesChanged'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'viewportCoordinateSystemChanged'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setDataBoundariesDirty'
        QtMocHelpers::SlotData<void() const>(15, 2, QMC::AccessProtected, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AbstractDiagram, qt_meta_tag_ZN6KChart15AbstractDiagramE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KChart::AbstractDiagram::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractItemView::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6KChart15AbstractDiagramE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6KChart15AbstractDiagramE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6KChart15AbstractDiagramE_t>.metaTypes,
    nullptr
} };

void KChart::AbstractDiagram::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AbstractDiagram *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->layoutChanged((*reinterpret_cast<std::add_pointer_t<KChart::AbstractDiagram*>>(_a[1]))); break;
        case 1: _t->aboutToBeDestroyed(); break;
        case 2: _t->modelsChanged(); break;
        case 3: _t->attributesModelAboutToChange((*reinterpret_cast<std::add_pointer_t<KChart::AttributesModel*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KChart::AttributesModel*>>(_a[2]))); break;
        case 4: _t->modelDataChanged(); break;
        case 5: _t->dataHidden(); break;
        case 6: _t->propertiesChanged(); break;
        case 7: _t->boundariesChanged(); break;
        case 8: _t->viewportCoordinateSystemChanged(); break;
        case 9: _t->setDataBoundariesDirty(); 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::AbstractDiagram* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< KChart::AttributesModel* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AbstractDiagram::*)(KChart::AbstractDiagram * )>(_a, &AbstractDiagram::layoutChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractDiagram::*)()>(_a, &AbstractDiagram::aboutToBeDestroyed, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractDiagram::*)()>(_a, &AbstractDiagram::modelsChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractDiagram::*)(KChart::AttributesModel * , KChart::AttributesModel * )>(_a, &AbstractDiagram::attributesModelAboutToChange, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractDiagram::*)()>(_a, &AbstractDiagram::modelDataChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractDiagram::*)()>(_a, &AbstractDiagram::dataHidden, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractDiagram::*)()>(_a, &AbstractDiagram::propertiesChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractDiagram::*)()>(_a, &AbstractDiagram::boundariesChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (AbstractDiagram::*)()>(_a, &AbstractDiagram::viewportCoordinateSystemChanged, 8))
            return;
    }
}

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

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

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

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

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

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

// SIGNAL 3
void KChart::AbstractDiagram::attributesModelAboutToChange(KChart::AttributesModel * _t1, KChart::AttributesModel * _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}

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

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

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

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

// SIGNAL 8
void KChart::AbstractDiagram::viewportCoordinateSystemChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
namespace {
struct qt_meta_tag_ZN6KChart22PrivateAttributesModelE_t {};
} // unnamed namespace

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

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

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

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

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

int KChart::PrivateAttributesModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AttributesModel::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
