Bitcoin Core  0.21.1
P2P Digital Currency
moc_sendcoinsentry.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'sendcoinsentry.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/sendcoinsentry.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'sendcoinsentry.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.6.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[17];
22  char stringdata0[289];
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_SendCoinsEntry_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
30  {
31 QT_MOC_LITERAL(0, 0, 14), // "SendCoinsEntry"
32 QT_MOC_LITERAL(1, 15, 11), // "removeEntry"
33 QT_MOC_LITERAL(2, 27, 0), // ""
34 QT_MOC_LITERAL(3, 28, 15), // "SendCoinsEntry*"
35 QT_MOC_LITERAL(4, 44, 5), // "entry"
36 QT_MOC_LITERAL(5, 50, 19), // "useAvailableBalance"
37 QT_MOC_LITERAL(6, 70, 16), // "payAmountChanged"
38 QT_MOC_LITERAL(7, 87, 28), // "subtractFeeFromAmountChanged"
39 QT_MOC_LITERAL(8, 116, 5), // "clear"
40 QT_MOC_LITERAL(9, 122, 26), // "checkSubtractFeeFromAmount"
41 QT_MOC_LITERAL(10, 149, 13), // "deleteClicked"
42 QT_MOC_LITERAL(11, 163, 26), // "useAvailableBalanceClicked"
43 QT_MOC_LITERAL(12, 190, 20), // "on_payTo_textChanged"
44 QT_MOC_LITERAL(13, 211, 7), // "address"
45 QT_MOC_LITERAL(14, 219, 28), // "on_addressBookButton_clicked"
46 QT_MOC_LITERAL(15, 248, 22), // "on_pasteButton_clicked"
47 QT_MOC_LITERAL(16, 271, 17) // "updateDisplayUnit"
48 
49  },
50  "SendCoinsEntry\0removeEntry\0\0SendCoinsEntry*\0"
51  "entry\0useAvailableBalance\0payAmountChanged\0"
52  "subtractFeeFromAmountChanged\0clear\0"
53  "checkSubtractFeeFromAmount\0deleteClicked\0"
54  "useAvailableBalanceClicked\0"
55  "on_payTo_textChanged\0address\0"
56  "on_addressBookButton_clicked\0"
57  "on_pasteButton_clicked\0updateDisplayUnit"
58 };
59 #undef QT_MOC_LITERAL
60 
61 static const uint qt_meta_data_SendCoinsEntry[] = {
62 
63  // content:
64  7, // revision
65  0, // classname
66  0, 0, // classinfo
67  12, 14, // methods
68  0, 0, // properties
69  0, 0, // enums/sets
70  0, 0, // constructors
71  0, // flags
72  4, // signalCount
73 
74  // signals: name, argc, parameters, tag, flags
75  1, 1, 74, 2, 0x06 /* Public */,
76  5, 1, 77, 2, 0x06 /* Public */,
77  6, 0, 80, 2, 0x06 /* Public */,
78  7, 0, 81, 2, 0x06 /* Public */,
79 
80  // slots: name, argc, parameters, tag, flags
81  8, 0, 82, 2, 0x0a /* Public */,
82  9, 0, 83, 2, 0x0a /* Public */,
83  10, 0, 84, 2, 0x08 /* Private */,
84  11, 0, 85, 2, 0x08 /* Private */,
85  12, 1, 86, 2, 0x08 /* Private */,
86  14, 0, 89, 2, 0x08 /* Private */,
87  15, 0, 90, 2, 0x08 /* Private */,
88  16, 0, 91, 2, 0x08 /* Private */,
89 
90  // signals: parameters
91  QMetaType::Void, 0x80000000 | 3, 4,
92  QMetaType::Void, 0x80000000 | 3, 4,
93  QMetaType::Void,
94  QMetaType::Void,
95 
96  // slots: parameters
97  QMetaType::Void,
98  QMetaType::Void,
99  QMetaType::Void,
100  QMetaType::Void,
101  QMetaType::Void, QMetaType::QString, 13,
102  QMetaType::Void,
103  QMetaType::Void,
104  QMetaType::Void,
105 
106  0 // eod
107 };
108 
109 void SendCoinsEntry::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
110 {
111  if (_c == QMetaObject::InvokeMetaMethod) {
112  SendCoinsEntry *_t = static_cast<SendCoinsEntry *>(_o);
113  Q_UNUSED(_t)
114  switch (_id) {
115  case 0: _t->removeEntry((*reinterpret_cast< SendCoinsEntry*(*)>(_a[1]))); break;
116  case 1: _t->useAvailableBalance((*reinterpret_cast< SendCoinsEntry*(*)>(_a[1]))); break;
117  case 2: _t->payAmountChanged(); break;
118  case 3: _t->subtractFeeFromAmountChanged(); break;
119  case 4: _t->clear(); break;
120  case 5: _t->checkSubtractFeeFromAmount(); break;
121  case 6: _t->deleteClicked(); break;
122  case 7: _t->useAvailableBalanceClicked(); break;
123  case 8: _t->on_payTo_textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
124  case 9: _t->on_addressBookButton_clicked(); break;
125  case 10: _t->on_pasteButton_clicked(); break;
126  case 11: _t->updateDisplayUnit(); break;
127  default: ;
128  }
129  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
130  switch (_id) {
131  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
132  case 0:
133  switch (*reinterpret_cast<int*>(_a[1])) {
134  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
135  case 0:
136  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SendCoinsEntry* >(); break;
137  }
138  break;
139  case 1:
140  switch (*reinterpret_cast<int*>(_a[1])) {
141  default: *reinterpret_cast<int*>(_a[0]) = -1; break;
142  case 0:
143  *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< SendCoinsEntry* >(); break;
144  }
145  break;
146  }
147  } else if (_c == QMetaObject::IndexOfMethod) {
148  int *result = reinterpret_cast<int *>(_a[0]);
149  void **func = reinterpret_cast<void **>(_a[1]);
150  {
151  typedef void (SendCoinsEntry::*_t)(SendCoinsEntry * );
152  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SendCoinsEntry::removeEntry)) {
153  *result = 0;
154  return;
155  }
156  }
157  {
158  typedef void (SendCoinsEntry::*_t)(SendCoinsEntry * );
159  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SendCoinsEntry::useAvailableBalance)) {
160  *result = 1;
161  return;
162  }
163  }
164  {
165  typedef void (SendCoinsEntry::*_t)();
166  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SendCoinsEntry::payAmountChanged)) {
167  *result = 2;
168  return;
169  }
170  }
171  {
172  typedef void (SendCoinsEntry::*_t)();
173  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SendCoinsEntry::subtractFeeFromAmountChanged)) {
174  *result = 3;
175  return;
176  }
177  }
178  }
179 }
180 
181 const QMetaObject SendCoinsEntry::staticMetaObject = {
182  { &QStackedWidget::staticMetaObject, qt_meta_stringdata_SendCoinsEntry.data,
183  qt_meta_data_SendCoinsEntry, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
184 };
185 
186 
187 const QMetaObject *SendCoinsEntry::metaObject() const
188 {
189  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
190 }
191 
192 void *SendCoinsEntry::qt_metacast(const char *_clname)
193 {
194  if (!_clname) return Q_NULLPTR;
195  if (!strcmp(_clname, qt_meta_stringdata_SendCoinsEntry.stringdata0))
196  return static_cast<void*>(const_cast< SendCoinsEntry*>(this));
197  return QStackedWidget::qt_metacast(_clname);
198 }
199 
200 int SendCoinsEntry::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
201 {
202  _id = QStackedWidget::qt_metacall(_c, _id, _a);
203  if (_id < 0)
204  return _id;
205  if (_c == QMetaObject::InvokeMetaMethod) {
206  if (_id < 12)
207  qt_static_metacall(this, _c, _id, _a);
208  _id -= 12;
209  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
210  if (_id < 12)
211  qt_static_metacall(this, _c, _id, _a);
212  _id -= 12;
213  }
214  return _id;
215 }
216 
217 // SIGNAL 0
219 {
220  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
221  QMetaObject::activate(this, &staticMetaObject, 0, _a);
222 }
223 
224 // SIGNAL 1
226 {
227  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
228  QMetaObject::activate(this, &staticMetaObject, 1, _a);
229 }
230 
231 // SIGNAL 2
233 {
234  QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
235 }
236 
237 // SIGNAL 3
239 {
240  QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
241 }
242 QT_END_MOC_NAMESPACE
void payAmountChanged()
void deleteClicked()
void on_payTo_textChanged(const QString &address)
static const uint qt_meta_data_SendCoinsEntry[]
void updateDisplayUnit()
A single entry in the dialog for sending bitcoins.
void clear()
static const qt_meta_stringdata_SendCoinsEntry_t qt_meta_stringdata_SendCoinsEntry
void removeEntry(SendCoinsEntry *entry)
void checkSubtractFeeFromAmount()
#define QT_MOC_LITERAL(idx, ofs, len)
void subtractFeeFromAmountChanged()
void on_pasteButton_clicked()
void on_addressBookButton_clicked()
void useAvailableBalance(SendCoinsEntry *entry)
void useAvailableBalanceClicked()
QByteArrayData data[17]
char stringdata0[289]