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