10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'exportmenu.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__ExportMenu_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
41 "pv::widgets::ExportMenu\0format_selected\0"
42 "\0std::shared_ptr<sigrok::OutputFormat>\0"
43 "format\0on_action\0action"
67 QMetaType::Void, 0x80000000 | 3, 4,
70 QMetaType::Void, QMetaType::QObjectStar, 6,
75 void pv::widgets::ExportMenu::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
77 if (_c == QMetaObject::InvokeMetaMethod) {
81 case 0: _t->format_selected((*
reinterpret_cast< std::shared_ptr<sigrok::OutputFormat>(*)
>(_a[1])));
break;
82 case 1: _t->on_action((*
reinterpret_cast< QObject*(*)
>(_a[1])));
break;
85 }
else if (_c == QMetaObject::IndexOfMethod) {
86 int *result =
reinterpret_cast<int *
>(_a[0]);
87 void **func =
reinterpret_cast<void **
>(_a[1]);
89 typedef void (
ExportMenu::*_t)(std::shared_ptr<sigrok::OutputFormat> );
97 const QMetaObject pv::widgets::ExportMenu::staticMetaObject = {
98 { &QMenu::staticMetaObject, qt_meta_stringdata_pv__widgets__ExportMenu.
data,
103 const QMetaObject *pv::widgets::ExportMenu::metaObject()
const
105 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
108 void *pv::widgets::ExportMenu::qt_metacast(
const char *_clname)
110 if (!_clname)
return Q_NULLPTR;
111 if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__ExportMenu.
stringdata0))
112 return static_cast<void*
>(
const_cast< ExportMenu*
>(
this));
113 return QMenu::qt_metacast(_clname);
116 int pv::widgets::ExportMenu::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
118 _id = QMenu::qt_metacall(_c, _id, _a);
121 if (_c == QMetaObject::InvokeMetaMethod) {
123 qt_static_metacall(
this, _c, _id, _a);
125 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
127 *
reinterpret_cast<int*
>(_a[0]) = -1;
136 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
137 QMetaObject::activate(
this, &staticMetaObject, 0, _a);