/****************************************************************************
** Meta object code from reading C++ file 'messageattached.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/messageattached.h"
#include <QtGui/qtextcursor.h>
#include <QtNetwork/QSslError>
#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 'messageattached.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_ZN15MessageAttachedE_t {};
} // unnamed namespace

template <> constexpr inline auto MessageAttached::qt_create_metaobjectdata<qt_meta_tag_ZN15MessageAttachedE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "MessageAttached",
        "QML.Element",
        "Message",
        "QML.Attached",
        "QML.Creatable",
        "false",
        "QML.UncreatableReason",
        "",
        "roomChanged",
        "timelineChanged",
        "contentModelChanged",
        "contentFilterModelChanged",
        "messageModelChanged",
        "indexChanged",
        "maxContentWidthChanged",
        "selectedTextChanged",
        "hoveredLinkChanged",
        "room",
        "NeoChatRoom*",
        "timeline",
        "QQuickItem*",
        "contentModel",
        "MessageContentModel*",
        "contentFilterModel",
        "MessageContentFilterModel*",
        "messageModel",
        "QAbstractItemModel*",
        "index",
        "maxContentWidth",
        "selectedText",
        "hoveredLink"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'roomChanged'
        QtMocHelpers::SignalData<void()>(8, 7, QMC::AccessPublic, QMetaType::Void),
        // Signal 'timelineChanged'
        QtMocHelpers::SignalData<void()>(9, 7, QMC::AccessPublic, QMetaType::Void),
        // Signal 'contentModelChanged'
        QtMocHelpers::SignalData<void()>(10, 7, QMC::AccessPublic, QMetaType::Void),
        // Signal 'contentFilterModelChanged'
        QtMocHelpers::SignalData<void()>(11, 7, QMC::AccessPublic, QMetaType::Void),
        // Signal 'messageModelChanged'
        QtMocHelpers::SignalData<void()>(12, 7, QMC::AccessPublic, QMetaType::Void),
        // Signal 'indexChanged'
        QtMocHelpers::SignalData<void()>(13, 7, QMC::AccessPublic, QMetaType::Void),
        // Signal 'maxContentWidthChanged'
        QtMocHelpers::SignalData<void()>(14, 7, QMC::AccessPublic, QMetaType::Void),
        // Signal 'selectedTextChanged'
        QtMocHelpers::SignalData<void()>(15, 7, QMC::AccessPublic, QMetaType::Void),
        // Signal 'hoveredLinkChanged'
        QtMocHelpers::SignalData<void()>(16, 7, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'room'
        QtMocHelpers::PropertyData<NeoChatRoom*>(17, 0x80000000 | 18, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 0),
        // property 'timeline'
        QtMocHelpers::PropertyData<QQuickItem*>(19, 0x80000000 | 20, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 1),
        // property 'contentModel'
        QtMocHelpers::PropertyData<MessageContentModel*>(21, 0x80000000 | 22, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 2),
        // property 'contentFilterModel'
        QtMocHelpers::PropertyData<MessageContentFilterModel*>(23, 0x80000000 | 24, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 3),
        // property 'messageModel'
        QtMocHelpers::PropertyData<QAbstractItemModel*>(25, 0x80000000 | 26, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 4),
        // property 'index'
        QtMocHelpers::PropertyData<int>(27, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 5),
        // property 'maxContentWidth'
        QtMocHelpers::PropertyData<qreal>(28, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 6),
        // property 'selectedText'
        QtMocHelpers::PropertyData<QString>(29, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 7),
        // property 'hoveredLink'
        QtMocHelpers::PropertyData<QString>(30, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 8),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    0 },
            {    4,    5 },
            {    6,    7 },
    });
    return QtMocHelpers::metaObjectData<MessageAttached, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject MessageAttached::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickAttachedPropertyPropagator::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15MessageAttachedE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15MessageAttachedE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15MessageAttachedE_t>.metaTypes,
    nullptr
} };

void MessageAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<MessageAttached *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->roomChanged(); break;
        case 1: _t->timelineChanged(); break;
        case 2: _t->contentModelChanged(); break;
        case 3: _t->contentFilterModelChanged(); break;
        case 4: _t->messageModelChanged(); break;
        case 5: _t->indexChanged(); break;
        case 6: _t->maxContentWidthChanged(); break;
        case 7: _t->selectedTextChanged(); break;
        case 8: _t->hoveredLinkChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (MessageAttached::*)()>(_a, &MessageAttached::roomChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageAttached::*)()>(_a, &MessageAttached::timelineChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageAttached::*)()>(_a, &MessageAttached::contentModelChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageAttached::*)()>(_a, &MessageAttached::contentFilterModelChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageAttached::*)()>(_a, &MessageAttached::messageModelChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageAttached::*)()>(_a, &MessageAttached::indexChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageAttached::*)()>(_a, &MessageAttached::maxContentWidthChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageAttached::*)()>(_a, &MessageAttached::selectedTextChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (MessageAttached::*)()>(_a, &MessageAttached::hoveredLinkChanged, 8))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MessageContentFilterModel* >(); break;
        case 2:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MessageContentModel* >(); break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< NeoChatRoom* >(); break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractItemModel* >(); break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<NeoChatRoom**>(_v) = _t->room(); break;
        case 1: *reinterpret_cast<QQuickItem**>(_v) = _t->timeline(); break;
        case 2: *reinterpret_cast<MessageContentModel**>(_v) = _t->contentModel(); break;
        case 3: *reinterpret_cast<MessageContentFilterModel**>(_v) = _t->contentFilterModel(); break;
        case 4: *reinterpret_cast<QAbstractItemModel**>(_v) = _t->messageModel(); break;
        case 5: *reinterpret_cast<int*>(_v) = _t->index(); break;
        case 6: *reinterpret_cast<qreal*>(_v) = _t->maxContentWidth(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->selectedText(); break;
        case 8: *reinterpret_cast<QString*>(_v) = _t->hoveredLink(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRoom(*reinterpret_cast<NeoChatRoom**>(_v)); break;
        case 1: _t->setTimeline(*reinterpret_cast<QQuickItem**>(_v)); break;
        case 2: _t->setContentModel(*reinterpret_cast<MessageContentModel**>(_v)); break;
        case 3: _t->setContentFilterModel(*reinterpret_cast<MessageContentFilterModel**>(_v)); break;
        case 4: _t->setMessageModel(*reinterpret_cast<QAbstractItemModel**>(_v)); break;
        case 5: _t->setIndex(*reinterpret_cast<int*>(_v)); break;
        case 6: _t->setMaxContentWidth(*reinterpret_cast<qreal*>(_v)); break;
        case 7: _t->setSelectedText(*reinterpret_cast<QString*>(_v)); break;
        case 8: _t->setHoveredLink(*reinterpret_cast<QString*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

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

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

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

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

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

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

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

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

// SIGNAL 8
void MessageAttached::hoveredLinkChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}
QT_WARNING_POP
