PulseView  unreleased development snapshot
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 "../../../../../pv/views/trace/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[13];
23  char stringdata0[182];
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__Trace_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 23), // "pv::views::trace::Trace"
33 QT_MOC_LITERAL(1, 24, 15), // "on_name_changed"
34 QT_MOC_LITERAL(2, 40, 0), // ""
35 QT_MOC_LITERAL(3, 41, 4), // "text"
36 QT_MOC_LITERAL(4, 46, 16), // "on_color_changed"
37 QT_MOC_LITERAL(5, 63, 5), // "color"
38 QT_MOC_LITERAL(6, 69, 24), // "on_error_message_changed"
39 QT_MOC_LITERAL(7, 94, 3), // "msg"
40 QT_MOC_LITERAL(8, 98, 15), // "on_popup_closed"
41 QT_MOC_LITERAL(9, 114, 19), // "on_nameedit_changed"
42 QT_MOC_LITERAL(10, 134, 4), // "name"
43 QT_MOC_LITERAL(11, 139, 20), // "on_coloredit_changed"
44 QT_MOC_LITERAL(12, 160, 21) // "on_create_marker_here"
45 
46  },
47  "pv::views::trace::Trace\0on_name_changed\0"
48  "\0text\0on_color_changed\0color\0"
49  "on_error_message_changed\0msg\0"
50  "on_popup_closed\0on_nameedit_changed\0"
51  "name\0on_coloredit_changed\0"
52  "on_create_marker_here"
53 };
54 #undef QT_MOC_LITERAL
55 
56 static const uint qt_meta_data_pv__views__trace__Trace[] = {
57 
58  // content:
59  7, // revision
60  0, // classname
61  0, 0, // classinfo
62  7, 14, // methods
63  0, 0, // properties
64  0, 0, // enums/sets
65  0, 0, // constructors
66  0, // flags
67  0, // signalCount
68 
69  // slots: name, argc, parameters, tag, flags
70  1, 1, 49, 2, 0x09 /* Protected */,
71  4, 1, 52, 2, 0x09 /* Protected */,
72  6, 1, 55, 2, 0x09 /* Protected */,
73  8, 0, 58, 2, 0x09 /* Protected */,
74  9, 1, 59, 2, 0x08 /* Private */,
75  11, 1, 62, 2, 0x08 /* Private */,
76  12, 0, 65, 2, 0x08 /* Private */,
77 
78  // slots: parameters
79  QMetaType::Void, QMetaType::QString, 3,
80  QMetaType::Void, QMetaType::QColor, 5,
81  QMetaType::Void, QMetaType::QString, 7,
82  QMetaType::Void,
83  QMetaType::Void, QMetaType::QString, 10,
84  QMetaType::Void, QMetaType::QColor, 5,
85  QMetaType::Void,
86 
87  0 // eod
88 };
89 
90 void pv::views::trace::Trace::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
91 {
92  if (_c == QMetaObject::InvokeMetaMethod) {
93  Trace *_t = static_cast<Trace *>(_o);
94  Q_UNUSED(_t)
95  switch (_id) {
96  case 0: _t->on_name_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
97  case 1: _t->on_color_changed((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
98  case 2: _t->on_error_message_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
99  case 3: _t->on_popup_closed(); break;
100  case 4: _t->on_nameedit_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
101  case 5: _t->on_coloredit_changed((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
102  case 6: _t->on_create_marker_here(); break;
103  default: ;
104  }
105  }
106 }
107 
108 const QMetaObject pv::views::trace::Trace::staticMetaObject = {
109  { &TraceTreeItem::staticMetaObject, qt_meta_stringdata_pv__views__trace__Trace.data,
110  qt_meta_data_pv__views__trace__Trace, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
111 };
112 
113 
114 const QMetaObject *pv::views::trace::Trace::metaObject() const
115 {
116  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
117 }
118 
119 void *pv::views::trace::Trace::qt_metacast(const char *_clname)
120 {
121  if (!_clname) return Q_NULLPTR;
122  if (!strcmp(_clname, qt_meta_stringdata_pv__views__trace__Trace.stringdata0))
123  return static_cast<void*>(const_cast< Trace*>(this));
124  if (!strcmp(_clname, "GlobalSettingsInterface"))
125  return static_cast< GlobalSettingsInterface*>(const_cast< Trace*>(this));
126  return TraceTreeItem::qt_metacast(_clname);
127 }
128 
129 int pv::views::trace::Trace::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
130 {
131  _id = TraceTreeItem::qt_metacall(_c, _id, _a);
132  if (_id < 0)
133  return _id;
134  if (_c == QMetaObject::InvokeMetaMethod) {
135  if (_id < 7)
136  qt_static_metacall(this, _c, _id, _a);
137  _id -= 7;
138  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
139  if (_id < 7)
140  *reinterpret_cast<int*>(_a[0]) = -1;
141  _id -= 7;
142  }
143  return _id;
144 }
145 QT_END_MOC_NAMESPACE
static const uint qt_meta_data_pv__views__trace__Trace[]
Definition: moc_trace.cpp:56
static const qt_meta_stringdata_pv__views__trace__Trace_t qt_meta_stringdata_pv__views__trace__Trace
Definition: moc_trace.cpp:30
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_trace.cpp:25