PulseView  unreleased development snapshot
A Qt-based sigrok GUI
moc_connect.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'connect.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/dialogs/connect.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'connect.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[8];
23  char stringdata0[92];
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__dialogs__Connect_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 20), // "pv::dialogs::Connect"
33 QT_MOC_LITERAL(1, 21, 15), // "driver_selected"
34 QT_MOC_LITERAL(2, 37, 0), // ""
35 QT_MOC_LITERAL(3, 38, 5), // "index"
36 QT_MOC_LITERAL(4, 44, 14), // "serial_toggled"
37 QT_MOC_LITERAL(5, 59, 7), // "checked"
38 QT_MOC_LITERAL(6, 67, 11), // "tcp_toggled"
39 QT_MOC_LITERAL(7, 79, 12) // "scan_pressed"
40 
41  },
42  "pv::dialogs::Connect\0driver_selected\0"
43  "\0index\0serial_toggled\0checked\0tcp_toggled\0"
44  "scan_pressed"
45 };
46 #undef QT_MOC_LITERAL
47 
48 static const uint qt_meta_data_pv__dialogs__Connect[] = {
49 
50  // content:
51  7, // revision
52  0, // classname
53  0, 0, // classinfo
54  4, 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, 1, 34, 2, 0x08 /* Private */,
63  4, 1, 37, 2, 0x08 /* Private */,
64  6, 1, 40, 2, 0x08 /* Private */,
65  7, 0, 43, 2, 0x08 /* Private */,
66 
67  // slots: parameters
68  QMetaType::Void, QMetaType::Int, 3,
69  QMetaType::Void, QMetaType::Bool, 5,
70  QMetaType::Void, QMetaType::Bool, 5,
71  QMetaType::Void,
72 
73  0 // eod
74 };
75 
76 void pv::dialogs::Connect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77 {
78  if (_c == QMetaObject::InvokeMetaMethod) {
79  Connect *_t = static_cast<Connect *>(_o);
80  Q_UNUSED(_t)
81  switch (_id) {
82  case 0: _t->driver_selected((*reinterpret_cast< int(*)>(_a[1]))); break;
83  case 1: _t->serial_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
84  case 2: _t->tcp_toggled((*reinterpret_cast< bool(*)>(_a[1]))); break;
85  case 3: _t->scan_pressed(); break;
86  default: ;
87  }
88  }
89 }
90 
91 const QMetaObject pv::dialogs::Connect::staticMetaObject = {
92  { &QDialog::staticMetaObject, qt_meta_stringdata_pv__dialogs__Connect.data,
93  qt_meta_data_pv__dialogs__Connect, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
94 };
95 
96 
97 const QMetaObject *pv::dialogs::Connect::metaObject() const
98 {
99  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
100 }
101 
102 void *pv::dialogs::Connect::qt_metacast(const char *_clname)
103 {
104  if (!_clname) return Q_NULLPTR;
105  if (!strcmp(_clname, qt_meta_stringdata_pv__dialogs__Connect.stringdata0))
106  return static_cast<void*>(const_cast< Connect*>(this));
107  return QDialog::qt_metacast(_clname);
108 }
109 
110 int pv::dialogs::Connect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
111 {
112  _id = QDialog::qt_metacall(_c, _id, _a);
113  if (_id < 0)
114  return _id;
115  if (_c == QMetaObject::InvokeMetaMethod) {
116  if (_id < 4)
117  qt_static_metacall(this, _c, _id, _a);
118  _id -= 4;
119  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
120  if (_id < 4)
121  *reinterpret_cast<int*>(_a[0]) = -1;
122  _id -= 4;
123  }
124  return _id;
125 }
126 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
Definition: moc_connect.cpp:25
static const qt_meta_stringdata_pv__dialogs__Connect_t qt_meta_stringdata_pv__dialogs__Connect
Definition: moc_connect.cpp:30
static const uint qt_meta_data_pv__dialogs__Connect[]
Definition: moc_connect.cpp:48