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

#include "../../../src/juffed-74ab7236a30be17351edc5b83eb3579affd96913/src/app/ui/TabWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TabWidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_Juff__TabWidget_t {
    QByteArrayData data[17];
    char stringdata0[272];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Juff__TabWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Juff__TabWidget_t qt_meta_stringdata_Juff__TabWidget = {
    {
QT_MOC_LITERAL(0, 0, 15), // "Juff::TabWidget"
QT_MOC_LITERAL(1, 16, 14), // "requestDocMove"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 15), // "Juff::Document*"
QT_MOC_LITERAL(4, 48, 16), // "Juff::TabWidget*"
QT_MOC_LITERAL(5, 65, 10), // "tabRemoved"
QT_MOC_LITERAL(6, 76, 14), // "docStackCalled"
QT_MOC_LITERAL(7, 91, 7), // "forward"
QT_MOC_LITERAL(8, 99, 23), // "onDocListNeedsToBeShown"
QT_MOC_LITERAL(9, 123, 21), // "onDocMenuItemSelected"
QT_MOC_LITERAL(10, 145, 19), // "onTabCloseRequested"
QT_MOC_LITERAL(11, 165, 19), // "onCloseAllRequested"
QT_MOC_LITERAL(12, 185, 24), // "onCloseAllOtherRequested"
QT_MOC_LITERAL(13, 210, 11), // "slotMoveDoc"
QT_MOC_LITERAL(14, 222, 16), // "slotCopyFileName"
QT_MOC_LITERAL(15, 239, 16), // "slotCopyFilePath"
QT_MOC_LITERAL(16, 256, 15) // "slotCopyDirPath"

    },
    "Juff::TabWidget\0requestDocMove\0\0"
    "Juff::Document*\0Juff::TabWidget*\0"
    "tabRemoved\0docStackCalled\0forward\0"
    "onDocListNeedsToBeShown\0onDocMenuItemSelected\0"
    "onTabCloseRequested\0onCloseAllRequested\0"
    "onCloseAllOtherRequested\0slotMoveDoc\0"
    "slotCopyFileName\0slotCopyFilePath\0"
    "slotCopyDirPath"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Juff__TabWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   74,    2, 0x06 /* Public */,
       5,    1,   79,    2, 0x06 /* Public */,
       6,    1,   82,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   85,    2, 0x08 /* Private */,
       9,    0,   86,    2, 0x08 /* Private */,
      10,    1,   87,    2, 0x08 /* Private */,
      11,    0,   90,    2, 0x08 /* Private */,
      12,    1,   91,    2, 0x08 /* Private */,
      13,    0,   94,    2, 0x08 /* Private */,
      14,    0,   95,    2, 0x08 /* Private */,
      15,    0,   96,    2, 0x08 /* Private */,
      16,    0,   97,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Juff::TabWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TabWidget *_t = static_cast<TabWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->requestDocMove((*reinterpret_cast< Juff::Document*(*)>(_a[1])),(*reinterpret_cast< Juff::TabWidget*(*)>(_a[2]))); break;
        case 1: _t->tabRemoved((*reinterpret_cast< Juff::TabWidget*(*)>(_a[1]))); break;
        case 2: _t->docStackCalled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->onDocListNeedsToBeShown(); break;
        case 4: _t->onDocMenuItemSelected(); break;
        case 5: _t->onTabCloseRequested((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->onCloseAllRequested(); break;
        case 7: _t->onCloseAllOtherRequested((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->slotMoveDoc(); break;
        case 9: _t->slotCopyFileName(); break;
        case 10: _t->slotCopyFilePath(); break;
        case 11: _t->slotCopyDirPath(); 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Juff::TabWidget* >(); 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< Juff::TabWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TabWidget::*_t)(Juff::Document * , Juff::TabWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TabWidget::requestDocMove)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TabWidget::*_t)(Juff::TabWidget * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TabWidget::tabRemoved)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TabWidget::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TabWidget::docStackCalled)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject Juff::TabWidget::staticMetaObject = {
    { &QTabWidget::staticMetaObject, qt_meta_stringdata_Juff__TabWidget.data,
      qt_meta_data_Juff__TabWidget,  qt_static_metacall, nullptr, nullptr}
};


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

void *Juff::TabWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Juff__TabWidget.stringdata0))
        return static_cast<void*>(this);
    return QTabWidget::qt_metacast(_clname);
}

int Juff::TabWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTabWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void Juff::TabWidget::requestDocMove(Juff::Document * _t1, Juff::TabWidget * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Juff::TabWidget::tabRemoved(Juff::TabWidget * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Juff::TabWidget::docStackCalled(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
