/****************************************************************************
** Meta object code from reading C++ file 'documentationview.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/documentation/documentationview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'documentationview.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_DocumentationView_t {
    QByteArrayData data[13];
    char stringdata0[159];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DocumentationView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DocumentationView_t qt_meta_stringdata_DocumentationView = {
    {
QT_MOC_LITERAL(0, 0, 17), // "DocumentationView"
QT_MOC_LITERAL(1, 18, 10), // "initialize"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 10), // "addHistory"
QT_MOC_LITERAL(4, 41, 29), // "KDevelop::IDocumentation::Ptr"
QT_MOC_LITERAL(5, 71, 3), // "doc"
QT_MOC_LITERAL(6, 75, 12), // "emptyHistory"
QT_MOC_LITERAL(7, 88, 13), // "browseForward"
QT_MOC_LITERAL(8, 102, 10), // "browseBack"
QT_MOC_LITERAL(9, 113, 16), // "changedSelection"
QT_MOC_LITERAL(10, 130, 3), // "idx"
QT_MOC_LITERAL(11, 134, 15), // "changedProvider"
QT_MOC_LITERAL(12, 150, 8) // "showHome"

    },
    "DocumentationView\0initialize\0\0addHistory\0"
    "KDevelop::IDocumentation::Ptr\0doc\0"
    "emptyHistory\0browseForward\0browseBack\0"
    "changedSelection\0idx\0changedProvider\0"
    "showHome"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DocumentationView[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x0a /* Public */,
       3,    1,   55,    2, 0x0a /* Public */,
       6,    0,   58,    2, 0x0a /* Public */,
       7,    0,   59,    2, 0x0a /* Public */,
       8,    0,   60,    2, 0x0a /* Public */,
       9,    1,   61,    2, 0x0a /* Public */,
      11,    1,   64,    2, 0x0a /* Public */,
      12,    0,   67,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex,   10,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,

       0        // eod
};

void DocumentationView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        DocumentationView *_t = static_cast<DocumentationView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->initialize(); break;
        case 1: _t->addHistory((*reinterpret_cast< const KDevelop::IDocumentation::Ptr(*)>(_a[1]))); break;
        case 2: _t->emptyHistory(); break;
        case 3: _t->browseForward(); break;
        case 4: _t->browseBack(); break;
        case 5: _t->changedSelection((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 6: _t->changedProvider((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->showHome(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< KDevelop::IDocumentation::Ptr >(); break;
            }
            break;
        }
    }
}

const QMetaObject DocumentationView::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_DocumentationView.data,
      qt_meta_data_DocumentationView,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int DocumentationView::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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}
struct qt_meta_stringdata_ProvidersModel_t {
    QByteArrayData data[8];
    char stringdata0[86];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ProvidersModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ProvidersModel_t qt_meta_stringdata_ProvidersModel = {
    {
QT_MOC_LITERAL(0, 0, 14), // "ProvidersModel"
QT_MOC_LITERAL(1, 15, 16), // "providersChanged"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 8), // "unloaded"
QT_MOC_LITERAL(4, 42, 18), // "KDevelop::IPlugin*"
QT_MOC_LITERAL(5, 61, 1), // "p"
QT_MOC_LITERAL(6, 63, 6), // "loaded"
QT_MOC_LITERAL(7, 70, 15) // "reloadProviders"

    },
    "ProvidersModel\0providersChanged\0\0"
    "unloaded\0KDevelop::IPlugin*\0p\0loaded\0"
    "reloadProviders"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ProvidersModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   34,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    1,   35,    2, 0x0a /* Public */,
       6,    1,   38,    2, 0x0a /* Public */,
       7,    0,   41,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void,

       0        // eod
};

void ProvidersModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ProvidersModel *_t = static_cast<ProvidersModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->providersChanged(); break;
        case 1: _t->unloaded((*reinterpret_cast< KDevelop::IPlugin*(*)>(_a[1]))); break;
        case 2: _t->loaded((*reinterpret_cast< KDevelop::IPlugin*(*)>(_a[1]))); break;
        case 3: _t->reloadProviders(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ProvidersModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ProvidersModel::providersChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject ProvidersModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_ProvidersModel.data,
      qt_meta_data_ProvidersModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void ProvidersModel::providersChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
