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

#include "../../expolayout.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 'expolayout.h' 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_ZN10ExpoLayoutE_t {};
} // unnamed namespace

template <> constexpr inline auto ExpoLayout::qt_create_metaobjectdata<qt_meta_tag_ZN10ExpoLayoutE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ExpoLayout",
        "modeChanged",
        "",
        "fillGapsChanged",
        "spacingChanged",
        "readyChanged",
        "forceLayout",
        "mode",
        "LayoutMode",
        "fillGaps",
        "spacing",
        "ready",
        "LayoutClosest",
        "LayoutNatural",
        "LayoutNone"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'modeChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fillGapsChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'spacingChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'readyChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'forceLayout'
        QtMocHelpers::MethodData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'mode'
        QtMocHelpers::PropertyData<enum LayoutMode>(7, 0x80000000 | 8, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'fillGaps'
        QtMocHelpers::PropertyData<bool>(9, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'spacing'
        QtMocHelpers::PropertyData<int>(10, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'ready'
        QtMocHelpers::PropertyData<bool>(11, QMetaType::Bool, QMC::DefaultPropertyFlags, 3),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'LayoutMode'
        QtMocHelpers::EnumData<enum LayoutMode>(8, 8, QMC::EnumFlags{}).add({
            {   12, LayoutMode::LayoutClosest },
            {   13, LayoutMode::LayoutNatural },
            {   14, LayoutMode::LayoutNone },
        }),
    };
    return QtMocHelpers::metaObjectData<ExpoLayout, qt_meta_tag_ZN10ExpoLayoutE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ExpoLayout::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickItem::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ExpoLayoutE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10ExpoLayoutE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10ExpoLayoutE_t>.metaTypes,
    nullptr
} };

void ExpoLayout::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ExpoLayout *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->modeChanged(); break;
        case 1: _t->fillGapsChanged(); break;
        case 2: _t->spacingChanged(); break;
        case 3: _t->readyChanged(); break;
        case 4: _t->forceLayout(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ExpoLayout::*)()>(_a, &ExpoLayout::modeChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoLayout::*)()>(_a, &ExpoLayout::fillGapsChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoLayout::*)()>(_a, &ExpoLayout::spacingChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoLayout::*)()>(_a, &ExpoLayout::readyChanged, 3))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<enum LayoutMode*>(_v) = _t->mode(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->fillGaps(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->spacing(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->isReady(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMode(*reinterpret_cast<enum LayoutMode*>(_v)); break;
        case 1: _t->setFillGaps(*reinterpret_cast<bool*>(_v)); break;
        case 2: _t->setSpacing(*reinterpret_cast<int*>(_v)); break;
        default: break;
        }
    }
}

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

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

int ExpoLayout::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickItem::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 -= 4;
    }
    return _id;
}

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

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

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

// SIGNAL 3
void ExpoLayout::readyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
namespace {
struct qt_meta_tag_ZN8ExpoCellE_t {};
} // unnamed namespace

