PulseView  0.3.0
A Qt-based sigrok GUI
moc_wellarray.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'wellarray.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/widgets/wellarray.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'wellarray.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[68];
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__widgets__WellArray_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 22), // "pv::widgets::WellArray"
33 QT_MOC_LITERAL(1, 23, 8), // "selected"
34 QT_MOC_LITERAL(2, 32, 0), // ""
35 QT_MOC_LITERAL(3, 33, 3), // "row"
36 QT_MOC_LITERAL(4, 37, 3), // "col"
37 QT_MOC_LITERAL(5, 41, 14), // "selectedColumn"
38 QT_MOC_LITERAL(6, 56, 11) // "selectedRow"
39 
40  },
41  "pv::widgets::WellArray\0selected\0\0row\0"
42  "col\0selectedColumn\0selectedRow"
43 };
44 #undef QT_MOC_LITERAL
45 
46 static const uint qt_meta_data_pv__widgets__WellArray[] = {
47 
48  // content:
49  7, // revision
50  0, // classname
51  0, 0, // classinfo
52  1, 14, // methods
53  2, 24, // properties
54  0, 0, // enums/sets
55  0, 0, // constructors
56  0, // flags
57  1, // signalCount
58 
59  // signals: name, argc, parameters, tag, flags
60  1, 2, 19, 2, 0x06 /* Public */,
61 
62  // signals: parameters
63  QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
64 
65  // properties: name, type, flags
66  5, QMetaType::Int, 0x00095001,
67  6, QMetaType::Int, 0x00095001,
68 
69  0 // eod
70 };
71 
72 void pv::widgets::WellArray::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
73 {
74  if (_c == QMetaObject::InvokeMetaMethod) {
75  WellArray *_t = static_cast<WellArray *>(_o);
76  Q_UNUSED(_t)
77  switch (_id) {
78  case 0: _t->selected((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
79  default: ;
80  }
81  } else if (_c == QMetaObject::IndexOfMethod) {
82  int *result = reinterpret_cast<int *>(_a[0]);
83  void **func = reinterpret_cast<void **>(_a[1]);
84  {
85  typedef void (WellArray::*_t)(int , int );
86  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WellArray::selected)) {
87  *result = 0;
88  }
89  }
90  }
91 #ifndef QT_NO_PROPERTIES
92  else if (_c == QMetaObject::ReadProperty) {
93  WellArray *_t = static_cast<WellArray *>(_o);
94  Q_UNUSED(_t)
95  void *_v = _a[0];
96  switch (_id) {
97  case 0: *reinterpret_cast< int*>(_v) = _t->selectedColumn(); break;
98  case 1: *reinterpret_cast< int*>(_v) = _t->selectedRow(); break;
99  default: break;
100  }
101  } else if (_c == QMetaObject::WriteProperty) {
102  } else if (_c == QMetaObject::ResetProperty) {
103  }
104 #endif // QT_NO_PROPERTIES
105 }
106 
107 const QMetaObject pv::widgets::WellArray::staticMetaObject = {
108  { &QWidget::staticMetaObject, qt_meta_stringdata_pv__widgets__WellArray.data,
109  qt_meta_data_pv__widgets__WellArray, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
110 };
111 
112 
113 const QMetaObject *pv::widgets::WellArray::metaObject() const
114 {
115  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
116 }
117 
118 void *pv::widgets::WellArray::qt_metacast(const char *_clname)
119 {
120  if (!_clname) return Q_NULLPTR;
121  if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__WellArray.stringdata0))
122  return static_cast<void*>(const_cast< WellArray*>(this));
123  return QWidget::qt_metacast(_clname);
124 }
125 
126 int pv::widgets::WellArray::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
127 {
128  _id = QWidget::qt_metacall(_c, _id, _a);
129  if (_id < 0)
130  return _id;
131  if (_c == QMetaObject::InvokeMetaMethod) {
132  if (_id < 1)
133  qt_static_metacall(this, _c, _id, _a);
134  _id -= 1;
135  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
136  if (_id < 1)
137  *reinterpret_cast<int*>(_a[0]) = -1;
138  _id -= 1;
139  }
140 #ifndef QT_NO_PROPERTIES
141  else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
142  || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
143  qt_static_metacall(this, _c, _id, _a);
144  _id -= 2;
145  } else if (_c == QMetaObject::QueryPropertyDesignable) {
146  _id -= 2;
147  } else if (_c == QMetaObject::QueryPropertyScriptable) {
148  _id -= 2;
149  } else if (_c == QMetaObject::QueryPropertyStored) {
150  _id -= 2;
151  } else if (_c == QMetaObject::QueryPropertyEditable) {
152  _id -= 2;
153  } else if (_c == QMetaObject::QueryPropertyUser) {
154  _id -= 2;
155  }
156 #endif // QT_NO_PROPERTIES
157  return _id;
158 }
159 
160 // SIGNAL 0
161 void pv::widgets::WellArray::selected(int _t1, int _t2)
162 {
163  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
164  QMetaObject::activate(this, &staticMetaObject, 0, _a);
165 }
166 QT_END_MOC_NAMESPACE
static const qt_meta_stringdata_pv__widgets__WellArray_t qt_meta_stringdata_pv__widgets__WellArray
WellArray(int rows, int cols, QWidget *parent=0)
Definition: wellarray.cpp:103
static const uint qt_meta_data_pv__widgets__WellArray[]
void selected(int row, int col)
#define QT_MOC_LITERAL(idx, ofs, len)