/****************************************************************************
** Meta object code from reading C++ file 'patchreview.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/patchreview/patchreview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'patchreview.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_PatchReviewPlugin_t {
    QByteArrayData data[21];
    char stringdata0[296];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PatchReviewPlugin_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PatchReviewPlugin_t qt_meta_stringdata_PatchReviewPlugin = {
    {
QT_MOC_LITERAL(0, 0, 17), // "PatchReviewPlugin"
QT_MOC_LITERAL(1, 18, 17), // "startingNewReview"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 12), // "patchChanged"
QT_MOC_LITERAL(4, 50, 12), // "updateReview"
QT_MOC_LITERAL(5, 63, 12), // "cancelReview"
QT_MOC_LITERAL(6, 76, 10), // "clearPatch"
QT_MOC_LITERAL(7, 87, 5), // "patch"
QT_MOC_LITERAL(8, 93, 18), // "notifyPatchChanged"
QT_MOC_LITERAL(9, 112, 14), // "highlightPatch"
QT_MOC_LITERAL(10, 127, 18), // "updateKompareModel"
QT_MOC_LITERAL(11, 146, 11), // "forceUpdate"
QT_MOC_LITERAL(12, 158, 11), // "areaChanged"
QT_MOC_LITERAL(13, 170, 14), // "Sublime::Area*"
QT_MOC_LITERAL(14, 185, 4), // "area"
QT_MOC_LITERAL(15, 190, 23), // "executeFileReviewAction"
QT_MOC_LITERAL(16, 214, 14), // "documentClosed"
QT_MOC_LITERAL(17, 229, 20), // "KDevelop::IDocument*"
QT_MOC_LITERAL(18, 250, 19), // "textDocumentCreated"
QT_MOC_LITERAL(19, 270, 13), // "documentSaved"
QT_MOC_LITERAL(20, 284, 11) // "closeReview"

    },
    "PatchReviewPlugin\0startingNewReview\0"
    "\0patchChanged\0updateReview\0cancelReview\0"
    "clearPatch\0patch\0notifyPatchChanged\0"
    "highlightPatch\0updateKompareModel\0"
    "forceUpdate\0areaChanged\0Sublime::Area*\0"
    "area\0executeFileReviewAction\0"
    "documentClosed\0KDevelop::IDocument*\0"
    "textDocumentCreated\0documentSaved\0"
    "closeReview"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PatchReviewPlugin[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    0,   91,    2, 0x0a /* Public */,
       5,    0,   92,    2, 0x0a /* Public */,
       6,    1,   93,    2, 0x0a /* Public */,
       8,    0,   96,    2, 0x0a /* Public */,
       9,    0,   97,    2, 0x0a /* Public */,
      10,    0,   98,    2, 0x0a /* Public */,
      11,    0,   99,    2, 0x0a /* Public */,
      12,    1,  100,    2, 0x0a /* Public */,
      15,    0,  103,    2, 0x0a /* Public */,
      16,    1,  104,    2, 0x08 /* Private */,
      18,    1,  107,    2, 0x08 /* Private */,
      19,    1,  110,    2, 0x08 /* Private */,
      20,    0,  113,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QObjectStar,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void,

       0        // eod
};

void PatchReviewPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PatchReviewPlugin *_t = static_cast<PatchReviewPlugin *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->startingNewReview(); break;
        case 1: _t->patchChanged(); break;
        case 2: _t->updateReview(); break;
        case 3: _t->cancelReview(); break;
        case 4: _t->clearPatch((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 5: _t->notifyPatchChanged(); break;
        case 6: _t->highlightPatch(); break;
        case 7: _t->updateKompareModel(); break;
        case 8: _t->forceUpdate(); break;
        case 9: _t->areaChanged((*reinterpret_cast< Sublime::Area*(*)>(_a[1]))); break;
        case 10: _t->executeFileReviewAction(); break;
        case 11: _t->documentClosed((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 12: _t->textDocumentCreated((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 13: _t->documentSaved((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 14: _t->closeReview(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PatchReviewPlugin::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PatchReviewPlugin::startingNewReview)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PatchReviewPlugin::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PatchReviewPlugin::patchChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject PatchReviewPlugin::staticMetaObject = {
    { &KDevelop::IPlugin::staticMetaObject, qt_meta_stringdata_PatchReviewPlugin.data,
      qt_meta_data_PatchReviewPlugin,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int PatchReviewPlugin::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 < 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 PatchReviewPlugin::startingNewReview()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void PatchReviewPlugin::patchChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
