/****************************************************************************
** Meta object code from reading C++ file 'messagedelegate.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.90/src/timeline/messagedelegate.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 'messagedelegate.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_ZN19MessageDelegateBaseE_t {};
} // unnamed namespace

template <> constexpr inline auto MessageDelegateBase::qt_create_metaobjectdata<qt_meta_tag_ZN19MessageDelegateBaseE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MessageDelegateBase",
        "QML.Element",
        "auto",
        "authorChanged",
        "",
        "isThreadedChanged",
        "maxContentWidthChanged",
        "avatarComponentChanged",
        "showAuthorChanged",
        "enableAvatarsChanged",
        "sectionComponentChanged",
        "showSectionChanged",
        "readMarkerComponentChanged",
        "showReadMarkersChanged",
        "compactBackgroundComponentChanged",
        "quickActionComponentChanged",
        "selectionComponentChanged",
        "showSelectionChanged",
        "compactModeChanged",
        "showLocalMessagesOnRightChanged",
        "isTemporaryHighlightedChanged",
        "hoveredChanged",
        "updateQuickAction",
        "author",
        "NeochatRoomMember*",
        "isThreaded",
        "maxContentWidth",
        "avatarComponent",
        "QQmlComponent*",
        "showAuthor",
        "enableAvatars",
        "sectionComponent",
        "showSection",
        "readMarkerComponent",
        "showReadMarkers",
        "compactBackgroundComponent",
        "quickActionComponent",
        "selectionComponent",
        "showSelection",
        "compactMode",
        "showLocalMessagesOnRight",
        "isTemporaryHighlighted",
        "hovered"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'authorChanged'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'isThreadedChanged'
        QtMocHelpers::SignalData<void()>(5, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'maxContentWidthChanged'
        QtMocHelpers::SignalData<void()>(6, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'avatarComponentChanged'
        QtMocHelpers::SignalData<void()>(7, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showAuthorChanged'
        QtMocHelpers::SignalData<void()>(8, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'enableAvatarsChanged'
        QtMocHelpers::SignalData<void()>(9, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sectionComponentChanged'
        QtMocHelpers::SignalData<void()>(10, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showSectionChanged'
        QtMocHelpers::SignalData<void()>(11, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'readMarkerComponentChanged'
        QtMocHelpers::SignalData<void()>(12, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showReadMarkersChanged'
        QtMocHelpers::SignalData<void()>(13, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'compactBackgroundComponentChanged'
        QtMocHelpers::SignalData<void()>(14, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'quickActionComponentChanged'
        QtMocHelpers::SignalData<void()>(15, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'selectionComponentChanged'
        QtMocHelpers::SignalData<void()>(16, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showSelectionChanged'
        QtMocHelpers::SignalData<void()>(17, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'compactModeChanged'
        QtMocHelpers::SignalData<void()>(18, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'showLocalMessagesOnRightChanged'
        QtMocHelpers::SignalData<void()>(19, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'isTemporaryHighlightedChanged'
        QtMocHelpers::SignalData<void()>(20, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'hoveredChanged'
        QtMocHelpers::SignalData<void()>(21, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'updateQuickAction'
        QtMocHelpers::SlotData<void()>(22, 4, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'author'
        QtMocHelpers::PropertyData<NeochatRoomMember*>(23, 0x80000000 | 24, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final | QMC::Required, 0),
        // property 'isThreaded'
        QtMocHelpers::PropertyData<bool>(25, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final | QMC::Required, 1),
        // property 'maxContentWidth'
        QtMocHelpers::PropertyData<qreal>(26, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Final, 2),
        // property 'avatarComponent'
        QtMocHelpers::PropertyData<QQmlComponent*>(27, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 3),
        // property 'showAuthor'
        QtMocHelpers::PropertyData<bool>(29, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final | QMC::Required, 4),
        // property 'enableAvatars'
        QtMocHelpers::PropertyData<bool>(30, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 5),
        // property 'sectionComponent'
        QtMocHelpers::PropertyData<QQmlComponent*>(31, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 6),
        // property 'showSection'
        QtMocHelpers::PropertyData<bool>(32, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final | QMC::Required, 7),
        // property 'readMarkerComponent'
        QtMocHelpers::PropertyData<QQmlComponent*>(33, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 8),
        // property 'showReadMarkers'
        QtMocHelpers::PropertyData<bool>(34, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final | QMC::Required, 9),
        // property 'compactBackgroundComponent'
        QtMocHelpers::PropertyData<QQmlComponent*>(35, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::Final, 10),
        // property 'quickActionComponent'
        QtMocHelpers::PropertyData<QQmlComponent*>(36, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 11),
        // property 'selectionComponent'
        QtMocHelpers::PropertyData<QQmlComponent*>(37, 0x80000000 | 28, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 12),
        // property 'showSelection'
        QtMocHelpers::PropertyData<bool>(38, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final | QMC::Required, 13),
        // property 'compactMode'
        QtMocHelpers::PropertyData<bool>(39, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 14),
        // property 'showLocalMessagesOnRight'
        QtMocHelpers::PropertyData<bool>(40, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 15),
        // property 'isTemporaryHighlighted'
        QtMocHelpers::PropertyData<bool>(41, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 16),
        // property 'hovered'
        QtMocHelpers::PropertyData<bool>(42, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 17),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<MessageDelegateBase, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject MessageDelegateBase::staticMetaObject = { {
    QMetaObject::SuperData::link<TimelineDelegate::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19MessageDelegateBaseE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19MessageDelegateBaseE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19MessageDelegateBaseE_t>.metaTypes,
    nullptr
} };

void MessageDelegateBase::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MessageDelegateBase *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->authorChanged(); break;
        case 1: _t->isThreadedChanged(); break;
        case 2: _t->maxContentWidthChanged(); break;
        case 3: _t->avatarComponentChanged(); break;
        case 4: _t->showAuthorChanged(); break;
        case 5: _t->enableAvatarsChanged(); break;
        case 6: _t->sectionComponentChanged(); break;
        case 7: _t->showSectionChanged(); break;
        case 8: _t->readMarkerComponentChanged(); break;
        case 9: _t->showReadMarkersChanged(); break;
        case 10: _t->compactBackgroundComponentChanged(); break;
        case 11: _t->quickActionComponentChanged(); break;
        case 12: _t->selectionComponentChanged(); break;
        case 13: _t->showSelectionChanged(); break;
        case 14: _t->compactModeChanged(); break;
        case 15: _t->showLocalMessagesOnRightChanged(); break;
        case 16: _t->isTemporaryHighlightedChanged(); break;
        case 17: _t->hoveredChanged(); break;
        case 18: _t->updateQuickAction(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::authorChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::isThreadedChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::maxContentWidthChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::avatarComponentChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::showAuthorChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::enableAvatarsChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::sectionComponentChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::showSectionChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::readMarkerComponentChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::showReadMarkersChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::compactBackgroundComponentChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::quickActionComponentChanged, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::selectionComponentChanged, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::showSelectionChanged, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::compactModeChanged, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::showLocalMessagesOnRightChanged, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::isTemporaryHighlightedChanged, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageDelegateBase::*)()>(_a, &MessageDelegateBase::hoveredChanged, 17))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< NeochatRoomMember* >(); break;
        case 12:
        case 11:
        case 10:
        case 8:
        case 6:
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<NeochatRoomMember**>(_v) = _t->author(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->isThreaded(); break;
        case 2: *reinterpret_cast<qreal*>(_v) = _t->maxContentWidth(); break;
        case 3: *reinterpret_cast<QQmlComponent**>(_v) = _t->avatarComponent(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->showAuthor(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->enableAvatars(); break;
        case 6: *reinterpret_cast<QQmlComponent**>(_v) = _t->sectionComponent(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->showSection(); break;
        case 8: *reinterpret_cast<QQmlComponent**>(_v) = _t->readMarkerComponent(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->showReadMarkers(); break;
        case 10: *reinterpret_cast<QQmlComponent**>(_v) = _t->compactBackgroundComponent(); break;
        case 11: *reinterpret_cast<QQmlComponent**>(_v) = _t->quickActionComponent(); break;
        case 12: *reinterpret_cast<QQmlComponent**>(_v) = _t->selectionComponent(); break;
        case 13: *reinterpret_cast<bool*>(_v) = _t->showSelection(); break;
        case 14: *reinterpret_cast<bool*>(_v) = _t->compactMode(); break;
        case 15: *reinterpret_cast<bool*>(_v) = _t->showLocalMessagesOnRight(); break;
        case 16: *reinterpret_cast<bool*>(_v) = _t->isTemporaryHighlighted(); break;
        case 17: *reinterpret_cast<bool*>(_v) = _t->hovered(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setAuthor(*reinterpret_cast<NeochatRoomMember**>(_v)); break;
        case 1: _t->setIsThreaded(*reinterpret_cast<bool*>(_v)); break;
        case 3: _t->setAvatarComponent(*reinterpret_cast<QQmlComponent**>(_v)); break;
        case 4: _t->setShowAuthor(*reinterpret_cast<bool*>(_v)); break;
        case 5: _t->setEnableAvatars(*reinterpret_cast<bool*>(_v)); break;
        case 6: _t->setSectionComponent(*reinterpret_cast<QQmlComponent**>(_v)); break;
        case 7: _t->setShowSection(*reinterpret_cast<bool*>(_v)); break;
        case 8: _t->setReadMarkerComponent(*reinterpret_cast<QQmlComponent**>(_v)); break;
        case 9: _t->setShowReadMarkers(*reinterpret_cast<bool*>(_v)); break;
        case 10: _t->setCompactBackgroundComponentt(*reinterpret_cast<QQmlComponent**>(_v)); break;
        case 11: _t->setQuickActionComponent(*reinterpret_cast<QQmlComponent**>(_v)); break;
        case 12: _t->setSelectionComponent(*reinterpret_cast<QQmlComponent**>(_v)); break;
        case 13: _t->setShowSelection(*reinterpret_cast<bool*>(_v)); break;
        case 14: _t->setCompactMode(*reinterpret_cast<bool*>(_v)); break;
        case 15: _t->setShowLocalMessagesOnRight(*reinterpret_cast<bool*>(_v)); break;
        case 16: _t->setIsTemporaryHighlighted(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SIGNAL 12
void MessageDelegateBase::selectionComponentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void MessageDelegateBase::showSelectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 13, nullptr);
}

// SIGNAL 14
void MessageDelegateBase::compactModeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}

// SIGNAL 15
void MessageDelegateBase::showLocalMessagesOnRightChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}

// SIGNAL 16
void MessageDelegateBase::isTemporaryHighlightedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 16, nullptr);
}

// SIGNAL 17
void MessageDelegateBase::hoveredChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 17, nullptr);
}
QT_WARNING_POP
