9 #include "../../../../pv/widgets/decodermenu.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'decodermenu.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
22 QByteArrayData
data[7];
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__DecoderMenu_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
41 "pv::widgets::DecoderMenu\0decoder_selected\0"
42 "\0srd_decoder*\0decoder\0on_action\0action"
66 QMetaType::Void, 0x80000000 | 3, 4,
69 QMetaType::Void, QMetaType::QObjectStar, 6,
74 void pv::widgets::DecoderMenu::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
76 if (_c == QMetaObject::InvokeMetaMethod) {
80 case 0: _t->decoder_selected((*
reinterpret_cast< srd_decoder*(*)
>(_a[1])));
break;
81 case 1: _t->on_action((*
reinterpret_cast< QObject*(*)
>(_a[1])));
break;
84 }
else if (_c == QMetaObject::IndexOfMethod) {
85 int *result =
reinterpret_cast<int *
>(_a[0]);
86 void **func =
reinterpret_cast<void **
>(_a[1]);
96 const QMetaObject pv::widgets::DecoderMenu::staticMetaObject = {
97 { &QMenu::staticMetaObject, qt_meta_stringdata_pv__widgets__DecoderMenu.
data,
102 const QMetaObject *pv::widgets::DecoderMenu::metaObject()
const
104 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
107 void *pv::widgets::DecoderMenu::qt_metacast(
const char *_clname)
109 if (!_clname)
return Q_NULLPTR;
110 if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__DecoderMenu.
stringdata0))
111 return static_cast<void*
>(
const_cast< DecoderMenu*
>(
this));
112 return QMenu::qt_metacast(_clname);
115 int pv::widgets::DecoderMenu::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
117 _id = QMenu::qt_metacall(_c, _id, _a);
120 if (_c == QMetaObject::InvokeMetaMethod) {
122 qt_static_metacall(
this, _c, _id, _a);
124 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
126 *
reinterpret_cast<int*
>(_a[0]) = -1;
135 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
136 QMetaObject::activate(
this, &staticMetaObject, 0, _a);