/****************************************************************************
** Meta object code from reading C++ file 'container.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/container.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'container.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__Container_t {
    QByteArrayData data[31];
    char stringdata0[383];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Sublime__Container_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Sublime__Container_t qt_meta_stringdata_Sublime__Container = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Sublime::Container"
QT_MOC_LITERAL(1, 19, 12), // "activateView"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 14), // "Sublime::View*"
QT_MOC_LITERAL(4, 48, 4), // "view"
QT_MOC_LITERAL(5, 53, 12), // "requestClose"
QT_MOC_LITERAL(6, 66, 8), // "QWidget*"
QT_MOC_LITERAL(7, 75, 1), // "w"
QT_MOC_LITERAL(8, 77, 15), // "newTabRequested"
QT_MOC_LITERAL(9, 93, 23), // "tabContextMenuRequested"
QT_MOC_LITERAL(10, 117, 6), // "QMenu*"
QT_MOC_LITERAL(11, 124, 4), // "menu"
QT_MOC_LITERAL(12, 129, 19), // "tabToolTipRequested"
QT_MOC_LITERAL(13, 149, 19), // "Sublime::Container*"
QT_MOC_LITERAL(14, 169, 9), // "container"
QT_MOC_LITERAL(15, 179, 3), // "idx"
QT_MOC_LITERAL(16, 183, 16), // "tabDoubleClicked"
QT_MOC_LITERAL(17, 200, 15), // "widgetActivated"
QT_MOC_LITERAL(18, 216, 20), // "documentTitleChanged"
QT_MOC_LITERAL(19, 237, 18), // "Sublime::Document*"
QT_MOC_LITERAL(20, 256, 3), // "doc"
QT_MOC_LITERAL(21, 260, 17), // "statusIconChanged"
QT_MOC_LITERAL(22, 278, 13), // "statusChanged"
QT_MOC_LITERAL(23, 292, 8), // "tabMoved"
QT_MOC_LITERAL(24, 301, 4), // "from"
QT_MOC_LITERAL(25, 306, 2), // "to"
QT_MOC_LITERAL(26, 309, 11), // "contextMenu"
QT_MOC_LITERAL(27, 321, 20), // "doubleClickTriggered"
QT_MOC_LITERAL(28, 342, 3), // "tab"
QT_MOC_LITERAL(29, 346, 27), // "documentListActionTriggered"
QT_MOC_LITERAL(30, 374, 8) // "QAction*"

    },
    "Sublime::Container\0activateView\0\0"
    "Sublime::View*\0view\0requestClose\0"
    "QWidget*\0w\0newTabRequested\0"
    "tabContextMenuRequested\0QMenu*\0menu\0"
    "tabToolTipRequested\0Sublime::Container*\0"
    "container\0idx\0tabDoubleClicked\0"
    "widgetActivated\0documentTitleChanged\0"
    "Sublime::Document*\0doc\0statusIconChanged\0"
    "statusChanged\0tabMoved\0from\0to\0"
    "contextMenu\0doubleClickTriggered\0tab\0"
    "documentListActionTriggered\0QAction*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Sublime__Container[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       5,    1,   92,    2, 0x06 /* Public */,
       8,    0,   95,    2, 0x06 /* Public */,
       9,    2,   96,    2, 0x06 /* Public */,
      12,    3,  101,    2, 0x06 /* Public */,
      16,    1,  108,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    1,  111,    2, 0x08 /* Private */,
      18,    1,  114,    2, 0x08 /* Private */,
      21,    1,  117,    2, 0x08 /* Private */,
      22,    1,  120,    2, 0x08 /* Private */,
       5,    1,  123,    2, 0x08 /* Private */,
      23,    2,  126,    2, 0x08 /* Private */,
      26,    1,  131,    2, 0x08 /* Private */,
      27,    1,  134,    2, 0x08 /* Private */,
      29,    1,  137,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 10,    4,   11,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 13, QMetaType::Int,    4,   14,   15,
    QMetaType::Void, 0x80000000 | 3,    4,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, 0x80000000 | 19,    2,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   24,   25,
    QMetaType::Void, QMetaType::QPoint,    2,
    QMetaType::Void, QMetaType::Int,   28,
    QMetaType::Void, 0x80000000 | 30,    2,

       0        // eod
};

void Sublime::Container::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Container *_t = static_cast<Container *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->activateView((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 1: _t->requestClose((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 2: _t->newTabRequested(); break;
        case 3: _t->tabContextMenuRequested((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< QMenu*(*)>(_a[2]))); break;
        case 4: _t->tabToolTipRequested((*reinterpret_cast< Sublime::View*(*)>(_a[1])),(*reinterpret_cast< Sublime::Container*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 5: _t->tabDoubleClicked((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 6: _t->widgetActivated((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->documentTitleChanged((*reinterpret_cast< Sublime::Document*(*)>(_a[1]))); break;
        case 8: _t->statusIconChanged((*reinterpret_cast< Sublime::Document*(*)>(_a[1]))); break;
        case 9: _t->statusChanged((*reinterpret_cast< Sublime::View*(*)>(_a[1]))); break;
        case 10: _t->requestClose((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->tabMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 12: _t->contextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 13: _t->doubleClickTriggered((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 14: _t->documentListActionTriggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Sublime::Container* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Sublime::Document* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Sublime::Document* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Container::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Container::activateView)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Container::*_t)(QWidget * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Container::requestClose)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Container::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Container::newTabRequested)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Container::*_t)(Sublime::View * , QMenu * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Container::tabContextMenuRequested)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Container::*_t)(Sublime::View * , Sublime::Container * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Container::tabToolTipRequested)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Container::*_t)(Sublime::View * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Container::tabDoubleClicked)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject Sublime::Container::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Sublime__Container.data,
      qt_meta_data_Sublime__Container,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void Sublime::Container::activateView(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::Container::requestClose(QWidget * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Sublime::Container::newTabRequested()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Sublime::Container::tabContextMenuRequested(Sublime::View * _t1, QMenu * _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, 3, _a);
}

// SIGNAL 4
void Sublime::Container::tabToolTipRequested(Sublime::View * _t1, Sublime::Container * _t2, int _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, 4, _a);
}

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