PulseView  unreleased development snapshot
A Qt-based sigrok GUI
moc_mathsignal.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'mathsignal.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/mathsignal.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'mathsignal.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[4];
23  char stringdata0[48];
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__MathEditDialog_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 32), // "pv::views::trace::MathEditDialog"
33 QT_MOC_LITERAL(1, 33, 6), // "accept"
34 QT_MOC_LITERAL(2, 40, 0), // ""
35 QT_MOC_LITERAL(3, 41, 6) // "reject"
36 
37  },
38  "pv::views::trace::MathEditDialog\0"
39  "accept\0\0reject"
40 };
41 #undef QT_MOC_LITERAL
42 
44 
45  // content:
46  7, // revision
47  0, // classname
48  0, 0, // classinfo
49  2, 14, // methods
50  0, 0, // properties
51  0, 0, // enums/sets
52  0, 0, // constructors
53  0, // flags
54  0, // signalCount
55 
56  // slots: name, argc, parameters, tag, flags
57  1, 0, 24, 2, 0x08 /* Private */,
58  3, 0, 25, 2, 0x08 /* Private */,
59 
60  // slots: parameters
61  QMetaType::Void,
62  QMetaType::Void,
63 
64  0 // eod
65 };
66 
67 void pv::views::trace::MathEditDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68 {
69  if (_c == QMetaObject::InvokeMetaMethod) {
70  MathEditDialog *_t = static_cast<MathEditDialog *>(_o);
71  Q_UNUSED(_t)
72  switch (_id) {
73  case 0: _t->accept(); break;
74  case 1: _t->reject(); break;
75  default: ;
76  }
77  }
78  Q_UNUSED(_a);
79 }
80 
81 const QMetaObject pv::views::trace::MathEditDialog::staticMetaObject = {
82  { &QDialog::staticMetaObject, qt_meta_stringdata_pv__views__trace__MathEditDialog.data,
83  qt_meta_data_pv__views__trace__MathEditDialog, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
84 };
85 
86 
87 const QMetaObject *pv::views::trace::MathEditDialog::metaObject() const
88 {
89  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
90 }
91 
92 void *pv::views::trace::MathEditDialog::qt_metacast(const char *_clname)
93 {
94  if (!_clname) return Q_NULLPTR;
95  if (!strcmp(_clname, qt_meta_stringdata_pv__views__trace__MathEditDialog.stringdata0))
96  return static_cast<void*>(const_cast< MathEditDialog*>(this));
97  return QDialog::qt_metacast(_clname);
98 }
99 
100 int pv::views::trace::MathEditDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
101 {
102  _id = QDialog::qt_metacall(_c, _id, _a);
103  if (_id < 0)
104  return _id;
105  if (_c == QMetaObject::InvokeMetaMethod) {
106  if (_id < 2)
107  qt_static_metacall(this, _c, _id, _a);
108  _id -= 2;
109  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
110  if (_id < 2)
111  *reinterpret_cast<int*>(_a[0]) = -1;
112  _id -= 2;
113  }
114  return _id;
115 }
117  QByteArrayData data[6];
118  char stringdata0[97];
119 };
120 #define QT_MOC_LITERAL(idx, ofs, len) \
121  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
122  qptrdiff(offsetof(qt_meta_stringdata_pv__views__trace__MathSignal_t, stringdata0) + ofs \
123  - idx * sizeof(QByteArrayData)) \
124  )
126  {
127 QT_MOC_LITERAL(0, 0, 28), // "pv::views::trace::MathSignal"
128 QT_MOC_LITERAL(1, 29, 21), // "on_expression_changed"
129 QT_MOC_LITERAL(2, 51, 0), // ""
130 QT_MOC_LITERAL(3, 52, 4), // "text"
131 QT_MOC_LITERAL(4, 57, 23), // "on_sample_count_changed"
132 QT_MOC_LITERAL(5, 81, 15) // "on_edit_clicked"
133 
134  },
135  "pv::views::trace::MathSignal\0"
136  "on_expression_changed\0\0text\0"
137  "on_sample_count_changed\0on_edit_clicked"
138 };
139 #undef QT_MOC_LITERAL
140 
142 
143  // content:
144  7, // revision
145  0, // classname
146  0, 0, // classinfo
147  3, 14, // methods
148  0, 0, // properties
149  0, 0, // enums/sets
150  0, 0, // constructors
151  0, // flags
152  0, // signalCount
153 
154  // slots: name, argc, parameters, tag, flags
155  1, 1, 29, 2, 0x08 /* Private */,
156  4, 1, 32, 2, 0x08 /* Private */,
157  5, 0, 35, 2, 0x08 /* Private */,
158 
159  // slots: parameters
160  QMetaType::Void, QMetaType::QString, 3,
161  QMetaType::Void, QMetaType::QString, 3,
162  QMetaType::Void,
163 
164  0 // eod
165 };
166 
167 void pv::views::trace::MathSignal::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
168 {
169  if (_c == QMetaObject::InvokeMetaMethod) {
170  MathSignal *_t = static_cast<MathSignal *>(_o);
171  Q_UNUSED(_t)
172  switch (_id) {
173  case 0: _t->on_expression_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
174  case 1: _t->on_sample_count_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
175  case 2: _t->on_edit_clicked(); break;
176  default: ;
177  }
178  }
179 }
180 
181 const QMetaObject pv::views::trace::MathSignal::staticMetaObject = {
182  { &AnalogSignal::staticMetaObject, qt_meta_stringdata_pv__views__trace__MathSignal.data,
183  qt_meta_data_pv__views__trace__MathSignal, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
184 };
185 
186 
187 const QMetaObject *pv::views::trace::MathSignal::metaObject() const
188 {
189  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
190 }
191 
192 void *pv::views::trace::MathSignal::qt_metacast(const char *_clname)
193 {
194  if (!_clname) return Q_NULLPTR;
195  if (!strcmp(_clname, qt_meta_stringdata_pv__views__trace__MathSignal.stringdata0))
196  return static_cast<void*>(const_cast< MathSignal*>(this));
197  return AnalogSignal::qt_metacast(_clname);
198 }
199 
200 int pv::views::trace::MathSignal::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
201 {
202  _id = AnalogSignal::qt_metacall(_c, _id, _a);
203  if (_id < 0)
204  return _id;
205  if (_c == QMetaObject::InvokeMetaMethod) {
206  if (_id < 3)
207  qt_static_metacall(this, _c, _id, _a);
208  _id -= 3;
209  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
210  if (_id < 3)
211  *reinterpret_cast<int*>(_a[0]) = -1;
212  _id -= 3;
213  }
214  return _id;
215 }
216 QT_END_MOC_NAMESPACE
static const qt_meta_stringdata_pv__views__trace__MathSignal_t qt_meta_stringdata_pv__views__trace__MathSignal
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_pv__views__trace__MathEditDialog[]
static const uint qt_meta_data_pv__views__trace__MathSignal[]
static const qt_meta_stringdata_pv__views__trace__MathEditDialog_t qt_meta_stringdata_pv__views__trace__MathEditDialog