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

#include <memory>
#include "../../../../ktextwidgets-5.116.0/src/widgets/krichtextwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'krichtextwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KRichTextWidget_t {
    QByteArrayData data[30];
    char stringdata0[531];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KRichTextWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KRichTextWidget_t qt_meta_stringdata_KRichTextWidget = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KRichTextWidget"
QT_MOC_LITERAL(1, 16, 17), // "setActionsEnabled"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 7), // "enabled"
QT_MOC_LITERAL(4, 43, 15), // "richTextSupport"
QT_MOC_LITERAL(5, 59, 15), // "RichTextSupport"
QT_MOC_LITERAL(6, 75, 21), // "RichTextSupportValues"
QT_MOC_LITERAL(7, 97, 15), // "DisableRichText"
QT_MOC_LITERAL(8, 113, 11), // "SupportBold"
QT_MOC_LITERAL(9, 125, 13), // "SupportItalic"
QT_MOC_LITERAL(10, 139, 16), // "SupportUnderline"
QT_MOC_LITERAL(11, 156, 16), // "SupportStrikeOut"
QT_MOC_LITERAL(12, 173, 17), // "SupportFontFamily"
QT_MOC_LITERAL(13, 191, 15), // "SupportFontSize"
QT_MOC_LITERAL(14, 207, 26), // "SupportTextForegroundColor"
QT_MOC_LITERAL(15, 234, 26), // "SupportTextBackgroundColor"
QT_MOC_LITERAL(16, 261, 25), // "FullTextFormattingSupport"
QT_MOC_LITERAL(17, 287, 22), // "SupportChangeListStyle"
QT_MOC_LITERAL(18, 310, 18), // "SupportIndentLists"
QT_MOC_LITERAL(19, 329, 18), // "SupportDedentLists"
QT_MOC_LITERAL(20, 348, 15), // "FullListSupport"
QT_MOC_LITERAL(21, 364, 16), // "SupportAlignment"
QT_MOC_LITERAL(22, 381, 15), // "SupportRuleLine"
QT_MOC_LITERAL(23, 397, 17), // "SupportHyperlinks"
QT_MOC_LITERAL(24, 415, 21), // "SupportFormatPainting"
QT_MOC_LITERAL(25, 437, 18), // "SupportToPlainText"
QT_MOC_LITERAL(26, 456, 30), // "SupportSuperScriptAndSubScript"
QT_MOC_LITERAL(27, 487, 16), // "SupportDirection"
QT_MOC_LITERAL(28, 504, 14), // "SupportHeading"
QT_MOC_LITERAL(29, 519, 11) // "FullSupport"

    },
    "KRichTextWidget\0setActionsEnabled\0\0"
    "enabled\0richTextSupport\0RichTextSupport\0"
    "RichTextSupportValues\0DisableRichText\0"
    "SupportBold\0SupportItalic\0SupportUnderline\0"
    "SupportStrikeOut\0SupportFontFamily\0"
    "SupportFontSize\0SupportTextForegroundColor\0"
    "SupportTextBackgroundColor\0"
    "FullTextFormattingSupport\0"
    "SupportChangeListStyle\0SupportIndentLists\0"
    "SupportDedentLists\0FullListSupport\0"
    "SupportAlignment\0SupportRuleLine\0"
    "SupportHyperlinks\0SupportFormatPainting\0"
    "SupportToPlainText\0SupportSuperScriptAndSubScript\0"
    "SupportDirection\0SupportHeading\0"
    "FullSupport"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KRichTextWidget[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       1,   14, // methods
       1,   22, // properties
       1,   25, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,

 // properties: name, type, flags
       4, 0x80000000 | 5, 0x0009510b,

 // enums: name, alias, flags, count, data
       5,    6, 0x1,   23,   30,

 // enum data: key, value
       7, uint(KRichTextWidget::DisableRichText),
       8, uint(KRichTextWidget::SupportBold),
       9, uint(KRichTextWidget::SupportItalic),
      10, uint(KRichTextWidget::SupportUnderline),
      11, uint(KRichTextWidget::SupportStrikeOut),
      12, uint(KRichTextWidget::SupportFontFamily),
      13, uint(KRichTextWidget::SupportFontSize),
      14, uint(KRichTextWidget::SupportTextForegroundColor),
      15, uint(KRichTextWidget::SupportTextBackgroundColor),
      16, uint(KRichTextWidget::FullTextFormattingSupport),
      17, uint(KRichTextWidget::SupportChangeListStyle),
      18, uint(KRichTextWidget::SupportIndentLists),
      19, uint(KRichTextWidget::SupportDedentLists),
      20, uint(KRichTextWidget::FullListSupport),
      21, uint(KRichTextWidget::SupportAlignment),
      22, uint(KRichTextWidget::SupportRuleLine),
      23, uint(KRichTextWidget::SupportHyperlinks),
      24, uint(KRichTextWidget::SupportFormatPainting),
      25, uint(KRichTextWidget::SupportToPlainText),
      26, uint(KRichTextWidget::SupportSuperScriptAndSubScript),
      27, uint(KRichTextWidget::SupportDirection),
      28, uint(KRichTextWidget::SupportHeading),
      29, uint(KRichTextWidget::FullSupport),

       0        // eod
};

void KRichTextWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KRichTextWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->setActionsEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<KRichTextWidget *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = QFlag(_t->richTextSupport()); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<KRichTextWidget *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRichTextSupport(QFlag(*reinterpret_cast<int*>(_v))); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject KRichTextWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<KRichTextEdit::staticMetaObject>(),
    qt_meta_stringdata_KRichTextWidget.data,
    qt_meta_data_KRichTextWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KRichTextWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KRichTextWidget.stringdata0))
        return static_cast<void*>(this);
    return KRichTextEdit::qt_metacast(_clname);
}

int KRichTextWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KRichTextEdit::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
