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

#include "../../../src/qtwebkit-201c7117463e43e9cbd02ff33c6f491d81b2e6c7/Source/WebKit/qt/WidgetApi/qwebframe.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qwebframe.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.3. 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_QWebFrame_t {
    QByteArrayData data[30];
    char stringdata0[359];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QWebFrame_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QWebFrame_t qt_meta_stringdata_QWebFrame = {
    {
QT_MOC_LITERAL(0, 0, 9), // "QWebFrame"
QT_MOC_LITERAL(1, 10, 29), // "javaScriptWindowObjectCleared"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 15), // "provisionalLoad"
QT_MOC_LITERAL(4, 57, 12), // "titleChanged"
QT_MOC_LITERAL(5, 70, 5), // "title"
QT_MOC_LITERAL(6, 76, 10), // "urlChanged"
QT_MOC_LITERAL(7, 87, 3), // "url"
QT_MOC_LITERAL(8, 91, 22), // "initialLayoutCompleted"
QT_MOC_LITERAL(9, 114, 11), // "iconChanged"
QT_MOC_LITERAL(10, 126, 19), // "contentsSizeChanged"
QT_MOC_LITERAL(11, 146, 4), // "size"
QT_MOC_LITERAL(12, 151, 11), // "loadStarted"
QT_MOC_LITERAL(13, 163, 12), // "loadFinished"
QT_MOC_LITERAL(14, 176, 2), // "ok"
QT_MOC_LITERAL(15, 179, 11), // "pageChanged"
QT_MOC_LITERAL(16, 191, 18), // "evaluateJavaScript"
QT_MOC_LITERAL(17, 210, 12), // "scriptSource"
QT_MOC_LITERAL(18, 223, 5), // "print"
QT_MOC_LITERAL(19, 229, 9), // "QPrinter*"
QT_MOC_LITERAL(20, 239, 7), // "printer"
QT_MOC_LITERAL(21, 247, 21), // "_q_orientationChanged"
QT_MOC_LITERAL(22, 269, 18), // "textSizeMultiplier"
QT_MOC_LITERAL(23, 288, 10), // "zoomFactor"
QT_MOC_LITERAL(24, 299, 12), // "requestedUrl"
QT_MOC_LITERAL(25, 312, 7), // "baseUrl"
QT_MOC_LITERAL(26, 320, 4), // "icon"
QT_MOC_LITERAL(27, 325, 12), // "contentsSize"
QT_MOC_LITERAL(28, 338, 14), // "scrollPosition"
QT_MOC_LITERAL(29, 353, 5) // "focus"

    },
    "QWebFrame\0javaScriptWindowObjectCleared\0"
    "\0provisionalLoad\0titleChanged\0title\0"
    "urlChanged\0url\0initialLayoutCompleted\0"
    "iconChanged\0contentsSizeChanged\0size\0"
    "loadStarted\0loadFinished\0ok\0pageChanged\0"
    "evaluateJavaScript\0scriptSource\0print\0"
    "QPrinter*\0printer\0_q_orientationChanged\0"
    "textSizeMultiplier\0zoomFactor\0"
    "requestedUrl\0baseUrl\0icon\0contentsSize\0"
    "scrollPosition\0focus"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QWebFrame[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
      10,  104, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x06 /* Public */,
       3,    0,   80,    2, 0x06 /* Public */,
       4,    1,   81,    2, 0x06 /* Public */,
       6,    1,   84,    2, 0x06 /* Public */,
       8,    0,   87,    2, 0x06 /* Public */,
       9,    0,   88,    2, 0x06 /* Public */,
      10,    1,   89,    2, 0x06 /* Public */,
      12,    0,   92,    2, 0x06 /* Public */,
      13,    1,   93,    2, 0x06 /* Public */,
      15,    0,   96,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    1,   97,    2, 0x0a /* Public */,
      18,    1,  100,    2, 0x0a /* Public */,
      21,    0,  103,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QUrl,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QSize,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   14,
    QMetaType::Void,

 // slots: parameters
    QMetaType::QVariant, QMetaType::QString,   17,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void,

 // properties: name, type, flags
      22, QMetaType::QReal, 0x00094103,
      23, QMetaType::QReal, 0x00095103,
       5, QMetaType::QString, 0x00095001,
       7, QMetaType::QUrl, 0x00095103,
      24, QMetaType::QUrl, 0x00095001,
      25, QMetaType::QUrl, 0x00095001,
      26, QMetaType::QIcon, 0x00095001,
      27, QMetaType::QSize, 0x00095001,
      28, QMetaType::QPoint, 0x00095103,
      29, QMetaType::Bool, 0x00095001,

       0        // eod
};

void QWebFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QWebFrame *_t = static_cast<QWebFrame *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->javaScriptWindowObjectCleared(); break;
        case 1: _t->provisionalLoad(); break;
        case 2: _t->titleChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->urlChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 4: _t->initialLayoutCompleted(); break;
        case 5: _t->iconChanged(); break;
        case 6: _t->contentsSizeChanged((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 7: _t->loadStarted(); break;
        case 8: _t->loadFinished((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->pageChanged(); break;
        case 10: { QVariant _r = _t->evaluateJavaScript((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->print((*reinterpret_cast< QPrinter*(*)>(_a[1]))); break;
        case 12: _t->d->_q_orientationChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QWebFrame::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebFrame::javaScriptWindowObjectCleared)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QWebFrame::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebFrame::provisionalLoad)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QWebFrame::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebFrame::titleChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QWebFrame::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebFrame::urlChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QWebFrame::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebFrame::initialLayoutCompleted)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (QWebFrame::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebFrame::iconChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (QWebFrame::*_t)(const QSize & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebFrame::contentsSizeChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (QWebFrame::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebFrame::loadStarted)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (QWebFrame::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebFrame::loadFinished)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (QWebFrame::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebFrame::pageChanged)) {
                *result = 9;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QWebFrame *_t = static_cast<QWebFrame *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< qreal*>(_v) = _t->textSizeMultiplier(); break;
        case 1: *reinterpret_cast< qreal*>(_v) = _t->zoomFactor(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->title(); break;
        case 3: *reinterpret_cast< QUrl*>(_v) = _t->url(); break;
        case 4: *reinterpret_cast< QUrl*>(_v) = _t->requestedUrl(); break;
        case 5: *reinterpret_cast< QUrl*>(_v) = _t->baseUrl(); break;
        case 6: *reinterpret_cast< QIcon*>(_v) = _t->icon(); break;
        case 7: *reinterpret_cast< QSize*>(_v) = _t->contentsSize(); break;
        case 8: *reinterpret_cast< QPoint*>(_v) = _t->scrollPosition(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->hasFocus(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QWebFrame *_t = static_cast<QWebFrame *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTextSizeMultiplier(*reinterpret_cast< qreal*>(_v)); break;
        case 1: _t->setZoomFactor(*reinterpret_cast< qreal*>(_v)); break;
        case 3: _t->setUrl(*reinterpret_cast< QUrl*>(_v)); break;
        case 8: _t->setScrollPosition(*reinterpret_cast< QPoint*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QWebFrame::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QWebFrame.data,
      qt_meta_data_QWebFrame,  qt_static_metacall, nullptr, nullptr}
};


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

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

int QWebFrame::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 -= 10;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 10;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

// SIGNAL 6
void QWebFrame::contentsSizeChanged(const QSize & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

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

// SIGNAL 8
void QWebFrame::loadFinished(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void QWebFrame::pageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
