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