Bitcoin Core  0.21.1
P2P Digital Currency
moc_bitcoinamountfield.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'bitcoinamountfield.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'bitcoinamountfield.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.9.4. 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
20 QT_WARNING_PUSH
21 QT_WARNING_DISABLE_DEPRECATED
23  QByteArrayData data[6];
24  char stringdata0[55];
25 };
26 #define QT_MOC_LITERAL(idx, ofs, len) \
27  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
28  qptrdiff(offsetof(qt_meta_stringdata_BitcoinAmountField_t, stringdata0) + ofs \
29  - idx * sizeof(QByteArrayData)) \
30  )
32  {
33 QT_MOC_LITERAL(0, 0, 18), // "BitcoinAmountField"
34 QT_MOC_LITERAL(1, 19, 12), // "valueChanged"
35 QT_MOC_LITERAL(2, 32, 0), // ""
36 QT_MOC_LITERAL(3, 33, 11), // "unitChanged"
37 QT_MOC_LITERAL(4, 45, 3), // "idx"
38 QT_MOC_LITERAL(5, 49, 5) // "value"
39 
40  },
41  "BitcoinAmountField\0valueChanged\0\0"
42  "unitChanged\0idx\0value"
43 };
44 #undef QT_MOC_LITERAL
45 
46 static const uint qt_meta_data_BitcoinAmountField[] = {
47 
48  // content:
49  7, // revision
50  0, // classname
51  0, 0, // classinfo
52  2, 14, // methods
53  1, 28, // properties
54  0, 0, // enums/sets
55  0, 0, // constructors
56  0, // flags
57  1, // signalCount
58 
59  // signals: name, argc, parameters, tag, flags
60  1, 0, 24, 2, 0x06 /* Public */,
61 
62  // slots: name, argc, parameters, tag, flags
63  3, 1, 25, 2, 0x08 /* Private */,
64 
65  // signals: parameters
66  QMetaType::Void,
67 
68  // slots: parameters
69  QMetaType::Void, QMetaType::Int, 4,
70 
71  // properties: name, type, flags
72  5, QMetaType::LongLong, 0x00595103,
73 
74  // properties: notify_signal_id
75  0,
76 
77  0 // eod
78 };
79 
80 void BitcoinAmountField::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
81 {
82  if (_c == QMetaObject::InvokeMetaMethod) {
83  BitcoinAmountField *_t = static_cast<BitcoinAmountField *>(_o);
84  Q_UNUSED(_t)
85  switch (_id) {
86  case 0: _t->valueChanged(); break;
87  case 1: _t->unitChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
88  default: ;
89  }
90  } else if (_c == QMetaObject::IndexOfMethod) {
91  int *result = reinterpret_cast<int *>(_a[0]);
92  {
93  typedef void (BitcoinAmountField::*_t)();
94  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BitcoinAmountField::valueChanged)) {
95  *result = 0;
96  return;
97  }
98  }
99  }
100 #ifndef QT_NO_PROPERTIES
101  else if (_c == QMetaObject::ReadProperty) {
102  BitcoinAmountField *_t = static_cast<BitcoinAmountField *>(_o);
103  Q_UNUSED(_t)
104  void *_v = _a[0];
105  switch (_id) {
106  case 0: *reinterpret_cast< qint64*>(_v) = _t->value(); break;
107  default: break;
108  }
109  } else if (_c == QMetaObject::WriteProperty) {
110  BitcoinAmountField *_t = static_cast<BitcoinAmountField *>(_o);
111  Q_UNUSED(_t)
112  void *_v = _a[0];
113  switch (_id) {
114  case 0: _t->setValue(*reinterpret_cast< qint64*>(_v)); break;
115  default: break;
116  }
117  } else if (_c == QMetaObject::ResetProperty) {
118  }
119 #endif // QT_NO_PROPERTIES
120 }
121 
122 const QMetaObject BitcoinAmountField::staticMetaObject = {
123  { &QWidget::staticMetaObject, qt_meta_stringdata_BitcoinAmountField.data,
124  qt_meta_data_BitcoinAmountField, qt_static_metacall, nullptr, nullptr}
125 };
126 
127 
128 const QMetaObject *BitcoinAmountField::metaObject() const
129 {
130  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131 }
132 
133 void *BitcoinAmountField::qt_metacast(const char *_clname)
134 {
135  if (!_clname) return nullptr;
137  return static_cast<void*>(this);
138  return QWidget::qt_metacast(_clname);
139 }
140 
141 int BitcoinAmountField::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
142 {
143  _id = QWidget::qt_metacall(_c, _id, _a);
144  if (_id < 0)
145  return _id;
146  if (_c == QMetaObject::InvokeMetaMethod) {
147  if (_id < 2)
148  qt_static_metacall(this, _c, _id, _a);
149  _id -= 2;
150  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
151  if (_id < 2)
152  *reinterpret_cast<int*>(_a[0]) = -1;
153  _id -= 2;
154  }
155 #ifndef QT_NO_PROPERTIES
156  else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
157  || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
158  qt_static_metacall(this, _c, _id, _a);
159  _id -= 1;
160  } else if (_c == QMetaObject::QueryPropertyDesignable) {
161  _id -= 1;
162  } else if (_c == QMetaObject::QueryPropertyScriptable) {
163  _id -= 1;
164  } else if (_c == QMetaObject::QueryPropertyStored) {
165  _id -= 1;
166  } else if (_c == QMetaObject::QueryPropertyEditable) {
167  _id -= 1;
168  } else if (_c == QMetaObject::QueryPropertyUser) {
169  _id -= 1;
170  }
171 #endif // QT_NO_PROPERTIES
172  return _id;
173 }
174 
175 // SIGNAL 0
177 {
178  QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
179 }
180 QT_WARNING_POP
181 QT_END_MOC_NAMESPACE
Widget for entering bitcoin amounts.
static const uint qt_meta_data_BitcoinAmountField[]
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_BitcoinAmountField_t qt_meta_stringdata_BitcoinAmountField
void setValue(const CAmount &value)