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

#include "../../../../src/qtbase-opensource-src-5.4.2/src/widgets/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.4.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_QTabBar_t {
    QByteArrayData data[38];
    char stringdata[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, stringdata) + 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:
       7,       // 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, flags, count, data
      14, 0x0,    8,  136,

 // 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) {
        QTabBar *_t = static_cast<QTabBar *>(_o);
        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]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QTabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTabBar::currentChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QTabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTabBar::tabCloseRequested)) {
                *result = 1;
            }
        }
        {
            typedef void (QTabBar::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTabBar::tabMoved)) {
                *result = 2;
            }
        }
        {
            typedef void (QTabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTabBar::tabBarClicked)) {
                *result = 3;
            }
        }
        {
            typedef void (QTabBar::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTabBar::tabBarDoubleClicked)) {
                *result = 4;
            }
        }
    }
}

const QMetaObject QTabBar::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QTabBar.data,
      qt_meta_data_QTabBar,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QTabBar.stringdata))
        return static_cast<void*>(const_cast< QTabBar*>(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) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Shape*>(_v) = shape(); break;
        case 1: *reinterpret_cast< int*>(_v) = currentIndex(); break;
        case 2: *reinterpret_cast< int*>(_v) = count(); break;
        case 3: *reinterpret_cast< bool*>(_v) = drawBase(); break;
        case 4: *reinterpret_cast< QSize*>(_v) = iconSize(); break;
        case 5: *reinterpret_cast< Qt::TextElideMode*>(_v) = elideMode(); break;
        case 6: *reinterpret_cast< bool*>(_v) = usesScrollButtons(); break;
        case 7: *reinterpret_cast< bool*>(_v) = tabsClosable(); break;
        case 8: *reinterpret_cast< SelectionBehavior*>(_v) = selectionBehaviorOnRemove(); break;
        case 9: *reinterpret_cast< bool*>(_v) = expanding(); break;
        case 10: *reinterpret_cast< bool*>(_v) = isMovable(); break;
        case 11: *reinterpret_cast< bool*>(_v) = documentMode(); break;
        case 12: *reinterpret_cast< bool*>(_v) = autoHide(); break;
        case 13: *reinterpret_cast< bool*>(_v) = changeCurrentOnDrag(); break;
        default: break;
        }
        _id -= 14;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setShape(*reinterpret_cast< Shape*>(_v)); break;
        case 1: setCurrentIndex(*reinterpret_cast< int*>(_v)); break;
        case 3: setDrawBase(*reinterpret_cast< bool*>(_v)); break;
        case 4: setIconSize(*reinterpret_cast< QSize*>(_v)); break;
        case 5: setElideMode(*reinterpret_cast< Qt::TextElideMode*>(_v)); break;
        case 6: setUsesScrollButtons(*reinterpret_cast< bool*>(_v)); break;
        case 7: setTabsClosable(*reinterpret_cast< bool*>(_v)); break;
        case 8: setSelectionBehaviorOnRemove(*reinterpret_cast< SelectionBehavior*>(_v)); break;
        case 9: setExpanding(*reinterpret_cast< bool*>(_v)); break;
        case 10: setMovable(*reinterpret_cast< bool*>(_v)); break;
        case 11: setDocumentMode(*reinterpret_cast< bool*>(_v)); break;
        case 12: setAutoHide(*reinterpret_cast< bool*>(_v)); break;
        case 13: setChangeCurrentOnDrag(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
        _id -= 14;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void QTabBar::tabMoved(int _t1, int _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, 2, _a);
}

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

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