/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.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/mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.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__MainWindow_t {
    QByteArrayData data[32];
    char stringdata0[482];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Sublime__MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Sublime__MainWindow_t qt_meta_stringdata_Sublime__MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Sublime::MainWindow"
QT_MOC_LITERAL(1, 20, 11), // "areaCleared"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 14), // "Sublime::Area*"
QT_MOC_LITERAL(4, 48, 11), // "areaChanged"
QT_MOC_LITERAL(5, 60, 17), // "activeViewChanged"
QT_MOC_LITERAL(6, 78, 14), // "Sublime::View*"
QT_MOC_LITERAL(7, 93, 21), // "activeToolViewChanged"
QT_MOC_LITERAL(8, 115, 14), // "settingsLoaded"
QT_MOC_LITERAL(9, 130, 9), // "viewAdded"
QT_MOC_LITERAL(10, 140, 17), // "aboutToRemoveView"
QT_MOC_LITERAL(11, 158, 12), // "activateView"
QT_MOC_LITERAL(12, 171, 4), // "view"
QT_MOC_LITERAL(13, 176, 5), // "focus"
QT_MOC_LITERAL(14, 182, 12), // "loadSettings"
QT_MOC_LITERAL(15, 195, 16), // "tabDoubleClicked"
QT_MOC_LITERAL(16, 212, 23), // "tabContextMenuRequested"
QT_MOC_LITERAL(17, 236, 6), // "QMenu*"
QT_MOC_LITERAL(18, 243, 19), // "tabToolTipRequested"
QT_MOC_LITERAL(19, 263, 19), // "Sublime::Container*"
QT_MOC_LITERAL(20, 283, 9), // "container"
QT_MOC_LITERAL(21, 293, 3), // "tab"
QT_MOC_LITERAL(22, 297, 15), // "newTabRequested"
QT_MOC_LITERAL(23, 313, 27), // "dockBarContextMenuRequested"
QT_MOC_LITERAL(24, 341, 18), // "Qt::DockWidgetArea"
QT_MOC_LITERAL(25, 360, 19), // "Sublime::AreaIndex*"
QT_MOC_LITERAL(26, 380, 19), // "viewRemovedInternal"
QT_MOC_LITERAL(27, 400, 13), // "toolViewAdded"
QT_MOC_LITERAL(28, 414, 17), // "Sublime::Position"
QT_MOC_LITERAL(29, 432, 13), // "raiseToolView"
QT_MOC_LITERAL(30, 446, 21), // "aboutToRemoveToolView"
QT_MOC_LITERAL(31, 468, 13) // "toolViewMoved"

    },
    "Sublime::MainWindow\0areaCleared\0\0"
    "Sublime::Area*\0areaChanged\0activeViewChanged\0"
    "Sublime::View*\0activeToolViewChanged\0"
    "settingsLoaded\0viewAdded\0aboutToRemoveView\0"
    "activateView\0view\0focus\0loadSettings\0"
    "tabDoubleClicked\0tabContextMenuRequested\0"
    "QMenu*\0tabToolTipRequested\0"
    "Sublime::Container*\0container\0tab\0"
    "newTabRequested\0dockBarContextMenuRequested\0"
    "Qt::DockWidgetArea\0Sublime::AreaIndex*\0"
    "viewRemovedInternal\0toolViewAdded\0"
    "Sublime::Position\0raiseToolView\0"
    "aboutToRemoveToolView\0toolViewMoved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Sublime__MainWindow[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x06 /* Public */,
       4,    1,  127,    2, 0x06 /* Public */,
       5,    1,  130,    2, 0x06 /* Public */,
       7,    1,  133,    2, 0x06 /* Public */,
       8,    0,  136,    2, 0x06 /* Public */,
       9,    1,  137,    2, 0x06 /* Public */,
      10,    1,  140,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    2,  143,    2, 0x0a /* Public */,
      11,    1,  148,    2, 0x2a /* Public | MethodCloned */,
      14,    0,  151,    2, 0x0a /* Public */,
      15,    1,  152,    2, 0x09 /* Protected */,
      16,    2,  155,    2, 0x09 /* Protected */,
      18,    3,  160,    2, 0x09 /* Protected */,
      22,    0,  167,    2, 0x09 /* Protected */,
      23,    2,  168,    2, 0x09 /* Protected */,
       9,    2,  173,    2, 0x08 /* Private */,
      26,    2,  178,    2, 0x08 /* Private */,
      10,    2,  183,    2, 0x08 /* Private */,
      27,    2,  188,    2, 0x08 /* Private */,
      29,    1,  193,    2, 0x08 /* Private */,
      30,    2,  196,    2, 0x08 /* Private */,
      31,    2,  201,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6, QMetaType::Bool,   12,   13,
    QMetaType::Void, 0x80000000 | 6,   12,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,   12,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 17,    2,    2,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 19, QMetaType::Int,   12,   20,   21,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 24, QMetaType::QPoint,    2,    2,
    QMetaType::Void, 0x80000000 | 25, 0x80000000 | 6,    2,    2,
    QMetaType::Void, 0x80000000 | 25, 0x80000000 | 6,    2,    2,
    QMetaType::Void, 0x80000000 | 25, 0x80000000 | 6,    2,    2,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 28,    2,    2,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 28,    2,    2,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 28,    2,    2,

       0        // eod
};

