/****************************************************************************
** Meta object code from reading C++ file 'qwebkittest_p.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/WebKit2/UIProcess/API/qt/qwebkittest_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qwebkittest_p.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_QWebKitTest_t {
    QByteArrayData data[21];
    char stringdata0[249];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QWebKitTest_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QWebKitTest_t qt_meta_stringdata_QWebKitTest = {
    {
QT_MOC_LITERAL(0, 0, 11), // "QWebKitTest"
QT_MOC_LITERAL(1, 12, 19), // "contentsSizeChanged"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 20), // "contentsScaleChanged"
QT_MOC_LITERAL(4, 54, 22), // "contentsScaleCommitted"
QT_MOC_LITERAL(5, 77, 23), // "devicePixelRatioChanged"
QT_MOC_LITERAL(6, 101, 15), // "viewportChanged"
QT_MOC_LITERAL(7, 117, 8), // "touchTap"
QT_MOC_LITERAL(8, 126, 4), // "item"
QT_MOC_LITERAL(9, 131, 1), // "x"
QT_MOC_LITERAL(10, 133, 1), // "y"
QT_MOC_LITERAL(11, 135, 5), // "delay"
QT_MOC_LITERAL(12, 141, 14), // "touchDoubleTap"
QT_MOC_LITERAL(13, 156, 10), // "wheelEvent"
QT_MOC_LITERAL(14, 167, 5), // "delta"
QT_MOC_LITERAL(15, 173, 15), // "Qt::Orientation"
QT_MOC_LITERAL(16, 189, 6), // "orient"
QT_MOC_LITERAL(17, 196, 12), // "contentsSize"
QT_MOC_LITERAL(18, 209, 13), // "contentsScale"
QT_MOC_LITERAL(19, 223, 16), // "devicePixelRatio"
QT_MOC_LITERAL(20, 240, 8) // "viewport"

    },
    "QWebKitTest\0contentsSizeChanged\0\0"
    "contentsScaleChanged\0contentsScaleCommitted\0"
    "devicePixelRatioChanged\0viewportChanged\0"
    "touchTap\0item\0x\0y\0delay\0touchDoubleTap\0"
    "wheelEvent\0delta\0Qt::Orientation\0"
    "orient\0contentsSize\0contentsScale\0"
    "devicePixelRatio\0viewport"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QWebKitTest[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       4,  126, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    0,   71,    2, 0x06 /* Public */,
       5,    0,   72,    2, 0x06 /* Public */,
       6,    0,   73,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    4,   74,    2, 0x0a /* Public */,
       7,    3,   83,    2, 0x2a /* Public | MethodCloned */,
      12,    4,   90,    2, 0x0a /* Public */,
      12,    3,   99,    2, 0x2a /* Public | MethodCloned */,
      13,    5,  106,    2, 0x0a /* Public */,
      13,    4,  117,    2, 0x2a /* Public | MethodCloned */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Bool, QMetaType::QObjectStar, QMetaType::QReal, QMetaType::QReal, QMetaType::Int,    8,    9,   10,   11,
    QMetaType::Bool, QMetaType::QObjectStar, QMetaType::QReal, QMetaType::QReal,    8,    9,   10,
    QMetaType::Bool, QMetaType::QObjectStar, QMetaType::QReal, QMetaType::QReal, QMetaType::Int,    8,    9,   10,   11,
    QMetaType::Bool, QMetaType::QObjectStar, QMetaType::QReal, QMetaType::QReal,    8,    9,   10,
    QMetaType::Bool, QMetaType::QObjectStar, QMetaType::QReal, QMetaType::QReal, QMetaType::Int, 0x80000000 | 15,    8,    9,   10,   14,   16,
    QMetaType::Bool, QMetaType::QObjectStar, QMetaType::QReal, QMetaType::QReal, QMetaType::Int,    8,    9,   10,   14,

 // properties: name, type, flags
      17, QMetaType::QSize, 0x00495001,
      18, QMetaType::QVariant, 0x00495001,
      19, QMetaType::QVariant, 0x00495001,
      20, QMetaType::QJsonObject, 0x00495001,

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

       0        // eod
};

void QWebKitTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QWebKitTest *_t = static_cast<QWebKitTest *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->contentsSizeChanged(); break;
        case 1: _t->contentsScaleChanged(); break;
        case 2: _t->contentsScaleCommitted(); break;
        case 3: _t->devicePixelRatioChanged(); break;
        case 4: _t->viewportChanged(); break;
        case 5: { bool _r = _t->touchTap((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 6: { bool _r = _t->touchTap((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 7: { bool _r = _t->touchDoubleTap((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: { bool _r = _t->touchDoubleTap((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 9: { bool _r = _t->wheelEvent((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< Qt::Orientation(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 10: { bool _r = _t->wheelEvent((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QWebKitTest::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebKitTest::contentsSizeChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QWebKitTest::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebKitTest::contentsScaleChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QWebKitTest::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebKitTest::contentsScaleCommitted)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QWebKitTest::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebKitTest::devicePixelRatioChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QWebKitTest::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QWebKitTest::viewportChanged)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QWebKitTest *_t = static_cast<QWebKitTest *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QSize*>(_v) = _t->contentsSize(); break;
        case 1: *reinterpret_cast< QVariant*>(_v) = _t->contentsScale(); break;
        case 2: *reinterpret_cast< QVariant*>(_v) = _t->devicePixelRatio(); break;
        case 3: *reinterpret_cast< QJsonObject*>(_v) = _t->viewport(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QWebKitTest::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QWebKitTest.data,
      qt_meta_data_QWebKitTest,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

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

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

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