/****************************************************************************
** Meta object code from reading C++ file 'jobstatus.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/util/jobstatus.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'jobstatus.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_KDevelop__JobStatus_t {
    QByteArrayData data[15];
    char stringdata0[164];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__JobStatus_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__JobStatus_t qt_meta_stringdata_KDevelop__JobStatus = {
    {
QT_MOC_LITERAL(0, 0, 19), // "KDevelop::JobStatus"
QT_MOC_LITERAL(1, 20, 12), // "clearMessage"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 18), // "KDevelop::IStatus*"
QT_MOC_LITERAL(4, 53, 12), // "hideProgress"
QT_MOC_LITERAL(5, 66, 16), // "showErrorMessage"
QT_MOC_LITERAL(6, 83, 7), // "message"
QT_MOC_LITERAL(7, 91, 7), // "timeout"
QT_MOC_LITERAL(8, 99, 11), // "showMessage"
QT_MOC_LITERAL(9, 111, 12), // "showProgress"
QT_MOC_LITERAL(10, 124, 7), // "minimum"
QT_MOC_LITERAL(11, 132, 7), // "maximum"
QT_MOC_LITERAL(12, 140, 5), // "value"
QT_MOC_LITERAL(13, 146, 11), // "slotPercent"
QT_MOC_LITERAL(14, 158, 5) // "KJob*"

    },
    "KDevelop::JobStatus\0clearMessage\0\0"
    "KDevelop::IStatus*\0hideProgress\0"
    "showErrorMessage\0message\0timeout\0"
    "showMessage\0showProgress\0minimum\0"
    "maximum\0value\0slotPercent\0KJob*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__JobStatus[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x06 /* Public */,
       4,    1,   57,    2, 0x06 /* Public */,
       5,    2,   60,    2, 0x06 /* Public */,
       5,    1,   65,    2, 0x26 /* Public | MethodCloned */,
       8,    3,   68,    2, 0x06 /* Public */,
       8,    2,   75,    2, 0x26 /* Public | MethodCloned */,
       9,    4,   80,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    2,   89,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    6,    7,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString, QMetaType::Int,    2,    6,    7,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QString,    2,    6,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int, QMetaType::Int,    2,   10,   11,   12,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 14, QMetaType::ULong,    2,    2,

       0        // eod
};

void KDevelop::JobStatus::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        JobStatus *_t = static_cast<JobStatus *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->clearMessage((*reinterpret_cast< KDevelop::IStatus*(*)>(_a[1]))); break;
        case 1: _t->hideProgress((*reinterpret_cast< KDevelop::IStatus*(*)>(_a[1]))); break;
        case 2: _t->showErrorMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->showErrorMessage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->showMessage((*reinterpret_cast< KDevelop::IStatus*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 5: _t->showMessage((*reinterpret_cast< KDevelop::IStatus*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 6: _t->showProgress((*reinterpret_cast< KDevelop::IStatus*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 7: _t->d->slotPercent((*reinterpret_cast< KJob*(*)>(_a[1])),(*reinterpret_cast< ulong(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (JobStatus::*_t)(KDevelop::IStatus * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JobStatus::clearMessage)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (JobStatus::*_t)(KDevelop::IStatus * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JobStatus::hideProgress)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (JobStatus::*_t)(const QString & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JobStatus::showErrorMessage)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (JobStatus::*_t)(KDevelop::IStatus * , const QString & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JobStatus::showMessage)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (JobStatus::*_t)(KDevelop::IStatus * , int , int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&JobStatus::showProgress)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject KDevelop::JobStatus::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KDevelop__JobStatus.data,
      qt_meta_data_KDevelop__JobStatus,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KDevelop::JobStatus::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KDevelop__JobStatus.stringdata0))
        return static_cast<void*>(const_cast< JobStatus*>(this));
    if (!strcmp(_clname, "IStatus"))
        return static_cast< IStatus*>(const_cast< JobStatus*>(this));
    if (!strcmp(_clname, "org.kdevelop.IStatus"))
        return static_cast< KDevelop::IStatus*>(const_cast< JobStatus*>(this));
    return QObject::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void KDevelop::JobStatus::hideProgress(KDevelop::IStatus * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KDevelop::JobStatus::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, 2, _a);
}

// SIGNAL 4
void KDevelop::JobStatus::showMessage(KDevelop::IStatus * _t1, const QString & _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, 4, _a);
}

// SIGNAL 6
void KDevelop::JobStatus::showProgress(KDevelop::IStatus * _t1, int _t2, int _t3, int _t4)
{
    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)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_END_MOC_NAMESPACE
