/****************************************************************************
** Meta object code from reading C++ file 'uicontroller.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/uicontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'uicontroller.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__UiController_t {
    QByteArrayData data[16];
    char stringdata0[195];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__UiController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__UiController_t qt_meta_stringdata_KDevelop__UiController = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KDevelop::UiController"
QT_MOC_LITERAL(1, 23, 13), // "raiseToolView"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 14), // "Sublime::View*"
QT_MOC_LITERAL(4, 53, 4), // "view"
QT_MOC_LITERAL(5, 58, 14), // "addNewToolView"
QT_MOC_LITERAL(6, 73, 11), // "MainWindow*"
QT_MOC_LITERAL(7, 85, 2), // "mw"
QT_MOC_LITERAL(8, 88, 16), // "QListWidgetItem*"
QT_MOC_LITERAL(9, 105, 4), // "item"
QT_MOC_LITERAL(10, 110, 15), // "slotAreaChanged"
QT_MOC_LITERAL(11, 126, 14), // "Sublime::Area*"
QT_MOC_LITERAL(12, 141, 4), // "area"
QT_MOC_LITERAL(13, 146, 25), // "slotActiveToolViewChanged"
QT_MOC_LITERAL(14, 172, 13), // "widgetChanged"
QT_MOC_LITERAL(15, 186, 8) // "QWidget*"

    },
    "KDevelop::UiController\0raiseToolView\0"
    "\0Sublime::View*\0view\0addNewToolView\0"
    "MainWindow*\0mw\0QListWidgetItem*\0item\0"
    "slotAreaChanged\0Sublime::Area*\0area\0"
    "slotActiveToolViewChanged\0widgetChanged\0"
    "QWidget*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__UiController[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x0a /* Public */,
       5,    2,   42,    2, 0x08 /* Private */,
      10,    1,   47,    2, 0x08 /* Private */,
      13,    1,   50,    2, 0x08 /* Private */,
      14,    2,   53,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 8,    7,    9,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 15,    2,    2,

       0        // eod
};

void KDevelop::UiController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        UiController *_t = static_cast<UiController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->raiseToolView((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 1: _t->addNewToolView((*reinterpret_cast< MainWindow*(*)>(_a[1])),(*reinterpret_cast< QListWidgetItem*(*)>(_a[2]))); break;
        case 2: _t->slotAreaChanged((*reinterpret_cast< Sublime::Area*(*)>(_a[1]))); break;
        case 3: _t->slotActiveToolViewChanged((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 4: _t->d->widgetChanged((*reinterpret_cast< QWidget*(*)>(_a[1])),(*reinterpret_cast< QWidget*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        }
    }
}

const QMetaObject KDevelop::UiController::staticMetaObject = {
    { &Sublime::Controller::staticMetaObject, qt_meta_stringdata_KDevelop__UiController.data,
      qt_meta_data_KDevelop__UiController,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KDevelop::UiController::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KDevelop__UiController.stringdata0))
        return static_cast<void*>(const_cast< UiController*>(this));
    if (!strcmp(_clname, "IUiController"))
        return static_cast< IUiController*>(const_cast< UiController*>(this));
    return Sublime::Controller::qt_metacast(_clname);
}

int KDevelop::UiController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Sublime::Controller::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
