/****************************************************************************
** Meta object code from reading C++ file 'watchedprocess.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/kdesvn-2.0.0/src/svnfrontend/fronthelpers/watchedprocess.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'watchedprocess.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_WatchedProcess_t {
    QByteArrayData data[19];
    char stringdata0[281];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_WatchedProcess_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_WatchedProcess_t qt_meta_stringdata_WatchedProcess = {
    {
QT_MOC_LITERAL(0, 0, 14), // "WatchedProcess"
QT_MOC_LITERAL(1, 15, 14), // "dataStderrRead"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 15), // "WatchedProcess*"
QT_MOC_LITERAL(4, 47, 14), // "dataStdoutRead"
QT_MOC_LITERAL(5, 62, 5), // "error"
QT_MOC_LITERAL(6, 68, 22), // "QProcess::ProcessError"
QT_MOC_LITERAL(7, 91, 8), // "finished"
QT_MOC_LITERAL(8, 100, 20), // "QProcess::ExitStatus"
QT_MOC_LITERAL(9, 121, 7), // "started"
QT_MOC_LITERAL(10, 129, 12), // "stateChanged"
QT_MOC_LITERAL(11, 142, 22), // "QProcess::ProcessState"
QT_MOC_LITERAL(12, 165, 8), // "newState"
QT_MOC_LITERAL(13, 174, 9), // "slotError"
QT_MOC_LITERAL(14, 184, 12), // "slotFinished"
QT_MOC_LITERAL(15, 197, 26), // "slotReadyReadStandardError"
QT_MOC_LITERAL(16, 224, 27), // "slotReadyReadStandardOutput"
QT_MOC_LITERAL(17, 252, 11), // "slotStarted"
QT_MOC_LITERAL(18, 264, 16) // "slotStateChanged"

    },
    "WatchedProcess\0dataStderrRead\0\0"
    "WatchedProcess*\0dataStdoutRead\0error\0"
    "QProcess::ProcessError\0finished\0"
    "QProcess::ExitStatus\0started\0stateChanged\0"
    "QProcess::ProcessState\0newState\0"
    "slotError\0slotFinished\0"
    "slotReadyReadStandardError\0"
    "slotReadyReadStandardOutput\0slotStarted\0"
    "slotStateChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_WatchedProcess[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   74,    2, 0x06 /* Public */,
       4,    2,   79,    2, 0x06 /* Public */,
       5,    2,   84,    2, 0x06 /* Public */,
       7,    3,   89,    2, 0x06 /* Public */,
       9,    1,   96,    2, 0x06 /* Public */,
      10,    2,   99,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,  104,    2, 0x09 /* Protected */,
      14,    2,  107,    2, 0x09 /* Protected */,
      15,    0,  112,    2, 0x09 /* Protected */,
      16,    0,  113,    2, 0x09 /* Protected */,
      17,    0,  114,    2, 0x09 /* Protected */,
      18,    1,  115,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QByteArray, 0x80000000 | 3,    2,    2,
    QMetaType::Void, QMetaType::QByteArray, 0x80000000 | 3,    2,    2,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 3,    2,    2,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 8, 0x80000000 | 3,    2,    2,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 3,   12,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 8,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,    2,

       0        // eod
};

void WatchedProcess::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WatchedProcess *_t = static_cast<WatchedProcess *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->dataStderrRead((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< WatchedProcess*(*)>(_a[2]))); break;
        case 1: _t->dataStdoutRead((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< WatchedProcess*(*)>(_a[2]))); break;
        case 2: _t->error((*reinterpret_cast< QProcess::ProcessError(*)>(_a[1])),(*reinterpret_cast< WatchedProcess*(*)>(_a[2]))); break;
        case 3: _t->finished((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2])),(*reinterpret_cast< WatchedProcess*(*)>(_a[3]))); break;
        case 4: _t->started((*reinterpret_cast< WatchedProcess*(*)>(_a[1]))); break;
        case 5: _t->stateChanged((*reinterpret_cast< QProcess::ProcessState(*)>(_a[1])),(*reinterpret_cast< WatchedProcess*(*)>(_a[2]))); break;
        case 6: _t->slotError((*reinterpret_cast< QProcess::ProcessError(*)>(_a[1]))); break;
        case 7: _t->slotFinished((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2]))); break;
        case 8: _t->slotReadyReadStandardError(); break;
        case 9: _t->slotReadyReadStandardOutput(); break;
        case 10: _t->slotStarted(); break;
        case 11: _t->slotStateChanged((*reinterpret_cast< QProcess::ProcessState(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< WatchedProcess* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< WatchedProcess* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< WatchedProcess* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< WatchedProcess* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< WatchedProcess* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< WatchedProcess* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (WatchedProcess::*_t)(const QByteArray & , WatchedProcess * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WatchedProcess::dataStderrRead)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (WatchedProcess::*_t)(const QByteArray & , WatchedProcess * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WatchedProcess::dataStdoutRead)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (WatchedProcess::*_t)(QProcess::ProcessError , WatchedProcess * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WatchedProcess::error)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (WatchedProcess::*_t)(int , QProcess::ExitStatus , WatchedProcess * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WatchedProcess::finished)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (WatchedProcess::*_t)(WatchedProcess * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WatchedProcess::started)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (WatchedProcess::*_t)(QProcess::ProcessState , WatchedProcess * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WatchedProcess::stateChanged)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject WatchedProcess::staticMetaObject = {
    { &KProcess::staticMetaObject, qt_meta_stringdata_WatchedProcess.data,
      qt_meta_data_WatchedProcess,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int WatchedProcess::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KProcess::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void WatchedProcess::dataStderrRead(const QByteArray & _t1, WatchedProcess * _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 WatchedProcess::dataStdoutRead(const QByteArray & _t1, WatchedProcess * _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);
}

// SIGNAL 2
void WatchedProcess::error(QProcess::ProcessError _t1, WatchedProcess * _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 3
void WatchedProcess::finished(int _t1, QProcess::ExitStatus _t2, WatchedProcess * _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, 3, _a);
}

// SIGNAL 4
void WatchedProcess::started(WatchedProcess * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void WatchedProcess::stateChanged(QProcess::ProcessState _t1, WatchedProcess * _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, 5, _a);
}
QT_END_MOC_NAMESPACE
