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

#include "../../src/khtml-5.39.0/src/ui/findbar/khtmlfind_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'khtmlfind_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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_KHTMLFind_t {
    QByteArrayData data[15];
    char stringdata0[181];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KHTMLFind_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KHTMLFind_t qt_meta_stringdata_KHTMLFind = {
    {
QT_MOC_LITERAL(0, 0, 9), // "KHTMLFind"
QT_MOC_LITERAL(1, 10, 10), // "foundMatch"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 14), // "DOM::Selection"
QT_MOC_LITERAL(4, 37, 9), // "selection"
QT_MOC_LITERAL(5, 47, 6), // "length"
QT_MOC_LITERAL(6, 54, 8), // "activate"
QT_MOC_LITERAL(7, 63, 10), // "deactivate"
QT_MOC_LITERAL(8, 74, 17), // "slotFindDestroyed"
QT_MOC_LITERAL(9, 92, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(10, 113, 13), // "slotHighlight"
QT_MOC_LITERAL(11, 127, 5), // "index"
QT_MOC_LITERAL(12, 133, 17), // "slotSearchChanged"
QT_MOC_LITERAL(13, 151, 12), // "slotFindNext"
QT_MOC_LITERAL(14, 164, 16) // "slotFindPrevious"

    },
    "KHTMLFind\0foundMatch\0\0DOM::Selection\0"
    "selection\0length\0activate\0deactivate\0"
    "slotFindDestroyed\0slotSelectionChanged\0"
    "slotHighlight\0index\0slotSearchChanged\0"
    "slotFindNext\0slotFindPrevious"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KHTMLFind[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   59,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   64,    2, 0x0a /* Public */,
       7,    0,   65,    2, 0x0a /* Public */,
       8,    0,   66,    2, 0x08 /* Private */,
       9,    0,   67,    2, 0x08 /* Private */,
      10,    3,   68,    2, 0x08 /* Private */,
      12,    0,   75,    2, 0x08 /* Private */,
      13,    0,   76,    2, 0x08 /* Private */,
      14,    0,   77,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Int,    2,   11,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KHTMLFind::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KHTMLFind *_t = static_cast<KHTMLFind *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->foundMatch((*reinterpret_cast< const DOM::Selection(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->activate(); break;
        case 2: _t->deactivate(); break;
        case 3: _t->slotFindDestroyed(); break;
        case 4: _t->slotSelectionChanged(); break;
        case 5: _t->slotHighlight((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 6: _t->slotSearchChanged(); break;
        case 7: _t->slotFindNext(); break;
        case 8: _t->slotFindPrevious(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KHTMLFind::*_t)(const DOM::Selection & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KHTMLFind::foundMatch)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KHTMLFind::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KHTMLFind.data,
      qt_meta_data_KHTMLFind,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KHTMLFind::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 KHTMLFind::foundMatch(const DOM::Selection & _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
