10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'mainwindow.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__MainWindow_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
66 "pv::MainWindow\0export_file\0\0"
67 "std::shared_ptr<sigrok::OutputFormat>\0"
68 "format\0selection_only\0import_file\0"
69 "std::shared_ptr<sigrok::InputFormat>\0"
70 "show_session_error\0text\0info_text\0"
71 "on_actionOpen_triggered\0"
72 "on_actionSaveAs_triggered\0"
73 "on_actionSaveSelectionAs_triggered\0"
74 "on_actionQuit_triggered\0"
75 "on_actionConnect_triggered\0"
76 "on_actionViewZoomIn_triggered\0"
77 "on_actionViewZoomOut_triggered\0"
78 "on_actionViewZoomFit_triggered\0"
79 "on_actionViewZoomOneToOne_triggered\0"
80 "on_actionViewStickyScrolling_triggered\0"
81 "on_actionViewColouredBg_triggered\0"
82 "on_actionViewShowCursors_triggered\0"
83 "on_actionAbout_triggered\0add_decoder\0"
84 "srd_decoder*\0decoder\0capture_state_changed\0"
85 "state\0device_selected\0sticky_scrolling_changed\0"
86 "always_zoom_to_fit_changed"
108 11, 0, 140, 2, 0x08 ,
109 12, 0, 141, 2, 0x08 ,
110 13, 0, 142, 2, 0x08 ,
111 14, 0, 143, 2, 0x08 ,
112 15, 0, 144, 2, 0x08 ,
113 16, 0, 145, 2, 0x08 ,
114 17, 0, 146, 2, 0x08 ,
115 18, 0, 147, 2, 0x08 ,
116 19, 0, 148, 2, 0x08 ,
117 20, 0, 149, 2, 0x08 ,
118 21, 0, 150, 2, 0x08 ,
119 22, 0, 151, 2, 0x08 ,
120 23, 0, 152, 2, 0x08 ,
121 24, 1, 153, 2, 0x08 ,
122 27, 1, 156, 2, 0x08 ,
123 29, 0, 159, 2, 0x08 ,
124 30, 1, 160, 2, 0x08 ,
125 31, 1, 163, 2, 0x08 ,
128 QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 5,
129 QMetaType::Void, 0x80000000 | 3, 4,
130 QMetaType::Void, 0x80000000 | 7, 4,
131 QMetaType::Void, QMetaType::QString, QMetaType::QString, 9, 10,
145 QMetaType::Void, 0x80000000 | 25, 26,
146 QMetaType::Void, QMetaType::Int, 28,
148 QMetaType::Void, QMetaType::Bool, 28,
149 QMetaType::Void, QMetaType::Bool, 28,
154 void pv::MainWindow::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
156 if (_c == QMetaObject::InvokeMetaMethod) {
160 case 0: _t->export_file((*
reinterpret_cast< std::shared_ptr<sigrok::OutputFormat>(*)
>(_a[1])),(*
reinterpret_cast< bool(*)
>(_a[2])));
break;
161 case 1: _t->export_file((*
reinterpret_cast< std::shared_ptr<sigrok::OutputFormat>(*)
>(_a[1])));
break;
162 case 2: _t->import_file((*
reinterpret_cast< std::shared_ptr<sigrok::InputFormat>(*)
>(_a[1])));
break;
163 case 3: _t->show_session_error((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])));
break;
164 case 4: _t->on_actionOpen_triggered();
break;
165 case 5: _t->on_actionSaveAs_triggered();
break;
166 case 6: _t->on_actionSaveSelectionAs_triggered();
break;
167 case 7: _t->on_actionQuit_triggered();
break;
168 case 8: _t->on_actionConnect_triggered();
break;
169 case 9: _t->on_actionViewZoomIn_triggered();
break;
170 case 10: _t->on_actionViewZoomOut_triggered();
break;
171 case 11: _t->on_actionViewZoomFit_triggered();
break;
172 case 12: _t->on_actionViewZoomOneToOne_triggered();
break;
173 case 13: _t->on_actionViewStickyScrolling_triggered();
break;
174 case 14: _t->on_actionViewColouredBg_triggered();
break;
175 case 15: _t->on_actionViewShowCursors_triggered();
break;
176 case 16: _t->on_actionAbout_triggered();
break;
177 case 17: _t->add_decoder((*
reinterpret_cast< srd_decoder*(*)
>(_a[1])));
break;
178 case 18: _t->capture_state_changed((*
reinterpret_cast< int(*)
>(_a[1])));
break;
179 case 19: _t->device_selected();
break;
180 case 20: _t->sticky_scrolling_changed((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
181 case 21: _t->always_zoom_to_fit_changed((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
187 const QMetaObject pv::MainWindow::staticMetaObject = {
188 { &QMainWindow::staticMetaObject, qt_meta_stringdata_pv__MainWindow.
data,
193 const QMetaObject *pv::MainWindow::metaObject()
const
195 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
198 void *pv::MainWindow::qt_metacast(
const char *_clname)
200 if (!_clname)
return Q_NULLPTR;
201 if (!strcmp(_clname, qt_meta_stringdata_pv__MainWindow.
stringdata0))
202 return static_cast<void*
>(
const_cast< MainWindow*
>(
this));
203 return QMainWindow::qt_metacast(_clname);
206 int pv::MainWindow::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
208 _id = QMainWindow::qt_metacall(_c, _id, _a);
211 if (_c == QMetaObject::InvokeMetaMethod) {
213 qt_static_metacall(
this, _c, _id, _a);
215 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
217 *
reinterpret_cast<int*
>(_a[0]) = -1;
static const uint qt_meta_data_pv__MainWindow[]
#define QT_MOC_LITERAL(idx, ofs, len)
MainWindow(DeviceManager &device_manager, std::string open_file_name=std::string(), std::string open_file_format=std::string(), QWidget *parent=0)
static const qt_meta_stringdata_pv__MainWindow_t qt_meta_stringdata_pv__MainWindow