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

#include "../../../../kweather-26.08.0/src/weatherbackground.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 'weatherbackground.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.2. 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_ZN25WeatherBackgroundRendererE_t {};
} // unnamed namespace

template <> constexpr inline auto WeatherBackgroundRenderer::qt_create_metaobjectdata<qt_meta_tag_ZN25WeatherBackgroundRendererE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "WeatherBackgroundRenderer",
        "QML.Element",
        "WeatherBackground",
        "rainChanged",
        "",
        "cloudChanged",
        "sunChanged",
        "starChanged",
        "snowChanged",
        "colorTopChanged",
        "colorBottomChanged",
        "cloudColorChanged",
        "handleTimeout",
        "rain",
        "cloud",
        "sun",
        "star",
        "snow",
        "colorTop",
        "QColor",
        "colorBottom",
        "cloudColor"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'rainChanged'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'cloudChanged'
        QtMocHelpers::SignalData<void()>(5, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sunChanged'
        QtMocHelpers::SignalData<void()>(6, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'starChanged'
        QtMocHelpers::SignalData<void()>(7, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'snowChanged'
        QtMocHelpers::SignalData<void()>(8, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'colorTopChanged'
        QtMocHelpers::SignalData<void()>(9, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'colorBottomChanged'
        QtMocHelpers::SignalData<void()>(10, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'cloudColorChanged'
        QtMocHelpers::SignalData<void()>(11, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'handleTimeout'
        QtMocHelpers::SlotData<void()>(12, 4, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'rain'
        QtMocHelpers::PropertyData<bool>(13, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'cloud'
        QtMocHelpers::PropertyData<bool>(14, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'sun'
        QtMocHelpers::PropertyData<bool>(15, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'star'
        QtMocHelpers::PropertyData<bool>(16, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'snow'
        QtMocHelpers::PropertyData<bool>(17, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'colorTop'
        QtMocHelpers::PropertyData<QColor>(18, 0x80000000 | 19, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 5),
        // property 'colorBottom'
        QtMocHelpers::PropertyData<QColor>(20, 0x80000000 | 19, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 6),
        // property 'cloudColor'
        QtMocHelpers::PropertyData<QColor>(21, 0x80000000 | 19, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 7),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<WeatherBackgroundRenderer, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject WeatherBackgroundRenderer::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickFramebufferObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN25WeatherBackgroundRendererE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN25WeatherBackgroundRendererE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN25WeatherBackgroundRendererE_t>.metaTypes,
    nullptr
} };

void WeatherBackgroundRenderer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WeatherBackgroundRenderer *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->rainChanged(); break;
        case 1: _t->cloudChanged(); break;
        case 2: _t->sunChanged(); break;
        case 3: _t->starChanged(); break;
        case 4: _t->snowChanged(); break;
        case 5: _t->colorTopChanged(); break;
        case 6: _t->colorBottomChanged(); break;
        case 7: _t->cloudColorChanged(); break;
        case 8: _t->handleTimeout(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (WeatherBackgroundRenderer::*)()>(_a, &WeatherBackgroundRenderer::rainChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (WeatherBackgroundRenderer::*)()>(_a, &WeatherBackgroundRenderer::cloudChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (WeatherBackgroundRenderer::*)()>(_a, &WeatherBackgroundRenderer::sunChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (WeatherBackgroundRenderer::*)()>(_a, &WeatherBackgroundRenderer::starChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (WeatherBackgroundRenderer::*)()>(_a, &WeatherBackgroundRenderer::snowChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (WeatherBackgroundRenderer::*)()>(_a, &WeatherBackgroundRenderer::colorTopChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (WeatherBackgroundRenderer::*)()>(_a, &WeatherBackgroundRenderer::colorBottomChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (WeatherBackgroundRenderer::*)()>(_a, &WeatherBackgroundRenderer::cloudColorChanged, 7))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->rain(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->cloud(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->sun(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->star(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->snow(); break;
        case 5: *reinterpret_cast<QColor*>(_v) = _t->colorTop(); break;
        case 6: *reinterpret_cast<QColor*>(_v) = _t->colorBottom(); break;
        case 7: *reinterpret_cast<QColor*>(_v) = _t->cloudColor(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRain(*reinterpret_cast<bool*>(_v)); break;
        case 1: _t->setCloud(*reinterpret_cast<bool*>(_v)); break;
        case 2: _t->setSun(*reinterpret_cast<bool*>(_v)); break;
        case 3: _t->setStar(*reinterpret_cast<bool*>(_v)); break;
        case 4: _t->setSnow(*reinterpret_cast<bool*>(_v)); break;
        case 5: _t->setColorTop(*reinterpret_cast<QColor*>(_v)); break;
        case 6: _t->setColorBottom(*reinterpret_cast<QColor*>(_v)); break;
        case 7: _t->setCloudColor(*reinterpret_cast<QColor*>(_v)); break;
        default: break;
        }
    }
}

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

void *WeatherBackgroundRenderer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN25WeatherBackgroundRendererE_t>.strings))
        return static_cast<void*>(this);
    return QQuickFramebufferObject::qt_metacast(_clname);
}

int WeatherBackgroundRenderer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickFramebufferObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 9;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void WeatherBackgroundRenderer::rainChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void WeatherBackgroundRenderer::cloudChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void WeatherBackgroundRenderer::sunChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void WeatherBackgroundRenderer::starChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void WeatherBackgroundRenderer::snowChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void WeatherBackgroundRenderer::colorTopChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void WeatherBackgroundRenderer::colorBottomChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void WeatherBackgroundRenderer::cloudColorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
