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

#include "../../../../qtwebengine-everywhere-src-5.12.4/src/webengine/api/qquickwebenginescript.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickwebenginescript.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.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_QQuickWebEngineScript_t {
    QByteArrayData data[33];
    char stringdata0[416];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickWebEngineScript_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickWebEngineScript_t qt_meta_stringdata_QQuickWebEngineScript = {
    {
QT_MOC_LITERAL(0, 0, 21), // "QQuickWebEngineScript"
QT_MOC_LITERAL(1, 22, 11), // "nameChanged"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 4), // "name"
QT_MOC_LITERAL(4, 40, 16), // "sourceUrlChanged"
QT_MOC_LITERAL(5, 57, 3), // "url"
QT_MOC_LITERAL(6, 61, 17), // "sourceCodeChanged"
QT_MOC_LITERAL(7, 79, 4), // "code"
QT_MOC_LITERAL(8, 84, 21), // "injectionPointChanged"
QT_MOC_LITERAL(9, 106, 14), // "InjectionPoint"
QT_MOC_LITERAL(10, 121, 14), // "injectionPoint"
QT_MOC_LITERAL(11, 136, 14), // "worldIdChanged"
QT_MOC_LITERAL(12, 151, 13), // "ScriptWorldId"
QT_MOC_LITERAL(13, 165, 13), // "scriptWorldId"
QT_MOC_LITERAL(14, 179, 21), // "runOnSubframesChanged"
QT_MOC_LITERAL(15, 201, 2), // "on"
QT_MOC_LITERAL(16, 204, 8), // "toString"
QT_MOC_LITERAL(17, 213, 7), // "setName"
QT_MOC_LITERAL(18, 221, 12), // "setSourceUrl"
QT_MOC_LITERAL(19, 234, 13), // "setSourceCode"
QT_MOC_LITERAL(20, 248, 17), // "setInjectionPoint"
QT_MOC_LITERAL(21, 266, 10), // "setWorldId"
QT_MOC_LITERAL(22, 277, 17), // "setRunOnSubframes"
QT_MOC_LITERAL(23, 295, 9), // "sourceUrl"
QT_MOC_LITERAL(24, 305, 10), // "sourceCode"
QT_MOC_LITERAL(25, 316, 7), // "worldId"
QT_MOC_LITERAL(26, 324, 14), // "runOnSubframes"
QT_MOC_LITERAL(27, 339, 8), // "Deferred"
QT_MOC_LITERAL(28, 348, 13), // "DocumentReady"
QT_MOC_LITERAL(29, 362, 16), // "DocumentCreation"
QT_MOC_LITERAL(30, 379, 9), // "MainWorld"
QT_MOC_LITERAL(31, 389, 16), // "ApplicationWorld"
QT_MOC_LITERAL(32, 406, 9) // "UserWorld"

    },
    "QQuickWebEngineScript\0nameChanged\0\0"
    "name\0sourceUrlChanged\0url\0sourceCodeChanged\0"
    "code\0injectionPointChanged\0InjectionPoint\0"
    "injectionPoint\0worldIdChanged\0"
    "ScriptWorldId\0scriptWorldId\0"
    "runOnSubframesChanged\0on\0toString\0"
    "setName\0setSourceUrl\0setSourceCode\0"
    "setInjectionPoint\0setWorldId\0"
    "setRunOnSubframes\0sourceUrl\0sourceCode\0"
    "worldId\0runOnSubframes\0Deferred\0"
    "DocumentReady\0DocumentCreation\0MainWorld\0"
    "ApplicationWorld\0UserWorld"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickWebEngineScript[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
       6,  116, // properties
       2,  140, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       4,    1,   82,    2, 0x06 /* Public */,
       6,    1,   85,    2, 0x06 /* Public */,
       8,    1,   88,    2, 0x06 /* Public */,
      11,    1,   91,    2, 0x06 /* Public */,
      14,    1,   94,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
      16,    0,   97,    2, 0x02 /* Public */,
      17,    1,   98,    2, 0x02 /* Public */,
      18,    1,  101,    2, 0x02 /* Public */,
      19,    1,  104,    2, 0x02 /* Public */,
      20,    1,  107,    2, 0x02 /* Public */,
      21,    1,  110,    2, 0x02 /* Public */,
      22,    1,  113,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, QMetaType::Bool,   15,

 // methods: parameters
    QMetaType::QString,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QUrl,    5,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, QMetaType::Bool,   15,

 // properties: name, type, flags
       3, QMetaType::QString, 0x00495903,
      23, QMetaType::QUrl, 0x00495903,
      24, QMetaType::QString, 0x00495903,
      10, 0x80000000 | 9, 0x0049590b,
      25, 0x80000000 | 12, 0x0049590b,
      26, QMetaType::Bool, 0x00495903,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,

 // enums: name, alias, flags, count, data
       9,    9, 0x0,    3,  150,
      12,   12, 0x0,    3,  156,

 // enum data: key, value
      27, uint(QQuickWebEngineScript::Deferred),
      28, uint(QQuickWebEngineScript::DocumentReady),
      29, uint(QQuickWebEngineScript::DocumentCreation),
      30, uint(QQuickWebEngineScript::MainWorld),
      31, uint(QQuickWebEngineScript::ApplicationWorld),
      32, uint(QQuickWebEngineScript::UserWorld),

       0        // eod
};

void QQuickWebEngineScript::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuickWebEngineScript *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->nameChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->sourceUrlChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 2: _t->sourceCodeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->injectionPointChanged((*reinterpret_cast< InjectionPoint(*)>(_a[1]))); break;
        case 4: _t->worldIdChanged((*reinterpret_cast< ScriptWorldId(*)>(_a[1]))); break;
        case 5: _t->runOnSubframesChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: { QString _r = _t->toString();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 7: _t->setName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->setSourceUrl((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 9: _t->setSourceCode((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->setInjectionPoint((*reinterpret_cast< InjectionPoint(*)>(_a[1]))); break;
        case 11: _t->setWorldId((*reinterpret_cast< ScriptWorldId(*)>(_a[1]))); break;
        case 12: _t->setRunOnSubframes((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuickWebEngineScript::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebEngineScript::nameChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuickWebEngineScript::*)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebEngineScript::sourceUrlChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuickWebEngineScript::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebEngineScript::sourceCodeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuickWebEngineScript::*)(InjectionPoint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebEngineScript::injectionPointChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuickWebEngineScript::*)(ScriptWorldId );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebEngineScript::worldIdChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QQuickWebEngineScript::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebEngineScript::runOnSubframesChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuickWebEngineScript *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 1: *reinterpret_cast< QUrl*>(_v) = _t->sourceUrl(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->sourceCode(); break;
        case 3: *reinterpret_cast< InjectionPoint*>(_v) = _t->injectionPoint(); break;
        case 4: *reinterpret_cast< ScriptWorldId*>(_v) = _t->worldId(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->runOnSubframes(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuickWebEngineScript *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setSourceUrl(*reinterpret_cast< QUrl*>(_v)); break;
        case 2: _t->setSourceCode(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setInjectionPoint(*reinterpret_cast< InjectionPoint*>(_v)); break;
        case 4: _t->setWorldId(*reinterpret_cast< ScriptWorldId*>(_v)); break;
        case 5: _t->setRunOnSubframes(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuickWebEngineScript::staticMetaObject = { {
    &QObject::staticMetaObject,
    qt_meta_stringdata_QQuickWebEngineScript.data,
    qt_meta_data_QQuickWebEngineScript,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QQuickWebEngineScript::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
#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 -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QQuickWebEngineScript::nameChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QQuickWebEngineScript::sourceUrlChanged(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QQuickWebEngineScript::sourceCodeChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QQuickWebEngineScript::injectionPointChanged(InjectionPoint _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QQuickWebEngineScript::worldIdChanged(ScriptWorldId _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void QQuickWebEngineScript::runOnSubframesChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
