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

#include "../../../../../contour/src/contour/window/UiStyleProvider.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 'UiStyleProvider.hpp' 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_ZN7contour6window15UiStyleProviderE_t {};
} // unnamed namespace

template <> constexpr inline auto contour::window::UiStyleProvider::qt_create_metaobjectdata<qt_meta_tag_ZN7contour6window15UiStyleProviderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "contour::window::UiStyleProvider",
        "progressColor",
        "QColor",
        "",
        "state",
        "wash",
        "base",
        "modalScrim",
        "modelessScrim",
        "shadowTint",
        "font",
        "QFont",
        "newTabFont",
        "menuFont",
        "windowControlFont",
        "badgeFont",
        "closeFont",
        "cellWidth",
        "cellHeight",
        "widthQuantum",
        "chromeHeight",
        "tabHeight",
        "labelPadding",
        "labelGap",
        "trailingPadding",
        "minTabWidth",
        "maxTabWidth",
        "tabSlack",
        "controlWidth",
        "controlHeight",
        "stripButtonWidth",
        "windowControlWidth",
        "windowControlInset",
        "windowControlGutter",
        "trafficLightDotSize",
        "trafficLightGap",
        "badgeWidth",
        "badgeHeight",
        "radius",
        "borderWidth",
        "dropCaretWidth",
        "shadowBlur",
        "shadowOffsetY",
        "shadowMargin",
        "hasPopupShadow",
        "tabSeparator",
        "trafficLightGlyph",
        "closeGlyph",
        "zoomGlyph",
        "newTabGlyph",
        "menuGlyph",
        "submenuGlyph"
    };

    QtMocHelpers::UintData qt_methods {
        // Method 'progressColor'
        QtMocHelpers::MethodData<QColor(int) const>(1, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::Int, 4 },
        }}),
        // Method 'wash'
        QtMocHelpers::MethodData<QColor(QColor const &) const>(5, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { 0x80000000 | 2, 6 },
        }}),
        // Method 'modalScrim'
        QtMocHelpers::MethodData<QColor(QColor const &) const>(7, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { 0x80000000 | 2, 6 },
        }}),
        // Method 'modelessScrim'
        QtMocHelpers::MethodData<QColor(QColor const &) const>(8, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { 0x80000000 | 2, 6 },
        }}),
        // Method 'shadowTint'
        QtMocHelpers::MethodData<QColor(QColor const &) const>(9, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { 0x80000000 | 2, 6 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'font'
        QtMocHelpers::PropertyData<QFont>(10, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'newTabFont'
        QtMocHelpers::PropertyData<QFont>(12, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'menuFont'
        QtMocHelpers::PropertyData<QFont>(13, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'windowControlFont'
        QtMocHelpers::PropertyData<QFont>(14, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'badgeFont'
        QtMocHelpers::PropertyData<QFont>(15, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'closeFont'
        QtMocHelpers::PropertyData<QFont>(16, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'cellWidth'
        QtMocHelpers::PropertyData<qreal>(17, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'cellHeight'
        QtMocHelpers::PropertyData<qreal>(18, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'widthQuantum'
        QtMocHelpers::PropertyData<qreal>(19, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'chromeHeight'
        QtMocHelpers::PropertyData<qreal>(20, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'tabHeight'
        QtMocHelpers::PropertyData<qreal>(21, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'labelPadding'
        QtMocHelpers::PropertyData<qreal>(22, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'labelGap'
        QtMocHelpers::PropertyData<qreal>(23, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'trailingPadding'
        QtMocHelpers::PropertyData<qreal>(24, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'minTabWidth'
        QtMocHelpers::PropertyData<qreal>(25, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'maxTabWidth'
        QtMocHelpers::PropertyData<qreal>(26, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'tabSlack'
        QtMocHelpers::PropertyData<qreal>(27, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'controlWidth'
        QtMocHelpers::PropertyData<qreal>(28, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'controlHeight'
        QtMocHelpers::PropertyData<qreal>(29, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'stripButtonWidth'
        QtMocHelpers::PropertyData<qreal>(30, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'windowControlWidth'
        QtMocHelpers::PropertyData<qreal>(31, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'windowControlInset'
        QtMocHelpers::PropertyData<qreal>(32, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'windowControlGutter'
        QtMocHelpers::PropertyData<qreal>(33, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'trafficLightDotSize'
        QtMocHelpers::PropertyData<qreal>(34, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'trafficLightGap'
        QtMocHelpers::PropertyData<qreal>(35, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'badgeWidth'
        QtMocHelpers::PropertyData<qreal>(36, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'badgeHeight'
        QtMocHelpers::PropertyData<qreal>(37, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'radius'
        QtMocHelpers::PropertyData<int>(38, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'borderWidth'
        QtMocHelpers::PropertyData<int>(39, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'dropCaretWidth'
        QtMocHelpers::PropertyData<int>(40, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'shadowBlur'
        QtMocHelpers::PropertyData<int>(41, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'shadowOffsetY'
        QtMocHelpers::PropertyData<qreal>(42, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'shadowMargin'
        QtMocHelpers::PropertyData<qreal>(43, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'hasPopupShadow'
        QtMocHelpers::PropertyData<bool>(44, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'tabSeparator'
        QtMocHelpers::PropertyData<QString>(45, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'trafficLightGlyph'
        QtMocHelpers::PropertyData<QString>(46, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'closeGlyph'
        QtMocHelpers::PropertyData<QString>(47, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'zoomGlyph'
        QtMocHelpers::PropertyData<QString>(48, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'newTabGlyph'
        QtMocHelpers::PropertyData<QString>(49, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'menuGlyph'
        QtMocHelpers::PropertyData<QString>(50, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'submenuGlyph'
        QtMocHelpers::PropertyData<QString>(51, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<UiStyleProvider, qt_meta_tag_ZN7contour6window15UiStyleProviderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject contour::window::UiStyleProvider::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7contour6window15UiStyleProviderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7contour6window15UiStyleProviderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7contour6window15UiStyleProviderE_t>.metaTypes,
    nullptr
} };

void contour::window::UiStyleProvider::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<UiStyleProvider *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { QColor _r = _t->progressColor((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QColor*>(_a[0]) = std::move(_r); }  break;
        case 1: { QColor _r = _t->wash((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QColor*>(_a[0]) = std::move(_r); }  break;
        case 2: { QColor _r = _t->modalScrim((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QColor*>(_a[0]) = std::move(_r); }  break;
        case 3: { QColor _r = _t->modelessScrim((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QColor*>(_a[0]) = std::move(_r); }  break;
        case 4: { QColor _r = _t->shadowTint((*reinterpret_cast<std::add_pointer_t<QColor>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QColor*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QFont*>(_v) = _t->font(); break;
        case 1: *reinterpret_cast<QFont*>(_v) = _t->newTabFont(); break;
        case 2: *reinterpret_cast<QFont*>(_v) = _t->menuFont(); break;
        case 3: *reinterpret_cast<QFont*>(_v) = _t->windowControlFont(); break;
        case 4: *reinterpret_cast<QFont*>(_v) = _t->badgeFont(); break;
        case 5: *reinterpret_cast<QFont*>(_v) = _t->closeFont(); break;
        case 6: *reinterpret_cast<qreal*>(_v) = _t->cellWidth(); break;
        case 7: *reinterpret_cast<qreal*>(_v) = _t->cellHeight(); break;
        case 8: *reinterpret_cast<qreal*>(_v) = _t->widthQuantum(); break;
        case 9: *reinterpret_cast<qreal*>(_v) = _t->chromeHeight(); break;
        case 10: *reinterpret_cast<qreal*>(_v) = _t->tabHeight(); break;
        case 11: *reinterpret_cast<qreal*>(_v) = _t->labelPadding(); break;
        case 12: *reinterpret_cast<qreal*>(_v) = _t->labelGap(); break;
        case 13: *reinterpret_cast<qreal*>(_v) = _t->trailingPadding(); break;
        case 14: *reinterpret_cast<qreal*>(_v) = _t->minTabWidth(); break;
        case 15: *reinterpret_cast<qreal*>(_v) = _t->maxTabWidth(); break;
        case 16: *reinterpret_cast<qreal*>(_v) = _t->tabSlack(); break;
        case 17: *reinterpret_cast<qreal*>(_v) = _t->controlWidth(); break;
        case 18: *reinterpret_cast<qreal*>(_v) = _t->controlHeight(); break;
        case 19: *reinterpret_cast<qreal*>(_v) = _t->stripButtonWidth(); break;
        case 20: *reinterpret_cast<qreal*>(_v) = _t->windowControlWidth(); break;
        case 21: *reinterpret_cast<qreal*>(_v) = _t->windowControlInset(); break;
        case 22: *reinterpret_cast<qreal*>(_v) = _t->windowControlGutter(); break;
        case 23: *reinterpret_cast<qreal*>(_v) = _t->trafficLightDotSize(); break;
        case 24: *reinterpret_cast<qreal*>(_v) = _t->trafficLightGap(); break;
        case 25: *reinterpret_cast<qreal*>(_v) = _t->badgeWidth(); break;
        case 26: *reinterpret_cast<qreal*>(_v) = _t->badgeHeight(); break;
        case 27: *reinterpret_cast<int*>(_v) = _t->radius(); break;
        case 28: *reinterpret_cast<int*>(_v) = _t->borderWidth(); break;
        case 29: *reinterpret_cast<int*>(_v) = _t->dropCaretWidth(); break;
        case 30: *reinterpret_cast<int*>(_v) = _t->shadowBlur(); break;
        case 31: *reinterpret_cast<qreal*>(_v) = _t->shadowOffsetY(); break;
        case 32: *reinterpret_cast<qreal*>(_v) = _t->shadowMargin(); break;
        case 33: *reinterpret_cast<bool*>(_v) = _t->hasPopupShadow(); break;
        case 34: *reinterpret_cast<QString*>(_v) = _t->tabSeparator(); break;
        case 35: *reinterpret_cast<QString*>(_v) = _t->trafficLightGlyph(); break;
        case 36: *reinterpret_cast<QString*>(_v) = _t->closeGlyph(); break;
        case 37: *reinterpret_cast<QString*>(_v) = _t->zoomGlyph(); break;
        case 38: *reinterpret_cast<QString*>(_v) = _t->newTabGlyph(); break;
        case 39: *reinterpret_cast<QString*>(_v) = _t->menuGlyph(); break;
        case 40: *reinterpret_cast<QString*>(_v) = _t->submenuGlyph(); break;
        default: break;
        }
    }
}

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

void *contour::window::UiStyleProvider::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7contour6window15UiStyleProviderE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int contour::window::UiStyleProvider::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 5;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 41;
    }
    return _id;
}
QT_WARNING_POP
