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

#include <memory>
#include "../../../../qtwebview/src/webview/qquickwebview_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickwebview_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.7. 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_QQuickWebView_t {
    QByteArrayData data[39];
    char stringdata0[473];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickWebView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickWebView_t qt_meta_stringdata_QQuickWebView = {
    {
QT_MOC_LITERAL(0, 0, 13), // "QQuickWebView"
QT_MOC_LITERAL(1, 14, 12), // "titleChanged"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 10), // "urlChanged"
QT_MOC_LITERAL(4, 39, 14), // "loadingChanged"
QT_MOC_LITERAL(5, 54, 25), // "QQuickWebViewLoadRequest*"
QT_MOC_LITERAL(6, 80, 11), // "loadRequest"
QT_MOC_LITERAL(7, 92, 19), // "loadProgressChanged"
QT_MOC_LITERAL(8, 112, 20), // "httpUserAgentChanged"
QT_MOC_LITERAL(9, 133, 6), // "goBack"
QT_MOC_LITERAL(10, 140, 9), // "goForward"
QT_MOC_LITERAL(11, 150, 6), // "reload"
QT_MOC_LITERAL(12, 157, 4), // "stop"
QT_MOC_LITERAL(13, 162, 8), // "loadHtml"
QT_MOC_LITERAL(14, 171, 4), // "html"
QT_MOC_LITERAL(15, 176, 7), // "baseUrl"
QT_MOC_LITERAL(16, 184, 13), // "runJavaScript"
QT_MOC_LITERAL(17, 198, 6), // "script"
QT_MOC_LITERAL(18, 205, 8), // "QJSValue"
QT_MOC_LITERAL(19, 214, 8), // "callback"
QT_MOC_LITERAL(20, 223, 21), // "onRunJavaScriptResult"
QT_MOC_LITERAL(21, 245, 2), // "id"
QT_MOC_LITERAL(22, 248, 7), // "variant"
QT_MOC_LITERAL(23, 256, 14), // "onFocusRequest"
QT_MOC_LITERAL(24, 271, 5), // "focus"
QT_MOC_LITERAL(25, 277, 16), // "onLoadingChanged"
QT_MOC_LITERAL(26, 294, 26), // "QWebViewLoadRequestPrivate"
QT_MOC_LITERAL(27, 321, 13), // "httpUserAgent"
QT_MOC_LITERAL(28, 335, 3), // "url"
QT_MOC_LITERAL(29, 339, 7), // "loading"
QT_MOC_LITERAL(30, 347, 12), // "loadProgress"
QT_MOC_LITERAL(31, 360, 5), // "title"
QT_MOC_LITERAL(32, 366, 9), // "canGoBack"
QT_MOC_LITERAL(33, 376, 12), // "canGoForward"
QT_MOC_LITERAL(34, 389, 10), // "LoadStatus"
QT_MOC_LITERAL(35, 400, 17), // "LoadStartedStatus"
QT_MOC_LITERAL(36, 418, 17), // "LoadStoppedStatus"
QT_MOC_LITERAL(37, 436, 19), // "LoadSucceededStatus"
QT_MOC_LITERAL(38, 456, 16) // "LoadFailedStatus"

    },
    "QQuickWebView\0titleChanged\0\0urlChanged\0"
    "loadingChanged\0QQuickWebViewLoadRequest*\0"
    "loadRequest\0loadProgressChanged\0"
    "httpUserAgentChanged\0goBack\0goForward\0"
    "reload\0stop\0loadHtml\0html\0baseUrl\0"
    "runJavaScript\0script\0QJSValue\0callback\0"
    "onRunJavaScriptResult\0id\0variant\0"
    "onFocusRequest\0focus\0onLoadingChanged\0"
    "QWebViewLoadRequestPrivate\0httpUserAgent\0"
    "url\0loading\0loadProgress\0title\0canGoBack\0"
    "canGoForward\0LoadStatus\0LoadStartedStatus\0"
    "LoadStoppedStatus\0LoadSucceededStatus\0"
    "LoadFailedStatus"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickWebView[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
       7,  148, // properties
       1,  183, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  110,    2, 0x06 /* Public */,
       3,    0,  111,    2, 0x06 /* Public */,
       4,    1,  112,    2, 0x86 /* Public | MethodRevisioned */,
       7,    0,  115,    2, 0x06 /* Public */,
       8,    0,  116,    2, 0x86 /* Public | MethodRevisioned */,

 // slots: name, argc, parameters, tag, flags
       9,    0,  117,    2, 0x0a /* Public */,
      10,    0,  118,    2, 0x0a /* Public */,
      11,    0,  119,    2, 0x0a /* Public */,
      12,    0,  120,    2, 0x0a /* Public */,
      13,    2,  121,    2, 0x8a /* Public | MethodRevisioned */,
      13,    1,  126,    2, 0xaa /* Public | MethodCloned | MethodRevisioned */,
      16,    2,  129,    2, 0x8a /* Public | MethodRevisioned */,
      16,    1,  134,    2, 0xaa /* Public | MethodCloned | MethodRevisioned */,
      20,    2,  137,    2, 0x08 /* Private */,
      23,    1,  142,    2, 0x08 /* Private */,
      25,    1,  145,    2, 0x08 /* Private */,

 // signals: revision
       0,
       0,
       1,
       0,
      14,

 // slots: revision
       0,
       0,
       0,
       0,
       1,
       1,
       1,
       1,
       0,
       0,
       0,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QUrl,   14,   15,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 18,   17,   19,
    QMetaType::Void, QMetaType::QString,   17,
    QMetaType::Void, QMetaType::Int, QMetaType::QVariant,   21,   22,
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void, 0x80000000 | 26,    6,

 // properties: name, type, flags
      27, QMetaType::QString, 0x00c95103,
      28, QMetaType::QUrl, 0x00495103,
      29, QMetaType::Bool, 0x00c95001,
      30, QMetaType::Int, 0x00495001,
      31, QMetaType::QString, 0x00495001,
      32, QMetaType::Bool, 0x00495001,
      33, QMetaType::Bool, 0x00495001,

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

 // properties: revision
      14,
       0,
       1,
       0,
       0,
       0,
       0,

 // enums: name, alias, flags, count, data
      34,   34, 0x0,    4,  188,

 // enum data: key, value
      35, uint(QQuickWebView::LoadStartedStatus),
      36, uint(QQuickWebView::LoadStoppedStatus),
      37, uint(QQuickWebView::LoadSucceededStatus),
      38, uint(QQuickWebView::LoadFailedStatus),

       0        // eod
};

void QQuickWebView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QQuickWebView *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->titleChanged(); break;
        case 1: _t->urlChanged(); break;
        case 2: _t->loadingChanged((*reinterpret_cast< QQuickWebViewLoadRequest*(*)>(_a[1]))); break;
        case 3: _t->loadProgressChanged(); break;
        case 4: _t->httpUserAgentChanged(); break;
        case 5: _t->goBack(); break;
        case 6: _t->goForward(); break;
        case 7: _t->reload(); break;
        case 8: _t->stop(); break;
        case 9: _t->loadHtml((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QUrl(*)>(_a[2]))); break;
        case 10: _t->loadHtml((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->runJavaScript((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QJSValue(*)>(_a[2]))); break;
        case 12: _t->runJavaScript((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->onRunJavaScriptResult((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
        case 14: _t->onFocusRequest((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->onLoadingChanged((*reinterpret_cast< const QWebViewLoadRequestPrivate(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QJSValue >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QQuickWebView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebView::titleChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QQuickWebView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebView::urlChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QQuickWebView::*)(QQuickWebViewLoadRequest * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebView::loadingChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QQuickWebView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebView::loadProgressChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QQuickWebView::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWebView::httpUserAgentChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QQuickWebView *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->httpUserAgent(); break;
        case 1: *reinterpret_cast< QUrl*>(_v) = _t->url(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isLoading(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->loadProgress(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->title(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->canGoBack(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->canGoForward(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QQuickWebView *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setHttpUserAgent(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setUrl(*reinterpret_cast< QUrl*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QQuickWebView::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuickViewController::staticMetaObject>(),
    qt_meta_stringdata_QQuickWebView.data,
    qt_meta_data_QQuickWebView,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *QQuickWebView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickWebView.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QWebViewInterface"))
        return static_cast< QWebViewInterface*>(this);
    return QQuickViewController::qt_metacast(_clname);
}

int QQuickWebView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickViewController::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
#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 -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void QQuickWebView::loadingChanged(QQuickWebViewLoadRequest * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

// SIGNAL 4
void QQuickWebView::httpUserAgentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
