PulseView  0.3.0
A Qt-based sigrok GUI
moc_mainbar.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'mainbar.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 "mainbar.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'mainbar.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[7];
23  char stringdata0[119];
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__toolbars__MainBar_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 21), // "pv::toolbars::MainBar"
33 QT_MOC_LITERAL(1, 22, 18), // "on_device_selected"
34 QT_MOC_LITERAL(2, 41, 0), // ""
35 QT_MOC_LITERAL(3, 42, 23), // "on_sample_count_changed"
36 QT_MOC_LITERAL(4, 66, 22), // "on_sample_rate_changed"
37 QT_MOC_LITERAL(5, 89, 11), // "on_run_stop"
38 QT_MOC_LITERAL(6, 101, 17) // "on_config_changed"
39 
40  },
41  "pv::toolbars::MainBar\0on_device_selected\0"
42  "\0on_sample_count_changed\0"
43  "on_sample_rate_changed\0on_run_stop\0"
44  "on_config_changed"
45 };
46 #undef QT_MOC_LITERAL
47 
48 static const uint qt_meta_data_pv__toolbars__MainBar[] = {
49 
50  // content:
51  7, // revision
52  0, // classname
53  0, 0, // classinfo
54  5, 14, // methods
55  0, 0, // properties
56  0, 0, // enums/sets
57  0, 0, // constructors
58  0, // flags
59  0, // signalCount
60 
61  // slots: name, argc, parameters, tag, flags
62  1, 0, 39, 2, 0x08 /* Private */,
63  3, 0, 40, 2, 0x08 /* Private */,
64  4, 0, 41, 2, 0x08 /* Private */,
65  5, 0, 42, 2, 0x08 /* Private */,
66  6, 0, 43, 2, 0x08 /* Private */,
67 
68  // slots: parameters
69  QMetaType::Void,
70  QMetaType::Void,
71  QMetaType::Void,
72  QMetaType::Void,
73  QMetaType::Void,
74 
75  0 // eod
76 };
77 
78 void pv::toolbars::MainBar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
79 {
80  if (_c == QMetaObject::InvokeMetaMethod) {
81  MainBar *_t = static_cast<MainBar *>(_o);
82  Q_UNUSED(_t)
83  switch (_id) {
84  case 0: _t->on_device_selected(); break;
85  case 1: _t->on_sample_count_changed(); break;
86  case 2: _t->on_sample_rate_changed(); break;
87  case 3: _t->on_run_stop(); break;
88  case 4: _t->on_config_changed(); break;
89  default: ;
90  }
91  }
92  Q_UNUSED(_a);
93 }
94 
95 const QMetaObject pv::toolbars::MainBar::staticMetaObject = {
96  { &QToolBar::staticMetaObject, qt_meta_stringdata_pv__toolbars__MainBar.data,
97  qt_meta_data_pv__toolbars__MainBar, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
98 };
99 
100 
101 const QMetaObject *pv::toolbars::MainBar::metaObject() const
102 {
103  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
104 }
105 
106 void *pv::toolbars::MainBar::qt_metacast(const char *_clname)
107 {
108  if (!_clname) return Q_NULLPTR;
109  if (!strcmp(_clname, qt_meta_stringdata_pv__toolbars__MainBar.stringdata0))
110  return static_cast<void*>(const_cast< MainBar*>(this));
111  return QToolBar::qt_metacast(_clname);
112 }
113 
114 int pv::toolbars::MainBar::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
115 {
116  _id = QToolBar::qt_metacall(_c, _id, _a);
117  if (_id < 0)
118  return _id;
119  if (_c == QMetaObject::InvokeMetaMethod) {
120  if (_id < 5)
121  qt_static_metacall(this, _c, _id, _a);
122  _id -= 5;
123  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
124  if (_id < 5)
125  *reinterpret_cast<int*>(_a[0]) = -1;
126  _id -= 5;
127  }
128  return _id;
129 }
130 QT_END_MOC_NAMESPACE
MainBar(Session &session, pv::MainWindow &main_window)
Definition: mainbar.cpp:67
static const uint qt_meta_data_pv__toolbars__MainBar[]
Definition: moc_mainbar.cpp:48
static const qt_meta_stringdata_pv__toolbars__MainBar_t qt_meta_stringdata_pv__toolbars__MainBar
Definition: moc_mainbar.cpp:30
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_mainbar.cpp:25