9 #include "../../../../pv/widgets/timestampspinbox.hpp" 10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'timestampspinbox.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__widgets__TimestampSpinBox_t, stringdata0) + ofs \ 28 - idx * sizeof(QByteArrayData)) \ 45 "pv::widgets::TimestampSpinBox\0" 46 "valueChanged\0\0pv::util::Timestamp\0" 47 "setValue\0val\0on_editingFinished\0" 48 "precision\0singleStep\0Timestamp\0value" 73 QMetaType::Void, 0x80000000 | 3, 2,
76 QMetaType::Void, 0x80000000 | 3, 5,
80 7, QMetaType::UInt, 0x00095103,
81 8, 0x80000000 | 9, 0x0009510b,
82 10, 0x80000000 | 9, 0x0059510b,
92 void pv::widgets::TimestampSpinBox::qt_static_metacall(
QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
94 if (_c == QMetaObject::InvokeMetaMethod) {
95 TimestampSpinBox *_t =
static_cast<TimestampSpinBox *
>(_o);
100 case 2: _t->on_editingFinished();
break;
103 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
105 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
107 switch (*reinterpret_cast<int*>(_a[1])) {
108 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
110 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< pv::util::Timestamp >();
break;
114 switch (*reinterpret_cast<int*>(_a[1])) {
115 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
117 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< pv::util::Timestamp >();
break;
121 }
else if (_c == QMetaObject::IndexOfMethod) {
122 int *result =
reinterpret_cast<int *
>(_a[0]);
123 void **func =
reinterpret_cast<void **
>(_a[1]);
126 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&TimestampSpinBox::valueChanged)) {
131 #ifndef QT_NO_PROPERTIES 132 else if (_c == QMetaObject::ReadProperty) {
133 TimestampSpinBox *_t =
static_cast<TimestampSpinBox *
>(_o);
137 case 0: *
reinterpret_cast< uint*
>(_v) = _t->precision();
break;
138 case 1: *
reinterpret_cast< Timestamp*
>(_v) = _t->singleStep();
break;
139 case 2: *
reinterpret_cast< Timestamp*
>(_v) = _t->value();
break;
142 }
else if (_c == QMetaObject::WriteProperty) {
143 TimestampSpinBox *_t =
static_cast<TimestampSpinBox *
>(_o);
147 case 0: _t->setPrecision(*reinterpret_cast< uint*>(_v));
break;
148 case 1: _t->setSingleStep(*reinterpret_cast< Timestamp*>(_v));
break;
149 case 2: _t->setValue(*reinterpret_cast< Timestamp*>(_v));
break;
152 }
else if (_c == QMetaObject::ResetProperty) {
154 #endif // QT_NO_PROPERTIES 157 const QMetaObject pv::widgets::TimestampSpinBox::staticMetaObject = {
158 { &QAbstractSpinBox::staticMetaObject, qt_meta_stringdata_pv__widgets__TimestampSpinBox.
data,
163 const QMetaObject *pv::widgets::TimestampSpinBox::metaObject()
const 165 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
168 void *pv::widgets::TimestampSpinBox::qt_metacast(
const char *_clname)
170 if (!_clname)
return Q_NULLPTR;
171 if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__TimestampSpinBox.
stringdata0))
172 return static_cast<void*
>(
const_cast< TimestampSpinBox*
>(
this));
173 return QAbstractSpinBox::qt_metacast(_clname);
176 int pv::widgets::TimestampSpinBox::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
178 _id = QAbstractSpinBox::qt_metacall(_c, _id, _a);
181 if (_c == QMetaObject::InvokeMetaMethod) {
183 qt_static_metacall(
this, _c, _id, _a);
185 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
187 qt_static_metacall(
this, _c, _id, _a);
190 #ifndef QT_NO_PROPERTIES 191 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
192 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
193 qt_static_metacall(
this, _c, _id, _a);
195 }
else if (_c == QMetaObject::QueryPropertyDesignable) {
197 }
else if (_c == QMetaObject::QueryPropertyScriptable) {
199 }
else if (_c == QMetaObject::QueryPropertyStored) {
201 }
else if (_c == QMetaObject::QueryPropertyEditable) {
203 }
else if (_c == QMetaObject::QueryPropertyUser) {
206 #endif // QT_NO_PROPERTIES 213 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
214 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
static const qt_meta_stringdata_pv__widgets__TimestampSpinBox_t qt_meta_stringdata_pv__widgets__TimestampSpinBox
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_pv__widgets__TimestampSpinBox[]
boost::multiprecision::number< boost::multiprecision::cpp_dec_float< 24 >, boost::multiprecision::et_off > Timestamp
Timestamp type providing yoctosecond resolution.