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