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

#include "../../../../subtitlecomposer/src/scripting/scripting_richstring.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 'scripting_richstring.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN16SubtitleComposer9Scripting10RichStringE_t {};
} // unnamed namespace

template <> constexpr inline auto SubtitleComposer::Scripting::RichString::qt_create_metaobjectdata<qt_meta_tag_ZN16SubtitleComposer9Scripting10RichStringE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SubtitleComposer::Scripting::RichString",
        "isEmpty",
        "",
        "count",
        "size",
        "length",
        "plainText",
        "setPlainText",
        "string",
        "styleFlags",
        "richText",
        "setRichText",
        "charAt",
        "index",
        "setCharAt",
        "chr",
        "styleFlagsAt",
        "setStyleFlagsAt",
        "cummulativeStyleFlags",
        "hasStyleFlags",
        "setStyleFlags",
        "len",
        "on",
        "clear",
        "truncate",
        "insert",
        "str",
        "insertPlain",
        "append",
        "appendPlain",
        "prepend",
        "prependPlain",
        "remove",
        "removeAll",
        "regExp",
        "caseSensitive",
        "replace",
        "replacement",
        "replacePlain",
        "replaceAll",
        "before",
        "after",
        "replaceAllPlain",
        "split",
        "List*",
        "sep",
        "left",
        "right",
        "mid",
        "toLower",
        "toUpper",
        "simplified",
        "trimmed",
        "compareTo",
        "compareToPlain"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'isEmpty'
        QtMocHelpers::SlotData<bool() const>(1, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'count'
        QtMocHelpers::SlotData<int() const>(3, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'size'
        QtMocHelpers::SlotData<int() const>(4, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'length'
        QtMocHelpers::SlotData<int() const>(5, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'plainText'
        QtMocHelpers::SlotData<QString() const>(6, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'setPlainText'
        QtMocHelpers::SlotData<void(const QString &, int)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::Int, 9 },
        }}),
        // Slot 'setPlainText'
        QtMocHelpers::SlotData<void(const QString &)>(7, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
        // Slot 'richText'
        QtMocHelpers::SlotData<QString() const>(10, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'setRichText'
        QtMocHelpers::SlotData<void(const QString &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
        // Slot 'charAt'
        QtMocHelpers::SlotData<const QChar(int)>(12, 2, QMC::AccessPublic, QMetaType::QChar, {{
            { QMetaType::Int, 13 },
        }}),
        // Slot 'setCharAt'
        QtMocHelpers::SlotData<void(int, const QChar &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 }, { QMetaType::QChar, 15 },
        }}),
        // Slot 'styleFlagsAt'
        QtMocHelpers::SlotData<int(int) const>(16, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::Int, 13 },
        }}),
        // Slot 'setStyleFlagsAt'
        QtMocHelpers::SlotData<void(int, int) const>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 }, { QMetaType::Int, 9 },
        }}),
        // Slot 'cummulativeStyleFlags'
        QtMocHelpers::SlotData<int() const>(18, 2, QMC::AccessPublic, QMetaType::Int),
        // Slot 'hasStyleFlags'
        QtMocHelpers::SlotData<bool(int) const>(19, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::Int, 9 },
        }}),
        // Slot 'setStyleFlags'
        QtMocHelpers::SlotData<void(int, int, int)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 }, { QMetaType::Int, 21 }, { QMetaType::Int, 9 },
        }}),
        // Slot 'setStyleFlags'
        QtMocHelpers::SlotData<void(int, int, int, bool)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 }, { QMetaType::Int, 21 }, { QMetaType::Int, 9 }, { QMetaType::Bool, 22 },
        }}),
        // Slot 'clear'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'truncate'
        QtMocHelpers::SlotData<void(int)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 4 },
        }}),
        // Slot 'insert'
        QtMocHelpers::SlotData<QObject *(int, QObject *)>(25, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::Int, 13 }, { QMetaType::QObjectStar, 26 },
        }}),
        // Slot 'insertPlain'
        QtMocHelpers::SlotData<QObject *(int, const QString &)>(27, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::Int, 13 }, { QMetaType::QString, 26 },
        }}),
        // Slot 'append'
        QtMocHelpers::SlotData<QObject *(QObject *)>(28, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::QObjectStar, 26 },
        }}),
        // Slot 'appendPlain'
        QtMocHelpers::SlotData<QObject *(const QString &)>(29, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::QString, 26 },
        }}),
        // Slot 'prepend'
        QtMocHelpers::SlotData<QObject *(QObject *)>(30, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::QObjectStar, 26 },
        }}),
        // Slot 'prependPlain'
        QtMocHelpers::SlotData<QObject *(const QString &)>(31, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::QString, 26 },
        }}),
        // Slot 'remove'
        QtMocHelpers::SlotData<QObject *(int, int)>(32, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::Int, 13 }, { QMetaType::Int, 21 },
        }}),
        // Slot 'removeAll'
        QtMocHelpers::SlotData<QObject *(const QString &, bool, bool)>(33, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::QString, 26 }, { QMetaType::Bool, 34 }, { QMetaType::Bool, 35 },
        }}),
        // Slot 'removeAll'
        QtMocHelpers::SlotData<QObject *(const QString &, bool)>(33, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QObjectStar, {{
            { QMetaType::QString, 26 }, { QMetaType::Bool, 34 },
        }}),
        // Slot 'removeAll'
        QtMocHelpers::SlotData<QObject *(const QString &)>(33, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QObjectStar, {{
            { QMetaType::QString, 26 },
        }}),
        // Slot 'replace'
        QtMocHelpers::SlotData<QObject *(int, int, QObject *)>(36, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::Int, 13 }, { QMetaType::Int, 21 }, { QMetaType::QObjectStar, 37 },
        }}),
        // Slot 'replacePlain'
        QtMocHelpers::SlotData<QObject *(int, int, const QString &)>(38, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::Int, 13 }, { QMetaType::Int, 21 }, { QMetaType::QString, 37 },
        }}),
        // Slot 'replaceAll'
        QtMocHelpers::SlotData<QObject *(const QString &, QObject *, bool, bool)>(39, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::QString, 40 }, { QMetaType::QObjectStar, 41 }, { QMetaType::Bool, 34 }, { QMetaType::Bool, 35 },
        }}),
        // Slot 'replaceAll'
        QtMocHelpers::SlotData<QObject *(const QString &, QObject *, bool)>(39, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QObjectStar, {{
            { QMetaType::QString, 40 }, { QMetaType::QObjectStar, 41 }, { QMetaType::Bool, 34 },
        }}),
        // Slot 'replaceAll'
        QtMocHelpers::SlotData<QObject *(const QString &, QObject *)>(39, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QObjectStar, {{
            { QMetaType::QString, 40 }, { QMetaType::QObjectStar, 41 },
        }}),
        // Slot 'replaceAllPlain'
        QtMocHelpers::SlotData<QObject *(const QString &, const QString &, bool, bool)>(42, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::QString, 40 }, { QMetaType::QString, 41 }, { QMetaType::Bool, 34 }, { QMetaType::Bool, 35 },
        }}),
        // Slot 'replaceAllPlain'
        QtMocHelpers::SlotData<QObject *(const QString &, const QString &, bool)>(42, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QObjectStar, {{
            { QMetaType::QString, 40 }, { QMetaType::QString, 41 }, { QMetaType::Bool, 34 },
        }}),
        // Slot 'replaceAllPlain'
        QtMocHelpers::SlotData<QObject *(const QString &, const QString &)>(42, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QObjectStar, {{
            { QMetaType::QString, 40 }, { QMetaType::QString, 41 },
        }}),
        // Slot 'split'
        QtMocHelpers::SlotData<List *(const QString &, bool, bool) const>(43, 2, QMC::AccessPublic, 0x80000000 | 44, {{
            { QMetaType::QString, 45 }, { QMetaType::Bool, 34 }, { QMetaType::Bool, 35 },
        }}),
        // Slot 'split'
        QtMocHelpers::SlotData<List *(const QString &, bool) const>(43, 2, QMC::AccessPublic | QMC::MethodCloned, 0x80000000 | 44, {{
            { QMetaType::QString, 45 }, { QMetaType::Bool, 34 },
        }}),
        // Slot 'left'
        QtMocHelpers::SlotData<QObject *(int) const>(46, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::Int, 21 },
        }}),
        // Slot 'right'
        QtMocHelpers::SlotData<QObject *(int) const>(47, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::Int, 21 },
        }}),
        // Slot 'mid'
        QtMocHelpers::SlotData<QObject *(int, int) const>(48, 2, QMC::AccessPublic, QMetaType::QObjectStar, {{
            { QMetaType::Int, 13 }, { QMetaType::Int, 21 },
        }}),
        // Slot 'mid'
        QtMocHelpers::SlotData<QObject *(int) const>(48, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QObjectStar, {{
            { QMetaType::Int, 13 },
        }}),
        // Slot 'toLower'
        QtMocHelpers::SlotData<QObject *() const>(49, 2, QMC::AccessPublic, QMetaType::QObjectStar),
        // Slot 'toUpper'
        QtMocHelpers::SlotData<QObject *() const>(50, 2, QMC::AccessPublic, QMetaType::QObjectStar),
        // Slot 'simplified'
        QtMocHelpers::SlotData<QObject *() const>(51, 2, QMC::AccessPublic, QMetaType::QObjectStar),
        // Slot 'trimmed'
        QtMocHelpers::SlotData<QObject *() const>(52, 2, QMC::AccessPublic, QMetaType::QObjectStar),
        // Slot 'compareTo'
        QtMocHelpers::SlotData<int(QObject *) const>(53, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::QObjectStar, 8 },
        }}),
        // Slot 'compareToPlain'
        QtMocHelpers::SlotData<int(const QString &) const>(54, 2, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::QString, 8 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<RichString, qt_meta_tag_ZN16SubtitleComposer9Scripting10RichStringE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject SubtitleComposer::Scripting::RichString::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SubtitleComposer9Scripting10RichStringE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16SubtitleComposer9Scripting10RichStringE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16SubtitleComposer9Scripting10RichStringE_t>.metaTypes,
    nullptr
} };

