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

#include "../../src/ktextwidgets-5.12.0/src/findreplace/kfind.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kfind.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_KFind_t {
    QByteArrayData data[12];
    char stringdata[126];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KFind_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KFind_t qt_meta_stringdata_KFind = {
    {
QT_MOC_LITERAL(0, 0, 5), // "KFind"
QT_MOC_LITERAL(1, 6, 9), // "highlight"
QT_MOC_LITERAL(2, 16, 0), // ""
QT_MOC_LITERAL(3, 17, 4), // "text"
QT_MOC_LITERAL(4, 22, 13), // "matchingIndex"
QT_MOC_LITERAL(5, 36, 13), // "matchedLength"
QT_MOC_LITERAL(6, 50, 2), // "id"
QT_MOC_LITERAL(7, 53, 8), // "findNext"
QT_MOC_LITERAL(8, 62, 14), // "optionsChanged"
QT_MOC_LITERAL(9, 77, 12), // "dialogClosed"
QT_MOC_LITERAL(10, 90, 15), // "_k_slotFindNext"
QT_MOC_LITERAL(11, 106, 19) // "_k_slotDialogClosed"

    },
    "KFind\0highlight\0\0text\0matchingIndex\0"
    "matchedLength\0id\0findNext\0optionsChanged\0"
    "dialogClosed\0_k_slotFindNext\0"
    "_k_slotDialogClosed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KFind[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   49,    2, 0x06 /* Public */,
       1,    3,   56,    2, 0x06 /* Public */,
       7,    0,   63,    2, 0x06 /* Public */,
       8,    0,   64,    2, 0x06 /* Public */,
       9,    0,   65,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    0,   66,    2, 0x08 /* Private */,
      11,    0,   67,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KFind::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KFind *_t = static_cast<KFind *>(_o);
        switch (_id) {
        case 0: _t->highlight((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 1: _t->highlight((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 2: _t->findNext(); break;
        case 3: _t->optionsChanged(); break;
        case 4: _t->dialogClosed(); break;
        case 5: _t->d->_k_slotFindNext(); break;
        case 6: _t->d->_k_slotDialogClosed(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KFind::*_t)(const QString & , int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFind::highlight)) {
                *result = 0;
            }
        }
        {
            typedef void (KFind::*_t)(int , int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFind::highlight)) {
                *result = 1;
            }
        }
        {
            typedef void (KFind::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFind::findNext)) {
                *result = 2;
            }
        }
        {
            typedef void (KFind::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFind::optionsChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (KFind::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFind::dialogClosed)) {
                *result = 4;
            }
        }
    }
}

const QMetaObject KFind::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KFind.data,
      qt_meta_data_KFind,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KFind::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KFind.stringdata))
        return static_cast<void*>(const_cast< KFind*>(this));
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void KFind::highlight(const QString & _t1, int _t2, int _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KFind::highlight(int _t1, int _t2, int _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KFind::findNext()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void KFind::optionsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void KFind::dialogClosed()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
