/****************************************************************************
** Meta object code from reading C++ file 'abstractnavigationwidget.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/language/duchain/navigation/abstractnavigationwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'abstractnavigationwidget.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__AbstractNavigationWidget_t {
    QByteArrayData data[23];
    char stringdata0[319];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__AbstractNavigationWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__AbstractNavigationWidget_t qt_meta_stringdata_KDevelop__AbstractNavigationWidget = {
    {
QT_MOC_LITERAL(0, 0, 34), // "KDevelop::AbstractNavigationW..."
QT_MOC_LITERAL(1, 35, 15), // "sizeHintChanged"
QT_MOC_LITERAL(2, 51, 0), // ""
QT_MOC_LITERAL(3, 52, 14), // "contextChanged"
QT_MOC_LITERAL(4, 67, 10), // "wasInitial"
QT_MOC_LITERAL(5, 78, 9), // "isInitial"
QT_MOC_LITERAL(6, 88, 4), // "next"
QT_MOC_LITERAL(7, 93, 8), // "previous"
QT_MOC_LITERAL(8, 102, 6), // "accept"
QT_MOC_LITERAL(9, 109, 2), // "up"
QT_MOC_LITERAL(10, 112, 4), // "down"
QT_MOC_LITERAL(11, 117, 4), // "back"
QT_MOC_LITERAL(12, 122, 19), // "embeddedWidgetRight"
QT_MOC_LITERAL(13, 142, 18), // "embeddedWidgetLeft"
QT_MOC_LITERAL(14, 161, 20), // "embeddedWidgetAccept"
QT_MOC_LITERAL(15, 182, 16), // "embeddedWidgetUp"
QT_MOC_LITERAL(16, 199, 18), // "embeddedWidgetDown"
QT_MOC_LITERAL(17, 218, 7), // "context"
QT_MOC_LITERAL(18, 226, 24), // "NavigationContextPointer"
QT_MOC_LITERAL(19, 251, 19), // "navigateDeclaration"
QT_MOC_LITERAL(20, 271, 28), // "KDevelop::IndexedDeclaration"
QT_MOC_LITERAL(21, 300, 4), // "decl"
QT_MOC_LITERAL(22, 305, 13) // "anchorClicked"

    },
    "KDevelop::AbstractNavigationWidget\0"
    "sizeHintChanged\0\0contextChanged\0"
    "wasInitial\0isInitial\0next\0previous\0"
    "accept\0up\0down\0back\0embeddedWidgetRight\0"
    "embeddedWidgetLeft\0embeddedWidgetAccept\0"
    "embeddedWidgetUp\0embeddedWidgetDown\0"
    "context\0NavigationContextPointer\0"
    "navigateDeclaration\0KDevelop::IndexedDeclaration\0"
    "decl\0anchorClicked"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__AbstractNavigationWidget[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       6,    0,  100,    2, 0x0a /* Public */,
       7,    0,  101,    2, 0x0a /* Public */,
       8,    0,  102,    2, 0x0a /* Public */,
       9,    0,  103,    2, 0x0a /* Public */,
      10,    0,  104,    2, 0x0a /* Public */,
      11,    0,  105,    2, 0x0a /* Public */,
      12,    0,  106,    2, 0x0a /* Public */,
      13,    0,  107,    2, 0x0a /* Public */,
      14,    0,  108,    2, 0x0a /* Public */,
      15,    0,  109,    2, 0x0a /* Public */,
      16,    0,  110,    2, 0x0a /* Public */,
      17,    0,  111,    2, 0x0a /* Public */,
      19,    1,  112,    2, 0x0a /* Public */,
      22,    1,  115,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool, QMetaType::Bool,    4,    5,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    0x80000000 | 18,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void, QMetaType::QUrl,    2,

       0        // eod
};

void KDevelop::AbstractNavigationWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AbstractNavigationWidget *_t = static_cast<AbstractNavigationWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sizeHintChanged(); break;
        case 1: _t->contextChanged((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: _t->next(); break;
        case 3: _t->previous(); break;
        case 4: _t->accept(); break;
        case 5: _t->up(); break;
        case 6: _t->down(); break;
        case 7: _t->back(); break;
        case 8: _t->embeddedWidgetRight(); break;
        case 9: _t->embeddedWidgetLeft(); break;
        case 10: _t->embeddedWidgetAccept(); break;
        case 11: _t->embeddedWidgetUp(); break;
        case 12: _t->embeddedWidgetDown(); break;
        case 13: { NavigationContextPointer _r = _t->context();
            if (_a[0]) *reinterpret_cast< NavigationContextPointer*>(_a[0]) = _r; }  break;
        case 14: _t->navigateDeclaration((*reinterpret_cast< KDevelop::IndexedDeclaration(*)>(_a[1]))); break;
        case 15: _t->anchorClicked((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KDevelop::IndexedDeclaration >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (AbstractNavigationWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractNavigationWidget::sizeHintChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AbstractNavigationWidget::*_t)(bool , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractNavigationWidget::contextChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KDevelop::AbstractNavigationWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KDevelop__AbstractNavigationWidget.data,
      qt_meta_data_KDevelop__AbstractNavigationWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KDevelop::AbstractNavigationWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KDevelop__AbstractNavigationWidget.stringdata0))
        return static_cast<void*>(const_cast< AbstractNavigationWidget*>(this));
    if (!strcmp(_clname, "QuickOpenEmbeddedWidgetInterface"))
        return static_cast< QuickOpenEmbeddedWidgetInterface*>(const_cast< AbstractNavigationWidget*>(this));
    return QWidget::qt_metacast(_clname);
}

int KDevelop::AbstractNavigationWidget::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    return _id;
}

// SIGNAL 0
void KDevelop::AbstractNavigationWidget::sizeHintChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

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