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

#include <memory>
#include "../../src/qmltypes/qmlrichtext.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmlrichtext.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_QmlRichText_t {
    QByteArrayData data[52];
    char stringdata0[585];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QmlRichText_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QmlRichText_t qt_meta_stringdata_QmlRichText = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QmlRichText"
QT_MOC_LITERAL(1, 12, 13), // "targetChanged"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(4, 49, 21), // "selectionStartChanged"
QT_MOC_LITERAL(5, 71, 19), // "selectionEndChanged"
QT_MOC_LITERAL(6, 91, 17), // "fontFamilyChanged"
QT_MOC_LITERAL(7, 109, 16), // "textColorChanged"
QT_MOC_LITERAL(8, 126, 16), // "alignmentChanged"
QT_MOC_LITERAL(9, 143, 11), // "boldChanged"
QT_MOC_LITERAL(10, 155, 13), // "italicChanged"
QT_MOC_LITERAL(11, 169, 16), // "underlineChanged"
QT_MOC_LITERAL(12, 186, 15), // "fontSizeChanged"
QT_MOC_LITERAL(13, 202, 14), // "fileUrlChanged"
QT_MOC_LITERAL(14, 217, 11), // "textChanged"
QT_MOC_LITERAL(15, 229, 5), // "error"
QT_MOC_LITERAL(16, 235, 7), // "message"
QT_MOC_LITERAL(17, 243, 11), // "sizeChanged"
QT_MOC_LITERAL(18, 255, 7), // "setBold"
QT_MOC_LITERAL(19, 263, 3), // "arg"
QT_MOC_LITERAL(20, 267, 9), // "setItalic"
QT_MOC_LITERAL(21, 277, 12), // "setUnderline"
QT_MOC_LITERAL(22, 290, 11), // "setFontSize"
QT_MOC_LITERAL(23, 302, 12), // "setTextColor"
QT_MOC_LITERAL(24, 315, 13), // "setFontFamily"
QT_MOC_LITERAL(25, 329, 10), // "setFileUrl"
QT_MOC_LITERAL(26, 340, 7), // "setText"
QT_MOC_LITERAL(27, 348, 6), // "saveAs"
QT_MOC_LITERAL(28, 355, 8), // "fileType"
QT_MOC_LITERAL(29, 364, 11), // "insertTable"
QT_MOC_LITERAL(30, 376, 4), // "rows"
QT_MOC_LITERAL(31, 381, 7), // "columns"
QT_MOC_LITERAL(32, 389, 6), // "border"
QT_MOC_LITERAL(33, 396, 10), // "indentLess"
QT_MOC_LITERAL(34, 407, 10), // "indentMore"
QT_MOC_LITERAL(35, 418, 10), // "pastePlain"
QT_MOC_LITERAL(36, 429, 6), // "target"
QT_MOC_LITERAL(37, 436, 11), // "QQuickItem*"
QT_MOC_LITERAL(38, 448, 14), // "cursorPosition"
QT_MOC_LITERAL(39, 463, 14), // "selectionStart"
QT_MOC_LITERAL(40, 478, 12), // "selectionEnd"
QT_MOC_LITERAL(41, 491, 9), // "textColor"
QT_MOC_LITERAL(42, 501, 10), // "fontFamily"
QT_MOC_LITERAL(43, 512, 9), // "alignment"
QT_MOC_LITERAL(44, 522, 13), // "Qt::Alignment"
QT_MOC_LITERAL(45, 536, 4), // "bold"
QT_MOC_LITERAL(46, 541, 6), // "italic"
QT_MOC_LITERAL(47, 548, 9), // "underline"
QT_MOC_LITERAL(48, 558, 8), // "fontSize"
QT_MOC_LITERAL(49, 567, 7), // "fileUrl"
QT_MOC_LITERAL(50, 575, 4), // "text"
QT_MOC_LITERAL(51, 580, 4) // "size"

    },
    "QmlRichText\0targetChanged\0\0"
    "cursorPositionChanged\0selectionStartChanged\0"
    "selectionEndChanged\0fontFamilyChanged\0"
    "textColorChanged\0alignmentChanged\0"
    "boldChanged\0italicChanged\0underlineChanged\0"
    "fontSizeChanged\0fileUrlChanged\0"
    "textChanged\0error\0message\0sizeChanged\0"
    "setBold\0arg\0setItalic\0setUnderline\0"
    "setFontSize\0setTextColor\0setFontFamily\0"
    "setFileUrl\0setText\0saveAs\0fileType\0"
    "insertTable\0rows\0columns\0border\0"
    "indentLess\0indentMore\0pastePlain\0"
    "target\0QQuickItem*\0cursorPosition\0"
    "selectionStart\0selectionEnd\0textColor\0"
    "fontFamily\0alignment\0Qt::Alignment\0"
    "bold\0italic\0underline\0fontSize\0fileUrl\0"
    "text\0size"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QmlRichText[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      31,   14, // methods
      14,  234, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      15,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  169,    2, 0x06 /* Public */,
       3,    0,  170,    2, 0x06 /* Public */,
       4,    0,  171,    2, 0x06 /* Public */,
       5,    0,  172,    2, 0x06 /* Public */,
       6,    0,  173,    2, 0x06 /* Public */,
       7,    0,  174,    2, 0x06 /* Public */,
       8,    0,  175,    2, 0x06 /* Public */,
       9,    0,  176,    2, 0x06 /* Public */,
      10,    0,  177,    2, 0x06 /* Public */,
      11,    0,  178,    2, 0x06 /* Public */,
      12,    0,  179,    2, 0x06 /* Public */,
      13,    0,  180,    2, 0x06 /* Public */,
      14,    0,  181,    2, 0x06 /* Public */,
      15,    1,  182,    2, 0x06 /* Public */,
      17,    0,  185,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    1,  186,    2, 0x0a /* Public */,
      20,    1,  189,    2, 0x0a /* Public */,
      21,    1,  192,    2, 0x0a /* Public */,
      22,    1,  195,    2, 0x0a /* Public */,
      23,    1,  198,    2, 0x0a /* Public */,
      24,    1,  201,    2, 0x0a /* Public */,
      25,    1,  204,    2, 0x0a /* Public */,
      26,    1,  207,    2, 0x0a /* Public */,
      27,    2,  210,    2, 0x0a /* Public */,
      29,    3,  215,    2, 0x0a /* Public */,
      29,    2,  222,    2, 0x2a /* Public | MethodCloned */,
      29,    1,  227,    2, 0x2a /* Public | MethodCloned */,
      29,    0,  230,    2, 0x2a /* Public | MethodCloned */,
      33,    0,  231,    2, 0x0a /* Public */,
      34,    0,  232,    2, 0x0a /* Public */,
      35,    0,  233,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void, QMetaType::Int,   19,
    QMetaType::Void, QMetaType::QColor,   19,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void, QMetaType::QUrl,   19,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void, QMetaType::QUrl, QMetaType::QString,   19,   28,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,   30,   31,   32,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   30,   31,
    QMetaType::Void, QMetaType::Int,   30,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      36, 0x80000000 | 37, 0x0049510b,
      38, QMetaType::Int, 0x00495103,
      39, QMetaType::Int, 0x00495103,
      40, QMetaType::Int, 0x00495103,
      41, QMetaType::QColor, 0x00495103,
      42, QMetaType::QString, 0x00495103,
      43, 0x80000000 | 44, 0x0049510b,
      45, QMetaType::Bool, 0x00495103,
      46, QMetaType::Bool, 0x00495103,
      47, QMetaType::Bool, 0x00495103,
      48, QMetaType::Int, 0x00495103,
      49, QMetaType::QUrl, 0x00495103,
      50, QMetaType::QString, 0x00495103,
      51, QMetaType::QSizeF, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       5,
       4,
       6,
       7,
       8,
       9,
      10,
      11,
      12,
      14,

 // enums: name, alias, flags, count, data

 // enum data: key, value

       0        // eod
};

