/****************************************************************************
** Meta object code from reading C++ file 'workingsetcontroller.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/workingsetcontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'workingsetcontroller.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__WorkingSetController_t {
    QByteArrayData data[21];
    char stringdata0[299];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__WorkingSetController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__WorkingSetController_t qt_meta_stringdata_KDevelop__WorkingSetController = {
    {
QT_MOC_LITERAL(0, 0, 30), // "KDevelop::WorkingSetController"
QT_MOC_LITERAL(1, 31, 15), // "workingSetAdded"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 11), // "WorkingSet*"
QT_MOC_LITERAL(4, 60, 3), // "set"
QT_MOC_LITERAL(5, 64, 23), // "aboutToRemoveWorkingSet"
QT_MOC_LITERAL(6, 88, 18), // "workingSetSwitched"
QT_MOC_LITERAL(7, 107, 11), // "areaCreated"
QT_MOC_LITERAL(8, 119, 14), // "Sublime::Area*"
QT_MOC_LITERAL(9, 134, 4), // "area"
QT_MOC_LITERAL(10, 139, 12), // "nextDocument"
QT_MOC_LITERAL(11, 152, 16), // "previousDocument"
QT_MOC_LITERAL(12, 169, 17), // "showGlobalToolTip"
QT_MOC_LITERAL(13, 187, 18), // "changingWorkingSet"
QT_MOC_LITERAL(14, 206, 6), // "oldSet"
QT_MOC_LITERAL(15, 213, 6), // "newSet"
QT_MOC_LITERAL(16, 220, 17), // "changedWorkingSet"
QT_MOC_LITERAL(17, 238, 9), // "viewAdded"
QT_MOC_LITERAL(18, 248, 19), // "Sublime::AreaIndex*"
QT_MOC_LITERAL(19, 268, 14), // "Sublime::View*"
QT_MOC_LITERAL(20, 283, 15) // "clearWorkingSet"

    },
    "KDevelop::WorkingSetController\0"
    "workingSetAdded\0\0WorkingSet*\0set\0"
    "aboutToRemoveWorkingSet\0workingSetSwitched\0"
    "areaCreated\0Sublime::Area*\0area\0"
    "nextDocument\0previousDocument\0"
    "showGlobalToolTip\0changingWorkingSet\0"
    "oldSet\0newSet\0changedWorkingSet\0"
    "viewAdded\0Sublime::AreaIndex*\0"
    "Sublime::View*\0clearWorkingSet"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__WorkingSetController[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       5,    1,   72,    2, 0x06 /* Public */,
       6,    0,   75,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   76,    2, 0x08 /* Private */,
      10,    0,   79,    2, 0x08 /* Private */,
      11,    0,   80,    2, 0x08 /* Private */,
      12,    0,   81,    2, 0x08 /* Private */,
      13,    3,   82,    2, 0x08 /* Private */,
      16,    3,   89,    2, 0x08 /* Private */,
      17,    2,   96,    2, 0x08 /* Private */,
      20,    1,  101,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8, QMetaType::QString, QMetaType::QString,    9,   14,   15,
    QMetaType::Void, 0x80000000 | 8, QMetaType::QString, QMetaType::QString,    9,   14,   15,
    QMetaType::Void, 0x80000000 | 18, 0x80000000 | 19,    2,    2,
    QMetaType::Void, 0x80000000 | 8,    9,

       0        // eod
};

void KDevelop::WorkingSetController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WorkingSetController *_t = static_cast<WorkingSetController *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->workingSetAdded((*reinterpret_cast< WorkingSet*(*)>(_a[1]))); break;
        case 1: _t->aboutToRemoveWorkingSet((*reinterpret_cast< WorkingSet*(*)>(_a[1]))); break;
        case 2: _t->workingSetSwitched(); break;
        case 3: _t->areaCreated((*reinterpret_cast< Sublime::Area*(*)>(_a[1]))); break;
        case 4: _t->nextDocument(); break;
        case 5: _t->previousDocument(); break;
        case 6: _t->showGlobalToolTip(); break;
        case 7: _t->changingWorkingSet((*reinterpret_cast< Sublime::Area*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 8: _t->changedWorkingSet((*reinterpret_cast< Sublime::Area*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 9: _t->viewAdded((*reinterpret_cast< Sublime::AreaIndex*(*)>(_a[1])),(*reinterpret_cast< Sublime::View*(*)>(_a[2]))); break;
        case 10: _t->clearWorkingSet((*reinterpret_cast< Sublime::Area*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (WorkingSetController::*_t)(WorkingSet * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WorkingSetController::workingSetAdded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (WorkingSetController::*_t)(WorkingSet * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WorkingSetController::aboutToRemoveWorkingSet)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (WorkingSetController::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WorkingSetController::workingSetSwitched)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KDevelop::WorkingSetController::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KDevelop__WorkingSetController.data,
      qt_meta_data_KDevelop__WorkingSetController,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

// SIGNAL 1
void KDevelop::WorkingSetController::aboutToRemoveWorkingSet(WorkingSet * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KDevelop::WorkingSetController::workingSetSwitched()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
