Bitcoin Core  0.21.0rc5
P2P Digital Currency
moc_sendcoinsdialog.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'sendcoinsdialog.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include <memory>
9 #include "qt/sendcoinsdialog.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'sendcoinsdialog.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.15.2. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
24  QByteArrayData data[45];
25  char stringdata0[766];
26 };
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29  qptrdiff(offsetof(qt_meta_stringdata_SendCoinsDialog_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
33  {
34 QT_MOC_LITERAL(0, 0, 15), // "SendCoinsDialog"
35 QT_MOC_LITERAL(1, 16, 9), // "coinsSent"
36 QT_MOC_LITERAL(2, 26, 0), // ""
37 QT_MOC_LITERAL(3, 27, 7), // "uint256"
38 QT_MOC_LITERAL(4, 35, 4), // "txid"
39 QT_MOC_LITERAL(5, 40, 7), // "message"
40 QT_MOC_LITERAL(6, 48, 5), // "title"
41 QT_MOC_LITERAL(7, 54, 5), // "style"
42 QT_MOC_LITERAL(8, 60, 5), // "clear"
43 QT_MOC_LITERAL(9, 66, 6), // "reject"
44 QT_MOC_LITERAL(10, 73, 6), // "accept"
45 QT_MOC_LITERAL(11, 80, 8), // "addEntry"
46 QT_MOC_LITERAL(12, 89, 15), // "SendCoinsEntry*"
47 QT_MOC_LITERAL(13, 105, 19), // "updateTabsAndLabels"
48 QT_MOC_LITERAL(14, 125, 10), // "setBalance"
49 QT_MOC_LITERAL(15, 136, 26), // "interfaces::WalletBalances"
50 QT_MOC_LITERAL(16, 163, 8), // "balances"
51 QT_MOC_LITERAL(17, 172, 21), // "on_sendButton_clicked"
52 QT_MOC_LITERAL(18, 194, 26), // "on_buttonChooseFee_clicked"
53 QT_MOC_LITERAL(19, 221, 28), // "on_buttonMinimizeFee_clicked"
54 QT_MOC_LITERAL(20, 250, 11), // "removeEntry"
55 QT_MOC_LITERAL(21, 262, 5), // "entry"
56 QT_MOC_LITERAL(22, 268, 19), // "useAvailableBalance"
57 QT_MOC_LITERAL(23, 288, 17), // "updateDisplayUnit"
58 QT_MOC_LITERAL(24, 306, 25), // "coinControlFeatureChanged"
59 QT_MOC_LITERAL(25, 332, 24), // "coinControlButtonClicked"
60 QT_MOC_LITERAL(26, 357, 24), // "coinControlChangeChecked"
61 QT_MOC_LITERAL(27, 382, 23), // "coinControlChangeEdited"
62 QT_MOC_LITERAL(28, 406, 23), // "coinControlUpdateLabels"
63 QT_MOC_LITERAL(29, 430, 28), // "coinControlClipboardQuantity"
64 QT_MOC_LITERAL(30, 459, 26), // "coinControlClipboardAmount"
65 QT_MOC_LITERAL(31, 486, 23), // "coinControlClipboardFee"
66 QT_MOC_LITERAL(32, 510, 28), // "coinControlClipboardAfterFee"
67 QT_MOC_LITERAL(33, 539, 25), // "coinControlClipboardBytes"
68 QT_MOC_LITERAL(34, 565, 29), // "coinControlClipboardLowOutput"
69 QT_MOC_LITERAL(35, 595, 26), // "coinControlClipboardChange"
70 QT_MOC_LITERAL(36, 622, 24), // "updateFeeSectionControls"
71 QT_MOC_LITERAL(37, 647, 20), // "updateNumberOfBlocks"
72 QT_MOC_LITERAL(38, 668, 5), // "count"
73 QT_MOC_LITERAL(39, 674, 9), // "blockDate"
74 QT_MOC_LITERAL(40, 684, 21), // "nVerificationProgress"
75 QT_MOC_LITERAL(41, 706, 7), // "headers"
76 QT_MOC_LITERAL(42, 714, 20), // "SynchronizationState"
77 QT_MOC_LITERAL(43, 735, 10), // "sync_state"
78 QT_MOC_LITERAL(44, 746, 19) // "updateSmartFeeLabel"
79 
80  },
81  "SendCoinsDialog\0coinsSent\0\0uint256\0"
82  "txid\0message\0title\0style\0clear\0reject\0"
83  "accept\0addEntry\0SendCoinsEntry*\0"
84  "updateTabsAndLabels\0setBalance\0"
85  "interfaces::WalletBalances\0balances\0"
86  "on_sendButton_clicked\0on_buttonChooseFee_clicked\0"
87  "on_buttonMinimizeFee_clicked\0removeEntry\0"
88  "entry\0useAvailableBalance\0updateDisplayUnit\0"
89  "coinControlFeatureChanged\0"
90  "coinControlButtonClicked\0"
91  "coinControlChangeChecked\0"
92  "coinControlChangeEdited\0coinControlUpdateLabels\0"
93  "coinControlClipboardQuantity\0"
94  "coinControlClipboardAmount\0"
95  "coinControlClipboardFee\0"
96  "coinControlClipboardAfterFee\0"
97  "coinControlClipboardBytes\0"
98  "coinControlClipboardLowOutput\0"
99  "coinControlClipboardChange\0"
100  "updateFeeSectionControls\0updateNumberOfBlocks\0"
101  "count\0blockDate\0nVerificationProgress\0"
102  "headers\0SynchronizationState\0sync_state\0"
103  "updateSmartFeeLabel"
104 };
105 #undef QT_MOC_LITERAL
106 
107 static const uint qt_meta_data_SendCoinsDialog[] = {
108 
109  // content:
110  8, // revision
111  0, // classname
112  0, 0, // classinfo
113  29, 14, // methods
114  0, 0, // properties
115  0, 0, // enums/sets
116  0, 0, // constructors
117  0, // flags
118  2, // signalCount
119 
120  // signals: name, argc, parameters, tag, flags
121  1, 1, 159, 2, 0x06 /* Public */,
122  5, 3, 162, 2, 0x06 /* Public */,
123 
124  // slots: name, argc, parameters, tag, flags
125  8, 0, 169, 2, 0x0a /* Public */,
126  9, 0, 170, 2, 0x0a /* Public */,
127  10, 0, 171, 2, 0x0a /* Public */,
128  11, 0, 172, 2, 0x0a /* Public */,
129  13, 0, 173, 2, 0x0a /* Public */,
130  14, 1, 174, 2, 0x0a /* Public */,
131  17, 0, 177, 2, 0x08 /* Private */,
132  18, 0, 178, 2, 0x08 /* Private */,
133  19, 0, 179, 2, 0x08 /* Private */,
134  20, 1, 180, 2, 0x08 /* Private */,
135  22, 1, 183, 2, 0x08 /* Private */,
136  23, 0, 186, 2, 0x08 /* Private */,
137  24, 1, 187, 2, 0x08 /* Private */,
138  25, 0, 190, 2, 0x08 /* Private */,
139  26, 1, 191, 2, 0x08 /* Private */,
140  27, 1, 194, 2, 0x08 /* Private */,
141  28, 0, 197, 2, 0x08 /* Private */,
142  29, 0, 198, 2, 0x08 /* Private */,
143  30, 0, 199, 2, 0x08 /* Private */,
144  31, 0, 200, 2, 0x08 /* Private */,
145  32, 0, 201, 2, 0x08 /* Private */,
146  33, 0, 202, 2, 0x08 /* Private */,
147  34, 0, 203, 2, 0x08 /* Private */,
148  35, 0, 204, 2, 0x08 /* Private */,
149  36, 0, 205, 2, 0x08 /* Private */,
150  37, 5, 206, 2, 0x08 /* Private */,
151  44, 0, 217, 2, 0x08 /* Private */,
152 
153  // signals: parameters
154  QMetaType::Void, 0x80000000 | 3, 4,
155  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 6, 5, 7,
156 
157  // slots: parameters
158  QMetaType::Void,
159  QMetaType::Void,
160  QMetaType::Void,
161  0x80000000 | 12,
162  QMetaType::Void,
163  QMetaType::Void, 0x80000000 | 15, 16,
164  QMetaType::Void,
165  QMetaType::Void,
166  QMetaType::Void,
167  QMetaType::Void, 0x80000000 | 12, 21,
168  QMetaType::Void, 0x80000000 | 12, 21,
169  QMetaType::Void,
170  QMetaType::Void, QMetaType::Bool, 2,
171  QMetaType::Void,
172  QMetaType::Void, QMetaType::Int, 2,
173  QMetaType::Void, QMetaType::QString, 2,
174  QMetaType::Void,
175  QMetaType::Void,
176  QMetaType::Void,
177  QMetaType::Void,
178  QMetaType::Void,
179  QMetaType::Void,
180  QMetaType::Void,
181  QMetaType::Void,
182  QMetaType::Void,
183  QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool, 0x80000000 | 42, 38, 39, 40, 41, 43,
184  QMetaType::Void,
185 
186  0 // eod
187 };
188 
189 void SendCoinsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
190 {
191  if (_c == QMetaObject::InvokeMetaMethod) {
192  auto *_t = static_cast<SendCoinsDialog *>(_o);
193  Q_UNUSED(_t)
194  switch (_id) {
195  case 0: _t->coinsSent((*reinterpret_cast< const uint256(*)>(_a[1]))); break;
196  case 1: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
197  case 2: _t->clear(); break;
198  case 3: _t->reject(); break;
199  case 4: _t->accept(); break;
200  case 5: { SendCoinsEntry* _r = _t->addEntry();
201  if (_a[0]) *reinterpret_cast< SendCoinsEntry**>(_a[0]) = std::move(_r); } break;
202  case 6: _t->updateTabsAndLabels(); break;
203  case 7: _t->setBalance((*reinterpret_cast< const interfaces::WalletBalances(*)>(_a[1]))); break;
204  case 8: _t->on_sendButton_clicked(); break;
205  case 9: _t->on_buttonChooseFee_clicked(); break;
206  case 10: _t->on_buttonMinimizeFee_clicked(); break;
207  case 11: _t->removeEntry((*reinterpret_cast< SendCoinsEntry*(*)>(_a[1]))); break;
208  case 12: _t->useAvailableBalance((*reinterpret_cast< SendCoinsEntry*(*)>(_a[1]))); break;
209  case 13: _t->updateDisplayUnit(); break;
210  case 14: _t->coinControlFeatureChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
211  case 15: _t->coinControlButtonClicked(); break;
212  case 16: _t->coinControlChangeChecked((*reinterpret_cast< int(*)>(_a[1]))); break;
213  case 17: _t->coinControlChangeEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
214  case 18: _t->coinControlUpdateLabels(); break;
215  case 19: _t->coinControlClipboardQuantity(); break;
216  case 20: _t->coinControlClipboardAmount(); break;
217  case 21: _t->coinControlClipboardFee(); break;
218  case 22: _t->coinControlClipboardAfterFee(); break;
219  case 23: _t->coinControlClipboardBytes(); break;
220  case 24: _t->coinControlClipboardLowOutput(); break;
221  case 25: _t->coinControlClipboardChange(); break;
222  case 26: _t->updateFeeSectionControls(); break;
223  case 27: _t->updateNumberOfBlocks((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QDateTime(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4])),(*reinterpret_cast< SynchronizationState(*)>(_a[5]))); break;
224  case 28: _t->updateSmartFeeLabel(); break;
225  default: ;
226  }
227  } else if (_c == QMetaObject::IndexOfMethod) {
228  int *result = reinterpret_cast<int *>(_a[0]);
229  {
230  using _t = void (SendCoinsDialog::*)(const uint256 & );
231  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SendCoinsDialog::coinsSent)) {
232  *result = 0;
233  return;
234  }
235  }
236  {
237  using _t = void (SendCoinsDialog::*)(const QString & , const QString & , unsigned int );
238  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SendCoinsDialog::message)) {
239  *result = 1;
240  return;
241  }
242  }
243  }
244 }
245 
246 QT_INIT_METAOBJECT const QMetaObject SendCoinsDialog::staticMetaObject = { {
247  QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
250  qt_static_metacall,
251  nullptr,
252  nullptr
253 } };
254 
255 
256 const QMetaObject *SendCoinsDialog::metaObject() const
257 {
258  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
259 }
260 
261 void *SendCoinsDialog::qt_metacast(const char *_clname)
262 {
263  if (!_clname) return nullptr;
264  if (!strcmp(_clname, qt_meta_stringdata_SendCoinsDialog.stringdata0))
265  return static_cast<void*>(this);
266  return QDialog::qt_metacast(_clname);
267 }
268 
269 int SendCoinsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
270 {
271  _id = QDialog::qt_metacall(_c, _id, _a);
272  if (_id < 0)
273  return _id;
274  if (_c == QMetaObject::InvokeMetaMethod) {
275  if (_id < 29)
276  qt_static_metacall(this, _c, _id, _a);
277  _id -= 29;
278  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
279  if (_id < 29)
280  *reinterpret_cast<int*>(_a[0]) = -1;
281  _id -= 29;
282  }
283  return _id;
284 }
285 
286 // SIGNAL 0
288 {
289  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
290  QMetaObject::activate(this, &staticMetaObject, 0, _a);
291 }
292 
293 // SIGNAL 1
294 void SendCoinsDialog::message(const QString & _t1, const QString & _t2, unsigned int _t3)
295 {
296  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
297  QMetaObject::activate(this, &staticMetaObject, 1, _a);
298 }
300  QByteArrayData data[4];
301  char stringdata0[50];
302 };
303 #define QT_MOC_LITERAL(idx, ofs, len) \
304  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
305  qptrdiff(offsetof(qt_meta_stringdata_SendConfirmationDialog_t, stringdata0) + ofs \
306  - idx * sizeof(QByteArrayData)) \
307  )
309  {
310 QT_MOC_LITERAL(0, 0, 22), // "SendConfirmationDialog"
311 QT_MOC_LITERAL(1, 23, 9), // "countDown"
312 QT_MOC_LITERAL(2, 33, 0), // ""
313 QT_MOC_LITERAL(3, 34, 15) // "updateYesButton"
314 
315  },
316  "SendConfirmationDialog\0countDown\0\0"
317  "updateYesButton"
318 };
319 #undef QT_MOC_LITERAL
320 
321 static const uint qt_meta_data_SendConfirmationDialog[] = {
322 
323  // content:
324  8, // revision
325  0, // classname
326  0, 0, // classinfo
327  2, 14, // methods
328  0, 0, // properties
329  0, 0, // enums/sets
330  0, 0, // constructors
331  0, // flags
332  0, // signalCount
333 
334  // slots: name, argc, parameters, tag, flags
335  1, 0, 24, 2, 0x08 /* Private */,
336  3, 0, 25, 2, 0x08 /* Private */,
337 
338  // slots: parameters
339  QMetaType::Void,
340  QMetaType::Void,
341 
342  0 // eod
343 };
344 
345 void SendConfirmationDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
346 {
347  if (_c == QMetaObject::InvokeMetaMethod) {
348  auto *_t = static_cast<SendConfirmationDialog *>(_o);
349  Q_UNUSED(_t)
350  switch (_id) {
351  case 0: _t->countDown(); break;
352  case 1: _t->updateYesButton(); break;
353  default: ;
354  }
355  }
356  Q_UNUSED(_a);
357 }
358 
359 QT_INIT_METAOBJECT const QMetaObject SendConfirmationDialog::staticMetaObject = { {
360  QMetaObject::SuperData::link<QMessageBox::staticMetaObject>(),
363  qt_static_metacall,
364  nullptr,
365  nullptr
366 } };
367 
368 
369 const QMetaObject *SendConfirmationDialog::metaObject() const
370 {
371  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
372 }
373 
374 void *SendConfirmationDialog::qt_metacast(const char *_clname)
375 {
376  if (!_clname) return nullptr;
378  return static_cast<void*>(this);
379  return QMessageBox::qt_metacast(_clname);
380 }
381 
382 int SendConfirmationDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
383 {
384  _id = QMessageBox::qt_metacall(_c, _id, _a);
385  if (_id < 0)
386  return _id;
387  if (_c == QMetaObject::InvokeMetaMethod) {
388  if (_id < 2)
389  qt_static_metacall(this, _c, _id, _a);
390  _id -= 2;
391  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
392  if (_id < 2)
393  *reinterpret_cast<int*>(_a[0]) = -1;
394  _id -= 2;
395  }
396  return _id;
397 }
398 QT_WARNING_POP
399 QT_END_MOC_NAMESPACE
Dialog for sending bitcoins.
void message(const QString &title, const QString &message, unsigned int style)
void coinsSent(const uint256 &txid)
A single entry in the dialog for sending bitcoins.
void removeEntry(SendCoinsEntry *entry)
256-bit opaque blob.
Definition: uint256.h:124
static const uint qt_meta_data_SendCoinsDialog[]
static const qt_meta_stringdata_SendConfirmationDialog_t qt_meta_stringdata_SendConfirmationDialog
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_SendConfirmationDialog[]
static const qt_meta_stringdata_SendCoinsDialog_t qt_meta_stringdata_SendCoinsDialog
Collection of wallet balances.
Definition: wallet.h:350
SynchronizationState
Current sync state passed to tip changed callbacks.
Definition: validation.h:106