10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'ruler.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.)"
20 QT_BEGIN_MOC_NAMESPACE
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__view__Ruler_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
38 "pv::view::Ruler\0hover_point_changed\0"
39 "\0invalidate_tick_position_cache"
67 void pv::view::Ruler::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
69 if (_c == QMetaObject::InvokeMetaMethod) {
73 case 0: _t->hover_point_changed();
break;
74 case 1: _t->invalidate_tick_position_cache();
break;
81 const QMetaObject pv::view::Ruler::staticMetaObject = {
82 { &MarginWidget::staticMetaObject, qt_meta_stringdata_pv__view__Ruler.
data,
87 const QMetaObject *pv::view::Ruler::metaObject()
const
89 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
92 void *pv::view::Ruler::qt_metacast(
const char *_clname)
94 if (!_clname)
return Q_NULLPTR;
95 if (!strcmp(_clname, qt_meta_stringdata_pv__view__Ruler.
stringdata0))
96 return static_cast<void*
>(
const_cast< Ruler*
>(
this));
97 return MarginWidget::qt_metacast(_clname);
100 int pv::view::Ruler::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
102 _id = MarginWidget::qt_metacall(_c, _id, _a);
105 if (_c == QMetaObject::InvokeMetaMethod) {
107 qt_static_metacall(
this, _c, _id, _a);
109 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
111 *
reinterpret_cast<int*
>(_a[0]) = -1;
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_pv__view__Ruler_t qt_meta_stringdata_pv__view__Ruler
static const uint qt_meta_data_pv__view__Ruler[]