PulseView  unreleased development snapshot
A Qt-based sigrok GUI
moc_view.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'view.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/decoder_binary/view.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'view.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[22];
23  char stringdata0[354];
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__decoder_binary__View_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 31), // "pv::views::decoder_binary::View"
33 QT_MOC_LITERAL(1, 32, 27), // "on_selected_decoder_changed"
34 QT_MOC_LITERAL(2, 60, 0), // ""
35 QT_MOC_LITERAL(3, 61, 5), // "index"
36 QT_MOC_LITERAL(4, 67, 25), // "on_selected_class_changed"
37 QT_MOC_LITERAL(5, 93, 22), // "on_signal_name_changed"
38 QT_MOC_LITERAL(6, 116, 4), // "name"
39 QT_MOC_LITERAL(7, 121, 18), // "on_new_binary_data"
40 QT_MOC_LITERAL(8, 140, 10), // "segment_id"
41 QT_MOC_LITERAL(9, 151, 7), // "decoder"
42 QT_MOC_LITERAL(10, 159, 12), // "bin_class_id"
43 QT_MOC_LITERAL(11, 172, 18), // "on_decoder_stacked"
44 QT_MOC_LITERAL(12, 191, 18), // "on_decoder_removed"
45 QT_MOC_LITERAL(13, 210, 23), // "on_actionSave_triggered"
46 QT_MOC_LITERAL(14, 234, 8), // "QAction*"
47 QT_MOC_LITERAL(15, 243, 6), // "action"
48 QT_MOC_LITERAL(16, 250, 26), // "on_metadata_object_changed"
49 QT_MOC_LITERAL(17, 277, 15), // "MetadataObject*"
50 QT_MOC_LITERAL(18, 293, 3), // "obj"
51 QT_MOC_LITERAL(19, 297, 17), // "MetadataValueType"
52 QT_MOC_LITERAL(20, 315, 10), // "value_type"
53 QT_MOC_LITERAL(21, 326, 27) // "perform_delayed_view_update"
54 
55  },
56  "pv::views::decoder_binary::View\0"
57  "on_selected_decoder_changed\0\0index\0"
58  "on_selected_class_changed\0"
59  "on_signal_name_changed\0name\0"
60  "on_new_binary_data\0segment_id\0decoder\0"
61  "bin_class_id\0on_decoder_stacked\0"
62  "on_decoder_removed\0on_actionSave_triggered\0"
63  "QAction*\0action\0on_metadata_object_changed\0"
64  "MetadataObject*\0obj\0MetadataValueType\0"
65  "value_type\0perform_delayed_view_update"
66 };
67 #undef QT_MOC_LITERAL
68 
70 
71  // content:
72  7, // revision
73  0, // classname
74  0, 0, // classinfo
75  10, 14, // methods
76  0, 0, // properties
77  0, 0, // enums/sets
78  0, 0, // constructors
79  0, // flags
80  0, // signalCount
81 
82  // slots: name, argc, parameters, tag, flags
83  1, 1, 64, 2, 0x08 /* Private */,
84  4, 1, 67, 2, 0x08 /* Private */,
85  5, 1, 70, 2, 0x08 /* Private */,
86  7, 3, 73, 2, 0x08 /* Private */,
87  11, 1, 80, 2, 0x08 /* Private */,
88  12, 1, 83, 2, 0x08 /* Private */,
89  13, 1, 86, 2, 0x08 /* Private */,
90  13, 0, 89, 2, 0x28 /* Private | MethodCloned */,
91  16, 2, 90, 2, 0x08 /* Private */,
92  21, 0, 95, 2, 0x08 /* Private */,
93 
94  // slots: parameters
95  QMetaType::Void, QMetaType::Int, 3,
96  QMetaType::Void, QMetaType::Int, 3,
97  QMetaType::Void, QMetaType::QString, 6,
98  QMetaType::Void, QMetaType::UInt, QMetaType::VoidStar, QMetaType::UInt, 8, 9, 10,
99  QMetaType::Void, QMetaType::VoidStar, 9,
100  QMetaType::Void, QMetaType::VoidStar, 9,
101  QMetaType::Void, 0x80000000 | 14, 15,
102  QMetaType::Void,
103  QMetaType::Void, 0x80000000 | 17, 0x80000000 | 19, 18, 20,
104  QMetaType::Void,
105 
106  0 // eod
107 };
108 
109 void pv::views::decoder_binary::View::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
110 {
111  if (_c == QMetaObject::InvokeMetaMethod) {
112  View *_t = static_cast<View *>(_o);
113  Q_UNUSED(_t)
114  switch (_id) {
115  case 0: _t->on_selected_decoder_changed((*reinterpret_cast< int(*)>(_a[1]))); break;
116  case 1: _t->on_selected_class_changed((*reinterpret_cast< int(*)>(_a[1]))); break;
117  case 2: _t->on_signal_name_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
118  case 3: _t->on_new_binary_data((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
119  case 4: _t->on_decoder_stacked((*reinterpret_cast< void*(*)>(_a[1]))); break;
120  case 5: _t->on_decoder_removed((*reinterpret_cast< void*(*)>(_a[1]))); break;
121  case 6: _t->on_actionSave_triggered((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
122  case 7: _t->on_actionSave_triggered(); break;
123  case 8: _t->on_metadata_object_changed((*reinterpret_cast< MetadataObject*(*)>(_a[1])),(*reinterpret_cast< MetadataValueType(*)>(_a[2]))); break;
124  case 9: _t->perform_delayed_view_update(); break;
125  default: ;
126  }
127  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
128  switch (_id) {
129  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
130  case 6:
131  switch (*reinterpret_cast<int*>(_a[1])) {
132  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
133  case 0:
134  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAction* >(); break;
135  }
136  break;
137  }
138  }
139 }
140 
141 const QMetaObject pv::views::decoder_binary::View::staticMetaObject = {
142  { &ViewBase::staticMetaObject, qt_meta_stringdata_pv__views__decoder_binary__View.data,
143  qt_meta_data_pv__views__decoder_binary__View, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
144 };
145 
146 
147 const QMetaObject *pv::views::decoder_binary::View::metaObject() const
148 {
149  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
150 }
151 
152 void *pv::views::decoder_binary::View::qt_metacast(const char *_clname)
153 {
154  if (!_clname) return Q_NULLPTR;
155  if (!strcmp(_clname, qt_meta_stringdata_pv__views__decoder_binary__View.stringdata0))
156  return static_cast<void*>(const_cast< View*>(this));
157  if (!strcmp(_clname, "MetadataObjObserverInterface"))
158  return static_cast< MetadataObjObserverInterface*>(const_cast< View*>(this));
159  return ViewBase::qt_metacast(_clname);
160 }
161 
162 int pv::views::decoder_binary::View::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
163 {
164  _id = ViewBase::qt_metacall(_c, _id, _a);
165  if (_id < 0)
166  return _id;
167  if (_c == QMetaObject::InvokeMetaMethod) {
168  if (_id < 10)
169  qt_static_metacall(this, _c, _id, _a);
170  _id -= 10;
171  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
172  if (_id < 10)
173  qt_static_metacall(this, _c, _id, _a);
174  _id -= 10;
175  }
176  return _id;
177 }
178 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_view.cpp:25
MetadataValueType
static const uint qt_meta_data_pv__views__decoder_binary__View[]
Definition: moc_view.cpp:69
static const qt_meta_stringdata_pv__views__decoder_binary__View_t qt_meta_stringdata_pv__views__decoder_binary__View
Definition: moc_view.cpp:30