void Sublime::MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MainWindow *_t = static_cast<MainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->areaCleared((*reinterpret_cast< Sublime::Area*(*)>(_a[1]))); break;
        case 1: _t->areaChanged((*reinterpret_cast< Sublime::Area*(*)>(_a[1]))); break;
        case 2: _t->activeViewChanged((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 3: _t->activeToolViewChanged((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 4: _t->settingsLoaded(); break;
        case 5: _t->viewAdded((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 6: _t->aboutToRemoveView((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 7: _t->activateView((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 8: _t->activateView((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 9: _t->loadSettings(); break;
        case 10: _t->tabDoubleClicked((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 11: _t->tabContextMenuRequested((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< QMenu*(*)>(_a[2]))); break;
        case 12: _t->tabToolTipRequested((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< Sublime::Container*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 13: _t->newTabRequested(); break;
        case 14: _t->dockBarContextMenuRequested((*reinterpret_cast< Qt::DockWidgetArea(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 15: _t->d->viewAdded((*reinterpret_cast< Sublime::AreaIndex*(*)>(_a[1])),(*reinterpret_cast< Sublime::View*(*)>(_a[2]))); break;
        case 16: _t->d->viewRemovedInternal((*reinterpret_cast< Sublime::AreaIndex*(*)>(_a[1])),(*reinterpret_cast< Sublime::View*(*)>(_a[2]))); break;
        case 17: _t->d->aboutToRemoveView((*reinterpret_cast< Sublime::AreaIndex*(*)>(_a[1])),(*reinterpret_cast< Sublime::View*(*)>(_a[2]))); break;
        case 18: _t->d->toolViewAdded((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< Sublime::Position(*)>(_a[2]))); break;
        case 19: _t->d->raiseToolView((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 20: _t->d->aboutToRemoveToolView((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< Sublime::Position(*)>(_a[2]))); break;
        case 21: _t->d->toolViewMoved((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< Sublime::Position(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMenu* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MainWindow::*_t)(Sublime::Area * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::areaCleared)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)(Sublime::Area * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::areaChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::activeViewChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::activeToolViewChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::settingsLoaded)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::viewAdded)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (MainWindow::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::aboutToRemoveView)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject Sublime::MainWindow::staticMetaObject = {
    { &KParts::MainWindow::staticMetaObject, qt_meta_stringdata_Sublime__MainWindow.data,
      qt_meta_data_Sublime__MainWindow,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Sublime::MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KParts::MainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    return _id;
}

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

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

// SIGNAL 2
void Sublime::MainWindow::activeViewChanged(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::MainWindow::activeToolViewChanged(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::MainWindow::settingsLoaded()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

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

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