PulseView  unreleased development snapshot
A Qt-based sigrok GUI
moc_marginwidget.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'marginwidget.hpp'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
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.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
22  QByteArrayData data[8];
23  char stringdata0[115];
24 };
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)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 30), // "pv::views::trace::MarginWidget"
33 QT_MOC_LITERAL(1, 31, 16), // "contextMenuEvent"
34 QT_MOC_LITERAL(2, 48, 0), // ""
35 QT_MOC_LITERAL(3, 49, 18), // "QContextMenuEvent*"
36 QT_MOC_LITERAL(4, 68, 5), // "event"
37 QT_MOC_LITERAL(5, 74, 13), // "keyPressEvent"
38 QT_MOC_LITERAL(6, 88, 10), // "QKeyEvent*"
39 QT_MOC_LITERAL(7, 99, 15) // "on_popup_closed"
40 
41  },
42  "pv::views::trace::MarginWidget\0"
43  "contextMenuEvent\0\0QContextMenuEvent*\0"
44  "event\0keyPressEvent\0QKeyEvent*\0"
45  "on_popup_closed"
46 };
47 #undef QT_MOC_LITERAL
48 
50 
51  // content:
52  7, // revision
53  0, // classname
54  0, 0, // classinfo
55  3, 14, // methods
56  0, 0, // properties
57  0, 0, // enums/sets
58  0, 0, // constructors
59  0, // flags
60  0, // signalCount
61 
62  // slots: name, argc, parameters, tag, flags
63  1, 1, 29, 2, 0x09 /* Protected */,
64  5, 1, 32, 2, 0x09 /* Protected */,
65  7, 0, 35, 2, 0x09 /* Protected */,
66 
67  // slots: parameters
68  QMetaType::Void, 0x80000000 | 3, 4,
69  QMetaType::Void, 0x80000000 | 6, 4,
70  QMetaType::Void,
71 
72  0 // eod
73 };
74 
75 void pv::views::trace::MarginWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
76 {
77  if (_c == QMetaObject::InvokeMetaMethod) {
78  MarginWidget *_t = static_cast<MarginWidget *>(_o);
79  Q_UNUSED(_t)
80  switch (_id) {
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;
84  default: ;
85  }
86  }
87 }
88 
89 const QMetaObject pv::views::trace::MarginWidget::staticMetaObject = {
90  { &ViewWidget::staticMetaObject, qt_meta_stringdata_pv__views__trace__MarginWidget.data,
91  qt_meta_data_pv__views__trace__MarginWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
92 };
93 
94 
95 const QMetaObject *pv::views::trace::MarginWidget::metaObject() const
96 {
97  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
98 }
99 
100 void *pv::views::trace::MarginWidget::qt_metacast(const char *_clname)
101 {
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);
106 }
107 
108 int pv::views::trace::MarginWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
109 {
110  _id = ViewWidget::qt_metacall(_c, _id, _a);
111  if (_id < 0)
112  return _id;
113  if (_c == QMetaObject::InvokeMetaMethod) {
114  if (_id < 3)
115  qt_static_metacall(this, _c, _id, _a);
116  _id -= 3;
117  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
118  if (_id < 3)
119  *reinterpret_cast<int*>(_a[0]) = -1;
120  _id -= 3;
121  }
122  return _id;
123 }
124 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_pv__views__trace__MarginWidget_t qt_meta_stringdata_pv__views__trace__MarginWidget
static const uint qt_meta_data_pv__views__trace__MarginWidget[]