9 #include <QtCore/qbytearray.h> 10 #include <QtCore/qmetatype.h> 11 #if !defined(Q_MOC_OUTPUT_REVISION) 12 #error "The header file 'tabbarinfo.h' doesn't include <QObject>." 13 #elif Q_MOC_OUTPUT_REVISION != 67 14 #error "This file was generated using the moc from 5.5.1. It" 15 #error "cannot be used with the include files from this version of Qt." 16 #error "(The moc has changed too much.)" 19 QT_BEGIN_MOC_NAMESPACE
24 #define QT_MOC_LITERAL(idx, ofs, len) \ 25 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 26 qptrdiff(offsetof(qt_meta_stringdata_TabBarInfo_t, stringdata0) + ofs \ 27 - idx * sizeof(QByteArrayData)) \ 38 "TabBarInfo\0on_currentChanged\0\0index\0" 43 static const uint qt_meta_data_TabBarInfo[] = {
61 QMetaType::Void, QMetaType::Int, 3,
67 void TabBarInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
69 if (_c == QMetaObject::InvokeMetaMethod) {
80 const QMetaObject TabBarInfo::staticMetaObject = {
81 { &QObject::staticMetaObject, qt_meta_stringdata_TabBarInfo.
data,
82 qt_meta_data_TabBarInfo, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
86 const QMetaObject *TabBarInfo::metaObject()
const 88 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
91 void *TabBarInfo::qt_metacast(
const char *_clname)
93 if (!_clname)
return Q_NULLPTR;
94 if (!strcmp(_clname, qt_meta_stringdata_TabBarInfo.
stringdata0))
95 return static_cast<void*
>(
const_cast< TabBarInfo*
>(
this));
96 return QObject::qt_metacast(_clname);
99 int TabBarInfo::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
101 _id = QObject::qt_metacall(_c, _id, _a);
104 if (_c == QMetaObject::InvokeMetaMethod) {
106 qt_static_metacall(
this, _c, _id, _a);
108 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
110 *
reinterpret_cast<int*
>(_a[0]) = -1;
void on_closeButtonClick()
on_closeButtonClick Slot for close button click
#define QT_MOC_LITERAL(idx, ofs, len)
void on_currentChanged(int index)
on_currentChanged Slot for changing the tab bar index
The TabBarInfo class Class for informations about tabs.