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