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

#include "../src/lib/tabwidget/tabbar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'tabbar.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_TabBar_t {
    QByteArrayData data[21];
    char stringdata0[242];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TabBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TabBar_t qt_meta_stringdata_TabBar = {
    {
QT_MOC_LITERAL(0, 0, 6), // "TabBar"
QT_MOC_LITERAL(1, 7, 9), // "reloadTab"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 5), // "index"
QT_MOC_LITERAL(4, 24, 7), // "stopTab"
QT_MOC_LITERAL(5, 32, 18), // "closeAllButCurrent"
QT_MOC_LITERAL(6, 51, 8), // "closeTab"
QT_MOC_LITERAL(7, 60, 12), // "duplicateTab"
QT_MOC_LITERAL(8, 73, 9), // "detachTab"
QT_MOC_LITERAL(9, 83, 16), // "moveAddTabButton"
QT_MOC_LITERAL(10, 100, 4), // "posX"
QT_MOC_LITERAL(11, 105, 17), // "currentTabChanged"
QT_MOC_LITERAL(12, 123, 15), // "overflowChanged"
QT_MOC_LITERAL(13, 139, 10), // "overflowed"
QT_MOC_LITERAL(14, 150, 11), // "bookmarkTab"
QT_MOC_LITERAL(15, 162, 6), // "pinTab"
QT_MOC_LITERAL(16, 169, 15), // "closeCurrentTab"
QT_MOC_LITERAL(17, 185, 18), // "closeTabFromButton"
QT_MOC_LITERAL(18, 204, 14), // "showTabPreview"
QT_MOC_LITERAL(19, 219, 7), // "delayed"
QT_MOC_LITERAL(20, 227, 14) // "hideTabPreview"

    },
    "TabBar\0reloadTab\0\0index\0stopTab\0"
    "closeAllButCurrent\0closeTab\0duplicateTab\0"
    "detachTab\0moveAddTabButton\0posX\0"
    "currentTabChanged\0overflowChanged\0"
    "overflowed\0bookmarkTab\0pinTab\0"
    "closeCurrentTab\0closeTabFromButton\0"
    "showTabPreview\0delayed\0hideTabPreview"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TabBar[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  129,    2, 0x06 /* Public */,
       4,    1,  132,    2, 0x06 /* Public */,
       5,    1,  135,    2, 0x06 /* Public */,
       6,    1,  138,    2, 0x06 /* Public */,
       7,    1,  141,    2, 0x06 /* Public */,
       8,    1,  144,    2, 0x06 /* Public */,
       9,    1,  147,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,  150,    2, 0x08 /* Private */,
      12,    1,  153,    2, 0x08 /* Private */,
       1,    0,  156,    2, 0x08 /* Private */,
       4,    0,  157,    2, 0x08 /* Private */,
       6,    0,  158,    2, 0x08 /* Private */,
       7,    0,  159,    2, 0x08 /* Private */,
       8,    0,  160,    2, 0x08 /* Private */,
      14,    0,  161,    2, 0x08 /* Private */,
      15,    0,  162,    2, 0x08 /* Private */,
      16,    0,  163,    2, 0x08 /* Private */,
       5,    0,  164,    2, 0x08 /* Private */,
      17,    0,  165,    2, 0x08 /* Private */,
      18,    1,  166,    2, 0x08 /* Private */,
      18,    0,  169,    2, 0x28 /* Private | MethodCloned */,
      20,    1,  170,    2, 0x08 /* Private */,
      20,    0,  173,    2, 0x28 /* Private | MethodCloned */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,   10,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   19,
    QMetaType::Void,

       0        // eod
};

void TabBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TabBar *_t = static_cast<TabBar *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->reloadTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->stopTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->closeAllButCurrent((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->closeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->duplicateTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->detachTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->moveAddTabButton((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->currentTabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->overflowChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->reloadTab(); break;
        case 10: _t->stopTab(); break;
        case 11: _t->closeTab(); break;
        case 12: _t->duplicateTab(); break;
        case 13: _t->detachTab(); break;
        case 14: _t->bookmarkTab(); break;
        case 15: _t->pinTab(); break;
        case 16: _t->closeCurrentTab(); break;
        case 17: _t->closeAllButCurrent(); break;
        case 18: _t->closeTabFromButton(); break;
        case 19: _t->showTabPreview((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 20: _t->showTabPreview(); break;
        case 21: _t->hideTabPreview((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 22: _t->hideTabPreview(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabBar::reloadTab)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabBar::stopTab)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabBar::closeAllButCurrent)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabBar::closeTab)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabBar::duplicateTab)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (TabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabBar::detachTab)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (TabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TabBar::moveAddTabButton)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject TabBar::staticMetaObject = {
    { &ComboTabBar::staticMetaObject, qt_meta_stringdata_TabBar.data,
      qt_meta_data_TabBar,  qt_static_metacall, nullptr, nullptr}
};


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

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

int TabBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ComboTabBar::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 23;
    }
    return _id;
}

// SIGNAL 0
void TabBar::reloadTab(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void TabBar::closeAllButCurrent(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void TabBar::closeTab(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void TabBar::duplicateTab(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void TabBar::detachTab(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void TabBar::moveAddTabButton(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
