PulseView  0.3.0
A Qt-based sigrok GUI
moc_mainwindow.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'mainwindow.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 "mainwindow.hpp"
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.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
22  QByteArrayData data[32];
23  char stringdata0[697];
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__MainWindow_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 14), // "pv::MainWindow"
33 QT_MOC_LITERAL(1, 15, 11), // "export_file"
34 QT_MOC_LITERAL(2, 27, 0), // ""
35 QT_MOC_LITERAL(3, 28, 37), // "std::shared_ptr<sigrok::Outpu..."
36 QT_MOC_LITERAL(4, 66, 6), // "format"
37 QT_MOC_LITERAL(5, 73, 14), // "selection_only"
38 QT_MOC_LITERAL(6, 88, 11), // "import_file"
39 QT_MOC_LITERAL(7, 100, 36), // "std::shared_ptr<sigrok::Input..."
40 QT_MOC_LITERAL(8, 137, 18), // "show_session_error"
41 QT_MOC_LITERAL(9, 156, 4), // "text"
42 QT_MOC_LITERAL(10, 161, 9), // "info_text"
43 QT_MOC_LITERAL(11, 171, 23), // "on_actionOpen_triggered"
44 QT_MOC_LITERAL(12, 195, 25), // "on_actionSaveAs_triggered"
45 QT_MOC_LITERAL(13, 221, 34), // "on_actionSaveSelectionAs_trig..."
46 QT_MOC_LITERAL(14, 256, 23), // "on_actionQuit_triggered"
47 QT_MOC_LITERAL(15, 280, 26), // "on_actionConnect_triggered"
48 QT_MOC_LITERAL(16, 307, 29), // "on_actionViewZoomIn_triggered"
49 QT_MOC_LITERAL(17, 337, 30), // "on_actionViewZoomOut_triggered"
50 QT_MOC_LITERAL(18, 368, 30), // "on_actionViewZoomFit_triggered"
51 QT_MOC_LITERAL(19, 399, 35), // "on_actionViewZoomOneToOne_tri..."
52 QT_MOC_LITERAL(20, 435, 38), // "on_actionViewStickyScrolling_..."
53 QT_MOC_LITERAL(21, 474, 33), // "on_actionViewColouredBg_trigg..."
54 QT_MOC_LITERAL(22, 508, 34), // "on_actionViewShowCursors_trig..."
55 QT_MOC_LITERAL(23, 543, 24), // "on_actionAbout_triggered"
56 QT_MOC_LITERAL(24, 568, 11), // "add_decoder"
57 QT_MOC_LITERAL(25, 580, 12), // "srd_decoder*"
58 QT_MOC_LITERAL(26, 593, 7), // "decoder"
59 QT_MOC_LITERAL(27, 601, 21), // "capture_state_changed"
60 QT_MOC_LITERAL(28, 623, 5), // "state"
61 QT_MOC_LITERAL(29, 629, 15), // "device_selected"
62 QT_MOC_LITERAL(30, 645, 24), // "sticky_scrolling_changed"
63 QT_MOC_LITERAL(31, 670, 26) // "always_zoom_to_fit_changed"
64 
65  },
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"
87 };
88 #undef QT_MOC_LITERAL
89 
90 static const uint qt_meta_data_pv__MainWindow[] = {
91 
92  // content:
93  7, // revision
94  0, // classname
95  0, 0, // classinfo
96  22, 14, // methods
97  0, 0, // properties
98  0, 0, // enums/sets
99  0, 0, // constructors
100  0, // flags
101  0, // signalCount
102 
103  // slots: name, argc, parameters, tag, flags
104  1, 2, 124, 2, 0x0a /* Public */,
105  1, 1, 129, 2, 0x2a /* Public | MethodCloned */,
106  6, 1, 132, 2, 0x0a /* Public */,
107  8, 2, 135, 2, 0x08 /* Private */,
108  11, 0, 140, 2, 0x08 /* Private */,
109  12, 0, 141, 2, 0x08 /* Private */,
110  13, 0, 142, 2, 0x08 /* Private */,
111  14, 0, 143, 2, 0x08 /* Private */,
112  15, 0, 144, 2, 0x08 /* Private */,
113  16, 0, 145, 2, 0x08 /* Private */,
114  17, 0, 146, 2, 0x08 /* Private */,
115  18, 0, 147, 2, 0x08 /* Private */,
116  19, 0, 148, 2, 0x08 /* Private */,
117  20, 0, 149, 2, 0x08 /* Private */,
118  21, 0, 150, 2, 0x08 /* Private */,
119  22, 0, 151, 2, 0x08 /* Private */,
120  23, 0, 152, 2, 0x08 /* Private */,
121  24, 1, 153, 2, 0x08 /* Private */,
122  27, 1, 156, 2, 0x08 /* Private */,
123  29, 0, 159, 2, 0x08 /* Private */,
124  30, 1, 160, 2, 0x08 /* Private */,
125  31, 1, 163, 2, 0x08 /* Private */,
126 
127  // slots: parameters
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,
132  QMetaType::Void,
133  QMetaType::Void,
134  QMetaType::Void,
135  QMetaType::Void,
136  QMetaType::Void,
137  QMetaType::Void,
138  QMetaType::Void,
139  QMetaType::Void,
140  QMetaType::Void,
141  QMetaType::Void,
142  QMetaType::Void,
143  QMetaType::Void,
144  QMetaType::Void,
145  QMetaType::Void, 0x80000000 | 25, 26,
146  QMetaType::Void, QMetaType::Int, 28,
147  QMetaType::Void,
148  QMetaType::Void, QMetaType::Bool, 28,
149  QMetaType::Void, QMetaType::Bool, 28,
150 
151  0 // eod
152 };
153 
154 void pv::MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
155 {
156  if (_c == QMetaObject::InvokeMetaMethod) {
157  MainWindow *_t = static_cast<MainWindow *>(_o);
158  Q_UNUSED(_t)
159  switch (_id) {
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;
182  default: ;
183  }
184  }
185 }
186 
187 const QMetaObject pv::MainWindow::staticMetaObject = {
188  { &QMainWindow::staticMetaObject, qt_meta_stringdata_pv__MainWindow.data,
189  qt_meta_data_pv__MainWindow, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
190 };
191 
192 
193 const QMetaObject *pv::MainWindow::metaObject() const
194 {
195  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
196 }
197 
198 void *pv::MainWindow::qt_metacast(const char *_clname)
199 {
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);
204 }
205 
206 int pv::MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
207 {
208  _id = QMainWindow::qt_metacall(_c, _id, _a);
209  if (_id < 0)
210  return _id;
211  if (_c == QMetaObject::InvokeMetaMethod) {
212  if (_id < 22)
213  qt_static_metacall(this, _c, _id, _a);
214  _id -= 22;
215  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
216  if (_id < 22)
217  *reinterpret_cast<int*>(_a[0]) = -1;
218  _id -= 22;
219  }
220  return _id;
221 }
222 QT_END_MOC_NAMESPACE
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)
Definition: mainwindow.cpp:97
static const qt_meta_stringdata_pv__MainWindow_t qt_meta_stringdata_pv__MainWindow