Bitcoin Core 22.99.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
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[46];
26 char stringdata0[770];
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 {
35QT_MOC_LITERAL(0, 0, 15), // "SendCoinsDialog"
36QT_MOC_LITERAL(1, 16, 9), // "coinsSent"
37QT_MOC_LITERAL(2, 26, 0), // ""
38QT_MOC_LITERAL(3, 27, 7), // "uint256"
39QT_MOC_LITERAL(4, 35, 4), // "txid"
40QT_MOC_LITERAL(5, 40, 7), // "message"
41QT_MOC_LITERAL(6, 48, 5), // "title"
42QT_MOC_LITERAL(7, 54, 5), // "style"
43QT_MOC_LITERAL(8, 60, 5), // "clear"
44QT_MOC_LITERAL(9, 66, 6), // "reject"
45QT_MOC_LITERAL(10, 73, 6), // "accept"
46QT_MOC_LITERAL(11, 80, 8), // "addEntry"
47QT_MOC_LITERAL(12, 89, 15), // "SendCoinsEntry*"
48QT_MOC_LITERAL(13, 105, 19), // "updateTabsAndLabels"
49QT_MOC_LITERAL(14, 125, 10), // "setBalance"
50QT_MOC_LITERAL(15, 136, 26), // "interfaces::WalletBalances"
51QT_MOC_LITERAL(16, 163, 8), // "balances"
52QT_MOC_LITERAL(17, 172, 17), // "sendButtonClicked"
53QT_MOC_LITERAL(18, 190, 7), // "checked"
54QT_MOC_LITERAL(19, 198, 26), // "on_buttonChooseFee_clicked"
55QT_MOC_LITERAL(20, 225, 28), // "on_buttonMinimizeFee_clicked"
56QT_MOC_LITERAL(21, 254, 11), // "removeEntry"
57QT_MOC_LITERAL(22, 266, 5), // "entry"
58QT_MOC_LITERAL(23, 272, 19), // "useAvailableBalance"
59QT_MOC_LITERAL(24, 292, 17), // "updateDisplayUnit"
60QT_MOC_LITERAL(25, 310, 25), // "coinControlFeatureChanged"
61QT_MOC_LITERAL(26, 336, 24), // "coinControlButtonClicked"
62QT_MOC_LITERAL(27, 361, 24), // "coinControlChangeChecked"
63QT_MOC_LITERAL(28, 386, 23), // "coinControlChangeEdited"
64QT_MOC_LITERAL(29, 410, 23), // "coinControlUpdateLabels"
65QT_MOC_LITERAL(30, 434, 28), // "coinControlClipboardQuantity"
66QT_MOC_LITERAL(31, 463, 26), // "coinControlClipboardAmount"
67QT_MOC_LITERAL(32, 490, 23), // "coinControlClipboardFee"
68QT_MOC_LITERAL(33, 514, 28), // "coinControlClipboardAfterFee"
69QT_MOC_LITERAL(34, 543, 25), // "coinControlClipboardBytes"
70QT_MOC_LITERAL(35, 569, 29), // "coinControlClipboardLowOutput"
71QT_MOC_LITERAL(36, 599, 26), // "coinControlClipboardChange"
72QT_MOC_LITERAL(37, 626, 24), // "updateFeeSectionControls"
73QT_MOC_LITERAL(38, 651, 20), // "updateNumberOfBlocks"
74QT_MOC_LITERAL(39, 672, 5), // "count"
75QT_MOC_LITERAL(40, 678, 9), // "blockDate"
76QT_MOC_LITERAL(41, 688, 21), // "nVerificationProgress"
77QT_MOC_LITERAL(42, 710, 7), // "headers"
78QT_MOC_LITERAL(43, 718, 20), // "SynchronizationState"
79QT_MOC_LITERAL(44, 739, 10), // "sync_state"
80QT_MOC_LITERAL(45, 750, 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\0updateDisplayUnit\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 "coinControlClipboardLowOutput\0"
102 "coinControlClipboardChange\0"
103 "updateFeeSectionControls\0updateNumberOfBlocks\0"
104 "count\0blockDate\0nVerificationProgress\0"
105 "headers\0SynchronizationState\0sync_state\0"
106 "updateSmartFeeLabel"
107};
108#undef QT_MOC_LITERAL
109
110static const uint qt_meta_data_SendCoinsDialog[] = {
111
112 // content:
113 8, // revision
114 0, // classname
115 0, 0, // classinfo
116 29, 14, // methods
117 0, 0, // properties
118 0, 0, // enums/sets
119 0, 0, // constructors
120 0, // flags
121 2, // signalCount
122
123 // signals: name, argc, parameters, tag, flags
124 1, 1, 159, 2, 0x06 /* Public */,
125 5, 3, 162, 2, 0x06 /* Public */,
126
127 // slots: name, argc, parameters, tag, flags
128 8, 0, 169, 2, 0x0a /* Public */,
129 9, 0, 170, 2, 0x0a /* Public */,
130 10, 0, 171, 2, 0x0a /* Public */,
131 11, 0, 172, 2, 0x0a /* Public */,
132 13, 0, 173, 2, 0x0a /* Public */,
133 14, 1, 174, 2, 0x0a /* Public */,
134 17, 1, 177, 2, 0x08 /* Private */,
135 19, 0, 180, 2, 0x08 /* Private */,
136 20, 0, 181, 2, 0x08 /* Private */,
137 21, 1, 182, 2, 0x08 /* Private */,
138 23, 1, 185, 2, 0x08 /* Private */,
139 24, 0, 188, 2, 0x08 /* Private */,
140 25, 1, 189, 2, 0x08 /* Private */,
141 26, 0, 192, 2, 0x08 /* Private */,
142 27, 1, 193, 2, 0x08 /* Private */,
143 28, 1, 196, 2, 0x08 /* Private */,
144 29, 0, 199, 2, 0x08 /* Private */,
145 30, 0, 200, 2, 0x08 /* Private */,
146 31, 0, 201, 2, 0x08 /* Private */,
147 32, 0, 202, 2, 0x08 /* Private */,
148 33, 0, 203, 2, 0x08 /* Private */,
149 34, 0, 204, 2, 0x08 /* Private */,
150 35, 0, 205, 2, 0x08 /* Private */,
151 36, 0, 206, 2, 0x08 /* Private */,
152 37, 0, 207, 2, 0x08 /* Private */,
153 38, 5, 208, 2, 0x08 /* Private */,
154 45, 0, 219, 2, 0x08 /* Private */,
155
156 // signals: parameters
157 QMetaType::Void, 0x80000000 | 3, 4,
158 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 6, 5, 7,
159
160 // slots: parameters
161 QMetaType::Void,
162 QMetaType::Void,
163 QMetaType::Void,
164 0x80000000 | 12,
165 QMetaType::Void,
166 QMetaType::Void, 0x80000000 | 15, 16,
167 QMetaType::Void, QMetaType::Bool, 18,
168 QMetaType::Void,
169 QMetaType::Void,
170 QMetaType::Void, 0x80000000 | 12, 22,
171 QMetaType::Void, 0x80000000 | 12, 22,
172 QMetaType::Void,
173 QMetaType::Void, QMetaType::Bool, 2,
174 QMetaType::Void,
175 QMetaType::Void, QMetaType::Int, 2,
176 QMetaType::Void, QMetaType::QString, 2,
177 QMetaType::Void,
178 QMetaType::Void,
179 QMetaType::Void,
180 QMetaType::Void,
181 QMetaType::Void,
182 QMetaType::Void,
183 QMetaType::Void,
184 QMetaType::Void,
185 QMetaType::Void,
186 QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool, 0x80000000 | 43, 39, 40, 41, 42, 44,
187 QMetaType::Void,
188
189 0 // eod
190};
191
192void SendCoinsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
193{
194 if (_c == QMetaObject::InvokeMetaMethod) {
195 auto *_t = static_cast<SendCoinsDialog *>(_o);
196 (void)_t;
197 switch (_id) {
198 case 0: _t->coinsSent((*reinterpret_cast< const uint256(*)>(_a[1]))); break;
199 case 1: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
200 case 2: _t->clear(); break;
201 case 3: _t->reject(); break;
202 case 4: _t->accept(); break;
203 case 5: { SendCoinsEntry* _r = _t->addEntry();
204 if (_a[0]) *reinterpret_cast< SendCoinsEntry**>(_a[0]) = std::move(_r); } break;
205 case 6: _t->updateTabsAndLabels(); break;
206 case 7: _t->setBalance((*reinterpret_cast< const interfaces::WalletBalances(*)>(_a[1]))); break;
207 case 8: _t->sendButtonClicked((*reinterpret_cast< bool(*)>(_a[1]))); break;
208 case 9: _t->on_buttonChooseFee_clicked(); break;
209 case 10: _t->on_buttonMinimizeFee_clicked(); break;
210 case 11: _t->removeEntry((*reinterpret_cast< SendCoinsEntry*(*)>(_a[1]))); break;
211 case 12: _t->useAvailableBalance((*reinterpret_cast< SendCoinsEntry*(*)>(_a[1]))); break;
212 case 13: _t->updateDisplayUnit(); break;
213 case 14: _t->coinControlFeatureChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
214 case 15: _t->coinControlButtonClicked(); break;
215 case 16: _t->coinControlChangeChecked((*reinterpret_cast< int(*)>(_a[1]))); break;
216 case 17: _t->coinControlChangeEdited((*reinterpret_cast< const QString(*)>(_a[1]))); break;
217 case 18: _t->coinControlUpdateLabels(); break;
218 case 19: _t->coinControlClipboardQuantity(); break;
219 case 20: _t->coinControlClipboardAmount(); break;
220 case 21: _t->coinControlClipboardFee(); break;
221 case 22: _t->coinControlClipboardAfterFee(); break;
222 case 23: _t->coinControlClipboardBytes(); break;
223 case 24: _t->coinControlClipboardLowOutput(); break;
224 case 25: _t->coinControlClipboardChange(); break;
225 case 26: _t->updateFeeSectionControls(); break;
226 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;
227 case 28: _t->updateSmartFeeLabel(); break;
228 default: ;
229 }
230 } else if (_c == QMetaObject::IndexOfMethod) {
231 int *result = reinterpret_cast<int *>(_a[0]);
232 {
233 using _t = void (SendCoinsDialog::*)(const uint256 & );
234 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SendCoinsDialog::coinsSent)) {
235 *result = 0;
236 return;
237 }
238 }
239 {
240 using _t = void (SendCoinsDialog::*)(const QString & , const QString & , unsigned int );
241 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SendCoinsDialog::message)) {
242 *result = 1;
243 return;
244 }
245 }
246 }
247}
248
249QT_INIT_METAOBJECT const QMetaObject SendCoinsDialog::staticMetaObject = { {
250 QMetaObject::SuperData::link<QDialog::staticMetaObject>(),
253 qt_static_metacall,
254 nullptr,
255 nullptr
256} };
257
258
259const QMetaObject *SendCoinsDialog::metaObject() const
260{
261 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
262}
263
264void *SendCoinsDialog::qt_metacast(const char *_clname)
265{
266 if (!_clname) return nullptr;
268 return static_cast<void*>(this);
269 return QDialog::qt_metacast(_clname);
270}
271
272int SendCoinsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
273{
274 _id = QDialog::qt_metacall(_c, _id, _a);
275 if (_id < 0)
276 return _id;
277 if (_c == QMetaObject::InvokeMetaMethod) {
278 if (_id < 29)
279 qt_static_metacall(this, _c, _id, _a);
280 _id -= 29;
281 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
282 if (_id < 29)
283 *reinterpret_cast<int*>(_a[0]) = -1;
284 _id -= 29;
285 }
286 return _id;
287}
288
289// SIGNAL 0
291{
292 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
293 QMetaObject::activate(this, &staticMetaObject, 0, _a);
294}
295
296// SIGNAL 1
297void SendCoinsDialog::message(const QString & _t1, const QString & _t2, unsigned int _t3)
298{
299 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))) };
300 QMetaObject::activate(this, &staticMetaObject, 1, _a);
301}
303 QByteArrayData data[4];
304 char stringdata0[50];
305};
306#define QT_MOC_LITERAL(idx, ofs, len) \
307 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
308 qptrdiff(offsetof(qt_meta_stringdata_SendConfirmationDialog_t, stringdata0) + ofs \
309 - idx * sizeof(QByteArrayData)) \
310 )
312 {
313QT_MOC_LITERAL(0, 0, 22), // "SendConfirmationDialog"
314QT_MOC_LITERAL(1, 23, 9), // "countDown"
315QT_MOC_LITERAL(2, 33, 0), // ""
316QT_MOC_LITERAL(3, 34, 15) // "updateYesButton"
317
318 },
319 "SendConfirmationDialog\0countDown\0\0"
320 "updateYesButton"
321};
322#undef QT_MOC_LITERAL
323
325
326 // content:
327 8, // revision
328 0, // classname
329 0, 0, // classinfo
330 2, 14, // methods
331 0, 0, // properties
332 0, 0, // enums/sets
333 0, 0, // constructors
334 0, // flags
335 0, // signalCount
336
337 // slots: name, argc, parameters, tag, flags
338 1, 0, 24, 2, 0x08 /* Private */,
339 3, 0, 25, 2, 0x08 /* Private */,
340
341 // slots: parameters
342 QMetaType::Void,
343 QMetaType::Void,
344
345 0 // eod
346};
347
348void SendConfirmationDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
349{
350 if (_c == QMetaObject::InvokeMetaMethod) {
351 auto *_t = static_cast<SendConfirmationDialog *>(_o);
352 (void)_t;
353 switch (_id) {
354 case 0: _t->countDown(); break;
355 case 1: _t->updateYesButton(); break;
356 default: ;
357 }
358 }
359 (void)_a;
360}
361
362QT_INIT_METAOBJECT const QMetaObject SendConfirmationDialog::staticMetaObject = { {
363 QMetaObject::SuperData::link<QMessageBox::staticMetaObject>(),
366 qt_static_metacall,
367 nullptr,
368 nullptr
369} };
370
371
372const QMetaObject *SendConfirmationDialog::metaObject() const
373{
374 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
375}
376
377void *SendConfirmationDialog::qt_metacast(const char *_clname)
378{
379 if (!_clname) return nullptr;
381 return static_cast<void*>(this);
382 return QMessageBox::qt_metacast(_clname);
383}
384
385int SendConfirmationDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
386{
387 _id = QMessageBox::qt_metacall(_c, _id, _a);
388 if (_id < 0)
389 return _id;
390 if (_c == QMetaObject::InvokeMetaMethod) {
391 if (_id < 2)
392 qt_static_metacall(this, _c, _id, _a);
393 _id -= 2;
394 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
395 if (_id < 2)
396 *reinterpret_cast<int*>(_a[0]) = -1;
397 _id -= 2;
398 }
399 return _id;
400}
401QT_WARNING_POP
402QT_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:356
SynchronizationState
Current sync state passed to tip changed callbacks.
Definition: validation.h:93