/****************************************************************************
** 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/shell/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_KDevelop__MainWindow_t {
    QByteArrayData data[33];
    char stringdata0[476];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KDevelop__MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KDevelop__MainWindow_t qt_meta_stringdata_KDevelop__MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KDevelop::MainWindow"
QT_MOC_LITERAL(1, 21, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 37, 23), // "org.kdevelop.MainWindow"
QT_MOC_LITERAL(3, 61, 15), // "finishedLoading"
QT_MOC_LITERAL(4, 77, 0), // ""
QT_MOC_LITERAL(5, 78, 16), // "showErrorMessage"
QT_MOC_LITERAL(6, 95, 7), // "message"
QT_MOC_LITERAL(7, 103, 7), // "timeout"
QT_MOC_LITERAL(8, 111, 13), // "ensureVisible"
QT_MOC_LITERAL(9, 125, 11), // "windowTitle"
QT_MOC_LITERAL(10, 137, 10), // "setVisible"
QT_MOC_LITERAL(11, 148, 7), // "visible"
QT_MOC_LITERAL(12, 156, 18), // "configureShortcuts"
QT_MOC_LITERAL(13, 175, 12), // "loadSettings"
QT_MOC_LITERAL(14, 188, 23), // "tabContextMenuRequested"
QT_MOC_LITERAL(15, 212, 14), // "Sublime::View*"
QT_MOC_LITERAL(16, 227, 6), // "QMenu*"
QT_MOC_LITERAL(17, 234, 19), // "tabToolTipRequested"
QT_MOC_LITERAL(18, 254, 4), // "view"
QT_MOC_LITERAL(19, 259, 19), // "Sublime::Container*"
QT_MOC_LITERAL(20, 279, 9), // "container"
QT_MOC_LITERAL(21, 289, 3), // "tab"
QT_MOC_LITERAL(22, 293, 27), // "dockBarContextMenuRequested"
QT_MOC_LITERAL(23, 321, 18), // "Qt::DockWidgetArea"
QT_MOC_LITERAL(24, 340, 15), // "newTabRequested"
QT_MOC_LITERAL(25, 356, 13), // "updateCaption"
QT_MOC_LITERAL(26, 370, 30), // "updateActiveDocumentConnection"
QT_MOC_LITERAL(27, 401, 10), // "IDocument*"
QT_MOC_LITERAL(28, 412, 8), // "document"
QT_MOC_LITERAL(29, 421, 14), // "updateTabColor"
QT_MOC_LITERAL(30, 436, 3), // "doc"
QT_MOC_LITERAL(31, 440, 18), // "updateAllTabColors"
QT_MOC_LITERAL(32, 459, 16) // "shortcutsChanged"

    },
    "KDevelop::MainWindow\0D-Bus Interface\0"
    "org.kdevelop.MainWindow\0finishedLoading\0"
    "\0showErrorMessage\0message\0timeout\0"
    "ensureVisible\0windowTitle\0setVisible\0"
    "visible\0configureShortcuts\0loadSettings\0"
    "tabContextMenuRequested\0Sublime::View*\0"
    "QMenu*\0tabToolTipRequested\0view\0"
    "Sublime::Container*\0container\0tab\0"
    "dockBarContextMenuRequested\0"
    "Qt::DockWidgetArea\0newTabRequested\0"
    "updateCaption\0updateActiveDocumentConnection\0"
    "IDocument*\0document\0updateTabColor\0"
    "doc\0updateAllTabColors\0shortcutsChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KDevelop__MainWindow[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,   96,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    2,   97,    4, 0x0a /* Public */,
       8,    0,  102,    4, 0x4a /* Public | isScriptable */,
       9,    0,  103,    4, 0x4a /* Public | isScriptable */,
      10,    1,  104,    4, 0x0a /* Public */,
      12,    0,  107,    4, 0x0a /* Public */,
      13,    0,  108,    4, 0x0a /* Public */,
      14,    2,  109,    4, 0x09 /* Protected */,
      17,    3,  114,    4, 0x09 /* Protected */,
      22,    2,  121,    4, 0x09 /* Protected */,
      24,    0,  126,    4, 0x09 /* Protected */,
      25,    0,  127,    4, 0x08 /* Private */,
      26,    1,  128,    4, 0x08 /* Private */,
      29,    1,  131,    4, 0x08 /* Private */,
      31,    0,  134,    4, 0x08 /* Private */,
      32,    0,  135,    4, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    6,    7,
    QMetaType::Void,
    QMetaType::QString,
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 16,    4,    4,
    QMetaType::Void, 0x80000000 | 15, 0x80000000 | 19, QMetaType::Int,   18,   20,   21,
    QMetaType::Void, 0x80000000 | 23, QMetaType::QPoint,    4,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 27,   28,
    QMetaType::Void, 0x80000000 | 27,   30,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KDevelop::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->finishedLoading(); break;
        case 1: _t->showErrorMessage((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->ensureVisible(); break;
        case 3: { QString _r = _t->windowTitle();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 4: _t->setVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->configureShortcuts(); break;
        case 6: _t->loadSettings(); break;
        case 7: _t->tabContextMenuRequested((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< QMenu*(*)>(_a[2]))); break;
        case 8: _t->tabToolTipRequested((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< Sublime::Container*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 9: _t->dockBarContextMenuRequested((*reinterpret_cast< Qt::DockWidgetArea(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 10: _t->newTabRequested(); break;
        case 11: _t->updateCaption(); break;
        case 12: _t->updateActiveDocumentConnection((*reinterpret_cast< IDocument*(*)>(_a[1]))); break;
        case 13: _t->updateTabColor((*reinterpret_cast< IDocument*(*)>(_a[1]))); break;
        case 14: _t->updateAllTabColors(); break;
        case 15: _t->shortcutsChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 7:
            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)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MainWindow::finishedLoading)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KDevelop::MainWindow::staticMetaObject = {
    { &Sublime::MainWindow::staticMetaObject, qt_meta_stringdata_KDevelop__MainWindow.data,
      qt_meta_data_KDevelop__MainWindow,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void KDevelop::MainWindow::finishedLoading()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
