PulseView  unreleased development snapshot
A Qt-based sigrok GUI
moc_cursorpair.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'cursorpair.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/views/trace/cursorpair.hpp"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'cursorpair.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[78];
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__views__trace__CursorPair_t, stringdata0) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
31  {
32 QT_MOC_LITERAL(0, 0, 28), // "pv::views::trace::CursorPair"
33 QT_MOC_LITERAL(1, 29, 22), // "on_hover_point_changed"
34 QT_MOC_LITERAL(2, 52, 0), // ""
35 QT_MOC_LITERAL(3, 53, 14), // "const QWidget*"
36 QT_MOC_LITERAL(4, 68, 6), // "widget"
37 QT_MOC_LITERAL(5, 75, 2) // "hp"
38 
39  },
40  "pv::views::trace::CursorPair\0"
41  "on_hover_point_changed\0\0const QWidget*\0"
42  "widget\0hp"
43 };
44 #undef QT_MOC_LITERAL
45 
47 
48  // content:
49  7, // revision
50  0, // classname
51  0, 0, // classinfo
52  1, 14, // methods
53  0, 0, // properties
54  0, 0, // enums/sets
55  0, 0, // constructors
56  0, // flags
57  0, // signalCount
58 
59  // slots: name, argc, parameters, tag, flags
60  1, 2, 19, 2, 0x0a /* Public */,
61 
62  // slots: parameters
63  QMetaType::Void, 0x80000000 | 3, QMetaType::QPoint, 4, 5,
64 
65  0 // eod
66 };
67 
68 void pv::views::trace::CursorPair::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
69 {
70  if (_c == QMetaObject::InvokeMetaMethod) {
71  CursorPair *_t = static_cast<CursorPair *>(_o);
72  Q_UNUSED(_t)
73  switch (_id) {
74  case 0: _t->on_hover_point_changed((*reinterpret_cast< const QWidget*(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
75  default: ;
76  }
77  }
78 }
79 
80 const QMetaObject pv::views::trace::CursorPair::staticMetaObject = {
81  { &TimeItem::staticMetaObject, qt_meta_stringdata_pv__views__trace__CursorPair.data,
82  qt_meta_data_pv__views__trace__CursorPair, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
83 };
84 
85 
86 const QMetaObject *pv::views::trace::CursorPair::metaObject() const
87 {
88  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
89 }
90 
91 void *pv::views::trace::CursorPair::qt_metacast(const char *_clname)
92 {
93  if (!_clname) return Q_NULLPTR;
94  if (!strcmp(_clname, qt_meta_stringdata_pv__views__trace__CursorPair.stringdata0))
95  return static_cast<void*>(const_cast< CursorPair*>(this));
96  if (!strcmp(_clname, "GlobalSettingsInterface"))
97  return static_cast< GlobalSettingsInterface*>(const_cast< CursorPair*>(this));
98  return TimeItem::qt_metacast(_clname);
99 }
100 
101 int pv::views::trace::CursorPair::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
102 {
103  _id = TimeItem::qt_metacall(_c, _id, _a);
104  if (_id < 0)
105  return _id;
106  if (_c == QMetaObject::InvokeMetaMethod) {
107  if (_id < 1)
108  qt_static_metacall(this, _c, _id, _a);
109  _id -= 1;
110  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
111  if (_id < 1)
112  *reinterpret_cast<int*>(_a[0]) = -1;
113  _id -= 1;
114  }
115  return _id;
116 }
117 QT_END_MOC_NAMESPACE
static const qt_meta_stringdata_pv__views__trace__CursorPair_t qt_meta_stringdata_pv__views__trace__CursorPair
static const uint qt_meta_data_pv__views__trace__CursorPair[]
#define QT_MOC_LITERAL(idx, ofs, len)