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