9 #include "../../../../../pv/views/trace/marginwidget.hpp" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'marginwidget.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__views__trace__MarginWidget_t, stringdata0) + ofs \ 28 - idx * sizeof(QByteArrayData)) \ 42 "pv::views::trace::MarginWidget\0" 43 "contextMenuEvent\0\0QContextMenuEvent*\0" 44 "event\0keyPressEvent\0QKeyEvent*\0" 68 QMetaType::Void, 0x80000000 | 3, 4,
69 QMetaType::Void, 0x80000000 | 6, 4,
75 void pv::views::trace::MarginWidget::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
77 if (_c == QMetaObject::InvokeMetaMethod) {
78 MarginWidget *_t =
static_cast<MarginWidget *
>(_o);
81 case 0: _t->contextMenuEvent((*
reinterpret_cast< QContextMenuEvent*(*)
>(_a[1])));
break;
82 case 1: _t->keyPressEvent((*
reinterpret_cast< QKeyEvent*(*)
>(_a[1])));
break;
83 case 2: _t->on_popup_closed();
break;
89 const QMetaObject pv::views::trace::MarginWidget::staticMetaObject = {
90 { &ViewWidget::staticMetaObject, qt_meta_stringdata_pv__views__trace__MarginWidget.
data,
95 const QMetaObject *pv::views::trace::MarginWidget::metaObject()
const 97 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
100 void *pv::views::trace::MarginWidget::qt_metacast(
const char *_clname)
102 if (!_clname)
return Q_NULLPTR;
103 if (!strcmp(_clname, qt_meta_stringdata_pv__views__trace__MarginWidget.
stringdata0))
104 return static_cast<void*
>(
const_cast< MarginWidget*
>(
this));
105 return ViewWidget::qt_metacast(_clname);
108 int pv::views::trace::MarginWidget::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
110 _id = ViewWidget::qt_metacall(_c, _id, _a);
113 if (_c == QMetaObject::InvokeMetaMethod) {
115 qt_static_metacall(
this, _c, _id, _a);
117 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
119 *
reinterpret_cast<int*
>(_a[0]) = -1;