9 #include <QtCore/qbytearray.h> 10 #include <QtCore/qmetatype.h> 11 #if !defined(Q_MOC_OUTPUT_REVISION) 12 #error "The header file 'navigationbar.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_NavigationBar_t, stringdata0) + ofs \ 27 - idx * sizeof(QByteArrayData)) \ 40 "NavigationBar\0resized\0\0onSubBarClick\0" 41 "setToolButtonStyle\0Qt::ToolButtonStyle\0" 46 static const uint qt_meta_data_NavigationBar[] = {
67 QMetaType::Void, QMetaType::QSize, 2,
70 QMetaType::Void, QMetaType::Bool, 2,
71 QMetaType::Void, 0x80000000 | 5, 6,
76 void NavigationBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
78 if (_c == QMetaObject::InvokeMetaMethod) {
82 case 0: _t->
resized((*
reinterpret_cast< const QSize(*)
>(_a[1])));
break;
83 case 1: _t->
onSubBarClick((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
84 case 2: _t->
setToolButtonStyle((*
reinterpret_cast< Qt::ToolButtonStyle(*)
>(_a[1])));
break;
87 }
else if (_c == QMetaObject::IndexOfMethod) {
88 int *result =
reinterpret_cast<int *
>(_a[0]);
89 void **func =
reinterpret_cast<void **
>(_a[1]);
99 const QMetaObject NavigationBar::staticMetaObject = {
100 { &QWidget::staticMetaObject, qt_meta_stringdata_NavigationBar.
data,
101 qt_meta_data_NavigationBar, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
105 const QMetaObject *NavigationBar::metaObject()
const 107 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
110 void *NavigationBar::qt_metacast(
const char *_clname)
112 if (!_clname)
return Q_NULLPTR;
113 if (!strcmp(_clname, qt_meta_stringdata_NavigationBar.
stringdata0))
114 return static_cast<void*
>(
const_cast< NavigationBar*
>(
this));
115 return QWidget::qt_metacast(_clname);
118 int NavigationBar::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
120 _id = QWidget::qt_metacall(_c, _id, _a);
123 if (_c == QMetaObject::InvokeMetaMethod) {
125 qt_static_metacall(
this, _c, _id, _a);
127 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
129 *
reinterpret_cast<int*
>(_a[0]) = -1;
138 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
139 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
void setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle)
setToolButtonStyle Set the style for the tool buttons
void resized(const QSize &)
resized Signal that the size is changed
#define QT_MOC_LITERAL(idx, ofs, len)
void onSubBarClick(bool)
onSubBarClick Activate the sub-navigation bar
The NavigationBar class Custom control for navigation bar.