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