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

#include "../../src/ktextwidgets-5.43.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.9.4. 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[31];
    char stringdata0[558];
};
#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, 26), // "_k_updateCharFormatActions"
QT_MOC_LITERAL(5, 70, 15), // "QTextCharFormat"
QT_MOC_LITERAL(6, 86, 20), // "_k_updateMiscActions"
QT_MOC_LITERAL(7, 107, 15), // "richTextSupport"
QT_MOC_LITERAL(8, 123, 15), // "RichTextSupport"
QT_MOC_LITERAL(9, 139, 15), // "DisableRichText"
QT_MOC_LITERAL(10, 155, 11), // "SupportBold"
QT_MOC_LITERAL(11, 167, 13), // "SupportItalic"
QT_MOC_LITERAL(12, 181, 16), // "SupportUnderline"
QT_MOC_LITERAL(13, 198, 16), // "SupportStrikeOut"
QT_MOC_LITERAL(14, 215, 17), // "SupportFontFamily"
QT_MOC_LITERAL(15, 233, 15), // "SupportFontSize"
QT_MOC_LITERAL(16, 249, 26), // "SupportTextForegroundColor"
QT_MOC_LITERAL(17, 276, 26), // "SupportTextBackgroundColor"
QT_MOC_LITERAL(18, 303, 25), // "FullTextFormattingSupport"
QT_MOC_LITERAL(19, 329, 22), // "SupportChangeListStyle"
QT_MOC_LITERAL(20, 352, 18), // "SupportIndentLists"
QT_MOC_LITERAL(21, 371, 18), // "SupportDedentLists"
QT_MOC_LITERAL(22, 390, 15), // "FullListSupport"
QT_MOC_LITERAL(23, 406, 16), // "SupportAlignment"
QT_MOC_LITERAL(24, 423, 15), // "SupportRuleLine"
QT_MOC_LITERAL(25, 439, 17), // "SupportHyperlinks"
QT_MOC_LITERAL(26, 457, 21), // "SupportFormatPainting"
QT_MOC_LITERAL(27, 479, 18), // "SupportToPlainText"
QT_MOC_LITERAL(28, 498, 30), // "SupportSuperScriptAndSubScript"
QT_MOC_LITERAL(29, 529, 16), // "SupportDirection"
QT_MOC_LITERAL(30, 546, 11) // "FullSupport"

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

static const uint qt_meta_data_KRichTextWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   14, // methods
       1,   36, // properties
       1,   39, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x0a /* Public */,
       4,    1,   32,    2, 0x08 /* Private */,
       6,    0,   35,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void,

 // properties: name, type, flags
       7, 0x80000000 | 8, 0x0009510b,

 // enums: name, flags, count, data
       8, 0x1,   22,   43,

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

       0        // eod
};

void KRichTextWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KRichTextWidget *_t = static_cast<KRichTextWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setActionsEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->d->_k_updateCharFormatActions((*reinterpret_cast< const QTextCharFormat(*)>(_a[1]))); break;
        case 2: _t->d->_k_updateMiscActions(); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KRichTextWidget *_t = static_cast<KRichTextWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = QFlag(_t->richTextSupport()); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KRichTextWidget *_t = static_cast<KRichTextWidget *>(_o);
        Q_UNUSED(_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
}

const QMetaObject KRichTextWidget::staticMetaObject = {
    { &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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
#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
