/****************************************************************************
** Meta object code from reading C++ file 'vcsdiffpatchsources.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/vcs/widgets/vcsdiffpatchsources.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'vcsdiffpatchsources.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_VCSDiffPatchSource_t {
    QByteArrayData data[1];
    char stringdata0[19];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_VCSDiffPatchSource_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_VCSDiffPatchSource_t qt_meta_stringdata_VCSDiffPatchSource = {
    {
QT_MOC_LITERAL(0, 0, 18) // "VCSDiffPatchSource"

    },
    "VCSDiffPatchSource"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_VCSDiffPatchSource[] = {

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

       0        // eod
};

void VCSDiffPatchSource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject VCSDiffPatchSource::staticMetaObject = {
    { &KDevelop::IPatchSource::staticMetaObject, qt_meta_stringdata_VCSDiffPatchSource.data,
      qt_meta_data_VCSDiffPatchSource,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int VCSDiffPatchSource::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KDevelop::IPatchSource::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_VCSCommitDiffPatchSource_t {
    QByteArrayData data[11];
    char stringdata0[143];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_VCSCommitDiffPatchSource_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_VCSCommitDiffPatchSource_t qt_meta_stringdata_VCSCommitDiffPatchSource = {
    {
QT_MOC_LITERAL(0, 0, 24), // "VCSCommitDiffPatchSource"
QT_MOC_LITERAL(1, 25, 14), // "reviewFinished"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 7), // "message"
QT_MOC_LITERAL(4, 49, 11), // "QList<QUrl>"
QT_MOC_LITERAL(5, 61, 9), // "selection"
QT_MOC_LITERAL(6, 71, 15), // "reviewCancelled"
QT_MOC_LITERAL(7, 87, 19), // "addMessageToHistory"
QT_MOC_LITERAL(8, 107, 17), // "oldMessageChanged"
QT_MOC_LITERAL(9, 125, 11), // "jobFinished"
QT_MOC_LITERAL(10, 137, 5) // "KJob*"

    },
    "VCSCommitDiffPatchSource\0reviewFinished\0"
    "\0message\0QList<QUrl>\0selection\0"
    "reviewCancelled\0addMessageToHistory\0"
    "oldMessageChanged\0jobFinished\0KJob*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_VCSCommitDiffPatchSource[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   39,    2, 0x06 /* Public */,
       6,    1,   44,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   47,    2, 0x0a /* Public */,
       8,    1,   50,    2, 0x0a /* Public */,
       9,    1,   53,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 4,    3,    5,
    QMetaType::Void, QMetaType::QString,    3,

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

       0        // eod
};

void VCSCommitDiffPatchSource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        VCSCommitDiffPatchSource *_t = static_cast<VCSCommitDiffPatchSource *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->reviewFinished((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QList<QUrl>(*)>(_a[2]))); break;
        case 1: _t->reviewCancelled((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 2: _t->addMessageToHistory((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->oldMessageChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 4: _t->jobFinished((*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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QUrl> >(); 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< KJob* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (VCSCommitDiffPatchSource::*_t)(QString , QList<QUrl> );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&VCSCommitDiffPatchSource::reviewFinished)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (VCSCommitDiffPatchSource::*_t)(QString );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&VCSCommitDiffPatchSource::reviewCancelled)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject VCSCommitDiffPatchSource::staticMetaObject = {
    { &VCSDiffPatchSource::staticMetaObject, qt_meta_stringdata_VCSCommitDiffPatchSource.data,
      qt_meta_data_VCSCommitDiffPatchSource,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void VCSCommitDiffPatchSource::reviewFinished(QString _t1, QList<QUrl> _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 VCSCommitDiffPatchSource::reviewCancelled(QString _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
