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

#include "../../src/ktextwidgets-5.12.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.4.2. 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
struct qt_meta_stringdata_KRichTextWidget_t {
    QByteArrayData data[36];
    char stringdata[657];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KRichTextWidget_t, stringdata) + 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, 25), // "_k_setTextForegroundColor"
QT_MOC_LITERAL(5, 69, 25), // "_k_setTextBackgroundColor"
QT_MOC_LITERAL(6, 95, 13), // "_k_manageLink"
QT_MOC_LITERAL(7, 109, 16), // "_k_formatPainter"
QT_MOC_LITERAL(8, 126, 26), // "_k_updateCharFormatActions"
QT_MOC_LITERAL(9, 153, 15), // "QTextCharFormat"
QT_MOC_LITERAL(10, 169, 20), // "_k_updateMiscActions"
QT_MOC_LITERAL(11, 190, 15), // "_k_setListStyle"
QT_MOC_LITERAL(12, 206, 15), // "richTextSupport"
QT_MOC_LITERAL(13, 222, 15), // "RichTextSupport"
QT_MOC_LITERAL(14, 238, 15), // "DisableRichText"
QT_MOC_LITERAL(15, 254, 11), // "SupportBold"
QT_MOC_LITERAL(16, 266, 13), // "SupportItalic"
QT_MOC_LITERAL(17, 280, 16), // "SupportUnderline"
QT_MOC_LITERAL(18, 297, 16), // "SupportStrikeOut"
QT_MOC_LITERAL(19, 314, 17), // "SupportFontFamily"
QT_MOC_LITERAL(20, 332, 15), // "SupportFontSize"
QT_MOC_LITERAL(21, 348, 26), // "SupportTextForegroundColor"
QT_MOC_LITERAL(22, 375, 26), // "SupportTextBackgroundColor"
QT_MOC_LITERAL(23, 402, 25), // "FullTextFormattingSupport"
QT_MOC_LITERAL(24, 428, 22), // "SupportChangeListStyle"
QT_MOC_LITERAL(25, 451, 18), // "SupportIndentLists"
QT_MOC_LITERAL(26, 470, 18), // "SupportDedentLists"
QT_MOC_LITERAL(27, 489, 15), // "FullListSupport"
QT_MOC_LITERAL(28, 505, 16), // "SupportAlignment"
QT_MOC_LITERAL(29, 522, 15), // "SupportRuleLine"
QT_MOC_LITERAL(30, 538, 17), // "SupportHyperlinks"
QT_MOC_LITERAL(31, 556, 21), // "SupportFormatPainting"
QT_MOC_LITERAL(32, 578, 18), // "SupportToPlainText"
QT_MOC_LITERAL(33, 597, 30), // "SupportSuperScriptAndSubScript"
QT_MOC_LITERAL(34, 628, 16), // "SupportDirection"
QT_MOC_LITERAL(35, 645, 11) // "FullSupport"

    },
    "KRichTextWidget\0setActionsEnabled\0\0"
    "enabled\0_k_setTextForegroundColor\0"
    "_k_setTextBackgroundColor\0_k_manageLink\0"
    "_k_formatPainter\0_k_updateCharFormatActions\0"
    "QTextCharFormat\0_k_updateMiscActions\0"
    "_k_setListStyle\0richTextSupport\0"
    "RichTextSupport\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\0FullSupport"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KRichTextWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
       1,   70, // properties
       1,   73, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x0a /* Public */,
       4,    0,   57,    2, 0x08 /* Private */,
       5,    0,   58,    2, 0x08 /* Private */,
       6,    0,   59,    2, 0x08 /* Private */,
       7,    1,   60,    2, 0x08 /* Private */,
       8,    1,   63,    2, 0x08 /* Private */,
      10,    0,   66,    2, 0x08 /* Private */,
      11,    1,   67,    2, 0x08 /* Private */,

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

 // properties: name, type, flags
      12, 0x80000000 | 13, 0x0009510b,

 // enums: name, flags, count, data
      13, 0x1,   22,   77,

 // enum data: key, value
      14, uint(KRichTextWidget::DisableRichText),
      15, uint(KRichTextWidget::SupportBold),
      16, uint(KRichTextWidget::SupportItalic),
      17, uint(KRichTextWidget::SupportUnderline),
      18, uint(KRichTextWidget::SupportStrikeOut),
      19, uint(KRichTextWidget::SupportFontFamily),
      20, uint(KRichTextWidget::SupportFontSize),
      21, uint(KRichTextWidget::SupportTextForegroundColor),
      22, uint(KRichTextWidget::SupportTextBackgroundColor),
      23, uint(KRichTextWidget::FullTextFormattingSupport),
      24, uint(KRichTextWidget::SupportChangeListStyle),
      25, uint(KRichTextWidget::SupportIndentLists),
      26, uint(KRichTextWidget::SupportDedentLists),
      27, uint(KRichTextWidget::FullListSupport),
      28, uint(KRichTextWidget::SupportAlignment),
      29, uint(KRichTextWidget::SupportRuleLine),
      30, uint(KRichTextWidget::SupportHyperlinks),
      31, uint(KRichTextWidget::SupportFormatPainting),
      32, uint(KRichTextWidget::SupportToPlainText),
      33, uint(KRichTextWidget::SupportSuperScriptAndSubScript),
      34, uint(KRichTextWidget::SupportDirection),
      35, 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);
        switch (_id) {
        case 0: _t->setActionsEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->d->_k_setTextForegroundColor(); break;
        case 2: _t->d->_k_setTextBackgroundColor(); break;
        case 3: _t->d->_k_manageLink(); break;
        case 4: _t->d->_k_formatPainter((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->d->_k_updateCharFormatActions((*reinterpret_cast< const QTextCharFormat(*)>(_a[1]))); break;
        case 6: _t->d->_k_updateMiscActions(); break;
        case 7: _t->d->_k_setListStyle((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KRichTextWidget::staticMetaObject = {
    { &KRichTextEdit::staticMetaObject, qt_meta_stringdata_KRichTextWidget.data,
      qt_meta_data_KRichTextWidget,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KRichTextWidget.stringdata))
        return static_cast<void*>(const_cast< KRichTextWidget*>(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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = QFlag(richTextSupport()); break;
        default: break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setRichTextSupport(QFlag(*reinterpret_cast<int*>(_v))); break;
        default: break;
        }
        _id -= 1;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
