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

#include "../../../src/kdevplatform-5.0.3/plugins/grepview/grepoutputmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'grepoutputmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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_GrepOutputModel_t {
    QByteArrayData data[20];
    char stringdata0[243];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GrepOutputModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GrepOutputModel_t qt_meta_stringdata_GrepOutputModel = {
    {
QT_MOC_LITERAL(0, 0, 15), // "GrepOutputModel"
QT_MOC_LITERAL(1, 16, 11), // "showMessage"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 18), // "KDevelop::IStatus*"
QT_MOC_LITERAL(4, 48, 7), // "message"
QT_MOC_LITERAL(5, 56, 16), // "showErrorMessage"
QT_MOC_LITERAL(6, 73, 7), // "timeout"
QT_MOC_LITERAL(7, 81, 13), // "appendOutputs"
QT_MOC_LITERAL(8, 95, 8), // "filename"
QT_MOC_LITERAL(9, 104, 20), // "GrepOutputItem::List"
QT_MOC_LITERAL(10, 125, 5), // "lines"
QT_MOC_LITERAL(11, 131, 8), // "activate"
QT_MOC_LITERAL(12, 140, 3), // "idx"
QT_MOC_LITERAL(13, 144, 14), // "doReplacements"
QT_MOC_LITERAL(14, 159, 14), // "setReplacement"
QT_MOC_LITERAL(15, 174, 4), // "repl"
QT_MOC_LITERAL(16, 179, 15), // "showMessageSlot"
QT_MOC_LITERAL(17, 195, 15), // "showMessageEmit"
QT_MOC_LITERAL(18, 211, 16), // "updateCheckState"
QT_MOC_LITERAL(19, 228, 14) // "QStandardItem*"

    },
    "GrepOutputModel\0showMessage\0\0"
    "KDevelop::IStatus*\0message\0showErrorMessage\0"
    "timeout\0appendOutputs\0filename\0"
    "GrepOutputItem::List\0lines\0activate\0"
    "idx\0doReplacements\0setReplacement\0"
    "repl\0showMessageSlot\0showMessageEmit\0"
    "updateCheckState\0QStandardItem*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GrepOutputModel[] = {

 // 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,    2,   64,    2, 0x06 /* Public */,
       5,    2,   69,    2, 0x06 /* Public */,
       5,    1,   74,    2, 0x26 /* Public | MethodCloned */,

 // slots: name, argc, parameters, tag, flags
       7,    2,   77,    2, 0x0a /* Public */,
      11,    1,   82,    2, 0x0a /* Public */,
      13,    0,   85,    2, 0x0a /* Public */,
      14,    1,   86,    2, 0x0a /* Public */,
      16,    2,   89,    2, 0x0a /* Public */,
      17,    0,   94,    2, 0x0a /* Public */,
      18,    1,   95,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    2,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    4,    6,
    QMetaType::Void, QMetaType::QString,    4,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 9,    8,   10,
    QMetaType::Void, QMetaType::QModelIndex,   12,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   15,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    2,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19,    2,

       0        // eod
};

void GrepOutputModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GrepOutputModel *_t = static_cast<GrepOutputModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->showMessage((*reinterpret_cast< KDevelop::IStatus*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 1: _t->showErrorMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->showErrorMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->appendOutputs((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const GrepOutputItem::List(*)>(_a[2]))); break;
        case 4: _t->activate((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 5: _t->doReplacements(); break;
        case 6: _t->setReplacement((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->showMessageSlot((*reinterpret_cast< KDevelop::IStatus*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 8: _t->showMessageEmit(); break;
        case 9: _t->updateCheckState((*reinterpret_cast< QStandardItem*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< GrepOutputItem::List >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (GrepOutputModel::*_t)(KDevelop::IStatus * , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GrepOutputModel::showMessage)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (GrepOutputModel::*_t)(const QString & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GrepOutputModel::showErrorMessage)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject GrepOutputModel::staticMetaObject = {
    { &QStandardItemModel::staticMetaObject, qt_meta_stringdata_GrepOutputModel.data,
      qt_meta_data_GrepOutputModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int GrepOutputModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QStandardItemModel::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void GrepOutputModel::showMessage(KDevelop::IStatus * _t1, const QString & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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