/****************************************************************************
** Meta object code from reading C++ file 'gitplugin.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/git/gitplugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'gitplugin.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_StandardJob_t {
    QByteArrayData data[4];
    char stringdata0[26];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_StandardJob_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_StandardJob_t qt_meta_stringdata_StandardJob = {
    {
QT_MOC_LITERAL(0, 0, 11), // "StandardJob"
QT_MOC_LITERAL(1, 12, 6), // "result"
QT_MOC_LITERAL(2, 19, 0), // ""
QT_MOC_LITERAL(3, 20, 5) // "KJob*"

    },
    "StandardJob\0result\0\0KJob*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_StandardJob[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    2,

       0        // eod
};

void StandardJob::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        StandardJob *_t = static_cast<StandardJob *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->result((*reinterpret_cast< KJob*(*)>(_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 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KJob* >(); break;
            }
            break;
        }
    }
}

const QMetaObject StandardJob::staticMetaObject = {
    { &KDevelop::VcsJob::staticMetaObject, qt_meta_stringdata_StandardJob.data,
      qt_meta_data_StandardJob,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *StandardJob::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_StandardJob.stringdata0))
        return static_cast<void*>(const_cast< StandardJob*>(this));
    return KDevelop::VcsJob::qt_metacast(_clname);
}

int StandardJob::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KDevelop::VcsJob::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_GitPlugin_t {
    QByteArrayData data[21];
    char stringdata0[343];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GitPlugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GitPlugin_t qt_meta_stringdata_GitPlugin = {
    {
QT_MOC_LITERAL(0, 0, 9), // "GitPlugin"
QT_MOC_LITERAL(1, 10, 23), // "repositoryBranchChanged"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 10), // "repository"
QT_MOC_LITERAL(4, 46, 19), // "parseGitBlameOutput"
QT_MOC_LITERAL(5, 66, 18), // "KDevelop::DVcsJob*"
QT_MOC_LITERAL(6, 85, 3), // "job"
QT_MOC_LITERAL(7, 89, 17), // "parseGitLogOutput"
QT_MOC_LITERAL(8, 107, 18), // "parseGitDiffOutput"
QT_MOC_LITERAL(9, 126, 26), // "parseGitRepoLocationOutput"
QT_MOC_LITERAL(10, 153, 20), // "parseGitStatusOutput"
QT_MOC_LITERAL(11, 174, 24), // "parseGitStatusOutput_old"
QT_MOC_LITERAL(12, 199, 21), // "parseGitVersionOutput"
QT_MOC_LITERAL(13, 221, 20), // "parseGitBranchOutput"
QT_MOC_LITERAL(14, 242, 21), // "parseGitCurrentBranch"
QT_MOC_LITERAL(15, 264, 12), // "ctxPushStash"
QT_MOC_LITERAL(16, 277, 11), // "ctxPopStash"
QT_MOC_LITERAL(17, 289, 15), // "ctxStashManager"
QT_MOC_LITERAL(18, 305, 11), // "fileChanged"
QT_MOC_LITERAL(19, 317, 4), // "file"
QT_MOC_LITERAL(20, 322, 20) // "delayedBranchChanged"

    },
    "GitPlugin\0repositoryBranchChanged\0\0"
    "repository\0parseGitBlameOutput\0"
    "KDevelop::DVcsJob*\0job\0parseGitLogOutput\0"
    "parseGitDiffOutput\0parseGitRepoLocationOutput\0"
    "parseGitStatusOutput\0parseGitStatusOutput_old\0"
    "parseGitVersionOutput\0parseGitBranchOutput\0"
    "parseGitCurrentBranch\0ctxPushStash\0"
    "ctxPopStash\0ctxStashManager\0fileChanged\0"
    "file\0delayedBranchChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GitPlugin[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   92,    2, 0x08 /* Private */,
       7,    1,   95,    2, 0x08 /* Private */,
       8,    1,   98,    2, 0x08 /* Private */,
       9,    1,  101,    2, 0x08 /* Private */,
      10,    1,  104,    2, 0x08 /* Private */,
      11,    1,  107,    2, 0x08 /* Private */,
      12,    1,  110,    2, 0x08 /* Private */,
      13,    1,  113,    2, 0x08 /* Private */,
      14,    1,  116,    2, 0x08 /* Private */,
      15,    0,  119,    2, 0x08 /* Private */,
      16,    0,  120,    2, 0x08 /* Private */,
      17,    0,  121,    2, 0x08 /* Private */,
      18,    1,  122,    2, 0x08 /* Private */,
      20,    0,  125,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QUrl,    3,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   19,
    QMetaType::Void,

       0        // eod
};

void GitPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GitPlugin *_t = static_cast<GitPlugin *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->repositoryBranchChanged((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 1: _t->parseGitBlameOutput((*reinterpret_cast< KDevelop::DVcsJob*(*)>(_a[1]))); break;
        case 2: _t->parseGitLogOutput((*reinterpret_cast< KDevelop::DVcsJob*(*)>(_a[1]))); break;
        case 3: _t->parseGitDiffOutput((*reinterpret_cast< KDevelop::DVcsJob*(*)>(_a[1]))); break;
        case 4: _t->parseGitRepoLocationOutput((*reinterpret_cast< KDevelop::DVcsJob*(*)>(_a[1]))); break;
        case 5: _t->parseGitStatusOutput((*reinterpret_cast< KDevelop::DVcsJob*(*)>(_a[1]))); break;
        case 6: _t->parseGitStatusOutput_old((*reinterpret_cast< KDevelop::DVcsJob*(*)>(_a[1]))); break;
        case 7: _t->parseGitVersionOutput((*reinterpret_cast< KDevelop::DVcsJob*(*)>(_a[1]))); break;
        case 8: _t->parseGitBranchOutput((*reinterpret_cast< KDevelop::DVcsJob*(*)>(_a[1]))); break;
        case 9: _t->parseGitCurrentBranch((*reinterpret_cast< KDevelop::DVcsJob*(*)>(_a[1]))); break;
        case 10: _t->ctxPushStash(); break;
        case 11: _t->ctxPopStash(); break;
        case 12: _t->ctxStashManager(); break;
        case 13: _t->fileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->delayedBranchChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (GitPlugin::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GitPlugin::repositoryBranchChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject GitPlugin::staticMetaObject = {
    { &KDevelop::DistributedVersionControlPlugin::staticMetaObject, qt_meta_stringdata_GitPlugin.data,
      qt_meta_data_GitPlugin,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *GitPlugin::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_GitPlugin.stringdata0))
        return static_cast<void*>(const_cast< GitPlugin*>(this));
    if (!strcmp(_clname, "KDevelop::IContentAwareVersionControl"))
        return static_cast< KDevelop::IContentAwareVersionControl*>(const_cast< GitPlugin*>(this));
    if (!strcmp(_clname, "org.kdevelop.IBasicVersionControl"))
        return static_cast< KDevelop::IBasicVersionControl*>(const_cast< GitPlugin*>(this));
    if (!strcmp(_clname, "org.kdevelop.IDistributedVersionControl"))
        return static_cast< KDevelop::IDistributedVersionControl*>(const_cast< GitPlugin*>(this));
    if (!strcmp(_clname, "org.kdevelop.IContentAwareVersionControl"))
        return static_cast< KDevelop::IContentAwareVersionControl*>(const_cast< GitPlugin*>(this));
    return KDevelop::DistributedVersionControlPlugin::qt_metacast(_clname);
}

int GitPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KDevelop::DistributedVersionControlPlugin::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
    return _id;
}

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