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