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

#include <memory>
#include "../widgets/qtabbar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qtabbar.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_QTabBar_t {
    QByteArrayData data[38];
    char stringdata0[465];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QTabBar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QTabBar_t qt_meta_stringdata_QTabBar = {
    {
QT_MOC_LITERAL(0, 0, 7), // "QTabBar"
QT_MOC_LITERAL(1, 8, 14), // "currentChanged"
QT_MOC_LITERAL(2, 23, 0), // ""
QT_MOC_LITERAL(3, 24, 5), // "index"
QT_MOC_LITERAL(4, 30, 17), // "tabCloseRequested"
QT_MOC_LITERAL(5, 48, 8), // "tabMoved"
QT_MOC_LITERAL(6, 57, 4), // "from"
QT_MOC_LITERAL(7, 62, 2), // "to"
QT_MOC_LITERAL(8, 65, 13), // "tabBarClicked"
QT_MOC_LITERAL(9, 79, 19), // "tabBarDoubleClicked"
QT_MOC_LITERAL(10, 99, 15), // "setCurrentIndex"
QT_MOC_LITERAL(11, 115, 13), // "_q_scrollTabs"
QT_MOC_LITERAL(12, 129, 11), // "_q_closeTab"
QT_MOC_LITERAL(13, 141, 5), // "shape"
QT_MOC_LITERAL(14, 147, 5), // "Shape"
QT_MOC_LITERAL(15, 153, 12), // "currentIndex"
QT_MOC_LITERAL(16, 166, 5), // "count"
QT_MOC_LITERAL(17, 172, 8), // "drawBase"
QT_MOC_LITERAL(18, 181, 8), // "iconSize"
QT_MOC_LITERAL(19, 190, 9), // "elideMode"
QT_MOC_LITERAL(20, 200, 17), // "Qt::TextElideMode"
QT_MOC_LITERAL(21, 218, 17), // "usesScrollButtons"
QT_MOC_LITERAL(22, 236, 12), // "tabsClosable"
QT_MOC_LITERAL(23, 249, 25), // "selectionBehaviorOnRemove"
QT_MOC_LITERAL(24, 275, 17), // "SelectionBehavior"
QT_MOC_LITERAL(25, 293, 9), // "expanding"
QT_MOC_LITERAL(26, 303, 7), // "movable"
QT_MOC_LITERAL(27, 311, 12), // "documentMode"
QT_MOC_LITERAL(28, 324, 8), // "autoHide"
QT_MOC_LITERAL(29, 333, 19), // "changeCurrentOnDrag"
QT_MOC_LITERAL(30, 353, 12), // "RoundedNorth"
QT_MOC_LITERAL(31, 366, 12), // "RoundedSouth"
QT_MOC_LITERAL(32, 379, 11), // "RoundedWest"
QT_MOC_LITERAL(33, 391, 11), // "RoundedEast"
QT_MOC_LITERAL(34, 403, 15), // "TriangularNorth"
QT_MOC_LITERAL(35, 419, 15), // "TriangularSouth"
QT_MOC_LITERAL(36, 435, 14), // "TriangularWest"
QT_MOC_LITERAL(37, 450, 14) // "TriangularEast"

    },
    "QTabBar\0currentChanged\0\0index\0"
    "tabCloseRequested\0tabMoved\0from\0to\0"
    "tabBarClicked\0tabBarDoubleClicked\0"
    "setCurrentIndex\0_q_scrollTabs\0_q_closeTab\0"
    "shape\0Shape\0currentIndex\0count\0drawBase\0"
    "iconSize\0elideMode\0Qt::TextElideMode\0"
    "usesScrollButtons\0tabsClosable\0"
    "selectionBehaviorOnRemove\0SelectionBehavior\0"
    "expanding\0movable\0documentMode\0autoHide\0"
    "changeCurrentOnDrag\0RoundedNorth\0"
    "RoundedSouth\0RoundedWest\0RoundedEast\0"
    "TriangularNorth\0TriangularSouth\0"
    "TriangularWest\0TriangularEast"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QTabBar[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
      14,   76, // properties
       1,  132, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x06 /* Public */,
       4,    1,   57,    2, 0x06 /* Public */,
       5,    2,   60,    2, 0x06 /* Public */,
       8,    1,   65,    2, 0x06 /* Public */,
       9,    1,   68,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,   71,    2, 0x0a /* Public */,
      11,    0,   74,    2, 0x08 /* Private */,
      12,    0,   75,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    6,    7,
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, QMetaType::Int,    3,

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

 // properties: name, type, flags
      13, 0x80000000 | 14, 0x0009510b,
      15, QMetaType::Int, 0x00495103,
      16, QMetaType::Int, 0x00095001,
      17, QMetaType::Bool, 0x00095103,
      18, QMetaType::QSize, 0x00095103,
      19, 0x80000000 | 20, 0x0009510b,
      21, QMetaType::Bool, 0x00095103,
      22, QMetaType::Bool, 0x00095103,
      23, 0x80000000 | 24, 0x0009510b,
      25, QMetaType::Bool, 0x00095103,
      26, QMetaType::Bool, 0x00095103,
      27, QMetaType::Bool, 0x00095103,
      28, QMetaType::Bool, 0x00095103,
      29, QMetaType::Bool, 0x00095103,

 // properties: notify_signal_id
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,

 // enums: name, alias, flags, count, data
      14,   14, 0x0,    8,  137,

 // enum data: key, value
      30, uint(QTabBar::RoundedNorth),
      31, uint(QTabBar::RoundedSouth),
      32, uint(QTabBar::RoundedWest),
      33, uint(QTabBar::RoundedEast),
      34, uint(QTabBar::TriangularNorth),
      35, uint(QTabBar::TriangularSouth),
      36, uint(QTabBar::TriangularWest),
      37, uint(QTabBar::TriangularEast),

       0        // eod
};

void QTabBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QTabBar *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->tabCloseRequested((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->tabMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->tabBarClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->tabBarDoubleClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->setCurrentIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->d_func()->_q_scrollTabs(); break;
        case 7: _t->d_func()->_q_closeTab(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QTabBar::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTabBar::currentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QTabBar::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTabBar::tabCloseRequested)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QTabBar::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTabBar::tabMoved)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QTabBar::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTabBar::tabBarClicked)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QTabBar::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTabBar::tabBarDoubleClicked)) {
                *result = 4;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QTabBar *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Shape*>(_v) = _t->shape(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->currentIndex(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->count(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->drawBase(); break;
        case 4: *reinterpret_cast< QSize*>(_v) = _t->iconSize(); break;
        case 5: *reinterpret_cast< Qt::TextElideMode*>(_v) = _t->elideMode(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->usesScrollButtons(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->tabsClosable(); break;
        case 8: *reinterpret_cast< SelectionBehavior*>(_v) = _t->selectionBehaviorOnRemove(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->expanding(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->isMovable(); break;
        case 11: *reinterpret_cast< bool*>(_v) = _t->documentMode(); break;
        case 12: *reinterpret_cast< bool*>(_v) = _t->autoHide(); break;
        case 13: *reinterpret_cast< bool*>(_v) = _t->changeCurrentOnDrag(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QTabBar *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setShape(*reinterpret_cast< Shape*>(_v)); break;
        case 1: _t->setCurrentIndex(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setDrawBase(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setIconSize(*reinterpret_cast< QSize*>(_v)); break;
        case 5: _t->setElideMode(*reinterpret_cast< Qt::TextElideMode*>(_v)); break;
        case 6: _t->setUsesScrollButtons(*reinterpret_cast< bool*>(_v)); break;
        case 7: _t->setTabsClosable(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setSelectionBehaviorOnRemove(*reinterpret_cast< SelectionBehavior*>(_v)); break;
        case 9: _t->setExpanding(*reinterpret_cast< bool*>(_v)); break;
        case 10: _t->setMovable(*reinterpret_cast< bool*>(_v)); break;
        case 11: _t->setDocumentMode(*reinterpret_cast< bool*>(_v)); break;
        case 12: _t->setAutoHide(*reinterpret_cast< bool*>(_v)); break;
        case 13: _t->setChangeCurrentOnDrag(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QTabBar::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_QTabBar.data,
    qt_meta_data_QTabBar,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QTabBar::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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 14;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 14;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void QTabBar::tabMoved(int _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 QTabBar::tabBarClicked(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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