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

#include "../../../../src/qtbase-opensource-src-5.5.1/src/widgets/widgets/qtabwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qtabwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. 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_QTabWidget_t {
    QByteArrayData data[34];
    char stringdata0[376];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QTabWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QTabWidget_t qt_meta_stringdata_QTabWidget = {
    {
QT_MOC_LITERAL(0, 0, 10), // "QTabWidget"
QT_MOC_LITERAL(1, 11, 14), // "currentChanged"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 5), // "index"
QT_MOC_LITERAL(4, 33, 17), // "tabCloseRequested"
QT_MOC_LITERAL(5, 51, 13), // "tabBarClicked"
QT_MOC_LITERAL(6, 65, 19), // "tabBarDoubleClicked"
QT_MOC_LITERAL(7, 85, 15), // "setCurrentIndex"
QT_MOC_LITERAL(8, 101, 16), // "setCurrentWidget"
QT_MOC_LITERAL(9, 118, 8), // "QWidget*"
QT_MOC_LITERAL(10, 127, 6), // "widget"
QT_MOC_LITERAL(11, 134, 10), // "_q_showTab"
QT_MOC_LITERAL(12, 145, 12), // "_q_removeTab"
QT_MOC_LITERAL(13, 158, 11), // "_q_tabMoved"
QT_MOC_LITERAL(14, 170, 11), // "tabPosition"
QT_MOC_LITERAL(15, 182, 11), // "TabPosition"
QT_MOC_LITERAL(16, 194, 8), // "tabShape"
QT_MOC_LITERAL(17, 203, 8), // "TabShape"
QT_MOC_LITERAL(18, 212, 12), // "currentIndex"
QT_MOC_LITERAL(19, 225, 5), // "count"
QT_MOC_LITERAL(20, 231, 8), // "iconSize"
QT_MOC_LITERAL(21, 240, 9), // "elideMode"
QT_MOC_LITERAL(22, 250, 17), // "Qt::TextElideMode"
QT_MOC_LITERAL(23, 268, 17), // "usesScrollButtons"
QT_MOC_LITERAL(24, 286, 12), // "documentMode"
QT_MOC_LITERAL(25, 299, 12), // "tabsClosable"
QT_MOC_LITERAL(26, 312, 7), // "movable"
QT_MOC_LITERAL(27, 320, 14), // "tabBarAutoHide"
QT_MOC_LITERAL(28, 335, 5), // "North"
QT_MOC_LITERAL(29, 341, 5), // "South"
QT_MOC_LITERAL(30, 347, 4), // "West"
QT_MOC_LITERAL(31, 352, 4), // "East"
QT_MOC_LITERAL(32, 357, 7), // "Rounded"
QT_MOC_LITERAL(33, 365, 10) // "Triangular"

    },
    "QTabWidget\0currentChanged\0\0index\0"
    "tabCloseRequested\0tabBarClicked\0"
    "tabBarDoubleClicked\0setCurrentIndex\0"
    "setCurrentWidget\0QWidget*\0widget\0"
    "_q_showTab\0_q_removeTab\0_q_tabMoved\0"
    "tabPosition\0TabPosition\0tabShape\0"
    "TabShape\0currentIndex\0count\0iconSize\0"
    "elideMode\0Qt::TextElideMode\0"
    "usesScrollButtons\0documentMode\0"
    "tabsClosable\0movable\0tabBarAutoHide\0"
    "North\0South\0West\0East\0Rounded\0Triangular"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QTabWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
      11,   88, // properties
       2,  132, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       4,    1,   62,    2, 0x06 /* Public */,
       5,    1,   65,    2, 0x06 /* Public */,
       6,    1,   68,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   71,    2, 0x0a /* Public */,
       8,    1,   74,    2, 0x0a /* Public */,
      11,    1,   77,    2, 0x08 /* Private */,
      12,    1,   80,    2, 0x08 /* Private */,
      13,    2,   83,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,

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

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

 // enums: name, flags, count, data
      15, 0x0,    4,  140,
      17, 0x0,    2,  148,

 // enum data: key, value
      28, uint(QTabWidget::North),
      29, uint(QTabWidget::South),
      30, uint(QTabWidget::West),
      31, uint(QTabWidget::East),
      32, uint(QTabWidget::Rounded),
      33, uint(QTabWidget::Triangular),

       0        // eod
};

void QTabWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QTabWidget *_t = static_cast<QTabWidget *>(_o);
        Q_UNUSED(_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->tabBarClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->tabBarDoubleClicked((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->setCurrentIndex((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->setCurrentWidget((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
        case 6: _t->d_func()->_q_showTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->d_func()->_q_removeTab((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->d_func()->_q_tabMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< QWidget* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QTabWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTabWidget::currentChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QTabWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTabWidget::tabCloseRequested)) {
                *result = 1;
            }
        }
        {
            typedef void (QTabWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTabWidget::tabBarClicked)) {
                *result = 2;
            }
        }
        {
            typedef void (QTabWidget::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QTabWidget::tabBarDoubleClicked)) {
                *result = 3;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QTabWidget *_t = static_cast<QTabWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< TabPosition*>(_v) = _t->tabPosition(); break;
        case 1: *reinterpret_cast< TabShape*>(_v) = _t->tabShape(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->currentIndex(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->count(); 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->documentMode(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->tabsClosable(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->isMovable(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->tabBarAutoHide(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QTabWidget *_t = static_cast<QTabWidget *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setTabPosition(*reinterpret_cast< TabPosition*>(_v)); break;
        case 1: _t->setTabShape(*reinterpret_cast< TabShape*>(_v)); break;
        case 2: _t->setCurrentIndex(*reinterpret_cast< int*>(_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->setDocumentMode(*reinterpret_cast< bool*>(_v)); break;
        case 8: _t->setTabsClosable(*reinterpret_cast< bool*>(_v)); break;
        case 9: _t->setMovable(*reinterpret_cast< bool*>(_v)); break;
        case 10: _t->setTabBarAutoHide(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QTabWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QTabWidget.data,
      qt_meta_data_QTabWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QTabWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QTabWidget.stringdata0))
        return static_cast<void*>(const_cast< QTabWidget*>(this));
    return QWidget::qt_metacast(_clname);
}

int QTabWidget::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
#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 -= 11;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 11;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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