/****************************************************************************
** Meta object code from reading C++ file 'kfinddialog.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/kfinddialog.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kfinddialog.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_KFindDialog_t {
    QByteArrayData data[12];
    char stringdata[191];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KFindDialog_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KFindDialog_t qt_meta_stringdata_KFindDialog = {
    {
QT_MOC_LITERAL(0, 0, 11), // "KFindDialog"
QT_MOC_LITERAL(1, 12, 14), // "optionsChanged"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 9), // "okClicked"
QT_MOC_LITERAL(4, 38, 13), // "cancelClicked"
QT_MOC_LITERAL(5, 52, 30), // "_k_slotPlaceholdersAboutToShow"
QT_MOC_LITERAL(6, 83, 9), // "_k_slotOk"
QT_MOC_LITERAL(7, 93, 13), // "_k_slotReject"
QT_MOC_LITERAL(8, 107, 26), // "_k_slotSelectedTextToggled"
QT_MOC_LITERAL(9, 134, 15), // "_k_showPatterns"
QT_MOC_LITERAL(10, 150, 19), // "_k_showPlaceholders"
QT_MOC_LITERAL(11, 170, 20) // "_k_textSearchChanged"

    },
    "KFindDialog\0optionsChanged\0\0okClicked\0"
    "cancelClicked\0_k_slotPlaceholdersAboutToShow\0"
    "_k_slotOk\0_k_slotReject\0"
    "_k_slotSelectedTextToggled\0_k_showPatterns\0"
    "_k_showPlaceholders\0_k_textSearchChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KFindDialog[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    0,   66,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   67,    2, 0x08 /* Private */,
       6,    0,   68,    2, 0x08 /* Private */,
       7,    0,   69,    2, 0x08 /* Private */,
       8,    1,   70,    2, 0x08 /* Private */,
       9,    0,   73,    2, 0x08 /* Private */,
      10,    0,   74,    2, 0x08 /* Private */,
      11,    1,   75,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    2,

       0        // eod
};

void KFindDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KFindDialog *_t = static_cast<KFindDialog *>(_o);
        switch (_id) {
        case 0: _t->optionsChanged(); break;
        case 1: _t->okClicked(); break;
        case 2: _t->cancelClicked(); break;
        case 3: _t->d->_k_slotPlaceholdersAboutToShow(); break;
        case 4: _t->d->_k_slotOk(); break;
        case 5: _t->d->_k_slotReject(); break;
        case 6: _t->d->_k_slotSelectedTextToggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->d->_k_showPatterns(); break;
        case 8: _t->d->_k_showPlaceholders(); break;
        case 9: _t->d->_k_textSearchChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KFindDialog::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFindDialog::optionsChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (KFindDialog::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFindDialog::okClicked)) {
                *result = 1;
            }
        }
        {
            typedef void (KFindDialog::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KFindDialog::cancelClicked)) {
                *result = 2;
            }
        }
    }
}

const QMetaObject KFindDialog::staticMetaObject = {
    { &QDialog::staticMetaObject, qt_meta_stringdata_KFindDialog.data,
      qt_meta_data_KFindDialog,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KFindDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    return _id;
}

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

// SIGNAL 1
void KFindDialog::okClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void KFindDialog::cancelClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
