/****************************************************************************
** Meta object code from reading C++ file 'richformat.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/libneochat/enums/richformat.h"
#include <QtGui/qtextcursor.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 'richformat.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_ZN10RichFormatE_t {};
} // unnamed namespace

template <> constexpr inline auto RichFormat::qt_create_metaobjectdata<qt_meta_tag_ZN10RichFormatE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "RichFormat",
        "QML.Element",
        "auto",
        "QML.Creatable",
        "false",
        "QML.UncreatableReason",
        "",
        "Format",
        "Paragraph",
        "Heading1",
        "Heading2",
        "Heading3",
        "Heading4",
        "Heading5",
        "Heading6",
        "Quote",
        "Code",
        "InlineCode",
        "Bold",
        "Italic",
        "UnorderedList",
        "OrderedList",
        "Strikethrough",
        "Underline",
        "FormatType",
        "Text",
        "List",
        "Style",
        "Block"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Format'
        QtMocHelpers::EnumData<enum Format>(7, 7, QMC::EnumFlags{}).add({
            {    8, Format::Paragraph },
            {    9, Format::Heading1 },
            {   10, Format::Heading2 },
            {   11, Format::Heading3 },
            {   12, Format::Heading4 },
            {   13, Format::Heading5 },
            {   14, Format::Heading6 },
            {   15, Format::Quote },
            {   16, Format::Code },
            {   17, Format::InlineCode },
            {   18, Format::Bold },
            {   19, Format::Italic },
            {   20, Format::UnorderedList },
            {   21, Format::OrderedList },
            {   22, Format::Strikethrough },
            {   23, Format::Underline },
        }),
        // enum 'FormatType'
        QtMocHelpers::EnumData<enum FormatType>(24, 24, QMC::EnumFlags{}).add({
            {   25, FormatType::Text },
            {   26, FormatType::List },
            {   27, FormatType::Style },
            {   28, FormatType::Block },
        }),
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
            {    5,    6 },
    });
    return QtMocHelpers::metaObjectData<RichFormat, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject RichFormat::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10RichFormatE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10RichFormatE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10RichFormatE_t>.metaTypes,
    nullptr
} };

void RichFormat::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RichFormat *>(_o);
    (void)_t;
    (void)_c;
    (void)_id;
    (void)_a;
}

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

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

int RichFormat::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
