Fabcoin Core  0.16.2
P2P Digital Currency
moc_tokenamountfield.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'tokenamountfield.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/tokenamountfield.h"
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.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
21  QByteArrayData data[5];
22  char stringdata0[46];
23 };
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)) \
28  )
29 static const qt_meta_stringdata_TokenAmountField_t qt_meta_stringdata_TokenAmountField = {
30  {
31 QT_MOC_LITERAL(0, 0, 16), // "TokenAmountField"
32 QT_MOC_LITERAL(1, 17, 12), // "valueChanged"
33 QT_MOC_LITERAL(2, 30, 0), // ""
34 QT_MOC_LITERAL(3, 31, 5), // "value"
35 QT_MOC_LITERAL(4, 37, 8) // "int256_t"
36 
37  },
38  "TokenAmountField\0valueChanged\0\0value\0"
39  "int256_t"
40 };
41 #undef QT_MOC_LITERAL
42 
43 static const uint qt_meta_data_TokenAmountField[] = {
44 
45  // content:
46  7, // revision
47  0, // classname
48  0, 0, // classinfo
49  1, 14, // methods
50  1, 20, // properties
51  0, 0, // enums/sets
52  0, 0, // constructors
53  0, // flags
54  1, // signalCount
55 
56  // signals: name, argc, parameters, tag, flags
57  1, 0, 19, 2, 0x06 /* Public */,
58 
59  // signals: parameters
60  QMetaType::Void,
61 
62  // properties: name, type, flags
63  3, 0x80000000 | 4, 0x0059510b,
64 
65  // properties: notify_signal_id
66  0,
67 
68  0 // eod
69 };
70 
71 void TokenAmountField::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
72 {
73  if (_c == QMetaObject::InvokeMetaMethod) {
74  TokenAmountField *_t = static_cast<TokenAmountField *>(_o);
75  Q_UNUSED(_t)
76  switch (_id) {
77  case 0: _t->valueChanged(); break;
78  default: ;
79  }
80  } else if (_c == QMetaObject::IndexOfMethod) {
81  int *result = reinterpret_cast<int *>(_a[0]);
82  void **func = reinterpret_cast<void **>(_a[1]);
83  {
84  typedef void (TokenAmountField::*_t)();
85  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TokenAmountField::valueChanged)) {
86  *result = 0;
87  }
88  }
89  }
90 #ifndef QT_NO_PROPERTIES
91  else if (_c == QMetaObject::ReadProperty) {
92  TokenAmountField *_t = static_cast<TokenAmountField *>(_o);
93  Q_UNUSED(_t)
94  void *_v = _a[0];
95  switch (_id) {
96  case 0: *reinterpret_cast< int256_t*>(_v) = _t->value(); break;
97  default: break;
98  }
99  } else if (_c == QMetaObject::WriteProperty) {
100  TokenAmountField *_t = static_cast<TokenAmountField *>(_o);
101  Q_UNUSED(_t)
102  void *_v = _a[0];
103  switch (_id) {
104  case 0: _t->setValue(*reinterpret_cast< int256_t*>(_v)); break;
105  default: break;
106  }
107  } else if (_c == QMetaObject::ResetProperty) {
108  }
109 #endif // QT_NO_PROPERTIES
110  Q_UNUSED(_a);
111 }
112 
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}
116 };
117 
118 
119 const QMetaObject *TokenAmountField::metaObject() const
120 {
121  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
122 }
123 
124 void *TokenAmountField::qt_metacast(const char *_clname)
125 {
126  if (!_clname) return Q_NULLPTR;
127  if (!strcmp(_clname, qt_meta_stringdata_TokenAmountField.stringdata0))
128  return static_cast<void*>(const_cast< TokenAmountField*>(this));
129  return QWidget::qt_metacast(_clname);
130 }
131 
132 int TokenAmountField::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
133 {
134  _id = QWidget::qt_metacall(_c, _id, _a);
135  if (_id < 0)
136  return _id;
137  if (_c == QMetaObject::InvokeMetaMethod) {
138  if (_id < 1)
139  qt_static_metacall(this, _c, _id, _a);
140  _id -= 1;
141  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
142  if (_id < 1)
143  *reinterpret_cast<int*>(_a[0]) = -1;
144  _id -= 1;
145  }
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);
150  _id -= 1;
151  } else if (_c == QMetaObject::QueryPropertyDesignable) {
152  _id -= 1;
153  } else if (_c == QMetaObject::QueryPropertyScriptable) {
154  _id -= 1;
155  } else if (_c == QMetaObject::QueryPropertyStored) {
156  _id -= 1;
157  } else if (_c == QMetaObject::QueryPropertyEditable) {
158  _id -= 1;
159  } else if (_c == QMetaObject::QueryPropertyUser) {
160  _id -= 1;
161  }
162 #endif // QT_NO_PROPERTIES
163  return _id;
164 }
165 
166 // SIGNAL 0
168 {
169  QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
170 }
171 QT_END_MOC_NAMESPACE
void setValue(const int256_t &value)
uint32_t uint
Definition: libclwrapper.h:40
#define QT_MOC_LITERAL(idx, ofs, len)
Widget for entering token amounts.