void QmlRichText::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QmlRichText *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->targetChanged(); break;
        case 1: _t->cursorPositionChanged(); break;
        case 2: _t->selectionStartChanged(); break;
        case 3: _t->selectionEndChanged(); break;
        case 4: _t->fontFamilyChanged(); break;
        case 5: _t->textColorChanged(); break;
        case 6: _t->alignmentChanged(); break;
        case 7: _t->boldChanged(); break;
        case 8: _t->italicChanged(); break;
        case 9: _t->underlineChanged(); break;
        case 10: _t->fontSizeChanged(); break;
        case 11: _t->fileUrlChanged(); break;
        case 12: _t->textChanged(); break;
        case 13: _t->error((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 14: _t->sizeChanged(); break;
        case 15: _t->setBold((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->setItalic((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 17: _t->setUnderline((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 18: _t->setFontSize((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->setTextColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 20: _t->setFontFamily((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 21: _t->setFileUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 22: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 23: _t->saveAs((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 24: _t->insertTable((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 25: _t->insertTable((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 26: _t->insertTable((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 27: _t->insertTable(); break;
        case 28: _t->indentLess(); break;
        case 29: _t->indentMore(); break;
        case 30: _t->pastePlain(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::targetChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::cursorPositionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::selectionStartChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::selectionEndChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::fontFamilyChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::textColorChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::alignmentChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::boldChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::italicChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::underlineChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::fontSizeChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::fileUrlChanged)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::textChanged)) {
                *result = 12;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::error)) {
                *result = 13;
                return;
            }
        }
        {
            using _t = void (QmlRichText::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QmlRichText::sizeChanged)) {
                *result = 14;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickItem* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QmlRichText *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuickItem**>(_v) = _t->target(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->cursorPosition(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->selectionStart(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->selectionEnd(); break;
        case 4: *reinterpret_cast< QColor*>(_v) = _t->textColor(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->fontFamily(); break;
        case 6: *reinterpret_cast< Qt::Alignment*>(_v) = _t->alignment(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->bold(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->italic(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->underline(); break;
        case 10: *reinterpret_cast< int*>(_v) = _t->fontSize(); break;
        case 11: *reinterpret_cast< QUrl*>(_v) = _t->fileUrl(); break;
        case 12: *reinterpret_cast< QString*>(_v) = _t->text(); break;
        case 13: *reinterpret_cast< QSizeF*>(_v) = _t->size(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QmlRichText *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTarget(*reinterpret_cast< QQuickItem**>(_v)); break;
        case 1: _t->setCursorPosition(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setSelectionStart(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setSelectionEnd(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setTextColor(*reinterpret_cast< QColor*>(_v)); break;
        case 5: _t->setFontFamily(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setAlignment(*reinterpret_cast< Qt::Alignment*>(_v)); break;
        case 7: _t->setBold(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setItalic(*reinterpret_cast< bool*>(_v)); break;
        case 9: _t->setUnderline(*reinterpret_cast< bool*>(_v)); break;
        case 10: _t->setFontSize(*reinterpret_cast< int*>(_v)); break;
        case 11: _t->setFileUrl(*reinterpret_cast< QUrl*>(_v)); break;
        case 12: _t->setText(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QmlRichText::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QmlRichText.data,
    qt_meta_data_QmlRichText,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QmlRichText::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 31)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 31;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 31)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 31;
    }
#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 -= 14;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 14;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

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

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

// SIGNAL 8
void QmlRichText::italicChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void QmlRichText::underlineChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void QmlRichText::fontSizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void QmlRichText::fileUrlChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void QmlRichText::textChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 12, nullptr);
}

// SIGNAL 13
void QmlRichText::error(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 13, _a);
}

// SIGNAL 14
void QmlRichText::sizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 14, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
