/****************************************************************************
** Meta object code from reading C++ file 'problemmodel.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/shell/problemmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'problemmodel.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_KDevelop__ProblemModel_t {
    QByteArrayData data[20];
    char stringdata0[263];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__ProblemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__ProblemModel_t qt_meta_stringdata_KDevelop__ProblemModel = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KDevelop::ProblemModel"
QT_MOC_LITERAL(1, 23, 14), // "setShowImports"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 8), // "setScope"
QT_MOC_LITERAL(4, 48, 5), // "scope"
QT_MOC_LITERAL(5, 54, 11), // "setSeverity"
QT_MOC_LITERAL(6, 66, 8), // "severity"
QT_MOC_LITERAL(7, 75, 13), // "setSeverities"
QT_MOC_LITERAL(8, 89, 30), // "KDevelop::IProblem::Severities"
QT_MOC_LITERAL(9, 120, 10), // "severities"
QT_MOC_LITERAL(10, 131, 11), // "setGrouping"
QT_MOC_LITERAL(11, 143, 8), // "grouping"
QT_MOC_LITERAL(12, 152, 15), // "forceFullUpdate"
QT_MOC_LITERAL(13, 168, 17), // "onProblemsChanged"
QT_MOC_LITERAL(14, 186, 18), // "setCurrentDocument"
QT_MOC_LITERAL(15, 205, 10), // "IDocument*"
QT_MOC_LITERAL(16, 216, 3), // "doc"
QT_MOC_LITERAL(17, 220, 14), // "closedDocument"
QT_MOC_LITERAL(18, 235, 14), // "onBeginRebuild"
QT_MOC_LITERAL(19, 250, 12) // "onEndRebuild"

    },
    "KDevelop::ProblemModel\0setShowImports\0"
    "\0setScope\0scope\0setSeverity\0severity\0"
    "setSeverities\0KDevelop::IProblem::Severities\0"
    "severities\0setGrouping\0grouping\0"
    "forceFullUpdate\0onProblemsChanged\0"
    "setCurrentDocument\0IDocument*\0doc\0"
    "closedDocument\0onBeginRebuild\0"
    "onEndRebuild"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__ProblemModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x0a /* Public */,
       3,    1,   72,    2, 0x0a /* Public */,
       5,    1,   75,    2, 0x0a /* Public */,
       7,    1,   78,    2, 0x0a /* Public */,
      10,    1,   81,    2, 0x0a /* Public */,
      12,    0,   84,    2, 0x0a /* Public */,
      13,    0,   85,    2, 0x09 /* Protected */,
      14,    1,   86,    2, 0x08 /* Private */,
      17,    1,   89,    2, 0x08 /* Private */,
      18,    0,   92,    2, 0x08 /* Private */,
      19,    0,   93,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KDevelop::ProblemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ProblemModel *_t = static_cast<ProblemModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setShowImports((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->setScope((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->setSeverity((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setSeverities((*reinterpret_cast< KDevelop::IProblem::Severities(*)>(_a[1]))); break;
        case 4: _t->setGrouping((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->forceFullUpdate(); break;
        case 6: _t->onProblemsChanged(); break;
        case 7: _t->setCurrentDocument((*reinterpret_cast< IDocument*(*)>(_a[1]))); break;
        case 8: _t->closedDocument((*reinterpret_cast< IDocument*(*)>(_a[1]))); break;
        case 9: _t->onBeginRebuild(); break;
        case 10: _t->onEndRebuild(); break;
        default: ;
        }
    }
}

const QMetaObject KDevelop::ProblemModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_KDevelop__ProblemModel.data,
      qt_meta_data_KDevelop__ProblemModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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