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

#include "qml_material/util/page_context.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 'page_context.hpp' 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_ZN12qml_material11PageContextE_t {};
} // unnamed namespace

template <> constexpr inline auto qml_material::PageContext::qt_create_metaobjectdata<qt_meta_tag_ZN12qml_material11PageContextE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "qml_material::PageContext",
        "QML.Element",
        "auto",
        "inheritChanged",
        "",
        "leadingActionChanged",
        "backgroundRadiusChanged",
        "headerBackgroundOpacityChanged",
        "radiusChanged",
        "headerTypeChanged",
        "showHeaderChanged",
        "showBackgroundChanged",
        "leftMarginChanged",
        "rightMarginChanged",
        "topMarginChanged",
        "bottomMarginChanged",
        "pushItem",
        "QJSValue",
        "url_or_comp",
        "QVariantMap",
        "props",
        "pop",
        "setInherit",
        "PageContext*",
        "setLeadingAction",
        "setBackgroundRadius",
        "setHeaderBackgroundOpacity",
        "setRadius",
        "setHeaderType",
        "setShowHeader",
        "setShowBackground",
        "setLeftMargin",
        "setRightMargin",
        "setTopMargin",
        "setBottomMargin",
        "inherit",
        "leadingAction",
        "headerType",
        "backgroundRadius",
        "headerBackgroundOpacity",
        "radius",
        "showHeader",
        "showBackground",
        "leftMargin",
        "rightMargin",
        "topMargin",
        "bottomMargin"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'inheritChanged'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'leadingActionChanged'
        QtMocHelpers::SignalData<void()>(5, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'backgroundRadiusChanged'
        QtMocHelpers::SignalData<void()>(6, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'headerBackgroundOpacityChanged'
        QtMocHelpers::SignalData<void()>(7, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'radiusChanged'
        QtMocHelpers::SignalData<void()>(8, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'headerTypeChanged'
        QtMocHelpers::SignalData<void()>(9, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showHeaderChanged'
        QtMocHelpers::SignalData<void()>(10, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showBackgroundChanged'
        QtMocHelpers::SignalData<void()>(11, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'leftMarginChanged'
        QtMocHelpers::SignalData<void()>(12, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'rightMarginChanged'
        QtMocHelpers::SignalData<void()>(13, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'topMarginChanged'
        QtMocHelpers::SignalData<void()>(14, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'bottomMarginChanged'
        QtMocHelpers::SignalData<void()>(15, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'pushItem'
        QtMocHelpers::SignalData<void(const QJSValue &, const QVariantMap &)>(16, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 18 }, { 0x80000000 | 19, 20 },
        }}),
        // Signal 'pushItem'
        QtMocHelpers::SignalData<void(const QJSValue &)>(16, 4, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 17, 18 },
        }}),
        // Signal 'pop'
        QtMocHelpers::SignalData<void()>(21, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setInherit'
        QtMocHelpers::SlotData<void(PageContext *)>(22, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 23, 4 },
        }}),
        // Slot 'setLeadingAction'
        QtMocHelpers::SlotData<void(QObject *)>(24, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QObjectStar, 4 },
        }}),
        // Slot 'setBackgroundRadius'
        QtMocHelpers::SlotData<void(qint32)>(25, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
        // Slot 'setHeaderBackgroundOpacity'
        QtMocHelpers::SlotData<void(double)>(26, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Double, 4 },
        }}),
        // Slot 'setRadius'
        QtMocHelpers::SlotData<void(qint32)>(27, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
        // Slot 'setHeaderType'
        QtMocHelpers::SlotData<void(qint32)>(28, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
        // Slot 'setShowHeader'
        QtMocHelpers::SlotData<void(bool)>(29, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 4 },
        }}),
        // Slot 'setShowBackground'
        QtMocHelpers::SlotData<void(bool)>(30, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 4 },
        }}),
        // Slot 'setLeftMargin'
        QtMocHelpers::SlotData<void(qint32)>(31, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
        // Slot 'setRightMargin'
        QtMocHelpers::SlotData<void(qint32)>(32, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
        // Slot 'setTopMargin'
        QtMocHelpers::SlotData<void(qint32)>(33, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
        // Slot 'setBottomMargin'
        QtMocHelpers::SlotData<void(qint32)>(34, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'inherit'
        QtMocHelpers::PropertyData<PageContext*>(35, 0x80000000 | 23, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 0),
        // property 'leadingAction'
        QtMocHelpers::PropertyData<QObject*>(36, QMetaType::QObjectStar, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 1),
        // property 'headerType'
        QtMocHelpers::PropertyData<qint32>(37, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 5),
        // property 'backgroundRadius'
        QtMocHelpers::PropertyData<qint32>(38, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 2),
        // property 'headerBackgroundOpacity'
        QtMocHelpers::PropertyData<double>(39, QMetaType::Double, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 3),
        // property 'radius'
        QtMocHelpers::PropertyData<qint32>(40, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 4),
        // property 'showHeader'
        QtMocHelpers::PropertyData<bool>(41, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 6),
        // property 'showBackground'
        QtMocHelpers::PropertyData<bool>(42, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 7),
        // property 'leftMargin'
        QtMocHelpers::PropertyData<qint32>(43, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 8),
        // property 'rightMargin'
        QtMocHelpers::PropertyData<qint32>(44, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 9),
        // property 'topMargin'
        QtMocHelpers::PropertyData<qint32>(45, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 10),
        // property 'bottomMargin'
        QtMocHelpers::PropertyData<qint32>(46, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 11),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<PageContext, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject qml_material::PageContext::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qml_material11PageContextE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qml_material11PageContextE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12qml_material11PageContextE_t>.metaTypes,
    nullptr
} };

void qml_material::PageContext::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PageContext *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->inheritChanged(); break;
        case 1: _t->leadingActionChanged(); break;
        case 2: _t->backgroundRadiusChanged(); break;
        case 3: _t->headerBackgroundOpacityChanged(); break;
        case 4: _t->radiusChanged(); break;
        case 5: _t->headerTypeChanged(); break;
        case 6: _t->showHeaderChanged(); break;
        case 7: _t->showBackgroundChanged(); break;
        case 8: _t->leftMarginChanged(); break;
        case 9: _t->rightMarginChanged(); break;
        case 10: _t->topMarginChanged(); break;
        case 11: _t->bottomMarginChanged(); break;
        case 12: _t->pushItem((*reinterpret_cast<std::add_pointer_t<QJSValue>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[2]))); break;
        case 13: _t->pushItem((*reinterpret_cast<std::add_pointer_t<QJSValue>>(_a[1]))); break;
        case 14: _t->pop(); break;
        case 15: _t->setInherit((*reinterpret_cast<std::add_pointer_t<PageContext*>>(_a[1]))); break;
        case 16: _t->setLeadingAction((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1]))); break;
        case 17: _t->setBackgroundRadius((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 18: _t->setHeaderBackgroundOpacity((*reinterpret_cast<std::add_pointer_t<double>>(_a[1]))); break;
        case 19: _t->setRadius((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 20: _t->setHeaderType((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 21: _t->setShowHeader((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 22: _t->setShowBackground((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 23: _t->setLeftMargin((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 24: _t->setRightMargin((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 25: _t->setTopMargin((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        case 26: _t->setBottomMargin((*reinterpret_cast<std::add_pointer_t<qint32>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QJSValue >(); break;
            }
            break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QJSValue >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< PageContext* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::inheritChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::leadingActionChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::backgroundRadiusChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::headerBackgroundOpacityChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::radiusChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::headerTypeChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::showHeaderChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::showBackgroundChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::leftMarginChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::rightMarginChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::topMarginChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::bottomMarginChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)(const QJSValue & , const QVariantMap & )>(_a, &PageContext::pushItem, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (PageContext::*)()>(_a, &PageContext::pop, 14))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PageContext* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<PageContext**>(_v) = _t->inherit(); break;
        case 1: *reinterpret_cast<QObject**>(_v) = _t->leadingAction(); break;
        case 2: *reinterpret_cast<qint32*>(_v) = _t->headerType(); break;
        case 3: *reinterpret_cast<qint32*>(_v) = _t->backgroundRadius(); break;
        case 4: *reinterpret_cast<double*>(_v) = _t->headerBackgroundOpacity(); break;
        case 5: *reinterpret_cast<qint32*>(_v) = _t->radius(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->showHeader(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->showBackground(); break;
        case 8: *reinterpret_cast<qint32*>(_v) = _t->leftMargin(); break;
        case 9: *reinterpret_cast<qint32*>(_v) = _t->rightMargin(); break;
        case 10: *reinterpret_cast<qint32*>(_v) = _t->topMargin(); break;
        case 11: *reinterpret_cast<qint32*>(_v) = _t->bottomMargin(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setInherit(*reinterpret_cast<PageContext**>(_v)); break;
        case 1: _t->setLeadingAction(*reinterpret_cast<QObject**>(_v)); break;
        case 2: _t->setHeaderType(*reinterpret_cast<qint32*>(_v)); break;
        case 3: _t->setBackgroundRadius(*reinterpret_cast<qint32*>(_v)); break;
        case 4: _t->setHeaderBackgroundOpacity(*reinterpret_cast<double*>(_v)); break;
        case 5: _t->setRadius(*reinterpret_cast<qint32*>(_v)); break;
        case 6: _t->setShowHeader(*reinterpret_cast<bool*>(_v)); break;
        case 7: _t->setShowBackground(*reinterpret_cast<bool*>(_v)); break;
        case 8: _t->setLeftMargin(*reinterpret_cast<qint32*>(_v)); break;
        case 9: _t->setRightMargin(*reinterpret_cast<qint32*>(_v)); break;
        case 10: _t->setTopMargin(*reinterpret_cast<qint32*>(_v)); break;
        case 11: _t->setBottomMargin(*reinterpret_cast<qint32*>(_v)); break;
        default: break;
        }
    }
}

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

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

int qml_material::PageContext::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void qml_material::PageContext::inheritChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void qml_material::PageContext::leadingActionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void qml_material::PageContext::backgroundRadiusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void qml_material::PageContext::headerBackgroundOpacityChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void qml_material::PageContext::radiusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void qml_material::PageContext::headerTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void qml_material::PageContext::showHeaderChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void qml_material::PageContext::showBackgroundChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void qml_material::PageContext::leftMarginChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void qml_material::PageContext::rightMarginChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void qml_material::PageContext::topMarginChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void qml_material::PageContext::bottomMarginChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void qml_material::PageContext::pushItem(const QJSValue & _t1, const QVariantMap & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1, _t2);
}

// SIGNAL 14
void qml_material::PageContext::pop()
{
    QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}
QT_WARNING_POP
