/****************************************************************************
** Meta object code from reading C++ file 'topeditorcontainer.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.18)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../src/ui/include/topeditorcontainer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'topeditorcontainer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_TopEditorContainer_t {
    QByteArrayData data[22];
    char stringdata0[353];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TopEditorContainer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TopEditorContainer_t qt_meta_stringdata_TopEditorContainer = {
    {
QT_MOC_LITERAL(0, 0, 18), // "TopEditorContainer"
QT_MOC_LITERAL(1, 19, 17), // "currentTabChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 16), // "EditorTabWidget*"
QT_MOC_LITERAL(4, 55, 9), // "tabWidget"
QT_MOC_LITERAL(5, 65, 3), // "tab"
QT_MOC_LITERAL(6, 69, 23), // "currentTabWidgetChanged"
QT_MOC_LITERAL(7, 93, 20), // "currentEditorChanged"
QT_MOC_LITERAL(8, 114, 29), // "customTabContextMenuRequested"
QT_MOC_LITERAL(9, 144, 5), // "point"
QT_MOC_LITERAL(10, 150, 17), // "tabCloseRequested"
QT_MOC_LITERAL(11, 168, 11), // "editorAdded"
QT_MOC_LITERAL(12, 180, 16), // "editorMouseWheel"
QT_MOC_LITERAL(13, 197, 12), // "QWheelEvent*"
QT_MOC_LITERAL(14, 210, 2), // "ev"
QT_MOC_LITERAL(15, 213, 19), // "tabBarDoubleClicked"
QT_MOC_LITERAL(16, 233, 20), // "on_currentTabChanged"
QT_MOC_LITERAL(17, 254, 5), // "index"
QT_MOC_LITERAL(18, 260, 26), // "on_currentTabWidgetChanged"
QT_MOC_LITERAL(19, 287, 29), // "on_customContextMenuRequested"
QT_MOC_LITERAL(20, 317, 20), // "on_tabCloseRequested"
QT_MOC_LITERAL(21, 338, 14) // "on_editorAdded"

    },
    "TopEditorContainer\0currentTabChanged\0"
    "\0EditorTabWidget*\0tabWidget\0tab\0"
    "currentTabWidgetChanged\0currentEditorChanged\0"
    "customTabContextMenuRequested\0point\0"
    "tabCloseRequested\0editorAdded\0"
    "editorMouseWheel\0QWheelEvent*\0ev\0"
    "tabBarDoubleClicked\0on_currentTabChanged\0"
    "index\0on_currentTabWidgetChanged\0"
    "on_customContextMenuRequested\0"
    "on_tabCloseRequested\0on_editorAdded"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TopEditorContainer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   79,    2, 0x06 /* Public */,
       6,    1,   84,    2, 0x06 /* Public */,
       7,    2,   87,    2, 0x06 /* Public */,
       8,    3,   92,    2, 0x06 /* Public */,
      10,    2,   99,    2, 0x06 /* Public */,
      11,    2,  104,    2, 0x06 /* Public */,
      12,    3,  109,    2, 0x06 /* Public */,
      15,    2,  116,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    1,  121,    2, 0x08 /* Private */,
      18,    0,  124,    2, 0x08 /* Private */,
      19,    1,  125,    2, 0x08 /* Private */,
      20,    1,  128,    2, 0x08 /* Private */,
      21,    1,  131,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, QMetaType::QPoint, 0x80000000 | 3, QMetaType::Int,    9,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 0x80000000 | 13,    4,    5,   14,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,    9,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Int,    5,

       0        // eod
};

void TopEditorContainer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TopEditorContainer *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->currentTabChanged((*reinterpret_cast< EditorTabWidget*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->currentTabWidgetChanged((*reinterpret_cast< EditorTabWidget*(*)>(_a[1]))); break;
        case 2: _t->currentEditorChanged((*reinterpret_cast< EditorTabWidget*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->customTabContextMenuRequested((*reinterpret_cast< QPoint(*)>(_a[1])),(*reinterpret_cast< EditorTabWidget*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 4: _t->tabCloseRequested((*reinterpret_cast< EditorTabWidget*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->editorAdded((*reinterpret_cast< EditorTabWidget*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->editorMouseWheel((*reinterpret_cast< EditorTabWidget*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QWheelEvent*(*)>(_a[3]))); break;
        case 7: _t->tabBarDoubleClicked((*reinterpret_cast< EditorTabWidget*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: _t->on_currentTabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->on_currentTabWidgetChanged(); break;
        case 10: _t->on_customContextMenuRequested((*reinterpret_cast< QPoint(*)>(_a[1]))); break;
        case 11: _t->on_tabCloseRequested((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->on_editorAdded((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< EditorTabWidget* >(); break;
            }
            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< EditorTabWidget* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< EditorTabWidget* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< EditorTabWidget* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< EditorTabWidget* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< EditorTabWidget* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< EditorTabWidget* >(); 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< EditorTabWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TopEditorContainer::*)(EditorTabWidget * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TopEditorContainer::currentTabChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TopEditorContainer::*)(EditorTabWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TopEditorContainer::currentTabWidgetChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TopEditorContainer::*)(EditorTabWidget * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TopEditorContainer::currentEditorChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (TopEditorContainer::*)(QPoint , EditorTabWidget * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TopEditorContainer::customTabContextMenuRequested)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (TopEditorContainer::*)(EditorTabWidget * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TopEditorContainer::tabCloseRequested)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (TopEditorContainer::*)(EditorTabWidget * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TopEditorContainer::editorAdded)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (TopEditorContainer::*)(EditorTabWidget * , int , QWheelEvent * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TopEditorContainer::editorMouseWheel)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (TopEditorContainer::*)(EditorTabWidget * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TopEditorContainer::tabBarDoubleClicked)) {
                *result = 7;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject TopEditorContainer::staticMetaObject = { {
    QMetaObject::SuperData::link<QSplitter::staticMetaObject>(),
    qt_meta_stringdata_TopEditorContainer.data,
    qt_meta_data_TopEditorContainer,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *TopEditorContainer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_TopEditorContainer.stringdata0))
        return static_cast<void*>(this);
    return QSplitter::qt_metacast(_clname);
}

int TopEditorContainer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSplitter::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void TopEditorContainer::currentTabChanged(EditorTabWidget * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void TopEditorContainer::currentTabWidgetChanged(EditorTabWidget * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void TopEditorContainer::currentEditorChanged(EditorTabWidget * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void TopEditorContainer::customTabContextMenuRequested(QPoint _t1, EditorTabWidget * _t2, int _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void TopEditorContainer::tabCloseRequested(EditorTabWidget * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void TopEditorContainer::editorAdded(EditorTabWidget * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void TopEditorContainer::editorMouseWheel(EditorTabWidget * _t1, int _t2, QWheelEvent * _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void TopEditorContainer::tabBarDoubleClicked(EditorTabWidget * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
