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

#include "../../../../../../src/kexi-3.0.1/src/plugins/forms/widgets/webbrowser/WebBrowserWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'WebBrowserWidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.2. 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
struct qt_meta_stringdata_WebBrowserWidget_t {
    QByteArrayData data[19];
    char stringdata0[189];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WebBrowserWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WebBrowserWidget_t qt_meta_stringdata_WebBrowserWidget = {
    {
QT_MOC_LITERAL(0, 0, 16), // "WebBrowserWidget"
QT_MOC_LITERAL(1, 17, 13), // "setDataSource"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 2), // "ds"
QT_MOC_LITERAL(4, 35, 21), // "setDataSourcePluginId"
QT_MOC_LITERAL(5, 57, 6), // "setUrl"
QT_MOC_LITERAL(6, 64, 3), // "url"
QT_MOC_LITERAL(7, 68, 13), // "setZoomFactor"
QT_MOC_LITERAL(8, 82, 6), // "factor"
QT_MOC_LITERAL(9, 89, 12), // "setTextScale"
QT_MOC_LITERAL(10, 102, 5), // "scale"
QT_MOC_LITERAL(11, 108, 8), // "hide_bar"
QT_MOC_LITERAL(12, 117, 10), // "dataSource"
QT_MOC_LITERAL(13, 128, 19), // "dataSourcePartClass"
QT_MOC_LITERAL(14, 148, 10), // "zoomFactor"
QT_MOC_LITERAL(15, 159, 5), // "title"
QT_MOC_LITERAL(16, 165, 4), // "icon"
QT_MOC_LITERAL(17, 170, 8), // "modified"
QT_MOC_LITERAL(18, 179, 9) // "textScale"

    },
    "WebBrowserWidget\0setDataSource\0\0ds\0"
    "setDataSourcePluginId\0setUrl\0url\0"
    "setZoomFactor\0factor\0setTextScale\0"
    "scale\0hide_bar\0dataSource\0dataSourcePartClass\0"
    "zoomFactor\0title\0icon\0modified\0textScale"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WebBrowserWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       8,   60, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // slots: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x0a /* Public */,
       4,    1,   47,    2, 0x0a /* Public */,
       5,    1,   50,    2, 0x0a /* Public */,
       7,    1,   53,    2, 0x0a /* Public */,
       9,    1,   56,    2, 0x0a /* Public */,
      11,    0,   59,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::QReal,    8,
    QMetaType::Void, QMetaType::QReal,   10,
    QMetaType::Void,

 // properties: name, type, flags
      12, QMetaType::QString, 0x00095103,
      13, QMetaType::QString, 0x00095003,
       6, QMetaType::QString, 0x00095103,
      14, QMetaType::QReal, 0x00095103,
      15, QMetaType::QString, 0x00095001,
      16, QMetaType::QIcon, 0x00095001,
      17, QMetaType::Bool, 0x00095001,
      18, QMetaType::QReal, 0x00095103,

       0        // eod
};

void WebBrowserWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WebBrowserWidget *_t = static_cast<WebBrowserWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setDataSource((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->setDataSourcePluginId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->setUrl((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->setZoomFactor((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 4: _t->setTextScale((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 5: _t->hide_bar(); break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        WebBrowserWidget *_t = static_cast<WebBrowserWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->dataSource(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->dataSourcePluginId(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->url(); break;
        case 3: *reinterpret_cast< qreal*>(_v) = _t->zoomFactor(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->title(); break;
        case 5: *reinterpret_cast< QIcon*>(_v) = _t->icon(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->modified(); break;
        case 7: *reinterpret_cast< qreal*>(_v) = _t->textScale(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        WebBrowserWidget *_t = static_cast<WebBrowserWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setDataSource(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setDataSourcePluginId(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setUrl(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setZoomFactor(*reinterpret_cast< qreal*>(_v)); break;
        case 7: _t->setTextScale(*reinterpret_cast< qreal*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject WebBrowserWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_WebBrowserWidget.data,
      qt_meta_data_WebBrowserWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *WebBrowserWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_WebBrowserWidget.stringdata0))
        return static_cast<void*>(const_cast< WebBrowserWidget*>(this));
    if (!strcmp(_clname, "KexiFormDataItemInterface"))
        return static_cast< KexiFormDataItemInterface*>(const_cast< WebBrowserWidget*>(this));
    if (!strcmp(_clname, "KFormDesigner::FormWidgetInterface"))
        return static_cast< KFormDesigner::FormWidgetInterface*>(const_cast< WebBrowserWidget*>(this));
    return QWidget::qt_metacast(_clname);
}

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