9 #include "../../../../pv/widgets/devicetoolbutton.hpp" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'devicetoolbutton.hpp' doesn't include <QObject>." 14 #elif Q_MOC_OUTPUT_REVISION != 67 15 #error "This file was generated using the moc from 5.5.1. It" 16 #error "cannot be used with the include files from this version of Qt." 17 #error "(The moc has changed too much.)" 20 QT_BEGIN_MOC_NAMESPACE
25 #define QT_MOC_LITERAL(idx, ofs, len) \ 26 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 27 qptrdiff(offsetof(qt_meta_stringdata_pv__widgets__DeviceToolButton_t, stringdata0) + ofs \ 28 - idx * sizeof(QByteArrayData)) \ 42 "pv::widgets::DeviceToolButton\0" 43 "device_selected\0\0on_action\0action\0" 44 "on_menu_hovered\0QAction*\0on_menu_hover_timeout" 73 QMetaType::Void, QMetaType::QObjectStar, 4,
74 QMetaType::Void, 0x80000000 | 6, 4,
80 void pv::widgets::DeviceToolButton::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
82 if (_c == QMetaObject::InvokeMetaMethod) {
83 DeviceToolButton *_t =
static_cast<DeviceToolButton *
>(_o);
86 case 0: _t->device_selected();
break;
87 case 1: _t->on_action((*
reinterpret_cast< QObject*(*)
>(_a[1])));
break;
88 case 2: _t->on_menu_hovered((*
reinterpret_cast< QAction*(*)
>(_a[1])));
break;
89 case 3: _t->on_menu_hover_timeout();
break;
92 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
94 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
96 switch (*reinterpret_cast<int*>(_a[1])) {
97 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
99 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< QAction* >();
break;
103 }
else if (_c == QMetaObject::IndexOfMethod) {
104 int *result =
reinterpret_cast<int *
>(_a[0]);
105 void **func =
reinterpret_cast<void **
>(_a[1]);
107 typedef void (DeviceToolButton::*_t)();
108 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&DeviceToolButton::device_selected)) {
115 const QMetaObject pv::widgets::DeviceToolButton::staticMetaObject = {
116 { &QToolButton::staticMetaObject, qt_meta_stringdata_pv__widgets__DeviceToolButton.
data,
121 const QMetaObject *pv::widgets::DeviceToolButton::metaObject()
const 123 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
126 void *pv::widgets::DeviceToolButton::qt_metacast(
const char *_clname)
128 if (!_clname)
return Q_NULLPTR;
129 if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__DeviceToolButton.
stringdata0))
130 return static_cast<void*
>(
const_cast< DeviceToolButton*
>(
this));
131 return QToolButton::qt_metacast(_clname);
134 int pv::widgets::DeviceToolButton::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
136 _id = QToolButton::qt_metacall(_c, _id, _a);
139 if (_c == QMetaObject::InvokeMetaMethod) {
141 qt_static_metacall(
this, _c, _id, _a);
143 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
145 qt_static_metacall(
this, _c, _id, _a);
154 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);