RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moc_oscilloscope.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'oscilloscope.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "oscilloscope.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'oscilloscope.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.3.2. 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[3];
23  char stringdata[46];
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_Oscilloscope__Plugin_t, stringdata) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
30 static const qt_meta_stringdata_Oscilloscope__Plugin_t qt_meta_stringdata_Oscilloscope__Plugin = {
31  {
32 QT_MOC_LITERAL(0, 0, 20),
33 QT_MOC_LITERAL(1, 21, 23),
34 QT_MOC_LITERAL(2, 45, 0)
35  },
36  "Oscilloscope::Plugin\0createOscilloscopePanel\0"
37  ""
38 };
39 #undef QT_MOC_LITERAL
40 
41 static const uint qt_meta_data_Oscilloscope__Plugin[] = {
42 
43  // content:
44  7, // revision
45  0, // classname
46  0, 0, // classinfo
47  1, 14, // methods
48  0, 0, // properties
49  0, 0, // enums/sets
50  0, 0, // constructors
51  0, // flags
52  0, // signalCount
53 
54  // slots: name, argc, parameters, tag, flags
55  1, 0, 19, 2, 0x0a /* Public */,
56 
57  // slots: parameters
58  QMetaType::Void,
59 
60  0 // eod
61 };
62 
63 void Oscilloscope::Plugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
64 {
65  if (_c == QMetaObject::InvokeMetaMethod) {
66  Plugin *_t = static_cast<Plugin *>(_o);
67  switch (_id) {
68  case 0: _t->createOscilloscopePanel(); break;
69  default: ;
70  }
71  }
72  Q_UNUSED(_a);
73 }
74 
75 const QMetaObject Oscilloscope::Plugin::staticMetaObject = {
76  { &QObject::staticMetaObject, qt_meta_stringdata_Oscilloscope__Plugin.data,
77  qt_meta_data_Oscilloscope__Plugin, qt_static_metacall, 0, 0}
78 };
79 
80 
81 const QMetaObject *Oscilloscope::Plugin::metaObject() const
82 {
83  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
84 }
85 
86 void *Oscilloscope::Plugin::qt_metacast(const char *_clname)
87 {
88  if (!_clname) return 0;
89  if (!strcmp(_clname, qt_meta_stringdata_Oscilloscope__Plugin.stringdata))
90  return static_cast<void*>(const_cast< Plugin*>(this));
91  if (!strcmp(_clname, "::Plugin::Object"))
92  return static_cast< ::Plugin::Object*>(const_cast< Plugin*>(this));
93  if (!strcmp(_clname, "RT::Thread"))
94  return static_cast< RT::Thread*>(const_cast< Plugin*>(this));
95  return QObject::qt_metacast(_clname);
96 }
97 
98 int Oscilloscope::Plugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
99 {
100  _id = QObject::qt_metacall(_c, _id, _a);
101  if (_id < 0)
102  return _id;
103  if (_c == QMetaObject::InvokeMetaMethod) {
104  if (_id < 1)
105  qt_static_metacall(this, _c, _id, _a);
106  _id -= 1;
107  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
108  if (_id < 1)
109  *reinterpret_cast<int*>(_a[0]) = -1;
110  _id -= 1;
111  }
112  return _id;
113 }
115  QByteArrayData data[11];
116  char stringdata[134];
117 };
118 #define QT_MOC_LITERAL(idx, ofs, len) \
119  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
120  qptrdiff(offsetof(qt_meta_stringdata_Oscilloscope__Panel_t, stringdata) + ofs \
121  - idx * sizeof(QByteArrayData)) \
122  )
123 static const qt_meta_stringdata_Oscilloscope__Panel_t qt_meta_stringdata_Oscilloscope__Panel = {
124  {
125 QT_MOC_LITERAL(0, 0, 19),
126 QT_MOC_LITERAL(1, 20, 12),
127 QT_MOC_LITERAL(2, 33, 0),
128 QT_MOC_LITERAL(3, 34, 11),
129 QT_MOC_LITERAL(4, 46, 14),
130 QT_MOC_LITERAL(5, 61, 14),
131 QT_MOC_LITERAL(6, 76, 16),
132 QT_MOC_LITERAL(7, 93, 10),
133 QT_MOC_LITERAL(8, 104, 5),
134 QT_MOC_LITERAL(9, 110, 7),
135 QT_MOC_LITERAL(10, 118, 15)
136  },
137  "Oscilloscope::Panel\0timeoutEvent\0\0"
138  "togglePause\0showChannelTab\0showDisplayTab\0"
139  "buildChannelList\0screenshot\0apply\0"
140  "showTab\0activateChannel"
141 };
142 #undef QT_MOC_LITERAL
143 
144 static const uint qt_meta_data_Oscilloscope__Panel[] = {
145 
146  // content:
147  7, // revision
148  0, // classname
149  0, 0, // classinfo
150  9, 14, // methods
151  0, 0, // properties
152  0, 0, // enums/sets
153  0, 0, // constructors
154  0, // flags
155  0, // signalCount
156 
157  // slots: name, argc, parameters, tag, flags
158  1, 0, 59, 2, 0x0a /* Public */,
159  3, 0, 60, 2, 0x0a /* Public */,
160  4, 0, 61, 2, 0x08 /* Private */,
161  5, 0, 62, 2, 0x08 /* Private */,
162  6, 0, 63, 2, 0x08 /* Private */,
163  7, 0, 64, 2, 0x08 /* Private */,
164  8, 0, 65, 2, 0x08 /* Private */,
165  9, 1, 66, 2, 0x08 /* Private */,
166  10, 1, 69, 2, 0x08 /* Private */,
167 
168  // slots: parameters
169  QMetaType::Void,
170  QMetaType::Void,
171  QMetaType::Void,
172  QMetaType::Void,
173  QMetaType::Void,
174  QMetaType::Void,
175  QMetaType::Void,
176  QMetaType::Void, QMetaType::Int, 2,
177  QMetaType::Void, QMetaType::Bool, 2,
178 
179  0 // eod
180 };
181 
182 void Oscilloscope::Panel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
183 {
184  if (_c == QMetaObject::InvokeMetaMethod) {
185  Panel *_t = static_cast<Panel *>(_o);
186  switch (_id) {
187  case 0: _t->timeoutEvent(); break;
188  case 1: _t->togglePause(); break;
189  case 2: _t->showChannelTab(); break;
190  case 3: _t->showDisplayTab(); break;
191  case 4: _t->buildChannelList(); break;
192  case 5: _t->screenshot(); break;
193  case 6: _t->apply(); break;
194  case 7: _t->showTab((*reinterpret_cast< int(*)>(_a[1]))); break;
195  case 8: _t->activateChannel((*reinterpret_cast< bool(*)>(_a[1]))); break;
196  default: ;
197  }
198  }
199 }
200 
201 const QMetaObject Oscilloscope::Panel::staticMetaObject = {
202  { &QWidget::staticMetaObject, qt_meta_stringdata_Oscilloscope__Panel.data,
203  qt_meta_data_Oscilloscope__Panel, qt_static_metacall, 0, 0}
204 };
205 
206 
207 const QMetaObject *Oscilloscope::Panel::metaObject() const
208 {
209  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
210 }
211 
212 void *Oscilloscope::Panel::qt_metacast(const char *_clname)
213 {
214  if (!_clname) return 0;
215  if (!strcmp(_clname, qt_meta_stringdata_Oscilloscope__Panel.stringdata))
216  return static_cast<void*>(const_cast< Panel*>(this));
217  if (!strcmp(_clname, "RT::Thread"))
218  return static_cast< RT::Thread*>(const_cast< Panel*>(this));
219  if (!strcmp(_clname, "Settings::Object"))
220  return static_cast< Settings::Object*>(const_cast< Panel*>(this));
221  if (!strcmp(_clname, "Event::Handler"))
222  return static_cast< Event::Handler*>(const_cast< Panel*>(this));
223  return QWidget::qt_metacast(_clname);
224 }
225 
226 int Oscilloscope::Panel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
227 {
228  _id = QWidget::qt_metacall(_c, _id, _a);
229  if (_id < 0)
230  return _id;
231  if (_c == QMetaObject::InvokeMetaMethod) {
232  if (_id < 9)
233  qt_static_metacall(this, _c, _id, _a);
234  _id -= 9;
235  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
236  if (_id < 9)
237  *reinterpret_cast<int*>(_a[0]) = -1;
238  _id -= 9;
239  }
240  return _id;
241 }
242 QT_END_MOC_NAMESPACE
Classes associated with the loading/unloading of binaries at run-time.
Definition: plugin.h:35
#define QT_MOC_LITERAL(idx, ofs, len)