template <> constexpr inline auto ExpoCell::qt_create_metaobjectdata<qt_meta_tag_ZN8ExpoCellE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ExpoCell",
        "layoutChanged",
        "",
        "enabledChanged",
        "naturalXChanged",
        "naturalYChanged",
        "naturalWidthChanged",
        "naturalHeightChanged",
        "xChanged",
        "yChanged",
        "widthChanged",
        "heightChanged",
        "persistentKeyChanged",
        "bottomMarginChanged",
        "update",
        "layout",
        "ExpoLayout*",
        "enabled",
        "naturalX",
        "naturalY",
        "naturalWidth",
        "naturalHeight",
        "x",
        "y",
        "width",
        "height",
        "persistentKey",
        "bottomMargin"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'layoutChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'enabledChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'naturalXChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'naturalYChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'naturalWidthChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'naturalHeightChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'xChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'yChanged'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'widthChanged'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'heightChanged'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'persistentKeyChanged'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'bottomMarginChanged'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'update'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'layout'
        QtMocHelpers::PropertyData<ExpoLayout*>(15, 0x80000000 | 16, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'enabled'
        QtMocHelpers::PropertyData<bool>(17, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'naturalX'
        QtMocHelpers::PropertyData<int>(18, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'naturalY'
        QtMocHelpers::PropertyData<int>(19, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'naturalWidth'
        QtMocHelpers::PropertyData<int>(20, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'naturalHeight'
        QtMocHelpers::PropertyData<int>(21, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'x'
        QtMocHelpers::PropertyData<int>(22, QMetaType::Int, QMC::DefaultPropertyFlags, 6),
        // property 'y'
        QtMocHelpers::PropertyData<int>(23, QMetaType::Int, QMC::DefaultPropertyFlags, 7),
        // property 'width'
        QtMocHelpers::PropertyData<int>(24, QMetaType::Int, QMC::DefaultPropertyFlags, 8),
        // property 'height'
        QtMocHelpers::PropertyData<int>(25, QMetaType::Int, QMC::DefaultPropertyFlags, 9),
        // property 'persistentKey'
        QtMocHelpers::PropertyData<QString>(26, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 10),
        // property 'bottomMargin'
        QtMocHelpers::PropertyData<int>(27, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 11),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ExpoCell, qt_meta_tag_ZN8ExpoCellE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ExpoCell::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8ExpoCellE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN8ExpoCellE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN8ExpoCellE_t>.metaTypes,
    nullptr
} };

void ExpoCell::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ExpoCell *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->layoutChanged(); break;
        case 1: _t->enabledChanged(); break;
        case 2: _t->naturalXChanged(); break;
        case 3: _t->naturalYChanged(); break;
        case 4: _t->naturalWidthChanged(); break;
        case 5: _t->naturalHeightChanged(); break;
        case 6: _t->xChanged(); break;
        case 7: _t->yChanged(); break;
        case 8: _t->widthChanged(); break;
        case 9: _t->heightChanged(); break;
        case 10: _t->persistentKeyChanged(); break;
        case 11: _t->bottomMarginChanged(); break;
        case 12: _t->update(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::layoutChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::enabledChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::naturalXChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::naturalYChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::naturalWidthChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::naturalHeightChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::xChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::yChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::widthChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::heightChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::persistentKeyChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (ExpoCell::*)()>(_a, &ExpoCell::bottomMarginChanged, 11))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ExpoLayout* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<ExpoLayout**>(_v) = _t->layout(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->isEnabled(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->naturalX(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->naturalY(); break;
        case 4: *reinterpret_cast<int*>(_v) = _t->naturalWidth(); break;
        case 5: *reinterpret_cast<int*>(_v) = _t->naturalHeight(); break;
        case 6: *reinterpret_cast<int*>(_v) = _t->x(); break;
        case 7: *reinterpret_cast<int*>(_v) = _t->y(); break;
        case 8: *reinterpret_cast<int*>(_v) = _t->width(); break;
        case 9: *reinterpret_cast<int*>(_v) = _t->height(); break;
        case 10: *reinterpret_cast<QString*>(_v) = _t->persistentKey(); break;
        case 11: *reinterpret_cast<int*>(_v) = _t->bottomMargin(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setLayout(*reinterpret_cast<ExpoLayout**>(_v)); break;
        case 1: _t->setEnabled(*reinterpret_cast<bool*>(_v)); break;
        case 2: _t->setNaturalX(*reinterpret_cast<int*>(_v)); break;
        case 3: _t->setNaturalY(*reinterpret_cast<int*>(_v)); break;
        case 4: _t->setNaturalWidth(*reinterpret_cast<int*>(_v)); break;
        case 5: _t->setNaturalHeight(*reinterpret_cast<int*>(_v)); break;
        case 10: _t->setPersistentKey(*reinterpret_cast<QString*>(_v)); break;
        case 11: _t->setBottomMargin(*reinterpret_cast<int*>(_v)); break;
        default: break;
        }
    }
}

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

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

int ExpoCell::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 -= 12;
    }
    return _id;
}

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

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

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

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

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

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

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

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

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

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

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

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