PulseView  unreleased development snapshot
A Qt-based sigrok GUI
moc_decodetrace.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'decodetrace.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/decodetrace.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'decodetrace.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[5];
23  char stringdata0[65];
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__ContainerWidget_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 33), // "pv::views::trace::ContainerWi..."
33 QT_MOC_LITERAL(1, 34, 13), // "widgetResized"
34 QT_MOC_LITERAL(2, 48, 0), // ""
35 QT_MOC_LITERAL(3, 49, 8), // "QWidget*"
36 QT_MOC_LITERAL(4, 58, 6) // "sender"
37 
38  },
39  "pv::views::trace::ContainerWidget\0"
40  "widgetResized\0\0QWidget*\0sender"
41 };
42 #undef QT_MOC_LITERAL
43 
45 
46  // content:
47  7, // revision
48  0, // classname
49  0, 0, // classinfo
50  1, 14, // methods
51  0, 0, // properties
52  0, 0, // enums/sets
53  0, 0, // constructors
54  0, // flags
55  1, // signalCount
56 
57  // signals: name, argc, parameters, tag, flags
58  1, 1, 19, 2, 0x06 /* Public */,
59 
60  // signals: parameters
61  QMetaType::Void, 0x80000000 | 3, 4,
62 
63  0 // eod
64 };
65 
66 void pv::views::trace::ContainerWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
67 {
68  if (_c == QMetaObject::InvokeMetaMethod) {
69  ContainerWidget *_t = static_cast<ContainerWidget *>(_o);
70  Q_UNUSED(_t)
71  switch (_id) {
72  case 0: _t->widgetResized((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
73  default: ;
74  }
75  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
76  switch (_id) {
77  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
78  case 0:
79  switch (*reinterpret_cast<int*>(_a[1])) {
80  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
81  case 0:
82  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
83  }
84  break;
85  }
86  } else if (_c == QMetaObject::IndexOfMethod) {
87  int *result = reinterpret_cast<int *>(_a[0]);
88  void **func = reinterpret_cast<void **>(_a[1]);
89  {
90  typedef void (ContainerWidget::*_t)(QWidget * );
91  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ContainerWidget::widgetResized)) {
92  *result = 0;
93  }
94  }
95  }
96 }
97 
98 const QMetaObject pv::views::trace::ContainerWidget::staticMetaObject = {
99  { &QWidget::staticMetaObject, qt_meta_stringdata_pv__views__trace__ContainerWidget.data,
100  qt_meta_data_pv__views__trace__ContainerWidget, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
101 };
102 
103 
104 const QMetaObject *pv::views::trace::ContainerWidget::metaObject() const
105 {
106  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
107 }
108 
109 void *pv::views::trace::ContainerWidget::qt_metacast(const char *_clname)
110 {
111  if (!_clname) return Q_NULLPTR;
112  if (!strcmp(_clname, qt_meta_stringdata_pv__views__trace__ContainerWidget.stringdata0))
113  return static_cast<void*>(const_cast< ContainerWidget*>(this));
114  return QWidget::qt_metacast(_clname);
115 }
116 
117 int pv::views::trace::ContainerWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
118 {
119  _id = QWidget::qt_metacall(_c, _id, _a);
120  if (_id < 0)
121  return _id;
122  if (_c == QMetaObject::InvokeMetaMethod) {
123  if (_id < 1)
124  qt_static_metacall(this, _c, _id, _a);
125  _id -= 1;
126  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
127  if (_id < 1)
128  qt_static_metacall(this, _c, _id, _a);
129  _id -= 1;
130  }
131  return _id;
132 }
133 
134 // SIGNAL 0
136 {
137  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
138  QMetaObject::activate(this, &staticMetaObject, 0, _a);
139 }
141  QByteArrayData data[39];
142  char stringdata0[670];
143 };
144 #define QT_MOC_LITERAL(idx, ofs, len) \
145  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
146  qptrdiff(offsetof(qt_meta_stringdata_pv__views__trace__DecodeTrace_t, stringdata0) + ofs \
147  - idx * sizeof(QByteArrayData)) \
148  )
150  {
151 QT_MOC_LITERAL(0, 0, 29), // "pv::views::trace::DecodeTrace"
152 QT_MOC_LITERAL(1, 30, 18), // "on_setting_changed"
153 QT_MOC_LITERAL(2, 49, 0), // ""
154 QT_MOC_LITERAL(3, 50, 3), // "key"
155 QT_MOC_LITERAL(4, 54, 5), // "value"
156 QT_MOC_LITERAL(5, 60, 16), // "on_color_changed"
157 QT_MOC_LITERAL(6, 77, 5), // "color"
158 QT_MOC_LITERAL(7, 83, 18), // "on_new_annotations"
159 QT_MOC_LITERAL(8, 102, 23), // "on_delayed_trace_update"
160 QT_MOC_LITERAL(9, 126, 15), // "on_decode_reset"
161 QT_MOC_LITERAL(10, 142, 18), // "on_decode_finished"
162 QT_MOC_LITERAL(11, 161, 15), // "on_pause_decode"
163 QT_MOC_LITERAL(12, 177, 9), // "on_delete"
164 QT_MOC_LITERAL(13, 187, 19), // "on_channel_selected"
165 QT_MOC_LITERAL(14, 207, 19), // "on_channels_updated"
166 QT_MOC_LITERAL(15, 227, 21), // "on_init_state_changed"
167 QT_MOC_LITERAL(16, 249, 16), // "on_stack_decoder"
168 QT_MOC_LITERAL(17, 266, 12), // "srd_decoder*"
169 QT_MOC_LITERAL(18, 279, 7), // "decoder"
170 QT_MOC_LITERAL(19, 287, 17), // "on_delete_decoder"
171 QT_MOC_LITERAL(20, 305, 5), // "index"
172 QT_MOC_LITERAL(21, 311, 20), // "on_show_hide_decoder"
173 QT_MOC_LITERAL(22, 332, 16), // "on_show_hide_row"
174 QT_MOC_LITERAL(23, 349, 6), // "row_id"
175 QT_MOC_LITERAL(24, 356, 18), // "on_show_hide_class"
176 QT_MOC_LITERAL(25, 375, 8), // "QWidget*"
177 QT_MOC_LITERAL(26, 384, 6), // "sender"
178 QT_MOC_LITERAL(27, 391, 19), // "on_show_all_classes"
179 QT_MOC_LITERAL(28, 411, 19), // "on_hide_all_classes"
180 QT_MOC_LITERAL(29, 431, 24), // "on_row_container_resized"
181 QT_MOC_LITERAL(30, 456, 31), // "on_copy_annotation_to_clipboard"
182 QT_MOC_LITERAL(31, 488, 13), // "on_export_row"
183 QT_MOC_LITERAL(32, 502, 18), // "on_export_all_rows"
184 QT_MOC_LITERAL(33, 521, 25), // "on_export_row_with_cursor"
185 QT_MOC_LITERAL(34, 547, 30), // "on_export_all_rows_with_cursor"
186 QT_MOC_LITERAL(35, 578, 23), // "on_export_row_from_here"
187 QT_MOC_LITERAL(36, 602, 28), // "on_export_all_rows_from_here"
188 QT_MOC_LITERAL(37, 631, 18), // "on_animation_timer"
189 QT_MOC_LITERAL(38, 650, 19) // "on_hide_hidden_rows"
190 
191  },
192  "pv::views::trace::DecodeTrace\0"
193  "on_setting_changed\0\0key\0value\0"
194  "on_color_changed\0color\0on_new_annotations\0"
195  "on_delayed_trace_update\0on_decode_reset\0"
196  "on_decode_finished\0on_pause_decode\0"
197  "on_delete\0on_channel_selected\0"
198  "on_channels_updated\0on_init_state_changed\0"
199  "on_stack_decoder\0srd_decoder*\0decoder\0"
200  "on_delete_decoder\0index\0on_show_hide_decoder\0"
201  "on_show_hide_row\0row_id\0on_show_hide_class\0"
202  "QWidget*\0sender\0on_show_all_classes\0"
203  "on_hide_all_classes\0on_row_container_resized\0"
204  "on_copy_annotation_to_clipboard\0"
205  "on_export_row\0on_export_all_rows\0"
206  "on_export_row_with_cursor\0"
207  "on_export_all_rows_with_cursor\0"
208  "on_export_row_from_here\0"
209  "on_export_all_rows_from_here\0"
210  "on_animation_timer\0on_hide_hidden_rows"
211 };
212 #undef QT_MOC_LITERAL
213 
215 
216  // content:
217  7, // revision
218  0, // classname
219  0, 0, // classinfo
220  28, 14, // methods
221  0, 0, // properties
222  0, 0, // enums/sets
223  0, 0, // constructors
224  0, // flags
225  0, // signalCount
226 
227  // slots: name, argc, parameters, tag, flags
228  1, 2, 154, 2, 0x08 /* Private */,
229  5, 1, 159, 2, 0x08 /* Private */,
230  7, 0, 162, 2, 0x08 /* Private */,
231  8, 0, 163, 2, 0x08 /* Private */,
232  9, 0, 164, 2, 0x08 /* Private */,
233  10, 0, 165, 2, 0x08 /* Private */,
234  11, 0, 166, 2, 0x08 /* Private */,
235  12, 0, 167, 2, 0x08 /* Private */,
236  13, 1, 168, 2, 0x08 /* Private */,
237  14, 0, 171, 2, 0x08 /* Private */,
238  15, 1, 172, 2, 0x08 /* Private */,
239  16, 1, 175, 2, 0x08 /* Private */,
240  19, 1, 178, 2, 0x08 /* Private */,
241  21, 1, 181, 2, 0x08 /* Private */,
242  22, 1, 184, 2, 0x08 /* Private */,
243  24, 1, 187, 2, 0x08 /* Private */,
244  27, 0, 190, 2, 0x08 /* Private */,
245  28, 0, 191, 2, 0x08 /* Private */,
246  29, 1, 192, 2, 0x08 /* Private */,
247  30, 0, 195, 2, 0x08 /* Private */,
248  31, 0, 196, 2, 0x08 /* Private */,
249  32, 0, 197, 2, 0x08 /* Private */,
250  33, 0, 198, 2, 0x08 /* Private */,
251  34, 0, 199, 2, 0x08 /* Private */,
252  35, 0, 200, 2, 0x08 /* Private */,
253  36, 0, 201, 2, 0x08 /* Private */,
254  37, 0, 202, 2, 0x08 /* Private */,
255  38, 0, 203, 2, 0x08 /* Private */,
256 
257  // slots: parameters
258  QMetaType::Void, QMetaType::QString, QMetaType::QVariant, 3, 4,
259  QMetaType::Void, QMetaType::QColor, 6,
260  QMetaType::Void,
261  QMetaType::Void,
262  QMetaType::Void,
263  QMetaType::Void,
264  QMetaType::Void,
265  QMetaType::Void,
266  QMetaType::Void, QMetaType::Int, 2,
267  QMetaType::Void,
268  QMetaType::Void, QMetaType::Int, 2,
269  QMetaType::Void, 0x80000000 | 17, 18,
270  QMetaType::Void, QMetaType::Int, 20,
271  QMetaType::Void, QMetaType::Int, 20,
272  QMetaType::Void, QMetaType::Int, 23,
273  QMetaType::Void, 0x80000000 | 25, 26,
274  QMetaType::Void,
275  QMetaType::Void,
276  QMetaType::Void, 0x80000000 | 25, 26,
277  QMetaType::Void,
278  QMetaType::Void,
279  QMetaType::Void,
280  QMetaType::Void,
281  QMetaType::Void,
282  QMetaType::Void,
283  QMetaType::Void,
284  QMetaType::Void,
285  QMetaType::Void,
286 
287  0 // eod
288 };
289 
290 void pv::views::trace::DecodeTrace::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
291 {
292  if (_c == QMetaObject::InvokeMetaMethod) {
293  DecodeTrace *_t = static_cast<DecodeTrace *>(_o);
294  Q_UNUSED(_t)
295  switch (_id) {
296  case 0: _t->on_setting_changed((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2]))); break;
297  case 1: _t->on_color_changed((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
298  case 2: _t->on_new_annotations(); break;
299  case 3: _t->on_delayed_trace_update(); break;
300  case 4: _t->on_decode_reset(); break;
301  case 5: _t->on_decode_finished(); break;
302  case 6: _t->on_pause_decode(); break;
303  case 7: _t->on_delete(); break;
304  case 8: _t->on_channel_selected((*reinterpret_cast< int(*)>(_a[1]))); break;
305  case 9: _t->on_channels_updated(); break;
306  case 10: _t->on_init_state_changed((*reinterpret_cast< int(*)>(_a[1]))); break;
307  case 11: _t->on_stack_decoder((*reinterpret_cast< srd_decoder*(*)>(_a[1]))); break;
308  case 12: _t->on_delete_decoder((*reinterpret_cast< int(*)>(_a[1]))); break;
309  case 13: _t->on_show_hide_decoder((*reinterpret_cast< int(*)>(_a[1]))); break;
310  case 14: _t->on_show_hide_row((*reinterpret_cast< int(*)>(_a[1]))); break;
311  case 15: _t->on_show_hide_class((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
312  case 16: _t->on_show_all_classes(); break;
313  case 17: _t->on_hide_all_classes(); break;
314  case 18: _t->on_row_container_resized((*reinterpret_cast< QWidget*(*)>(_a[1]))); break;
315  case 19: _t->on_copy_annotation_to_clipboard(); break;
316  case 20: _t->on_export_row(); break;
317  case 21: _t->on_export_all_rows(); break;
318  case 22: _t->on_export_row_with_cursor(); break;
319  case 23: _t->on_export_all_rows_with_cursor(); break;
320  case 24: _t->on_export_row_from_here(); break;
321  case 25: _t->on_export_all_rows_from_here(); break;
322  case 26: _t->on_animation_timer(); break;
323  case 27: _t->on_hide_hidden_rows(); break;
324  default: ;
325  }
326  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
327  switch (_id) {
328  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
329  case 15:
330  switch (*reinterpret_cast<int*>(_a[1])) {
331  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
332  case 0:
333  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
334  }
335  break;
336  case 18:
337  switch (*reinterpret_cast<int*>(_a[1])) {
338  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
339  case 0:
340  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QWidget* >(); break;
341  }
342  break;
343  }
344  }
345 }
346 
347 const QMetaObject pv::views::trace::DecodeTrace::staticMetaObject = {
348  { &Trace::staticMetaObject, qt_meta_stringdata_pv__views__trace__DecodeTrace.data,
349  qt_meta_data_pv__views__trace__DecodeTrace, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
350 };
351 
352 
353 const QMetaObject *pv::views::trace::DecodeTrace::metaObject() const
354 {
355  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
356 }
357 
358 void *pv::views::trace::DecodeTrace::qt_metacast(const char *_clname)
359 {
360  if (!_clname) return Q_NULLPTR;
361  if (!strcmp(_clname, qt_meta_stringdata_pv__views__trace__DecodeTrace.stringdata0))
362  return static_cast<void*>(const_cast< DecodeTrace*>(this));
363  return Trace::qt_metacast(_clname);
364 }
365 
366 int pv::views::trace::DecodeTrace::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
367 {
368  _id = Trace::qt_metacall(_c, _id, _a);
369  if (_id < 0)
370  return _id;
371  if (_c == QMetaObject::InvokeMetaMethod) {
372  if (_id < 28)
373  qt_static_metacall(this, _c, _id, _a);
374  _id -= 28;
375  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
376  if (_id < 28)
377  qt_static_metacall(this, _c, _id, _a);
378  _id -= 28;
379  }
380  return _id;
381 }
382 QT_END_MOC_NAMESPACE
static const qt_meta_stringdata_pv__views__trace__DecodeTrace_t qt_meta_stringdata_pv__views__trace__DecodeTrace
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_pv__views__trace__ContainerWidget_t qt_meta_stringdata_pv__views__trace__ContainerWidget
static const uint qt_meta_data_pv__views__trace__ContainerWidget[]
static const uint qt_meta_data_pv__views__trace__DecodeTrace[]