10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'view.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__View_t, stringdata0) + ofs \
28 - idx * sizeof(QByteArrayData)) \
74 "pv::view::View\0hover_point_changed\0\0"
75 "selection_changed\0offset_changed\0"
76 "scale_changed\0sticky_scrolling_changed\0"
77 "state\0always_zoom_to_fit_changed\0"
78 "tick_prefix_changed\0tick_precision_changed\0"
79 "tick_period_changed\0time_unit_changed\0"
80 "trigger_event\0util::Timestamp\0location\0"
81 "h_scroll_value_changed\0value\0"
82 "v_scroll_value_changed\0signals_changed\0"
83 "capture_state_updated\0data_updated\0"
84 "perform_delayed_view_update\0"
85 "process_sticky_events\0on_hover_point_changed\0"
86 "set_offset\0pv::util::Timestamp\0offset\0"
87 "set_scale\0scale\0set_tick_prefix\0"
88 "pv::util::SIPrefix\0tick_prefix\0"
89 "set_tick_precision\0tick_precision\0"
90 "set_tick_period\0tick_period\0set_time_unit\0"
91 "pv::util::TimeUnit\0time_unit"
116 10, 0, 150, 2, 0x06 ,
117 11, 0, 151, 2, 0x06 ,
118 12, 0, 152, 2, 0x06 ,
121 13, 1, 153, 2, 0x0a ,
122 16, 1, 156, 2, 0x08 ,
123 18, 0, 159, 2, 0x08 ,
124 19, 0, 160, 2, 0x08 ,
125 20, 1, 161, 2, 0x08 ,
126 21, 0, 164, 2, 0x08 ,
127 22, 0, 165, 2, 0x08 ,
128 23, 0, 166, 2, 0x08 ,
129 24, 0, 167, 2, 0x08 ,
130 25, 1, 168, 2, 0x08 ,
131 28, 1, 171, 2, 0x08 ,
132 30, 1, 174, 2, 0x08 ,
133 33, 1, 177, 2, 0x08 ,
134 35, 1, 180, 2, 0x08 ,
135 37, 1, 183, 2, 0x08 ,
142 QMetaType::Void, QMetaType::Bool, 7,
143 QMetaType::Void, QMetaType::Bool, 7,
150 QMetaType::Void, 0x80000000 | 14, 15,
151 QMetaType::Void, QMetaType::Int, 17,
154 QMetaType::Void, QMetaType::Int, 7,
159 QMetaType::Void, 0x80000000 | 26, 27,
160 QMetaType::Void, QMetaType::Double, 29,
161 QMetaType::Void, 0x80000000 | 31, 32,
162 QMetaType::Void, QMetaType::UInt, 34,
163 QMetaType::Void, 0x80000000 | 26, 36,
164 QMetaType::Void, 0x80000000 | 38, 39,
169 void pv::view::View::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
171 if (_c == QMetaObject::InvokeMetaMethod) {
175 case 0: _t->hover_point_changed();
break;
176 case 1: _t->selection_changed();
break;
177 case 2: _t->offset_changed();
break;
178 case 3: _t->scale_changed();
break;
179 case 4: _t->sticky_scrolling_changed((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
180 case 5: _t->always_zoom_to_fit_changed((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
181 case 6: _t->tick_prefix_changed();
break;
182 case 7: _t->tick_precision_changed();
break;
183 case 8: _t->tick_period_changed();
break;
184 case 9: _t->time_unit_changed();
break;
185 case 10: _t->trigger_event((*
reinterpret_cast< util::Timestamp(*)
>(_a[1])));
break;
186 case 11: _t->h_scroll_value_changed((*
reinterpret_cast< int(*)
>(_a[1])));
break;
187 case 12: _t->v_scroll_value_changed();
break;
188 case 13: _t->signals_changed();
break;
189 case 14: _t->capture_state_updated((*
reinterpret_cast< int(*)
>(_a[1])));
break;
190 case 15: _t->data_updated();
break;
191 case 16: _t->perform_delayed_view_update();
break;
192 case 17: _t->process_sticky_events();
break;
193 case 18: _t->on_hover_point_changed();
break;
195 case 20: _t->set_scale((*
reinterpret_cast< double(*)
>(_a[1])));
break;
196 case 21: _t->set_tick_prefix((*
reinterpret_cast< pv::util::SIPrefix(*)
>(_a[1])));
break;
197 case 22: _t->set_tick_precision((*
reinterpret_cast< uint(*)
>(_a[1])));
break;
198 case 23: _t->set_tick_period((*
reinterpret_cast< const pv::util::Timestamp(*)
>(_a[1])));
break;
199 case 24: _t->set_time_unit((*
reinterpret_cast< pv::util::TimeUnit(*)
>(_a[1])));
break;
202 }
else if (_c == QMetaObject::IndexOfMethod) {
203 int *result =
reinterpret_cast<int *
>(_a[0]);
204 void **func =
reinterpret_cast<void **
>(_a[1]);
206 typedef void (
View::*_t)();
212 typedef void (
View::*_t)();
218 typedef void (
View::*_t)();
224 typedef void (
View::*_t)();
230 typedef void (
View::*_t)(bool );
236 typedef void (
View::*_t)(bool );
242 typedef void (
View::*_t)();
248 typedef void (
View::*_t)();
254 typedef void (
View::*_t)();
260 typedef void (
View::*_t)();
268 const QMetaObject pv::view::View::staticMetaObject = {
269 { &QAbstractScrollArea::staticMetaObject, qt_meta_stringdata_pv__view__View.
data,
274 const QMetaObject *pv::view::View::metaObject()
const
276 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
279 void *pv::view::View::qt_metacast(
const char *_clname)
281 if (!_clname)
return Q_NULLPTR;
282 if (!strcmp(_clname, qt_meta_stringdata_pv__view__View.
stringdata0))
283 return static_cast<void*
>(
const_cast< View*
>(
this));
284 if (!strcmp(_clname,
"TraceTreeItemOwner"))
285 return static_cast< TraceTreeItemOwner*>(const_cast< View*>(
this));
286 return QAbstractScrollArea::qt_metacast(_clname);
289 int pv::view::View::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
291 _id = QAbstractScrollArea::qt_metacall(_c, _id, _a);
294 if (_c == QMetaObject::InvokeMetaMethod) {
296 qt_static_metacall(
this, _c, _id, _a);
298 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
300 *
reinterpret_cast<int*
>(_a[0]) = -1;
309 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);
315 QMetaObject::activate(
this, &staticMetaObject, 1, Q_NULLPTR);
321 QMetaObject::activate(
this, &staticMetaObject, 2, Q_NULLPTR);
327 QMetaObject::activate(
this, &staticMetaObject, 3, Q_NULLPTR);
333 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
334 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
340 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
341 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
347 QMetaObject::activate(
this, &staticMetaObject, 6, Q_NULLPTR);
353 QMetaObject::activate(
this, &staticMetaObject, 7, Q_NULLPTR);
359 QMetaObject::activate(
this, &staticMetaObject, 8, Q_NULLPTR);
365 QMetaObject::activate(
this, &staticMetaObject, 9, Q_NULLPTR);
static const uint qt_meta_data_pv__view__View[]
void tick_prefix_changed()
Emitted when the tick_prefix changed.
static const qt_meta_stringdata_pv__view__View_t qt_meta_stringdata_pv__view__View
void time_unit_changed()
Emitted when the time_unit changed.
void scale_changed()
Emitted when the scale changed.
void tick_precision_changed()
Emitted when the tick_precision changed.
void offset_changed()
Emitted when the offset changed.
void sticky_scrolling_changed(bool state)
boost::multiprecision::number< boost::multiprecision::cpp_dec_float< 24 >, boost::multiprecision::et_off > Timestamp
Timestamp type providing yoctosecond resolution.
void hover_point_changed()
View(Session &session, QWidget *parent=0)
#define QT_MOC_LITERAL(idx, ofs, len)
void tick_period_changed()
Emitted when the tick_period changed.
void always_zoom_to_fit_changed(bool state)