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

template <> constexpr inline auto qml_material::token::BadgeSizeItem::qt_create_metaobjectdata<qt_meta_tag_ZN12qml_material5token13BadgeSizeItemE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "qml_material::token::BadgeSizeItem",
        "QML.Element",
        "auto",
        "badge_size_item",
        "small_diameter",
        "large_height",
        "large_min_width",
        "large_horizontal_padding",
        "offset_x",
        "offset_y"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'small_diameter'
        QtMocHelpers::PropertyData<qreal>(4, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant | QMC::Final),
        // property 'large_height'
        QtMocHelpers::PropertyData<qreal>(5, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant | QMC::Final),
        // property 'large_min_width'
        QtMocHelpers::PropertyData<qreal>(6, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant | QMC::Final),
        // property 'large_horizontal_padding'
        QtMocHelpers::PropertyData<qreal>(7, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant | QMC::Final),
        // property 'offset_x'
        QtMocHelpers::PropertyData<qreal>(8, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant | QMC::Final),
        // property 'offset_y'
        QtMocHelpers::PropertyData<qreal>(9, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant | QMC::Final),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    1,    3 },
    });
    return QtMocHelpers::metaObjectData<BadgeSizeItem, void>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject qml_material::token::BadgeSizeItem::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qml_material5token13BadgeSizeItemE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qml_material5token13BadgeSizeItemE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12qml_material5token13BadgeSizeItemE_t>.metaTypes,
    nullptr
} };

void qml_material::token::BadgeSizeItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<BadgeSizeItem *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<qreal*>(_v) = _t->small_diameter; break;
        case 1: *reinterpret_cast<qreal*>(_v) = _t->large_height; break;
        case 2: *reinterpret_cast<qreal*>(_v) = _t->large_min_width; break;
        case 3: *reinterpret_cast<qreal*>(_v) = _t->large_horizontal_padding; break;
        case 4: *reinterpret_cast<qreal*>(_v) = _t->offset_x; break;
        case 5: *reinterpret_cast<qreal*>(_v) = _t->offset_y; break;
        default: break;
        }
    }
}
namespace {
struct qt_meta_tag_ZN12qml_material5token9BadgeSizeE_t {};
} // unnamed namespace

template <> constexpr inline auto qml_material::token::BadgeSize::qt_create_metaobjectdata<qt_meta_tag_ZN12qml_material5token9BadgeSizeE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "qml_material::token::BadgeSize",
        "QML.Element",
        "auto",
        "badge_size",
        "def",
        "qml_material::token::BadgeSizeItem"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'def'
        QtMocHelpers::PropertyData<qml_material::token::BadgeSizeItem>(4, 0x80000000 | 5, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant | QMC::Final),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    1,    3 },
    });
    return QtMocHelpers::metaObjectData<BadgeSize, void>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject qml_material::token::BadgeSize::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qml_material5token9BadgeSizeE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12qml_material5token9BadgeSizeE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12qml_material5token9BadgeSizeE_t>.metaTypes,
    nullptr
} };

void qml_material::token::BadgeSize::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<BadgeSize *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<qml_material::token::BadgeSizeItem*>(_v) = _t->def; break;
        default: break;
        }
    }
}
QT_WARNING_POP
