/****************************************************************************
** Meta object code from reading C++ file 'testview.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/testview/testview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'testview.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_TestView_t {
    QByteArrayData data[22];
    char stringdata0[295];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TestView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TestView_t qt_meta_stringdata_TestView = {
    {
QT_MOC_LITERAL(0, 0, 8), // "TestView"
QT_MOC_LITERAL(1, 9, 16), // "runSelectedTests"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 10), // "showSource"
QT_MOC_LITERAL(4, 38, 12), // "addTestSuite"
QT_MOC_LITERAL(5, 51, 21), // "KDevelop::ITestSuite*"
QT_MOC_LITERAL(6, 73, 5), // "suite"
QT_MOC_LITERAL(7, 79, 15), // "removeTestSuite"
QT_MOC_LITERAL(8, 95, 15), // "updateTestSuite"
QT_MOC_LITERAL(9, 111, 20), // "KDevelop::TestResult"
QT_MOC_LITERAL(10, 132, 6), // "result"
QT_MOC_LITERAL(11, 139, 21), // "notifyTestCaseStarted"
QT_MOC_LITERAL(12, 161, 10), // "test_cases"
QT_MOC_LITERAL(13, 172, 10), // "addProject"
QT_MOC_LITERAL(14, 183, 14), // "QStandardItem*"
QT_MOC_LITERAL(15, 198, 19), // "KDevelop::IProject*"
QT_MOC_LITERAL(16, 218, 7), // "project"
QT_MOC_LITERAL(17, 226, 13), // "removeProject"
QT_MOC_LITERAL(18, 240, 13), // "doubleClicked"
QT_MOC_LITERAL(19, 254, 5), // "index"
QT_MOC_LITERAL(20, 260, 18), // "contextMenuActions"
QT_MOC_LITERAL(21, 279, 15) // "QList<QAction*>"

    },
    "TestView\0runSelectedTests\0\0showSource\0"
    "addTestSuite\0KDevelop::ITestSuite*\0"
    "suite\0removeTestSuite\0updateTestSuite\0"
    "KDevelop::TestResult\0result\0"
    "notifyTestCaseStarted\0test_cases\0"
    "addProject\0QStandardItem*\0KDevelop::IProject*\0"
    "project\0removeProject\0doubleClicked\0"
    "index\0contextMenuActions\0QList<QAction*>"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TestView[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x0a /* Public */,
       3,    0,   65,    2, 0x0a /* Public */,
       4,    1,   66,    2, 0x0a /* Public */,
       7,    1,   69,    2, 0x0a /* Public */,
       8,    2,   72,    2, 0x0a /* Public */,
      11,    2,   77,    2, 0x0a /* Public */,
      13,    1,   82,    2, 0x0a /* Public */,
      17,    1,   85,    2, 0x0a /* Public */,
      18,    1,   88,    2, 0x0a /* Public */,
      20,    0,   91,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 9,    6,   10,
    QMetaType::Void, 0x80000000 | 5, QMetaType::QStringList,    6,   12,
    0x80000000 | 14, 0x80000000 | 15,   16,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::QModelIndex,   19,
    0x80000000 | 21,

       0        // eod
};

void TestView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TestView *_t = static_cast<TestView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->runSelectedTests(); break;
        case 1: _t->showSource(); break;
        case 2: _t->addTestSuite((*reinterpret_cast< KDevelop::ITestSuite*(*)>(_a[1]))); break;
        case 3: _t->removeTestSuite((*reinterpret_cast< KDevelop::ITestSuite*(*)>(_a[1]))); break;
        case 4: _t->updateTestSuite((*reinterpret_cast< KDevelop::ITestSuite*(*)>(_a[1])),(*reinterpret_cast< const KDevelop::TestResult(*)>(_a[2]))); break;
        case 5: _t->notifyTestCaseStarted((*reinterpret_cast< KDevelop::ITestSuite*(*)>(_a[1])),(*reinterpret_cast< const QStringList(*)>(_a[2]))); break;
        case 6: { QStandardItem* _r = _t->addProject((*reinterpret_cast< KDevelop::IProject*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStandardItem**>(_a[0]) = _r; }  break;
        case 7: _t->removeProject((*reinterpret_cast< KDevelop::IProject*(*)>(_a[1]))); break;
        case 8: _t->doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 9: { QList<QAction*> _r = _t->contextMenuActions();
            if (_a[0]) *reinterpret_cast< QList<QAction*>*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObject TestView::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_TestView.data,
      qt_meta_data_TestView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int TestView::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
