/****************************************************************************
** Meta object code from reading C++ file 'controller.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/controller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'controller.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__Controller_t {
    QByteArrayData data[21];
    char stringdata0[315];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Sublime__Controller_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Sublime__Controller_t qt_meta_stringdata_Sublime__Controller = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Sublime::Controller"
QT_MOC_LITERAL(1, 20, 21), // "aboutToRemoveToolView"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 14), // "Sublime::View*"
QT_MOC_LITERAL(4, 58, 13), // "toolViewAdded"
QT_MOC_LITERAL(5, 72, 17), // "aboutToRemoveView"
QT_MOC_LITERAL(6, 90, 9), // "viewAdded"
QT_MOC_LITERAL(7, 100, 13), // "toolViewMoved"
QT_MOC_LITERAL(8, 114, 15), // "mainWindowAdded"
QT_MOC_LITERAL(9, 130, 20), // "Sublime::MainWindow*"
QT_MOC_LITERAL(10, 151, 11), // "areaCreated"
QT_MOC_LITERAL(11, 163, 14), // "Sublime::Area*"
QT_MOC_LITERAL(12, 178, 4), // "area"
QT_MOC_LITERAL(13, 183, 12), // "areaReleased"
QT_MOC_LITERAL(14, 196, 21), // "notifyToolViewRemoved"
QT_MOC_LITERAL(15, 218, 4), // "view"
QT_MOC_LITERAL(16, 223, 17), // "Sublime::Position"
QT_MOC_LITERAL(17, 241, 19), // "notifyToolViewAdded"
QT_MOC_LITERAL(18, 261, 17), // "notifyViewRemoved"
QT_MOC_LITERAL(19, 279, 19), // "Sublime::AreaIndex*"
QT_MOC_LITERAL(20, 299, 15) // "notifyViewAdded"

    },
    "Sublime::Controller\0aboutToRemoveToolView\0"
    "\0Sublime::View*\0toolViewAdded\0"
    "aboutToRemoveView\0viewAdded\0toolViewMoved\0"
    "mainWindowAdded\0Sublime::MainWindow*\0"
    "areaCreated\0Sublime::Area*\0area\0"
    "areaReleased\0notifyToolViewRemoved\0"
    "view\0Sublime::Position\0notifyToolViewAdded\0"
    "notifyViewRemoved\0Sublime::AreaIndex*\0"
    "notifyViewAdded"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Sublime__Controller[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       4,    1,   82,    2, 0x06 /* Public */,
       5,    1,   85,    2, 0x06 /* Public */,
       6,    1,   88,    2, 0x06 /* Public */,
       7,    1,   91,    2, 0x06 /* Public */,
       8,    1,   94,    2, 0x06 /* Public */,
      10,    1,   97,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    0,  100,    2, 0x0a /* Public */,
      13,    1,  101,    2, 0x0a /* Public */,
      14,    2,  104,    2, 0x08 /* Private */,
      17,    2,  109,    2, 0x08 /* Private */,
      18,    2,  114,    2, 0x08 /* Private */,
      20,    2,  119,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 16,   15,    2,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 16,   15,    2,
    QMetaType::Void, 0x80000000 | 19, 0x80000000 | 3,    2,   15,
    QMetaType::Void, 0x80000000 | 19, 0x80000000 | 3,    2,   15,

       0        // eod
};

void Sublime::Controller::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Controller *_t = static_cast<Controller *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->aboutToRemoveToolView((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 1: _t->toolViewAdded((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 2: _t->aboutToRemoveView((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 3: _t->viewAdded((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 4: _t->toolViewMoved((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 5: _t->mainWindowAdded((*reinterpret_cast< Sublime::MainWindow*(*)>(_a[1]))); break;
        case 6: _t->areaCreated((*reinterpret_cast< Sublime::Area*(*)>(_a[1]))); break;
        case 7: _t->areaReleased(); break;
        case 8: _t->areaReleased((*reinterpret_cast< Sublime::Area*(*)>(_a[1]))); break;
        case 9: _t->notifyToolViewRemoved((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< Sublime::Position(*)>(_a[2]))); break;
        case 10: _t->notifyToolViewAdded((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< Sublime::Position(*)>(_a[2]))); break;
        case 11: _t->notifyViewRemoved((*reinterpret_cast< Sublime::AreaIndex*(*)>(_a[1])),(*reinterpret_cast< Sublime::View*(*)>(_a[2]))); break;
        case 12: _t->notifyViewAdded((*reinterpret_cast< Sublime::AreaIndex*(*)>(_a[1])),(*reinterpret_cast< Sublime::View*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Controller::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Controller::aboutToRemoveToolView)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Controller::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Controller::toolViewAdded)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Controller::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Controller::aboutToRemoveView)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Controller::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Controller::viewAdded)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Controller::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Controller::toolViewMoved)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Controller::*_t)(Sublime::MainWindow * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Controller::mainWindowAdded)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Controller::*_t)(Sublime::Area * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Controller::areaCreated)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject Sublime::Controller::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Sublime__Controller.data,
      qt_meta_data_Sublime__Controller,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Sublime::Controller::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void Sublime::Controller::aboutToRemoveToolView(Sublime::View * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Sublime::Controller::toolViewAdded(Sublime::View * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Sublime::Controller::aboutToRemoveView(Sublime::View * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Sublime::Controller::viewAdded(Sublime::View * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Sublime::Controller::toolViewMoved(Sublime::View * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Sublime::Controller::mainWindowAdded(Sublime::MainWindow * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Sublime::Controller::areaCreated(Sublime::Area * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_END_MOC_NAMESPACE
