PulseView  0.3.0
A Qt-based sigrok GUI
moc_trace.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'trace.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 "trace.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'trace.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[7];
23  char stringdata0[79];
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__view__Trace_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 15), // "pv::view::Trace"
33 QT_MOC_LITERAL(1, 16, 15), // "on_text_changed"
34 QT_MOC_LITERAL(2, 32, 0), // ""
35 QT_MOC_LITERAL(3, 33, 4), // "text"
36 QT_MOC_LITERAL(4, 38, 17), // "on_colour_changed"
37 QT_MOC_LITERAL(5, 56, 6), // "colour"
38 QT_MOC_LITERAL(6, 63, 15) // "on_popup_closed"
39 
40  },
41  "pv::view::Trace\0on_text_changed\0\0text\0"
42  "on_colour_changed\0colour\0on_popup_closed"
43 };
44 #undef QT_MOC_LITERAL
45 
46 static const uint qt_meta_data_pv__view__Trace[] = {
47 
48  // content:
49  7, // revision
50  0, // classname
51  0, 0, // classinfo
52  3, 14, // methods
53  0, 0, // properties
54  0, 0, // enums/sets
55  0, 0, // constructors
56  0, // flags
57  0, // signalCount
58 
59  // slots: name, argc, parameters, tag, flags
60  1, 1, 29, 2, 0x08 /* Private */,
61  4, 1, 32, 2, 0x08 /* Private */,
62  6, 0, 35, 2, 0x08 /* Private */,
63 
64  // slots: parameters
65  QMetaType::Void, QMetaType::QString, 3,
66  QMetaType::Void, QMetaType::QColor, 5,
67  QMetaType::Void,
68 
69  0 // eod
70 };
71 
72 void pv::view::Trace::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
73 {
74  if (_c == QMetaObject::InvokeMetaMethod) {
75  Trace *_t = static_cast<Trace *>(_o);
76  Q_UNUSED(_t)
77  switch (_id) {
78  case 0: _t->on_text_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
79  case 1: _t->on_colour_changed((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
80  case 2: _t->on_popup_closed(); break;
81  default: ;
82  }
83  }
84 }
85 
86 const QMetaObject pv::view::Trace::staticMetaObject = {
87  { &TraceTreeItem::staticMetaObject, qt_meta_stringdata_pv__view__Trace.data,
88  qt_meta_data_pv__view__Trace, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
89 };
90 
91 
92 const QMetaObject *pv::view::Trace::metaObject() const
93 {
94  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
95 }
96 
97 void *pv::view::Trace::qt_metacast(const char *_clname)
98 {
99  if (!_clname) return Q_NULLPTR;
100  if (!strcmp(_clname, qt_meta_stringdata_pv__view__Trace.stringdata0))
101  return static_cast<void*>(const_cast< Trace*>(this));
102  return TraceTreeItem::qt_metacast(_clname);
103 }
104 
105 int pv::view::Trace::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
106 {
107  _id = TraceTreeItem::qt_metacall(_c, _id, _a);
108  if (_id < 0)
109  return _id;
110  if (_c == QMetaObject::InvokeMetaMethod) {
111  if (_id < 3)
112  qt_static_metacall(this, _c, _id, _a);
113  _id -= 3;
114  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
115  if (_id < 3)
116  *reinterpret_cast<int*>(_a[0]) = -1;
117  _id -= 3;
118  }
119  return _id;
120 }
121 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_trace.cpp:25
static const qt_meta_stringdata_pv__view__Trace_t qt_meta_stringdata_pv__view__Trace
Definition: moc_trace.cpp:30
static const uint qt_meta_data_pv__view__Trace[]
Definition: moc_trace.cpp:46
Trace(QString name)
Definition: trace.cpp:47