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

#include "../../../../../neochat-26.07.80/src/libneochat/delegatesizehelper.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 'delegatesizehelper.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.12.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_ZN18DelegateSizeHelperE_t {};
} // unnamed namespace

template <> constexpr inline auto DelegateSizeHelper::qt_create_metaobjectdata<qt_meta_tag_ZN18DelegateSizeHelperE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DelegateSizeHelper",
        "QML.Element",
        "auto",
        "parentItemChanged",
        "",
        "leftPaddingChanged",
        "rightPaddingChanged",
        "startBreakpointChanged",
        "endBreakpointChanged",
        "startPercentWidthChanged",
        "endPercentWidthChanged",
        "maxWidthChanged",
        "availablePercentageWidthChanged",
        "availableWidthChanged",
        "parentItem",
        "QQuickItem*",
        "leftPadding",
        "rightPadding",
        "startBreakpoint",
        "endBreakpoint",
        "startPercentWidth",
        "endPercentWidth",
        "maxWidth",
        "availablePercentageWidth",
        "availableWidth"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'parentItemChanged'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'leftPaddingChanged'
        QtMocHelpers::SignalData<void()>(5, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'rightPaddingChanged'
        QtMocHelpers::SignalData<void()>(6, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'startBreakpointChanged'
        QtMocHelpers::SignalData<void()>(7, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'endBreakpointChanged'
        QtMocHelpers::SignalData<void()>(8, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'startPercentWidthChanged'
        QtMocHelpers::SignalData<void()>(9, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'endPercentWidthChanged'
        QtMocHelpers::SignalData<void()>(10, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'maxWidthChanged'
        QtMocHelpers::SignalData<void()>(11, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'availablePercentageWidthChanged'
        QtMocHelpers::SignalData<void()>(12, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'availableWidthChanged'
        QtMocHelpers::SignalData<void()>(13, 4, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'parentItem'
        QtMocHelpers::PropertyData<QQuickItem*>(14, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'leftPadding'
        QtMocHelpers::PropertyData<qreal>(16, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'rightPadding'
        QtMocHelpers::PropertyData<qreal>(17, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'startBreakpoint'
        QtMocHelpers::PropertyData<qreal>(18, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'endBreakpoint'
        QtMocHelpers::PropertyData<qreal>(19, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'startPercentWidth'
        QtMocHelpers::PropertyData<int>(20, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'endPercentWidth'
        QtMocHelpers::PropertyData<int>(21, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'maxWidth'
        QtMocHelpers::PropertyData<qreal>(22, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 7),
        // property 'availablePercentageWidth'
        QtMocHelpers::PropertyData<int>(23, QMetaType::Int, QMC::DefaultPropertyFlags, 9),
        // property 'availableWidth'
        QtMocHelpers::PropertyData<qreal>(24, QMetaType::QReal, QMC::DefaultPropertyFlags, 9),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<DelegateSizeHelper, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject DelegateSizeHelper::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18DelegateSizeHelperE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18DelegateSizeHelperE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18DelegateSizeHelperE_t>.metaTypes,
    nullptr
} };

void DelegateSizeHelper::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DelegateSizeHelper *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->parentItemChanged(); break;
        case 1: _t->leftPaddingChanged(); break;
        case 2: _t->rightPaddingChanged(); break;
        case 3: _t->startBreakpointChanged(); break;
        case 4: _t->endBreakpointChanged(); break;
        case 5: _t->startPercentWidthChanged(); break;
        case 6: _t->endPercentWidthChanged(); break;
        case 7: _t->maxWidthChanged(); break;
        case 8: _t->availablePercentageWidthChanged(); break;
        case 9: _t->availableWidthChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DelegateSizeHelper::*)()>(_a, &DelegateSizeHelper::parentItemChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DelegateSizeHelper::*)()>(_a, &DelegateSizeHelper::leftPaddingChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DelegateSizeHelper::*)()>(_a, &DelegateSizeHelper::rightPaddingChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DelegateSizeHelper::*)()>(_a, &DelegateSizeHelper::startBreakpointChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DelegateSizeHelper::*)()>(_a, &DelegateSizeHelper::endBreakpointChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DelegateSizeHelper::*)()>(_a, &DelegateSizeHelper::startPercentWidthChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DelegateSizeHelper::*)()>(_a, &DelegateSizeHelper::endPercentWidthChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (DelegateSizeHelper::*)()>(_a, &DelegateSizeHelper::maxWidthChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (DelegateSizeHelper::*)()>(_a, &DelegateSizeHelper::availablePercentageWidthChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (DelegateSizeHelper::*)()>(_a, &DelegateSizeHelper::availableWidthChanged, 9))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QQuickItem**>(_v) = _t->parentItem(); break;
        case 1: *reinterpret_cast<qreal*>(_v) = _t->leftPadding(); break;
        case 2: *reinterpret_cast<qreal*>(_v) = _t->rightPadding(); break;
        case 3: *reinterpret_cast<qreal*>(_v) = _t->startBreakpoint(); break;
        case 4: *reinterpret_cast<qreal*>(_v) = _t->endBreakpoint(); break;
        case 5: *reinterpret_cast<int*>(_v) = _t->startPercentWidth(); break;
        case 6: *reinterpret_cast<int*>(_v) = _t->endPercentWidth(); break;
        case 7: *reinterpret_cast<qreal*>(_v) = _t->maxWidth(); break;
        case 8: *reinterpret_cast<int*>(_v) = _t->availablePercentageWidth(); break;
        case 9: *reinterpret_cast<qreal*>(_v) = _t->availableWidth(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setParentItem(*reinterpret_cast<QQuickItem**>(_v)); break;
        case 1: _t->setLeftPadding(*reinterpret_cast<qreal*>(_v)); break;
        case 2: _t->setRightPadding(*reinterpret_cast<qreal*>(_v)); break;
        case 3: _t->setStartBreakpoint(*reinterpret_cast<qreal*>(_v)); break;
        case 4: _t->setEndBreakpoint(*reinterpret_cast<qreal*>(_v)); break;
        case 5: _t->setStartPercentWidth(*reinterpret_cast<int*>(_v)); break;
        case 6: _t->setEndPercentWidth(*reinterpret_cast<int*>(_v)); break;
        case 7: _t->setMaxWidth(*reinterpret_cast<qreal*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

// SIGNAL 9
void DelegateSizeHelper::availableWidthChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
