/****************************************************************************
** Meta object code from reading C++ file 'idealcontroller.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/sublime/idealcontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'idealcontroller.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_Sublime__IdealController_t {
    QByteArrayData data[17];
    char stringdata0[238];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Sublime__IdealController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Sublime__IdealController_t qt_meta_stringdata_Sublime__IdealController = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Sublime::IdealController"
QT_MOC_LITERAL(1, 25, 27), // "dockBarContextMenuRequested"
QT_MOC_LITERAL(2, 53, 0), // ""
QT_MOC_LITERAL(3, 54, 18), // "Qt::DockWidgetArea"
QT_MOC_LITERAL(4, 73, 4), // "area"
QT_MOC_LITERAL(5, 78, 8), // "position"
QT_MOC_LITERAL(6, 87, 9), // "dockShown"
QT_MOC_LITERAL(7, 97, 14), // "Sublime::View*"
QT_MOC_LITERAL(8, 112, 17), // "Sublime::Position"
QT_MOC_LITERAL(9, 130, 3), // "pos"
QT_MOC_LITERAL(10, 134, 5), // "shown"
QT_MOC_LITERAL(11, 140, 13), // "widgetResized"
QT_MOC_LITERAL(12, 154, 8), // "dockArea"
QT_MOC_LITERAL(13, 163, 9), // "thickness"
QT_MOC_LITERAL(14, 173, 31), // "slotDockBarContextMenuRequested"
QT_MOC_LITERAL(15, 205, 19), // "dockLocationChanged"
QT_MOC_LITERAL(16, 225, 12) // "loadSettings"

    },
    "Sublime::IdealController\0"
    "dockBarContextMenuRequested\0\0"
    "Qt::DockWidgetArea\0area\0position\0"
    "dockShown\0Sublime::View*\0Sublime::Position\0"
    "pos\0shown\0widgetResized\0dockArea\0"
    "thickness\0slotDockBarContextMenuRequested\0"
    "dockLocationChanged\0loadSettings"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Sublime__IdealController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   44,    2, 0x06 /* Public */,
       6,    3,   49,    2, 0x06 /* Public */,
      11,    2,   56,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    1,   61,    2, 0x08 /* Private */,
      15,    1,   64,    2, 0x08 /* Private */,
      16,    0,   67,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QPoint,    4,    5,
    QMetaType::Void, 0x80000000 | 7, 0x80000000 | 8, QMetaType::Bool,    2,    9,   10,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,   12,   13,

 // slots: parameters
    QMetaType::Void, QMetaType::QPoint,    5,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void,

       0        // eod
};

void Sublime::IdealController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        IdealController *_t = static_cast<IdealController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->dockBarContextMenuRequested((*reinterpret_cast< Qt::DockWidgetArea(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 1: _t->dockShown((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< Sublime::Position(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 2: _t->widgetResized((*reinterpret_cast< Qt::DockWidgetArea(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->slotDockBarContextMenuRequested((*reinterpret_cast< QPoint(*)>(_a[1]))); break;
        case 4: _t->dockLocationChanged((*reinterpret_cast< Qt::DockWidgetArea(*)>(_a[1]))); break;
        case 5: _t->loadSettings(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (IdealController::*_t)(Qt::DockWidgetArea , const QPoint & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IdealController::dockBarContextMenuRequested)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (IdealController::*_t)(Sublime::View * , Sublime::Position , bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IdealController::dockShown)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (IdealController::*_t)(Qt::DockWidgetArea , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&IdealController::widgetResized)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject Sublime::IdealController::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Sublime__IdealController.data,
      qt_meta_data_Sublime__IdealController,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Sublime::IdealController::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Sublime__IdealController.stringdata0))
        return static_cast<void*>(const_cast< IdealController*>(this));
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void Sublime::IdealController::dockBarContextMenuRequested(Qt::DockWidgetArea _t1, const QPoint & _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, 0, _a);
}

// SIGNAL 1
void Sublime::IdealController::dockShown(Sublime::View * _t1, Sublime::Position _t2, bool _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Sublime::IdealController::widgetResized(Qt::DockWidgetArea _t1, int _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, 2, _a);
}
QT_END_MOC_NAMESPACE
