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