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) {
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::IndexOfMethod) {
93 int *result =
reinterpret_cast<int *
>(_a[0]);
94 void **func =
reinterpret_cast<void **
>(_a[1]);
104 const QMetaObject pv::widgets::DeviceToolButton::staticMetaObject = {
105 { &QToolButton::staticMetaObject, qt_meta_stringdata_pv__widgets__DeviceToolButton.
data,
110 const QMetaObject *pv::widgets::DeviceToolButton::metaObject()
const
112 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
115 void *pv::widgets::DeviceToolButton::qt_metacast(
const char *_clname)
117 if (!_clname)
return Q_NULLPTR;
118 if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__DeviceToolButton.
stringdata0))
119 return static_cast<void*
>(
const_cast< DeviceToolButton*
>(
this));
120 return QToolButton::qt_metacast(_clname);
123 int pv::widgets::DeviceToolButton::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
125 _id = QToolButton::qt_metacall(_c, _id, _a);
128 if (_c == QMetaObject::InvokeMetaMethod) {
130 qt_static_metacall(
this, _c, _id, _a);
132 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
134 *
reinterpret_cast<int*
>(_a[0]) = -1;
143 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);