PulseView  unreleased development snapshot
A Qt-based sigrok GUI
moc_subwindow.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'subwindow.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/subwindows/decoder_selector/subwindow.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'subwindow.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[1];
23  char stringdata0[57];
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__subwindows__decoder_selector__DecoderCollectionModel_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 56) // "pv::subwindows::decoder_selec..."
33 
34  },
35  "pv::subwindows::decoder_selector::DecoderCollectionModel"
36 };
37 #undef QT_MOC_LITERAL
38 
40 
41  // content:
42  7, // revision
43  0, // classname
44  0, 0, // classinfo
45  0, 0, // methods
46  0, 0, // properties
47  0, 0, // enums/sets
48  0, 0, // constructors
49  0, // flags
50  0, // signalCount
51 
52  0 // eod
53 };
54 
55 void pv::subwindows::decoder_selector::DecoderCollectionModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
56 {
57  Q_UNUSED(_o);
58  Q_UNUSED(_id);
59  Q_UNUSED(_c);
60  Q_UNUSED(_a);
61 }
62 
63 const QMetaObject pv::subwindows::decoder_selector::DecoderCollectionModel::staticMetaObject = {
64  { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_pv__subwindows__decoder_selector__DecoderCollectionModel.data,
65  qt_meta_data_pv__subwindows__decoder_selector__DecoderCollectionModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
66 };
67 
68 
69 const QMetaObject *pv::subwindows::decoder_selector::DecoderCollectionModel::metaObject() const
70 {
71  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
72 }
73 
74 void *pv::subwindows::decoder_selector::DecoderCollectionModel::qt_metacast(const char *_clname)
75 {
76  if (!_clname) return Q_NULLPTR;
77  if (!strcmp(_clname, qt_meta_stringdata_pv__subwindows__decoder_selector__DecoderCollectionModel.stringdata0))
78  return static_cast<void*>(const_cast< DecoderCollectionModel*>(this));
79  return QAbstractItemModel::qt_metacast(_clname);
80 }
81 
82 int pv::subwindows::decoder_selector::DecoderCollectionModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
83 {
84  _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
85  if (_id < 0)
86  return _id;
87  return _id;
88 }
90  QByteArrayData data[4];
91  char stringdata0[75];
92 };
93 #define QT_MOC_LITERAL(idx, ofs, len) \
94  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
95  qptrdiff(offsetof(qt_meta_stringdata_pv__subwindows__decoder_selector__QCustomTreeView_t, stringdata0) + ofs \
96  - idx * sizeof(QByteArrayData)) \
97  )
99  {
100 QT_MOC_LITERAL(0, 0, 49), // "pv::subwindows::decoder_selec..."
101 QT_MOC_LITERAL(1, 50, 15), // "current_changed"
102 QT_MOC_LITERAL(2, 66, 0), // ""
103 QT_MOC_LITERAL(3, 67, 7) // "current"
104 
105  },
106  "pv::subwindows::decoder_selector::QCustomTreeView\0"
107  "current_changed\0\0current"
108 };
109 #undef QT_MOC_LITERAL
110 
112 
113  // content:
114  7, // revision
115  0, // classname
116  0, 0, // classinfo
117  1, 14, // methods
118  0, 0, // properties
119  0, 0, // enums/sets
120  0, 0, // constructors
121  0, // flags
122  1, // signalCount
123 
124  // signals: name, argc, parameters, tag, flags
125  1, 1, 19, 2, 0x06 /* Public */,
126 
127  // signals: parameters
128  QMetaType::Void, QMetaType::QModelIndex, 3,
129 
130  0 // eod
131 };
132 
133 void pv::subwindows::decoder_selector::QCustomTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
134 {
135  if (_c == QMetaObject::InvokeMetaMethod) {
136  QCustomTreeView *_t = static_cast<QCustomTreeView *>(_o);
137  Q_UNUSED(_t)
138  switch (_id) {
139  case 0: _t->current_changed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
140  default: ;
141  }
142  } else if (_c == QMetaObject::IndexOfMethod) {
143  int *result = reinterpret_cast<int *>(_a[0]);
144  void **func = reinterpret_cast<void **>(_a[1]);
145  {
146  typedef void (QCustomTreeView::*_t)(const QModelIndex & );
147  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCustomTreeView::current_changed)) {
148  *result = 0;
149  }
150  }
151  }
152 }
153 
154 const QMetaObject pv::subwindows::decoder_selector::QCustomTreeView::staticMetaObject = {
155  { &QTreeView::staticMetaObject, qt_meta_stringdata_pv__subwindows__decoder_selector__QCustomTreeView.data,
156  qt_meta_data_pv__subwindows__decoder_selector__QCustomTreeView, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
157 };
158 
159 
160 const QMetaObject *pv::subwindows::decoder_selector::QCustomTreeView::metaObject() const
161 {
162  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
163 }
164 
165 void *pv::subwindows::decoder_selector::QCustomTreeView::qt_metacast(const char *_clname)
166 {
167  if (!_clname) return Q_NULLPTR;
168  if (!strcmp(_clname, qt_meta_stringdata_pv__subwindows__decoder_selector__QCustomTreeView.stringdata0))
169  return static_cast<void*>(const_cast< QCustomTreeView*>(this));
170  return QTreeView::qt_metacast(_clname);
171 }
172 
173 int pv::subwindows::decoder_selector::QCustomTreeView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
174 {
175  _id = QTreeView::qt_metacall(_c, _id, _a);
176  if (_id < 0)
177  return _id;
178  if (_c == QMetaObject::InvokeMetaMethod) {
179  if (_id < 1)
180  qt_static_metacall(this, _c, _id, _a);
181  _id -= 1;
182  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
183  if (_id < 1)
184  *reinterpret_cast<int*>(_a[0]) = -1;
185  _id -= 1;
186  }
187  return _id;
188 }
189 
190 // SIGNAL 0
192 {
193  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
194  QMetaObject::activate(this, &staticMetaObject, 0, _a);
195 }
197  QByteArrayData data[11];
198  char stringdata0[191];
199 };
200 #define QT_MOC_LITERAL(idx, ofs, len) \
201  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
202  qptrdiff(offsetof(qt_meta_stringdata_pv__subwindows__decoder_selector__SubWindow_t, stringdata0) + ofs \
203  - idx * sizeof(QByteArrayData)) \
204  )
206  {
207 QT_MOC_LITERAL(0, 0, 43), // "pv::subwindows::decoder_selec..."
208 QT_MOC_LITERAL(1, 44, 21), // "new_decoders_selected"
209 QT_MOC_LITERAL(2, 66, 0), // ""
210 QT_MOC_LITERAL(3, 67, 26), // "vector<const srd_decoder*>"
211 QT_MOC_LITERAL(4, 94, 8), // "decoders"
212 QT_MOC_LITERAL(5, 103, 15), // "on_item_changed"
213 QT_MOC_LITERAL(6, 119, 5), // "index"
214 QT_MOC_LITERAL(7, 125, 17), // "on_item_activated"
215 QT_MOC_LITERAL(8, 143, 17), // "on_filter_changed"
216 QT_MOC_LITERAL(9, 161, 4), // "text"
217 QT_MOC_LITERAL(10, 166, 24) // "on_filter_return_pressed"
218 
219  },
220  "pv::subwindows::decoder_selector::SubWindow\0"
221  "new_decoders_selected\0\0"
222  "vector<const srd_decoder*>\0decoders\0"
223  "on_item_changed\0index\0on_item_activated\0"
224  "on_filter_changed\0text\0on_filter_return_pressed"
225 };
226 #undef QT_MOC_LITERAL
227 
229 
230  // content:
231  7, // revision
232  0, // classname
233  0, 0, // classinfo
234  5, 14, // methods
235  0, 0, // properties
236  0, 0, // enums/sets
237  0, 0, // constructors
238  0, // flags
239  1, // signalCount
240 
241  // signals: name, argc, parameters, tag, flags
242  1, 1, 39, 2, 0x06 /* Public */,
243 
244  // slots: name, argc, parameters, tag, flags
245  5, 1, 42, 2, 0x0a /* Public */,
246  7, 1, 45, 2, 0x0a /* Public */,
247  8, 1, 48, 2, 0x0a /* Public */,
248  10, 0, 51, 2, 0x0a /* Public */,
249 
250  // signals: parameters
251  QMetaType::Void, 0x80000000 | 3, 4,
252 
253  // slots: parameters
254  QMetaType::Void, QMetaType::QModelIndex, 6,
255  QMetaType::Void, QMetaType::QModelIndex, 6,
256  QMetaType::Void, QMetaType::QString, 9,
257  QMetaType::Void,
258 
259  0 // eod
260 };
261 
262 void pv::subwindows::decoder_selector::SubWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
263 {
264  if (_c == QMetaObject::InvokeMetaMethod) {
265  SubWindow *_t = static_cast<SubWindow *>(_o);
266  Q_UNUSED(_t)
267  switch (_id) {
268  case 0: _t->new_decoders_selected((*reinterpret_cast< vector<const srd_decoder*>(*)>(_a[1]))); break;
269  case 1: _t->on_item_changed((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
270  case 2: _t->on_item_activated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
271  case 3: _t->on_filter_changed((*reinterpret_cast< const QString(*)>(_a[1]))); break;
272  case 4: _t->on_filter_return_pressed(); break;
273  default: ;
274  }
275  } else if (_c == QMetaObject::IndexOfMethod) {
276  int *result = reinterpret_cast<int *>(_a[0]);
277  void **func = reinterpret_cast<void **>(_a[1]);
278  {
279  typedef void (SubWindow::*_t)(vector<const srd_decoder*> );
280  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SubWindow::new_decoders_selected)) {
281  *result = 0;
282  }
283  }
284  }
285 }
286 
287 const QMetaObject pv::subwindows::decoder_selector::SubWindow::staticMetaObject = {
288  { &SubWindowBase::staticMetaObject, qt_meta_stringdata_pv__subwindows__decoder_selector__SubWindow.data,
289  qt_meta_data_pv__subwindows__decoder_selector__SubWindow, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
290 };
291 
292 
293 const QMetaObject *pv::subwindows::decoder_selector::SubWindow::metaObject() const
294 {
295  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
296 }
297 
298 void *pv::subwindows::decoder_selector::SubWindow::qt_metacast(const char *_clname)
299 {
300  if (!_clname) return Q_NULLPTR;
301  if (!strcmp(_clname, qt_meta_stringdata_pv__subwindows__decoder_selector__SubWindow.stringdata0))
302  return static_cast<void*>(const_cast< SubWindow*>(this));
303  return SubWindowBase::qt_metacast(_clname);
304 }
305 
306 int pv::subwindows::decoder_selector::SubWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
307 {
308  _id = SubWindowBase::qt_metacall(_c, _id, _a);
309  if (_id < 0)
310  return _id;
311  if (_c == QMetaObject::InvokeMetaMethod) {
312  if (_id < 5)
313  qt_static_metacall(this, _c, _id, _a);
314  _id -= 5;
315  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
316  if (_id < 5)
317  *reinterpret_cast<int*>(_a[0]) = -1;
318  _id -= 5;
319  }
320  return _id;
321 }
322 
323 // SIGNAL 0
325 {
326  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
327  QMetaObject::activate(this, &staticMetaObject, 0, _a);
328 }
329 QT_END_MOC_NAMESPACE
static const uint qt_meta_data_pv__subwindows__decoder_selector__DecoderCollectionModel[]
static const uint qt_meta_data_pv__subwindows__decoder_selector__QCustomTreeView[]
static const qt_meta_stringdata_pv__subwindows__decoder_selector__SubWindow_t qt_meta_stringdata_pv__subwindows__decoder_selector__SubWindow
static const qt_meta_stringdata_pv__subwindows__decoder_selector__QCustomTreeView_t qt_meta_stringdata_pv__subwindows__decoder_selector__QCustomTreeView
static const qt_meta_stringdata_pv__subwindows__decoder_selector__DecoderCollectionModel_t qt_meta_stringdata_pv__subwindows__decoder_selector__DecoderCollectionModel
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_pv__subwindows__decoder_selector__SubWindow[]
void new_decoders_selected(vector< const srd_decoder * > decoders)
void current_changed(const QModelIndex &current)