/****************************************************************************
** Meta object code from reading C++ file 'controls.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 "../../../../mauikit-4.0.2/src/libs/controls.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 'controls.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_ZN8ControlsE_t {};
} // unnamed namespace

template <> constexpr inline auto Controls::qt_create_metaobjectdata<qt_meta_tag_ZN8ControlsE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Controls",
        "QML.Element",
        "auto",
        "QML.Attached",
        "QML.Creatable",
        "false",
        "QML.UncreatableReason",
        "Cannot be created. Controls object is a set of metadata informatio"
        "n to be attached",
        "titleChanged",
        "",
        "subtitleChanged",
        "showCSDChanged",
        "iconNameChanged",
        "badgeTextChanged",
        "toolTipTextChanged",
        "colorChanged",
        "levelChanged",
        "flatChanged",
        "statusChanged",
        "itemChanged",
        "componentChanged",
        "orientationChanged",
        "title",
        "subtitle",
        "iconName",
        "badgeText",
        "color",
        "toolTipText",
        "showCSD",
        "level",
        "Level",
        "flat",
        "status",
        "Status",
        "component",
        "QQmlComponent*",
        "item",
        "QQuickItem*",
        "orientation",
        "Qt::Orientation",
        "Undefined",
        "Primary",
        "Secondary",
        "Normal",
        "Positive",
        "Negative",
        "Neutral"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'titleChanged'
        QtMocHelpers::SignalData<void()>(8, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'subtitleChanged'
        QtMocHelpers::SignalData<void()>(10, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showCSDChanged'
        QtMocHelpers::SignalData<void()>(11, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'iconNameChanged'
        QtMocHelpers::SignalData<void()>(12, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'badgeTextChanged'
        QtMocHelpers::SignalData<void()>(13, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'toolTipTextChanged'
        QtMocHelpers::SignalData<void()>(14, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'colorChanged'
        QtMocHelpers::SignalData<void()>(15, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'levelChanged'
        QtMocHelpers::SignalData<void()>(16, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'flatChanged'
        QtMocHelpers::SignalData<void()>(17, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'statusChanged'
        QtMocHelpers::SignalData<void()>(18, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'itemChanged'
        QtMocHelpers::SignalData<void()>(19, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'componentChanged'
        QtMocHelpers::SignalData<void()>(20, 9, QMC::AccessPublic, QMetaType::Void),
        // Signal 'orientationChanged'
        QtMocHelpers::SignalData<void()>(21, 9, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'title'
        QtMocHelpers::PropertyData<QString>(22, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'subtitle'
        QtMocHelpers::PropertyData<QString>(23, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'iconName'
        QtMocHelpers::PropertyData<QString>(24, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'badgeText'
        QtMocHelpers::PropertyData<QString>(25, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'color'
        QtMocHelpers::PropertyData<QString>(26, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'toolTipText'
        QtMocHelpers::PropertyData<QString>(27, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'showCSD'
        QtMocHelpers::PropertyData<bool>(28, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'level'
        QtMocHelpers::PropertyData<enum Level>(29, 0x80000000 | 30, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 7),
        // property 'flat'
        QtMocHelpers::PropertyData<bool>(31, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 8),
        // property 'status'
        QtMocHelpers::PropertyData<enum Status>(32, 0x80000000 | 33, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 9),
        // property 'component'
        QtMocHelpers::PropertyData<QQmlComponent*>(34, 0x80000000 | 35, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 11),
        // property 'item'
        QtMocHelpers::PropertyData<QQuickItem*>(36, 0x80000000 | 37, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 10),
        // property 'orientation'
        QtMocHelpers::PropertyData<Qt::Orientation>(38, 0x80000000 | 39, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 12),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Level'
        QtMocHelpers::EnumData<enum Level>(30, 30, QMC::EnumFlags{}).add({
            {   40, Level::Undefined },
            {   41, Level::Primary },
            {   42, Level::Secondary },
        }),
        // enum 'Status'
        QtMocHelpers::EnumData<enum Status>(33, 33, QMC::EnumFlags{}).add({
            {   43, Status::Normal },
            {   44, Status::Positive },
            {   45, Status::Negative },
            {   46, Status::Neutral },
        }),
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    0 },
            {    4,    5 },
            {    6,    7 },
    });
    return QtMocHelpers::metaObjectData<Controls, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject Controls::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8ControlsE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8ControlsE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8ControlsE_t>.metaTypes,
    nullptr
} };

void Controls::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Controls *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->titleChanged(); break;
        case 1: _t->subtitleChanged(); break;
        case 2: _t->showCSDChanged(); break;
        case 3: _t->iconNameChanged(); break;
        case 4: _t->badgeTextChanged(); break;
        case 5: _t->toolTipTextChanged(); break;
        case 6: _t->colorChanged(); break;
        case 7: _t->levelChanged(); break;
        case 8: _t->flatChanged(); break;
        case 9: _t->statusChanged(); break;
        case 10: _t->itemChanged(); break;
        case 11: _t->componentChanged(); break;
        case 12: _t->orientationChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::titleChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::subtitleChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::showCSDChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::iconNameChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::badgeTextChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::toolTipTextChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::colorChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::levelChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::flatChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::statusChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::itemChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::componentChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (Controls::*)()>(_a, &Controls::orientationChanged, 12))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;
        case 11:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->title(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->subtitle(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->iconName(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->badgeText(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->color(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->toolTipText(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->showCSD(); break;
        case 7: *reinterpret_cast<enum Level*>(_v) = _t->level(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->flat(); break;
        case 9: *reinterpret_cast<enum Status*>(_v) = _t->status(); break;
        case 10: *reinterpret_cast<QQmlComponent**>(_v) = _t->component(); break;
        case 11: *reinterpret_cast<QQuickItem**>(_v) = _t->item(); break;
        case 12: *reinterpret_cast<Qt::Orientation*>(_v) = _t->orientation(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTitle(*reinterpret_cast<QString*>(_v)); break;
        case 1: _t->setSubtitle(*reinterpret_cast<QString*>(_v)); break;
        case 2: _t->setIconName(*reinterpret_cast<QString*>(_v)); break;
        case 3: _t->setBadgeText(*reinterpret_cast<QString*>(_v)); break;
        case 4: _t->setColor(*reinterpret_cast<QString*>(_v)); break;
        case 5: _t->setToolTipText(*reinterpret_cast<QString*>(_v)); break;
        case 6: _t->setShowCSD(*reinterpret_cast<bool*>(_v)); break;
        case 7: _t->setLevel(*reinterpret_cast<enum Level*>(_v)); break;
        case 8: _t->setFlat(*reinterpret_cast<bool*>(_v)); break;
        case 9: _t->setStatus(*reinterpret_cast<enum Status*>(_v)); break;
        case 10: _t->setComponent(*reinterpret_cast<QQmlComponent**>(_v)); break;
        case 11: _t->setItem(*reinterpret_cast<QQuickItem**>(_v)); break;
        case 12: _t->setOrientation(*reinterpret_cast<Qt::Orientation*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

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

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

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

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

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

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

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

// SIGNAL 7
void Controls::levelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void Controls::flatChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Controls::statusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void Controls::itemChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void Controls::componentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void Controls::orientationChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}
QT_WARNING_POP
