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

#include "../../../nheko/src/timeline/EventDelegateChooser.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'EventDelegateChooser.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.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_ZN32EventDelegateChooserAttachedTypeE_t {};
} // unnamed namespace

template <> constexpr inline auto EventDelegateChooserAttachedType::qt_create_metaobjectdata<qt_meta_tag_ZN32EventDelegateChooserAttachedTypeE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "EventDelegateChooserAttachedType",
        "QML.Element",
        "anonymous",
        "keepAspectRatioChanged",
        "",
        "aspectRatioChanged",
        "maxWidthChanged",
        "maxHeightChanged",
        "isReplyChanged",
        "keepAspectRatio",
        "aspectRatio",
        "maxWidth",
        "maxHeight",
        "isReply"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'keepAspectRatioChanged'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'aspectRatioChanged'
        QtMocHelpers::SignalData<void()>(5, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'maxWidthChanged'
        QtMocHelpers::SignalData<void()>(6, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'maxHeightChanged'
        QtMocHelpers::SignalData<void()>(7, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'isReplyChanged'
        QtMocHelpers::SignalData<void()>(8, 4, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'keepAspectRatio'
        QtMocHelpers::PropertyData<bool>(9, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'aspectRatio'
        QtMocHelpers::PropertyData<double>(10, QMetaType::Double, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'maxWidth'
        QtMocHelpers::PropertyData<int>(11, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'maxHeight'
        QtMocHelpers::PropertyData<int>(12, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'isReply'
        QtMocHelpers::PropertyData<bool>(13, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<EventDelegateChooserAttachedType, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject EventDelegateChooserAttachedType::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN32EventDelegateChooserAttachedTypeE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN32EventDelegateChooserAttachedTypeE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN32EventDelegateChooserAttachedTypeE_t>.metaTypes,
    nullptr
} };

void EventDelegateChooserAttachedType::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<EventDelegateChooserAttachedType *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->keepAspectRatioChanged(); break;
        case 1: _t->aspectRatioChanged(); break;
        case 2: _t->maxWidthChanged(); break;
        case 3: _t->maxHeightChanged(); break;
        case 4: _t->isReplyChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooserAttachedType::*)()>(_a, &EventDelegateChooserAttachedType::keepAspectRatioChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooserAttachedType::*)()>(_a, &EventDelegateChooserAttachedType::aspectRatioChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooserAttachedType::*)()>(_a, &EventDelegateChooserAttachedType::maxWidthChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooserAttachedType::*)()>(_a, &EventDelegateChooserAttachedType::maxHeightChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooserAttachedType::*)()>(_a, &EventDelegateChooserAttachedType::isReplyChanged, 4))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->keepAspectRatio(); break;
        case 1: *reinterpret_cast<double*>(_v) = _t->aspectRatio(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->maxWidth(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->maxHeight(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->isReply(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setKeepAspectRatio(*reinterpret_cast<bool*>(_v)); break;
        case 1: _t->setAspectRatio(*reinterpret_cast<double*>(_v)); break;
        case 2: _t->setMaxWidth(*reinterpret_cast<int*>(_v)); break;
        case 3: _t->setMaxHeight(*reinterpret_cast<int*>(_v)); break;
        case 4: _t->setIsReply(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

int EventDelegateChooserAttachedType::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 -= 5;
    }
    return _id;
}

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

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

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

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

// SIGNAL 4
void EventDelegateChooserAttachedType::isReplyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
namespace {
struct qt_meta_tag_ZN19EventDelegateChoiceE_t {};
} // unnamed namespace

template <> constexpr inline auto EventDelegateChoice::qt_create_metaobjectdata<qt_meta_tag_ZN19EventDelegateChoiceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "EventDelegateChoice",
        "QML.Element",
        "auto",
        "DefaultProperty",
        "delegate",
        "delegateChanged",
        "",
        "roleValuesChanged",
        "changed",
        "roleValues",
        "QList<int>",
        "QQmlComponent*"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'delegateChanged'
        QtMocHelpers::SignalData<void()>(5, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'roleValuesChanged'
        QtMocHelpers::SignalData<void()>(7, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'changed'
        QtMocHelpers::SignalData<void()>(8, 6, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'roleValues'
        QtMocHelpers::PropertyData<QList<int>>(9, 0x80000000 | 10, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final | QMC::Required, 1),
        // property 'delegate'
        QtMocHelpers::PropertyData<QQmlComponent*>(4, 0x80000000 | 11, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final | QMC::Required, 0),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<EventDelegateChoice, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject EventDelegateChoice::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19EventDelegateChoiceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19EventDelegateChoiceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19EventDelegateChoiceE_t>.metaTypes,
    nullptr
} };

void EventDelegateChoice::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<EventDelegateChoice *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->delegateChanged(); break;
        case 1: _t->roleValuesChanged(); break;
        case 2: _t->changed(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChoice::*)()>(_a, &EventDelegateChoice::delegateChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChoice::*)()>(_a, &EventDelegateChoice::roleValuesChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChoice::*)()>(_a, &EventDelegateChoice::changed, 2))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QList<int>*>(_v) = _t->roleValues(); break;
        case 1: *reinterpret_cast<QQmlComponent**>(_v) = _t->delegate(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRoleValues(*reinterpret_cast<QList<int>*>(_v)); break;
        case 1: _t->setDelegate(*reinterpret_cast<QQmlComponent**>(_v)); break;
        default: break;
        }
    }
}

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

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

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

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

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

// SIGNAL 2
void EventDelegateChoice::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
namespace {
struct qt_meta_tag_ZN20EventDelegateChooserE_t {};
} // unnamed namespace

template <> constexpr inline auto EventDelegateChooser::qt_create_metaobjectdata<qt_meta_tag_ZN20EventDelegateChooserE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "EventDelegateChooser",
        "QML.Element",
        "auto",
        "DefaultProperty",
        "choices",
        "QML.Attached",
        "EventDelegateChooserAttachedType",
        "mainChanged",
        "",
        "replyChanged",
        "roomChanged",
        "eventIdChanged",
        "replyToChanged",
        "sameWidthChanged",
        "limitAsReplyChanged",
        "maxWidthChanged",
        "replyInsetChanged",
        "mainInsetChanged",
        "QQmlListProperty<EventDelegateChoice>",
        "main",
        "QQuickItem*",
        "reply",
        "eventId",
        "replyTo",
        "room",
        "TimelineModel*",
        "sameWidth",
        "maxWidth",
        "replyInset",
        "mainInset",
        "limitAsReply"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'mainChanged'
        QtMocHelpers::SignalData<void()>(7, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'replyChanged'
        QtMocHelpers::SignalData<void()>(9, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'roomChanged'
        QtMocHelpers::SignalData<void()>(10, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'eventIdChanged'
        QtMocHelpers::SignalData<void()>(11, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'replyToChanged'
        QtMocHelpers::SignalData<void()>(12, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sameWidthChanged'
        QtMocHelpers::SignalData<void()>(13, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'limitAsReplyChanged'
        QtMocHelpers::SignalData<void()>(14, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'maxWidthChanged'
        QtMocHelpers::SignalData<void()>(15, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'replyInsetChanged'
        QtMocHelpers::SignalData<void()>(16, 8, QMC::AccessPublic, QMetaType::Void),
        // Signal 'mainInsetChanged'
        QtMocHelpers::SignalData<void()>(17, 8, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'choices'
        QtMocHelpers::PropertyData<QQmlListProperty<EventDelegateChoice>>(4, 0x80000000 | 18, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant | QMC::Final),
        // property 'main'
        QtMocHelpers::PropertyData<QQuickItem*>(19, 0x80000000 | 20, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Final, 0),
        // property 'reply'
        QtMocHelpers::PropertyData<QQuickItem*>(21, 0x80000000 | 20, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Final, 1),
        // property 'eventId'
        QtMocHelpers::PropertyData<QString>(22, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final | QMC::Required, 3),
        // property 'replyTo'
        QtMocHelpers::PropertyData<QString>(23, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final | QMC::Required, 4),
        // property 'room'
        QtMocHelpers::PropertyData<TimelineModel*>(24, 0x80000000 | 25, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final | QMC::Required, 2),
        // property 'sameWidth'
        QtMocHelpers::PropertyData<bool>(26, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'maxWidth'
        QtMocHelpers::PropertyData<int>(27, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 7),
        // property 'replyInset'
        QtMocHelpers::PropertyData<int>(28, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 8),
        // property 'mainInset'
        QtMocHelpers::PropertyData<int>(29, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 9),
        // property 'limitAsReply'
        QtMocHelpers::PropertyData<bool>(30, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
            {    5,    6 },
    });
    return QtMocHelpers::metaObjectData<EventDelegateChooser, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject EventDelegateChooser::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickItem::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20EventDelegateChooserE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20EventDelegateChooserE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20EventDelegateChooserE_t>.metaTypes,
    nullptr
} };

void EventDelegateChooser::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<EventDelegateChooser *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->mainChanged(); break;
        case 1: _t->replyChanged(); break;
        case 2: _t->roomChanged(); break;
        case 3: _t->eventIdChanged(); break;
        case 4: _t->replyToChanged(); break;
        case 5: _t->sameWidthChanged(); break;
        case 6: _t->limitAsReplyChanged(); break;
        case 7: _t->maxWidthChanged(); break;
        case 8: _t->replyInsetChanged(); break;
        case 9: _t->mainInsetChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooser::*)()>(_a, &EventDelegateChooser::mainChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooser::*)()>(_a, &EventDelegateChooser::replyChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooser::*)()>(_a, &EventDelegateChooser::roomChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooser::*)()>(_a, &EventDelegateChooser::eventIdChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooser::*)()>(_a, &EventDelegateChooser::replyToChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooser::*)()>(_a, &EventDelegateChooser::sameWidthChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooser::*)()>(_a, &EventDelegateChooser::limitAsReplyChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooser::*)()>(_a, &EventDelegateChooser::maxWidthChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooser::*)()>(_a, &EventDelegateChooser::replyInsetChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (EventDelegateChooser::*)()>(_a, &EventDelegateChooser::mainInsetChanged, 9))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QQmlListProperty<EventDelegateChoice>*>(_v) = _t->choices(); break;
        case 1: *reinterpret_cast<QQuickItem**>(_v) = _t->main(); break;
        case 2: *reinterpret_cast<QQuickItem**>(_v) = _t->reply(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->eventId(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->replyTo(); break;
        case 5: *reinterpret_cast<TimelineModel**>(_v) = _t->room(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->sameWidth(); break;
        case 7: *reinterpret_cast<int*>(_v) = _t->maxWidth(); break;
        case 8: *reinterpret_cast<int*>(_v) = _t->replyInset(); break;
        case 9: *reinterpret_cast<int*>(_v) = _t->mainInset(); break;
        case 10: *reinterpret_cast<bool*>(_v) = _t->limitAsReply(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 3: _t->setEventId(*reinterpret_cast<QString*>(_v)); break;
        case 4: _t->setReplyTo(*reinterpret_cast<QString*>(_v)); break;
        case 5: _t->setRoom(*reinterpret_cast<TimelineModel**>(_v)); break;
        case 6: _t->setSameWidth(*reinterpret_cast<bool*>(_v)); break;
        case 7: _t->setMaxWidth(*reinterpret_cast<int*>(_v)); break;
        case 8: _t->setReplyInset(*reinterpret_cast<int*>(_v)); break;
        case 9: _t->setMainInset(*reinterpret_cast<int*>(_v)); break;
        case 10: _t->setLimitAsReply(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

int EventDelegateChooser::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 < 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 -= 11;
    }
    return _id;
}

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

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

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

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

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

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

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

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

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

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