/****************************************************************************
** Meta object code from reading C++ file 'cvsplugin.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/cvs/cvsplugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'cvsplugin.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_CvsPlugin_t {
    QByteArrayData data[15];
    char stringdata0[136];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CvsPlugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CvsPlugin_t qt_meta_stringdata_CvsPlugin = {
    {
QT_MOC_LITERAL(0, 0, 9), // "CvsPlugin"
QT_MOC_LITERAL(1, 10, 11), // "jobFinished"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 5), // "KJob*"
QT_MOC_LITERAL(4, 29, 3), // "job"
QT_MOC_LITERAL(5, 33, 19), // "addNewTabToMainView"
QT_MOC_LITERAL(6, 53, 8), // "QWidget*"
QT_MOC_LITERAL(7, 62, 3), // "tab"
QT_MOC_LITERAL(8, 66, 5), // "label"
QT_MOC_LITERAL(9, 72, 7), // "ctxEdit"
QT_MOC_LITERAL(10, 80, 9), // "ctxUnEdit"
QT_MOC_LITERAL(11, 90, 10), // "ctxEditors"
QT_MOC_LITERAL(12, 101, 10), // "slotImport"
QT_MOC_LITERAL(13, 112, 12), // "slotCheckout"
QT_MOC_LITERAL(14, 125, 10) // "slotStatus"

    },
    "CvsPlugin\0jobFinished\0\0KJob*\0job\0"
    "addNewTabToMainView\0QWidget*\0tab\0label\0"
    "ctxEdit\0ctxUnEdit\0ctxEditors\0slotImport\0"
    "slotCheckout\0slotStatus"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CvsPlugin[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x06 /* Public */,
       5,    2,   57,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   62,    2, 0x0a /* Public */,
      10,    0,   63,    2, 0x0a /* Public */,
      11,    0,   64,    2, 0x0a /* Public */,
      12,    0,   65,    2, 0x0a /* Public */,
      13,    0,   66,    2, 0x0a /* Public */,
      14,    0,   67,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6, QMetaType::QString,    7,    8,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void CvsPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CvsPlugin *_t = static_cast<CvsPlugin *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->jobFinished((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 1: _t->addNewTabToMainView((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 2: _t->ctxEdit(); break;
        case 3: _t->ctxUnEdit(); break;
        case 4: _t->ctxEditors(); break;
        case 5: _t->slotImport(); break;
        case 6: _t->slotCheckout(); break;
        case 7: _t->slotStatus(); 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 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (CvsPlugin::*_t)(KJob * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CvsPlugin::jobFinished)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (CvsPlugin::*_t)(QWidget * , QString );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CvsPlugin::addNewTabToMainView)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject CvsPlugin::staticMetaObject = {
    { &KDevelop::IPlugin::staticMetaObject, qt_meta_stringdata_CvsPlugin.data,
      qt_meta_data_CvsPlugin,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *CvsPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_CvsPlugin.stringdata0))
        return static_cast<void*>(const_cast< CvsPlugin*>(this));
    if (!strcmp(_clname, "KDevelop::ICentralizedVersionControl"))
        return static_cast< KDevelop::ICentralizedVersionControl*>(const_cast< CvsPlugin*>(this));
    if (!strcmp(_clname, "org.kdevelop.IBasicVersionControl"))
        return static_cast< KDevelop::IBasicVersionControl*>(const_cast< CvsPlugin*>(this));
    if (!strcmp(_clname, "org.kdevelop.ICentralizedVersionControl"))
        return static_cast< KDevelop::ICentralizedVersionControl*>(const_cast< CvsPlugin*>(this));
    return KDevelop::IPlugin::qt_metacast(_clname);
}

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

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

// SIGNAL 1
void CvsPlugin::addNewTabToMainView(QWidget * _t1, 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, 1, _a);
}
QT_END_MOC_NAMESPACE
