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) {
100 case 2: _t->on_editingFinished();
break;
103 }
else if (_c == QMetaObject::IndexOfMethod) {
104 int *result =
reinterpret_cast<int *
>(_a[0]);
105 void **func =
reinterpret_cast<void **
>(_a[1]);
113 #ifndef QT_NO_PROPERTIES
114 else if (_c == QMetaObject::ReadProperty) {
119 case 0: *
reinterpret_cast< uint*
>(_v) = _t->precision();
break;
120 case 1: *
reinterpret_cast< Timestamp*
>(_v) = _t->singleStep();
break;
121 case 2: *
reinterpret_cast< Timestamp*
>(_v) = _t->value();
break;
124 }
else if (_c == QMetaObject::WriteProperty) {
129 case 0: _t->setPrecision(*reinterpret_cast< uint*>(_v));
break;
130 case 1: _t->setSingleStep(*reinterpret_cast< Timestamp*>(_v));
break;
131 case 2: _t->setValue(*reinterpret_cast< Timestamp*>(_v));
break;
134 }
else if (_c == QMetaObject::ResetProperty) {
136 #endif // QT_NO_PROPERTIES
139 const QMetaObject pv::widgets::TimestampSpinBox::staticMetaObject = {
140 { &QAbstractSpinBox::staticMetaObject, qt_meta_stringdata_pv__widgets__TimestampSpinBox.
data,
145 const QMetaObject *pv::widgets::TimestampSpinBox::metaObject()
const
147 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
150 void *pv::widgets::TimestampSpinBox::qt_metacast(
const char *_clname)
152 if (!_clname)
return Q_NULLPTR;
153 if (!strcmp(_clname, qt_meta_stringdata_pv__widgets__TimestampSpinBox.
stringdata0))
154 return static_cast<void*
>(
const_cast< TimestampSpinBox*
>(
this));
155 return QAbstractSpinBox::qt_metacast(_clname);
158 int pv::widgets::TimestampSpinBox::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
160 _id = QAbstractSpinBox::qt_metacall(_c, _id, _a);
163 if (_c == QMetaObject::InvokeMetaMethod) {
165 qt_static_metacall(
this, _c, _id, _a);
167 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
169 *
reinterpret_cast<int*
>(_a[0]) = -1;
172 #ifndef QT_NO_PROPERTIES
173 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
174 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
175 qt_static_metacall(
this, _c, _id, _a);
177 }
else if (_c == QMetaObject::QueryPropertyDesignable) {
179 }
else if (_c == QMetaObject::QueryPropertyScriptable) {
181 }
else if (_c == QMetaObject::QueryPropertyStored) {
183 }
else if (_c == QMetaObject::QueryPropertyEditable) {
185 }
else if (_c == QMetaObject::QueryPropertyUser) {
188 #endif // QT_NO_PROPERTIES
195 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
196 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
boost::multiprecision::number< boost::multiprecision::cpp_dec_float< 24 >, boost::multiprecision::et_off > Timestamp
Timestamp type providing yoctosecond resolution.