PulseView  0.3.0
A Qt-based sigrok GUI
moc_decodergroupbox.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'decodergroupbox.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/widgets/decodergroupbox.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'decodergroupbox.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[4];
23  char stringdata0[63];
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__widgets__DecoderGroupBox_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 28), // "pv::widgets::DecoderGroupBox"
33 QT_MOC_LITERAL(1, 29, 14), // "delete_decoder"
34 QT_MOC_LITERAL(2, 44, 0), // ""
35 QT_MOC_LITERAL(3, 45, 17) // "show_hide_decoder"
36 
37  },
38  "pv::widgets::DecoderGroupBox\0"
39  "delete_decoder\0\0show_hide_decoder"
40 };
41 #undef QT_MOC_LITERAL
42 
44 
45  // content:
46  7, // revision
47  0, // classname
48  0, 0, // classinfo
49  2, 14, // methods
50  0, 0, // properties
51  0, 0, // enums/sets
52  0, 0, // constructors
53  0, // flags
54  2, // signalCount
55 
56  // signals: name, argc, parameters, tag, flags
57  1, 0, 24, 2, 0x06 /* Public */,
58  3, 0, 25, 2, 0x06 /* Public */,
59 
60  // signals: parameters
61  QMetaType::Void,
62  QMetaType::Void,
63 
64  0 // eod
65 };
66 
67 void pv::widgets::DecoderGroupBox::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68 {
69  if (_c == QMetaObject::InvokeMetaMethod) {
70  DecoderGroupBox *_t = static_cast<DecoderGroupBox *>(_o);
71  Q_UNUSED(_t)
72  switch (_id) {
73  case 0: _t->delete_decoder(); break;
74  case 1: _t->show_hide_decoder(); break;
75  default: ;
76  }
77  } else if (_c == QMetaObject::IndexOfMethod) {
78  int *result = reinterpret_cast<int *>(_a[0]);
79  void **func = reinterpret_cast<void **>(_a[1]);
80  {
81  typedef void (DecoderGroupBox::*_t)();
82  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecoderGroupBox::delete_decoder)) {
83  *result = 0;
84  }
85  }
86  {
87  typedef void (DecoderGroupBox::*_t)();
88  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&DecoderGroupBox::show_hide_decoder)) {
89  *result = 1;
90  }
91  }
92  }
93  Q_UNUSED(_a);
94 }
95 
96 const QMetaObject pv::widgets::DecoderGroupBox::staticMetaObject = {
97  { &QWidget::staticMetaObject, qt_meta_stringdata_pv__widgets__DecoderGroupBox.data,
98  qt_meta_data_pv__widgets__DecoderGroupBox, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
99 };
100 
101 
102 const QMetaObject *pv::widgets::DecoderGroupBox::metaObject() const
103 {
104  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
105 }
106 
107 void *pv::widgets::DecoderGroupBox::qt_metacast(const char *_clname)
108 {
109  if (!_clname) return Q_NULLPTR;
110  if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__DecoderGroupBox.stringdata0))
111  return static_cast<void*>(const_cast< DecoderGroupBox*>(this));
112  return QWidget::qt_metacast(_clname);
113 }
114 
115 int pv::widgets::DecoderGroupBox::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
116 {
117  _id = QWidget::qt_metacall(_c, _id, _a);
118  if (_id < 0)
119  return _id;
120  if (_c == QMetaObject::InvokeMetaMethod) {
121  if (_id < 2)
122  qt_static_metacall(this, _c, _id, _a);
123  _id -= 2;
124  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
125  if (_id < 2)
126  *reinterpret_cast<int*>(_a[0]) = -1;
127  _id -= 2;
128  }
129  return _id;
130 }
131 
132 // SIGNAL 0
134 {
135  QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
136 }
137 
138 // SIGNAL 1
140 {
141  QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
142 }
143 QT_END_MOC_NAMESPACE
DecoderGroupBox(QString title, QWidget *parent=nullptr, bool isDeletable=true)
static const uint qt_meta_data_pv__widgets__DecoderGroupBox[]
static const qt_meta_stringdata_pv__widgets__DecoderGroupBox_t qt_meta_stringdata_pv__widgets__DecoderGroupBox
#define QT_MOC_LITERAL(idx, ofs, len)