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.)" 20 QT_BEGIN_MOC_NAMESPACE
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)) \ 35 "pv::subwindows::decoder_selector::DecoderCollectionModel" 55 void pv::subwindows::decoder_selector::DecoderCollectionModel::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
63 const QMetaObject pv::subwindows::decoder_selector::DecoderCollectionModel::staticMetaObject = {
64 { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_pv__subwindows__decoder_selector__DecoderCollectionModel.
data,
69 const QMetaObject *pv::subwindows::decoder_selector::DecoderCollectionModel::metaObject()
const 71 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
74 void *pv::subwindows::decoder_selector::DecoderCollectionModel::qt_metacast(
const char *_clname)
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);
82 int pv::subwindows::decoder_selector::DecoderCollectionModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
84 _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
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)) \ 106 "pv::subwindows::decoder_selector::QCustomTreeView\0" 107 "current_changed\0\0current" 109 #undef QT_MOC_LITERAL 128 QMetaType::Void, QMetaType::QModelIndex, 3,
133 void pv::subwindows::decoder_selector::QCustomTreeView::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
135 if (_c == QMetaObject::InvokeMetaMethod) {
136 QCustomTreeView *_t =
static_cast<QCustomTreeView *
>(_o);
139 case 0: _t->current_changed((*
reinterpret_cast< const QModelIndex(*)
>(_a[1])));
break;
142 }
else if (_c == QMetaObject::IndexOfMethod) {
143 int *result =
reinterpret_cast<int *
>(_a[0]);
144 void **func =
reinterpret_cast<void **
>(_a[1]);
146 typedef void (QCustomTreeView::*_t)(
const QModelIndex & );
147 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&QCustomTreeView::current_changed)) {
154 const QMetaObject pv::subwindows::decoder_selector::QCustomTreeView::staticMetaObject = {
155 { &QTreeView::staticMetaObject, qt_meta_stringdata_pv__subwindows__decoder_selector__QCustomTreeView.
data,
160 const QMetaObject *pv::subwindows::decoder_selector::QCustomTreeView::metaObject()
const 162 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
165 void *pv::subwindows::decoder_selector::QCustomTreeView::qt_metacast(
const char *_clname)
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);
173 int pv::subwindows::decoder_selector::QCustomTreeView::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
175 _id = QTreeView::qt_metacall(_c, _id, _a);
178 if (_c == QMetaObject::InvokeMetaMethod) {
180 qt_static_metacall(
this, _c, _id, _a);
182 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
184 *
reinterpret_cast<int*
>(_a[0]) = -1;
193 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
194 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
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)) \ 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" 226 #undef QT_MOC_LITERAL 251 QMetaType::Void, 0x80000000 | 3, 4,
254 QMetaType::Void, QMetaType::QModelIndex, 6,
255 QMetaType::Void, QMetaType::QModelIndex, 6,
256 QMetaType::Void, QMetaType::QString, 9,
262 void pv::subwindows::decoder_selector::SubWindow::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
264 if (_c == QMetaObject::InvokeMetaMethod) {
265 SubWindow *_t =
static_cast<SubWindow *
>(_o);
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;
275 }
else if (_c == QMetaObject::IndexOfMethod) {
276 int *result =
reinterpret_cast<int *
>(_a[0]);
277 void **func =
reinterpret_cast<void **
>(_a[1]);
279 typedef void (SubWindow::*_t)(vector<const srd_decoder*> );
280 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&SubWindow::new_decoders_selected)) {
287 const QMetaObject pv::subwindows::decoder_selector::SubWindow::staticMetaObject = {
288 { &SubWindowBase::staticMetaObject, qt_meta_stringdata_pv__subwindows__decoder_selector__SubWindow.
data,
293 const QMetaObject *pv::subwindows::decoder_selector::SubWindow::metaObject()
const 295 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
298 void *pv::subwindows::decoder_selector::SubWindow::qt_metacast(
const char *_clname)
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);
306 int pv::subwindows::decoder_selector::SubWindow::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
308 _id = SubWindowBase::qt_metacall(_c, _id, _a);
311 if (_c == QMetaObject::InvokeMetaMethod) {
313 qt_static_metacall(
this, _c, _id, _a);
315 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
317 *
reinterpret_cast<int*
>(_a[0]) = -1;
326 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
327 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
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 ¤t)