/****************************************************************************
** Meta object code from reading C++ file 'patchreviewtoolview.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/patchreviewtoolview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'patchreviewtoolview.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_PatchReviewToolView_t {
    QByteArrayData data[33];
    char stringdata0[396];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PatchReviewToolView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PatchReviewToolView_t qt_meta_stringdata_PatchReviewToolView = {
    {
QT_MOC_LITERAL(0, 0, 19), // "PatchReviewToolView"
QT_MOC_LITERAL(1, 20, 12), // "dialogClosed"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 20), // "PatchReviewToolView*"
QT_MOC_LITERAL(4, 55, 12), // "stateChanged"
QT_MOC_LITERAL(5, 68, 17), // "startingNewReview"
QT_MOC_LITERAL(6, 86, 17), // "fileDoubleClicked"
QT_MOC_LITERAL(7, 104, 1), // "i"
QT_MOC_LITERAL(8, 106, 8), // "nextHunk"
QT_MOC_LITERAL(9, 115, 8), // "prevHunk"
QT_MOC_LITERAL(10, 124, 8), // "prevFile"
QT_MOC_LITERAL(11, 133, 8), // "nextFile"
QT_MOC_LITERAL(12, 142, 8), // "seekFile"
QT_MOC_LITERAL(13, 151, 8), // "forwards"
QT_MOC_LITERAL(14, 160, 12), // "patchChanged"
QT_MOC_LITERAL(15, 173, 18), // "slotAppliedChanged"
QT_MOC_LITERAL(16, 192, 8), // "newState"
QT_MOC_LITERAL(17, 201, 12), // "finishReview"
QT_MOC_LITERAL(18, 214, 8), // "runTests"
QT_MOC_LITERAL(19, 223, 9), // "selectAll"
QT_MOC_LITERAL(20, 233, 11), // "deselectAll"
QT_MOC_LITERAL(21, 245, 15), // "fileItemChanged"
QT_MOC_LITERAL(22, 261, 14), // "QStandardItem*"
QT_MOC_LITERAL(23, 276, 4), // "item"
QT_MOC_LITERAL(24, 281, 17), // "documentActivated"
QT_MOC_LITERAL(25, 299, 20), // "KDevelop::IDocument*"
QT_MOC_LITERAL(26, 320, 26), // "customContextMenuRequested"
QT_MOC_LITERAL(27, 347, 1), // "p"
QT_MOC_LITERAL(28, 349, 13), // "testJobResult"
QT_MOC_LITERAL(29, 363, 5), // "KJob*"
QT_MOC_LITERAL(30, 369, 3), // "job"
QT_MOC_LITERAL(31, 373, 14), // "testJobPercent"
QT_MOC_LITERAL(32, 388, 7) // "percent"

    },
    "PatchReviewToolView\0dialogClosed\0\0"
    "PatchReviewToolView*\0stateChanged\0"
    "startingNewReview\0fileDoubleClicked\0"
    "i\0nextHunk\0prevHunk\0prevFile\0nextFile\0"
    "seekFile\0forwards\0patchChanged\0"
    "slotAppliedChanged\0newState\0finishReview\0"
    "runTests\0selectAll\0deselectAll\0"
    "fileItemChanged\0QStandardItem*\0item\0"
    "documentActivated\0KDevelop::IDocument*\0"
    "customContextMenuRequested\0p\0testJobResult\0"
    "KJob*\0job\0testJobPercent\0percent"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PatchReviewToolView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  114,    2, 0x06 /* Public */,
       4,    1,  117,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,  120,    2, 0x08 /* Private */,
       6,    1,  121,    2, 0x08 /* Private */,
       8,    0,  124,    2, 0x08 /* Private */,
       9,    0,  125,    2, 0x08 /* Private */,
      10,    0,  126,    2, 0x08 /* Private */,
      11,    0,  127,    2, 0x08 /* Private */,
      12,    1,  128,    2, 0x08 /* Private */,
      14,    0,  131,    2, 0x08 /* Private */,
      15,    1,  132,    2, 0x08 /* Private */,
      17,    0,  135,    2, 0x08 /* Private */,
      18,    0,  136,    2, 0x08 /* Private */,
      19,    0,  137,    2, 0x08 /* Private */,
      20,    0,  138,    2, 0x08 /* Private */,
      21,    1,  139,    2, 0x08 /* Private */,
      24,    1,  142,    2, 0x0a /* Public */,
      26,    1,  145,    2, 0x0a /* Public */,
      28,    1,  148,    2, 0x0a /* Public */,
      31,    2,  151,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22,   23,
    QMetaType::Void, 0x80000000 | 25,    2,
    QMetaType::Void, QMetaType::QPoint,   27,
    QMetaType::Void, 0x80000000 | 29,   30,
    QMetaType::Void, 0x80000000 | 29, QMetaType::ULong,   30,   32,

       0        // eod
};

void PatchReviewToolView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PatchReviewToolView *_t = static_cast<PatchReviewToolView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->dialogClosed((*reinterpret_cast< PatchReviewToolView*(*)>(_a[1]))); break;
        case 1: _t->stateChanged((*reinterpret_cast< PatchReviewToolView*(*)>(_a[1]))); break;
        case 2: _t->startingNewReview(); break;
        case 3: _t->fileDoubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 4: _t->nextHunk(); break;
        case 5: _t->prevHunk(); break;
        case 6: _t->prevFile(); break;
        case 7: _t->nextFile(); break;
        case 8: _t->seekFile((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->patchChanged(); break;
        case 10: _t->slotAppliedChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->finishReview(); break;
        case 12: _t->runTests(); break;
        case 13: _t->selectAll(); break;
        case 14: _t->deselectAll(); break;
        case 15: _t->fileItemChanged((*reinterpret_cast< QStandardItem*(*)>(_a[1]))); break;
        case 16: _t->documentActivated((*reinterpret_cast< KDevelop::IDocument*(*)>(_a[1]))); break;
        case 17: _t->customContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 18: _t->testJobResult((*reinterpret_cast< KJob*(*)>(_a[1]))); break;
        case 19: _t->testJobPercent((*reinterpret_cast< KJob*(*)>(_a[1])),(*reinterpret_cast< ulong(*)>(_a[2]))); 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< PatchReviewToolView* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PatchReviewToolView* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (PatchReviewToolView::*_t)(PatchReviewToolView * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PatchReviewToolView::dialogClosed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PatchReviewToolView::*_t)(PatchReviewToolView * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PatchReviewToolView::stateChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject PatchReviewToolView::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_PatchReviewToolView.data,
      qt_meta_data_PatchReviewToolView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

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