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

#include <memory>
#include "../../../../bibletime-2.11.2/src/frontend/display/bthtmljsobject.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'bthtmljsobject.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_BtHtmlJsObject_t {
    QByteArrayData data[23];
    char stringdata0[204];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BtHtmlJsObject_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BtHtmlJsObject_t qt_meta_stringdata_BtHtmlJsObject = {
    {
QT_MOC_LITERAL(0, 0, 14), // "BtHtmlJsObject"
QT_MOC_LITERAL(1, 15, 10), // "startTimer"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 4), // "time"
QT_MOC_LITERAL(4, 32, 18), // "mouseMoveAttribute"
QT_MOC_LITERAL(5, 51, 8), // "attrName"
QT_MOC_LITERAL(6, 60, 9), // "attrValue"
QT_MOC_LITERAL(7, 70, 10), // "gotoAnchor"
QT_MOC_LITERAL(8, 81, 6), // "anchor"
QT_MOC_LITERAL(9, 88, 9), // "selectAll"
QT_MOC_LITERAL(10, 98, 14), // "mouseMoveEvent"
QT_MOC_LITERAL(11, 113, 10), // "attributes"
QT_MOC_LITERAL(12, 124, 1), // "x"
QT_MOC_LITERAL(13, 126, 1), // "y"
QT_MOC_LITERAL(14, 128, 8), // "shiftKey"
QT_MOC_LITERAL(15, 137, 10), // "mouseClick"
QT_MOC_LITERAL(16, 148, 3), // "url"
QT_MOC_LITERAL(17, 152, 13), // "mouseDownLeft"
QT_MOC_LITERAL(18, 166, 1), // "X"
QT_MOC_LITERAL(19, 168, 1), // "Y"
QT_MOC_LITERAL(20, 170, 14), // "mouseDownRight"
QT_MOC_LITERAL(21, 185, 5), // "lemma"
QT_MOC_LITERAL(22, 191, 12) // "timeOutEvent"

    },
    "BtHtmlJsObject\0startTimer\0\0time\0"
    "mouseMoveAttribute\0attrName\0attrValue\0"
    "gotoAnchor\0anchor\0selectAll\0mouseMoveEvent\0"
    "attributes\0x\0y\0shiftKey\0mouseClick\0"
    "url\0mouseDownLeft\0X\0Y\0mouseDownRight\0"
    "lemma\0timeOutEvent"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BtHtmlJsObject[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       4,    2,   62,    2, 0x06 /* Public */,
       7,    1,   67,    2, 0x06 /* Public */,
       9,    0,   70,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    4,   71,    2, 0x0a /* Public */,
      15,    1,   80,    2, 0x0a /* Public */,
      17,    3,   83,    2, 0x0a /* Public */,
      20,    2,   90,    2, 0x0a /* Public */,
      22,    1,   95,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Int, QMetaType::Bool,   11,   12,   13,   14,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Int,   16,   18,   19,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   16,   21,
    QMetaType::Void, QMetaType::QString,   11,

       0        // eod
};

void BtHtmlJsObject::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<BtHtmlJsObject *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->startTimer((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->mouseMoveAttribute((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 2: _t->gotoAnchor((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->selectAll(); break;
        case 4: _t->mouseMoveEvent((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const int(*)>(_a[3])),(*reinterpret_cast< const bool(*)>(_a[4]))); break;
        case 5: _t->mouseClick((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->mouseDownLeft((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const int(*)>(_a[2])),(*reinterpret_cast< const int(*)>(_a[3]))); break;
        case 7: _t->mouseDownRight((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 8: _t->timeOutEvent((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (BtHtmlJsObject::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BtHtmlJsObject::startTimer)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (BtHtmlJsObject::*)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BtHtmlJsObject::mouseMoveAttribute)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (BtHtmlJsObject::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BtHtmlJsObject::gotoAnchor)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (BtHtmlJsObject::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BtHtmlJsObject::selectAll)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject BtHtmlJsObject::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_BtHtmlJsObject.data,
    qt_meta_data_BtHtmlJsObject,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int BtHtmlJsObject::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void BtHtmlJsObject::startTimer(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void BtHtmlJsObject::mouseMoveAttribute(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void BtHtmlJsObject::selectAll()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