void SubtitleComposer::Scripting::RichString::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<RichString *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { bool _r = _t->isEmpty();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 1: { int _r = _t->count();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 2: { int _r = _t->size();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 3: { int _r = _t->length();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 4: { QString _r = _t->plainText();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->setPlainText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 6: _t->setPlainText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: { QString _r = _t->richText();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->setRichText((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: { QChar _r = _t->charAt((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QChar*>(_a[0]) = std::move(_r); }  break;
        case 10: _t->setCharAt((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QChar>>(_a[2]))); break;
        case 11: { int _r = _t->styleFlagsAt((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->setStyleFlagsAt((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 13: { int _r = _t->cummulativeStyleFlags();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 14: { bool _r = _t->hasStyleFlags((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->setStyleFlags((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 16: _t->setStyleFlags((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4]))); break;
        case 17: _t->clear(); break;
        case 18: _t->truncate((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 19: { QObject* _r = _t->insert((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 20: { QObject* _r = _t->insertPlain((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 21: { QObject* _r = _t->append((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 22: { QObject* _r = _t->appendPlain((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 23: { QObject* _r = _t->prepend((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 24: { QObject* _r = _t->prependPlain((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 25: { QObject* _r = _t->remove((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 26: { QObject* _r = _t->removeAll((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 27: { QObject* _r = _t->removeAll((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 28: { QObject* _r = _t->removeAll((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 29: { QObject* _r = _t->replace((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 30: { QObject* _r = _t->replacePlain((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 31: { QObject* _r = _t->replaceAll((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 32: { QObject* _r = _t->replaceAll((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 33: { QObject* _r = _t->replaceAll((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 34: { QObject* _r = _t->replaceAllPlain((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 35: { QObject* _r = _t->replaceAllPlain((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 36: { QObject* _r = _t->replaceAllPlain((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 37: { List* _r = _t->split((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])));
            if (_a[0]) *reinterpret_cast<List**>(_a[0]) = std::move(_r); }  break;
        case 38: { List* _r = _t->split((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<List**>(_a[0]) = std::move(_r); }  break;
        case 39: { QObject* _r = _t->left((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 40: { QObject* _r = _t->right((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 41: { QObject* _r = _t->mid((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 42: { QObject* _r = _t->mid((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 43: { QObject* _r = _t->toLower();
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 44: { QObject* _r = _t->toUpper();
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 45: { QObject* _r = _t->simplified();
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 46: { QObject* _r = _t->trimmed();
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = std::move(_r); }  break;
        case 47: { int _r = _t->compareTo((*reinterpret_cast<std::add_pointer_t<QObject*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 48: { int _r = _t->compareToPlain((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

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

int SubtitleComposer::Scripting::RichString::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 < 49)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 49;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 49)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 49;
    }
    return _id;
}
QT_WARNING_POP
