9 #include <QtCore/qbytearray.h> 10 #include <QtCore/qmetatype.h> 11 #if !defined(Q_MOC_OUTPUT_REVISION) 12 #error "The header file 'tokenamountfield.h' doesn't include <QObject>." 13 #elif Q_MOC_OUTPUT_REVISION != 67 14 #error "This file was generated using the moc from 5.5.1. It" 15 #error "cannot be used with the include files from this version of Qt." 16 #error "(The moc has changed too much.)" 19 QT_BEGIN_MOC_NAMESPACE
24 #define QT_MOC_LITERAL(idx, ofs, len) \ 25 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 26 qptrdiff(offsetof(qt_meta_stringdata_TokenAmountField_t, stringdata0) + ofs \ 27 - idx * sizeof(QByteArrayData)) \ 38 "TokenAmountField\0valueChanged\0\0value\0" 43 static const uint qt_meta_data_TokenAmountField[] = {
63 3, 0x80000000 | 4, 0x0059510b,
71 void TokenAmountField::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
73 if (_c == QMetaObject::InvokeMetaMethod) {
80 }
else if (_c == QMetaObject::IndexOfMethod) {
81 int *result =
reinterpret_cast<int *
>(_a[0]);
82 void **func =
reinterpret_cast<void **
>(_a[1]);
90 #ifndef QT_NO_PROPERTIES 91 else if (_c == QMetaObject::ReadProperty) {
96 case 0: *
reinterpret_cast< int256_t*
>(_v) = _t->
value();
break;
99 }
else if (_c == QMetaObject::WriteProperty) {
104 case 0: _t->
setValue(*reinterpret_cast< int256_t*>(_v));
break;
107 }
else if (_c == QMetaObject::ResetProperty) {
109 #endif // QT_NO_PROPERTIES 113 const QMetaObject TokenAmountField::staticMetaObject = {
114 { &QWidget::staticMetaObject, qt_meta_stringdata_TokenAmountField.
data,
115 qt_meta_data_TokenAmountField, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
119 const QMetaObject *TokenAmountField::metaObject()
const 121 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
124 void *TokenAmountField::qt_metacast(
const char *_clname)
126 if (!_clname)
return Q_NULLPTR;
127 if (!strcmp(_clname, qt_meta_stringdata_TokenAmountField.
stringdata0))
129 return QWidget::qt_metacast(_clname);
132 int TokenAmountField::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
134 _id = QWidget::qt_metacall(_c, _id, _a);
137 if (_c == QMetaObject::InvokeMetaMethod) {
139 qt_static_metacall(
this, _c, _id, _a);
141 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
143 *
reinterpret_cast<int*
>(_a[0]) = -1;
146 #ifndef QT_NO_PROPERTIES 147 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
148 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
149 qt_static_metacall(
this, _c, _id, _a);
151 }
else if (_c == QMetaObject::QueryPropertyDesignable) {
153 }
else if (_c == QMetaObject::QueryPropertyScriptable) {
155 }
else if (_c == QMetaObject::QueryPropertyStored) {
157 }
else if (_c == QMetaObject::QueryPropertyEditable) {
159 }
else if (_c == QMetaObject::QueryPropertyUser) {
162 #endif // QT_NO_PROPERTIES 169 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);
void setValue(const int256_t &value)
#define QT_MOC_LITERAL(idx, ofs, len)
Widget for entering token amounts.