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

#include "../../../src/kate-15.04.3/addons/search/search_open_files.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'search_open_files.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. 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_SearchOpenFiles_t {
    QByteArrayData data[20];
    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_SearchOpenFiles_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SearchOpenFiles_t qt_meta_stringdata_SearchOpenFiles = {
    {
QT_MOC_LITERAL(0, 0, 15), // "SearchOpenFiles"
QT_MOC_LITERAL(1, 16, 14), // "searchNextFile"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 9), // "startLine"
QT_MOC_LITERAL(4, 42, 10), // "matchFound"
QT_MOC_LITERAL(5, 53, 3), // "url"
QT_MOC_LITERAL(6, 57, 8), // "fileName"
QT_MOC_LITERAL(7, 66, 4), // "line"
QT_MOC_LITERAL(8, 71, 6), // "column"
QT_MOC_LITERAL(9, 78, 11), // "lineContent"
QT_MOC_LITERAL(10, 90, 8), // "matchLen"
QT_MOC_LITERAL(11, 99, 10), // "searchDone"
QT_MOC_LITERAL(12, 110, 9), // "searching"
QT_MOC_LITERAL(13, 120, 4), // "file"
QT_MOC_LITERAL(14, 125, 12), // "cancelSearch"
QT_MOC_LITERAL(15, 138, 14), // "searchOpenFile"
QT_MOC_LITERAL(16, 153, 22), // "KTextEditor::Document*"
QT_MOC_LITERAL(17, 176, 3), // "doc"
QT_MOC_LITERAL(18, 180, 6), // "regExp"
QT_MOC_LITERAL(19, 187, 16) // "doSearchNextFile"

    },
    "SearchOpenFiles\0searchNextFile\0\0"
    "startLine\0matchFound\0url\0fileName\0"
    "line\0column\0lineContent\0matchLen\0"
    "searchDone\0searching\0file\0cancelSearch\0"
    "searchOpenFile\0KTextEditor::Document*\0"
    "doc\0regExp\0doSearchNextFile"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SearchOpenFiles[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x06 /* Public */,
       4,    6,   52,    2, 0x06 /* Public */,
      11,    0,   65,    2, 0x06 /* Public */,
      12,    1,   66,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    0,   69,    2, 0x0a /* Public */,
      15,    3,   70,    2, 0x0a /* Public */,
      19,    1,   77,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Int, QMetaType::Int, QMetaType::QString, QMetaType::Int,    5,    6,    7,    8,    9,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   13,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Int, 0x80000000 | 16, QMetaType::QRegExp, QMetaType::Int,   17,   18,    3,
    QMetaType::Void, QMetaType::Int,    3,

       0        // eod
};

void SearchOpenFiles::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SearchOpenFiles *_t = static_cast<SearchOpenFiles *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->searchNextFile((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->matchFound((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])),(*reinterpret_cast< int(*)>(_a[6]))); break;
        case 2: _t->searchDone(); break;
        case 3: _t->searching((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->cancelSearch(); break;
        case 5: { int _r = _t->searchOpenFile((*reinterpret_cast< KTextEditor::Document*(*)>(_a[1])),(*reinterpret_cast< const QRegExp(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 6: _t->doSearchNextFile((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KTextEditor::Document* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SearchOpenFiles::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchOpenFiles::searchNextFile)) {
                *result = 0;
            }
        }
        {
            typedef void (SearchOpenFiles::*_t)(const QString & , const QString & , int , int , const QString & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchOpenFiles::matchFound)) {
                *result = 1;
            }
        }
        {
            typedef void (SearchOpenFiles::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchOpenFiles::searchDone)) {
                *result = 2;
            }
        }
        {
            typedef void (SearchOpenFiles::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SearchOpenFiles::searching)) {
                *result = 3;
            }
        }
    }
}

const QMetaObject SearchOpenFiles::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_SearchOpenFiles.data,
      qt_meta_data_SearchOpenFiles,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int SearchOpenFiles::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

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

// SIGNAL 1
void SearchOpenFiles::matchFound(const QString & _t1, const QString & _t2, int _t3, int _t4, const QString & _t5, int _t6)
{
    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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void SearchOpenFiles::searching(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
