/****************************************************************************
** Meta object code from reading C++ file 'useswidget.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/useswidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'useswidget.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__OneUseWidget_t {
    QByteArrayData data[1];
    char stringdata0[23];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__OneUseWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__OneUseWidget_t qt_meta_stringdata_KDevelop__OneUseWidget = {
    {
QT_MOC_LITERAL(0, 0, 22) // "KDevelop::OneUseWidget"

    },
    "KDevelop::OneUseWidget"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__OneUseWidget[] = {

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

       0        // eod
};

void KDevelop::OneUseWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KDevelop::OneUseWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KDevelop__OneUseWidget.data,
      qt_meta_data_KDevelop__OneUseWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::OneUseWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_KDevelop__NavigatableWidgetList_t {
    QByteArrayData data[1];
    char stringdata0[32];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__NavigatableWidgetList_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__NavigatableWidgetList_t qt_meta_stringdata_KDevelop__NavigatableWidgetList = {
    {
QT_MOC_LITERAL(0, 0, 31) // "KDevelop::NavigatableWidgetList"

    },
    "KDevelop::NavigatableWidgetList"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__NavigatableWidgetList[] = {

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

       0        // eod
};

void KDevelop::NavigatableWidgetList::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KDevelop::NavigatableWidgetList::staticMetaObject = {
    { &QScrollArea::staticMetaObject, qt_meta_stringdata_KDevelop__NavigatableWidgetList.data,
      qt_meta_data_KDevelop__NavigatableWidgetList,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::NavigatableWidgetList::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QScrollArea::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_KDevelop__ContextUsesWidget_t {
    QByteArrayData data[5];
    char stringdata0[95];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__ContextUsesWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__ContextUsesWidget_t qt_meta_stringdata_KDevelop__ContextUsesWidget = {
    {
QT_MOC_LITERAL(0, 0, 27), // "KDevelop::ContextUsesWidget"
QT_MOC_LITERAL(1, 28, 19), // "navigateDeclaration"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 28), // "KDevelop::IndexedDeclaration"
QT_MOC_LITERAL(4, 78, 16) // "linkWasActivated"

    },
    "KDevelop::ContextUsesWidget\0"
    "navigateDeclaration\0\0KDevelop::IndexedDeclaration\0"
    "linkWasActivated"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__ContextUsesWidget[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    1,   27,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    2,

       0        // eod
};

void KDevelop::ContextUsesWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ContextUsesWidget *_t = static_cast<ContextUsesWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->navigateDeclaration((*reinterpret_cast< KDevelop::IndexedDeclaration(*)>(_a[1]))); break;
        case 1: _t->linkWasActivated((*reinterpret_cast< QString(*)>(_a[1]))); 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< 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 (ContextUsesWidget::*_t)(KDevelop::IndexedDeclaration );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContextUsesWidget::navigateDeclaration)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KDevelop::ContextUsesWidget::staticMetaObject = {
    { &NavigatableWidgetList::staticMetaObject, qt_meta_stringdata_KDevelop__ContextUsesWidget.data,
      qt_meta_data_KDevelop__ContextUsesWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::ContextUsesWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = NavigatableWidgetList::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    return _id;
}

// SIGNAL 0
void KDevelop::ContextUsesWidget::navigateDeclaration(KDevelop::IndexedDeclaration _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KDevelop__DeclarationWidget_t {
    QByteArrayData data[1];
    char stringdata0[28];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__DeclarationWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__DeclarationWidget_t qt_meta_stringdata_KDevelop__DeclarationWidget = {
    {
QT_MOC_LITERAL(0, 0, 27) // "KDevelop::DeclarationWidget"

    },
    "KDevelop::DeclarationWidget"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__DeclarationWidget[] = {

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

       0        // eod
};

void KDevelop::DeclarationWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KDevelop::DeclarationWidget::staticMetaObject = {
    { &NavigatableWidgetList::staticMetaObject, qt_meta_stringdata_KDevelop__DeclarationWidget.data,
      qt_meta_data_KDevelop__DeclarationWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::DeclarationWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = NavigatableWidgetList::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
struct qt_meta_stringdata_KDevelop__TopContextUsesWidget_t {
    QByteArrayData data[3];
    char stringdata0[45];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__TopContextUsesWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__TopContextUsesWidget_t qt_meta_stringdata_KDevelop__TopContextUsesWidget = {
    {
QT_MOC_LITERAL(0, 0, 30), // "KDevelop::TopContextUsesWidget"
QT_MOC_LITERAL(1, 31, 12), // "labelClicked"
QT_MOC_LITERAL(2, 44, 0) // ""

    },
    "KDevelop::TopContextUsesWidget\0"
    "labelClicked\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__TopContextUsesWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KDevelop::TopContextUsesWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TopContextUsesWidget *_t = static_cast<TopContextUsesWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->labelClicked(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KDevelop::TopContextUsesWidget::staticMetaObject = {
    { &NavigatableWidgetList::staticMetaObject, qt_meta_stringdata_KDevelop__TopContextUsesWidget.data,
      qt_meta_data_KDevelop__TopContextUsesWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::TopContextUsesWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = NavigatableWidgetList::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_KDevelop__UsesWidget_t {
    QByteArrayData data[7];
    char stringdata0[117];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__UsesWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__UsesWidget_t qt_meta_stringdata_KDevelop__UsesWidget = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KDevelop::UsesWidget"
QT_MOC_LITERAL(1, 21, 19), // "navigateDeclaration"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 28), // "KDevelop::IndexedDeclaration"
QT_MOC_LITERAL(4, 71, 19), // "headerLinkActivated"
QT_MOC_LITERAL(5, 91, 8), // "linkName"
QT_MOC_LITERAL(6, 100, 16) // "redrawHeaderLine"

    },
    "KDevelop::UsesWidget\0navigateDeclaration\0"
    "\0KDevelop::IndexedDeclaration\0"
    "headerLinkActivated\0linkName\0"
    "redrawHeaderLine"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__UsesWidget[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    1,   32,    2, 0x0a /* Public */,
       6,    0,   35,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,

       0        // eod
};

void KDevelop::UsesWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        UsesWidget *_t = static_cast<UsesWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->navigateDeclaration((*reinterpret_cast< KDevelop::IndexedDeclaration(*)>(_a[1]))); break;
        case 1: _t->headerLinkActivated((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 2: _t->redrawHeaderLine(); 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< 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 (UsesWidget::*_t)(KDevelop::IndexedDeclaration );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&UsesWidget::navigateDeclaration)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KDevelop::UsesWidget::staticMetaObject = {
    { &NavigatableWidgetList::staticMetaObject, qt_meta_stringdata_KDevelop__UsesWidget.data,
      qt_meta_data_KDevelop__UsesWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KDevelop::UsesWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = NavigatableWidgetList::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}

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