Bitcoin Core 22.99.0
P2P Digital Currency
moc_walletcontroller.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'walletcontroller.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/walletcontroller.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'walletcontroller.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[10];
26 char stringdata0[121];
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_WalletController_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 16), // "WalletController"
36QT_MOC_LITERAL(1, 17, 11), // "walletAdded"
37QT_MOC_LITERAL(2, 29, 0), // ""
38QT_MOC_LITERAL(3, 30, 12), // "WalletModel*"
39QT_MOC_LITERAL(4, 43, 12), // "wallet_model"
40QT_MOC_LITERAL(5, 56, 13), // "walletRemoved"
41QT_MOC_LITERAL(6, 70, 9), // "coinsSent"
42QT_MOC_LITERAL(7, 80, 18), // "SendCoinsRecipient"
43QT_MOC_LITERAL(8, 99, 9), // "recipient"
44QT_MOC_LITERAL(9, 109, 11) // "transaction"
45
46 },
47 "WalletController\0walletAdded\0\0"
48 "WalletModel*\0wallet_model\0walletRemoved\0"
49 "coinsSent\0SendCoinsRecipient\0recipient\0"
50 "transaction"
51};
52#undef QT_MOC_LITERAL
53
54static const uint qt_meta_data_WalletController[] = {
55
56 // content:
57 8, // revision
58 0, // classname
59 0, 0, // classinfo
60 3, 14, // methods
61 0, 0, // properties
62 0, 0, // enums/sets
63 0, 0, // constructors
64 0, // flags
65 3, // signalCount
66
67 // signals: name, argc, parameters, tag, flags
68 1, 1, 29, 2, 0x06 /* Public */,
69 5, 1, 32, 2, 0x06 /* Public */,
70 6, 3, 35, 2, 0x06 /* Public */,
71
72 // signals: parameters
73 QMetaType::Void, 0x80000000 | 3, 4,
74 QMetaType::Void, 0x80000000 | 3, 4,
75 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 7, QMetaType::QByteArray, 4, 8, 9,
76
77 0 // eod
78};
79
80void WalletController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
81{
82 if (_c == QMetaObject::InvokeMetaMethod) {
83 auto *_t = static_cast<WalletController *>(_o);
84 (void)_t;
85 switch (_id) {
86 case 0: _t->walletAdded((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
87 case 1: _t->walletRemoved((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
88 case 2: _t->coinsSent((*reinterpret_cast< WalletModel*(*)>(_a[1])),(*reinterpret_cast< SendCoinsRecipient(*)>(_a[2])),(*reinterpret_cast< QByteArray(*)>(_a[3]))); break;
89 default: ;
90 }
91 } else if (_c == QMetaObject::IndexOfMethod) {
92 int *result = reinterpret_cast<int *>(_a[0]);
93 {
94 using _t = void (WalletController::*)(WalletModel * );
95 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletController::walletAdded)) {
96 *result = 0;
97 return;
98 }
99 }
100 {
101 using _t = void (WalletController::*)(WalletModel * );
102 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletController::walletRemoved)) {
103 *result = 1;
104 return;
105 }
106 }
107 {
108 using _t = void (WalletController::*)(WalletModel * , SendCoinsRecipient , QByteArray );
109 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletController::coinsSent)) {
110 *result = 2;
111 return;
112 }
113 }
114 }
115}
116
117QT_INIT_METAOBJECT const QMetaObject WalletController::staticMetaObject = { {
118 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
121 qt_static_metacall,
122 nullptr,
123 nullptr
124} };
125
126
127const QMetaObject *WalletController::metaObject() const
128{
129 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
130}
131
132void *WalletController::qt_metacast(const char *_clname)
133{
134 if (!_clname) return nullptr;
136 return static_cast<void*>(this);
137 return QObject::qt_metacast(_clname);
138}
139
140int WalletController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
141{
142 _id = QObject::qt_metacall(_c, _id, _a);
143 if (_id < 0)
144 return _id;
145 if (_c == QMetaObject::InvokeMetaMethod) {
146 if (_id < 3)
147 qt_static_metacall(this, _c, _id, _a);
148 _id -= 3;
149 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
150 if (_id < 3)
151 *reinterpret_cast<int*>(_a[0]) = -1;
152 _id -= 3;
153 }
154 return _id;
155}
156
157// SIGNAL 0
159{
160 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
161 QMetaObject::activate(this, &staticMetaObject, 0, _a);
162}
163
164// SIGNAL 1
166{
167 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
168 QMetaObject::activate(this, &staticMetaObject, 1, _a);
169}
170
171// SIGNAL 2
173{
174 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))) };
175 QMetaObject::activate(this, &staticMetaObject, 2, _a);
176}
178 QByteArrayData data[3];
179 char stringdata0[35];
180};
181#define QT_MOC_LITERAL(idx, ofs, len) \
182 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
183 qptrdiff(offsetof(qt_meta_stringdata_WalletControllerActivity_t, stringdata0) + ofs \
184 - idx * sizeof(QByteArrayData)) \
185 )
187 {
188QT_MOC_LITERAL(0, 0, 24), // "WalletControllerActivity"
189QT_MOC_LITERAL(1, 25, 8), // "finished"
190QT_MOC_LITERAL(2, 34, 0) // ""
191
192 },
193 "WalletControllerActivity\0finished\0"
194};
195#undef QT_MOC_LITERAL
196
198
199 // content:
200 8, // revision
201 0, // classname
202 0, 0, // classinfo
203 1, 14, // methods
204 0, 0, // properties
205 0, 0, // enums/sets
206 0, 0, // constructors
207 0, // flags
208 1, // signalCount
209
210 // signals: name, argc, parameters, tag, flags
211 1, 0, 19, 2, 0x06 /* Public */,
212
213 // signals: parameters
214 QMetaType::Void,
215
216 0 // eod
217};
218
219void WalletControllerActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
220{
221 if (_c == QMetaObject::InvokeMetaMethod) {
222 auto *_t = static_cast<WalletControllerActivity *>(_o);
223 (void)_t;
224 switch (_id) {
225 case 0: _t->finished(); break;
226 default: ;
227 }
228 } else if (_c == QMetaObject::IndexOfMethod) {
229 int *result = reinterpret_cast<int *>(_a[0]);
230 {
231 using _t = void (WalletControllerActivity::*)();
232 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletControllerActivity::finished)) {
233 *result = 0;
234 return;
235 }
236 }
237 }
238 (void)_a;
239}
240
241QT_INIT_METAOBJECT const QMetaObject WalletControllerActivity::staticMetaObject = { {
242 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
245 qt_static_metacall,
246 nullptr,
247 nullptr
248} };
249
250
251const QMetaObject *WalletControllerActivity::metaObject() const
252{
253 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
254}
255
256void *WalletControllerActivity::qt_metacast(const char *_clname)
257{
258 if (!_clname) return nullptr;
260 return static_cast<void*>(this);
261 return QObject::qt_metacast(_clname);
262}
263
264int WalletControllerActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
265{
266 _id = QObject::qt_metacall(_c, _id, _a);
267 if (_id < 0)
268 return _id;
269 if (_c == QMetaObject::InvokeMetaMethod) {
270 if (_id < 1)
271 qt_static_metacall(this, _c, _id, _a);
272 _id -= 1;
273 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
274 if (_id < 1)
275 *reinterpret_cast<int*>(_a[0]) = -1;
276 _id -= 1;
277 }
278 return _id;
279}
280
281// SIGNAL 0
283{
284 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
285}
287 QByteArrayData data[5];
288 char stringdata0[56];
289};
290#define QT_MOC_LITERAL(idx, ofs, len) \
291 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
292 qptrdiff(offsetof(qt_meta_stringdata_CreateWalletActivity_t, stringdata0) + ofs \
293 - idx * sizeof(QByteArrayData)) \
294 )
296 {
297QT_MOC_LITERAL(0, 0, 20), // "CreateWalletActivity"
298QT_MOC_LITERAL(1, 21, 7), // "created"
299QT_MOC_LITERAL(2, 29, 0), // ""
300QT_MOC_LITERAL(3, 30, 12), // "WalletModel*"
301QT_MOC_LITERAL(4, 43, 12) // "wallet_model"
302
303 },
304 "CreateWalletActivity\0created\0\0"
305 "WalletModel*\0wallet_model"
306};
307#undef QT_MOC_LITERAL
308
310
311 // content:
312 8, // revision
313 0, // classname
314 0, 0, // classinfo
315 1, 14, // methods
316 0, 0, // properties
317 0, 0, // enums/sets
318 0, 0, // constructors
319 0, // flags
320 1, // signalCount
321
322 // signals: name, argc, parameters, tag, flags
323 1, 1, 19, 2, 0x06 /* Public */,
324
325 // signals: parameters
326 QMetaType::Void, 0x80000000 | 3, 4,
327
328 0 // eod
329};
330
331void CreateWalletActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
332{
333 if (_c == QMetaObject::InvokeMetaMethod) {
334 auto *_t = static_cast<CreateWalletActivity *>(_o);
335 (void)_t;
336 switch (_id) {
337 case 0: _t->created((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
338 default: ;
339 }
340 } else if (_c == QMetaObject::IndexOfMethod) {
341 int *result = reinterpret_cast<int *>(_a[0]);
342 {
343 using _t = void (CreateWalletActivity::*)(WalletModel * );
344 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CreateWalletActivity::created)) {
345 *result = 0;
346 return;
347 }
348 }
349 }
350}
351
352QT_INIT_METAOBJECT const QMetaObject CreateWalletActivity::staticMetaObject = { {
353 QMetaObject::SuperData::link<WalletControllerActivity::staticMetaObject>(),
356 qt_static_metacall,
357 nullptr,
358 nullptr
359} };
360
361
362const QMetaObject *CreateWalletActivity::metaObject() const
363{
364 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
365}
366
367void *CreateWalletActivity::qt_metacast(const char *_clname)
368{
369 if (!_clname) return nullptr;
371 return static_cast<void*>(this);
372 return WalletControllerActivity::qt_metacast(_clname);
373}
374
375int CreateWalletActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
376{
377 _id = WalletControllerActivity::qt_metacall(_c, _id, _a);
378 if (_id < 0)
379 return _id;
380 if (_c == QMetaObject::InvokeMetaMethod) {
381 if (_id < 1)
382 qt_static_metacall(this, _c, _id, _a);
383 _id -= 1;
384 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
385 if (_id < 1)
386 *reinterpret_cast<int*>(_a[0]) = -1;
387 _id -= 1;
388 }
389 return _id;
390}
391
392// SIGNAL 0
394{
395 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
396 QMetaObject::activate(this, &staticMetaObject, 0, _a);
397}
399 QByteArrayData data[5];
400 char stringdata0[53];
401};
402#define QT_MOC_LITERAL(idx, ofs, len) \
403 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
404 qptrdiff(offsetof(qt_meta_stringdata_OpenWalletActivity_t, stringdata0) + ofs \
405 - idx * sizeof(QByteArrayData)) \
406 )
408 {
409QT_MOC_LITERAL(0, 0, 18), // "OpenWalletActivity"
410QT_MOC_LITERAL(1, 19, 6), // "opened"
411QT_MOC_LITERAL(2, 26, 0), // ""
412QT_MOC_LITERAL(3, 27, 12), // "WalletModel*"
413QT_MOC_LITERAL(4, 40, 12) // "wallet_model"
414
415 },
416 "OpenWalletActivity\0opened\0\0WalletModel*\0"
417 "wallet_model"
418};
419#undef QT_MOC_LITERAL
420
421static const uint qt_meta_data_OpenWalletActivity[] = {
422
423 // content:
424 8, // revision
425 0, // classname
426 0, 0, // classinfo
427 1, 14, // methods
428 0, 0, // properties
429 0, 0, // enums/sets
430 0, 0, // constructors
431 0, // flags
432 1, // signalCount
433
434 // signals: name, argc, parameters, tag, flags
435 1, 1, 19, 2, 0x06 /* Public */,
436
437 // signals: parameters
438 QMetaType::Void, 0x80000000 | 3, 4,
439
440 0 // eod
441};
442
443void OpenWalletActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
444{
445 if (_c == QMetaObject::InvokeMetaMethod) {
446 auto *_t = static_cast<OpenWalletActivity *>(_o);
447 (void)_t;
448 switch (_id) {
449 case 0: _t->opened((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
450 default: ;
451 }
452 } else if (_c == QMetaObject::IndexOfMethod) {
453 int *result = reinterpret_cast<int *>(_a[0]);
454 {
455 using _t = void (OpenWalletActivity::*)(WalletModel * );
456 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&OpenWalletActivity::opened)) {
457 *result = 0;
458 return;
459 }
460 }
461 }
462}
463
464QT_INIT_METAOBJECT const QMetaObject OpenWalletActivity::staticMetaObject = { {
465 QMetaObject::SuperData::link<WalletControllerActivity::staticMetaObject>(),
468 qt_static_metacall,
469 nullptr,
470 nullptr
471} };
472
473
474const QMetaObject *OpenWalletActivity::metaObject() const
475{
476 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
477}
478
479void *OpenWalletActivity::qt_metacast(const char *_clname)
480{
481 if (!_clname) return nullptr;
483 return static_cast<void*>(this);
484 return WalletControllerActivity::qt_metacast(_clname);
485}
486
487int OpenWalletActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
488{
489 _id = WalletControllerActivity::qt_metacall(_c, _id, _a);
490 if (_id < 0)
491 return _id;
492 if (_c == QMetaObject::InvokeMetaMethod) {
493 if (_id < 1)
494 qt_static_metacall(this, _c, _id, _a);
495 _id -= 1;
496 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
497 if (_id < 1)
498 *reinterpret_cast<int*>(_a[0]) = -1;
499 _id -= 1;
500 }
501 return _id;
502}
503
504// SIGNAL 0
506{
507 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
508 QMetaObject::activate(this, &staticMetaObject, 0, _a);
509}
511 QByteArrayData data[1];
512 char stringdata0[20];
513};
514#define QT_MOC_LITERAL(idx, ofs, len) \
515 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
516 qptrdiff(offsetof(qt_meta_stringdata_LoadWalletsActivity_t, stringdata0) + ofs \
517 - idx * sizeof(QByteArrayData)) \
518 )
520 {
521QT_MOC_LITERAL(0, 0, 19) // "LoadWalletsActivity"
522
523 },
524 "LoadWalletsActivity"
525};
526#undef QT_MOC_LITERAL
527
528static const uint qt_meta_data_LoadWalletsActivity[] = {
529
530 // content:
531 8, // revision
532 0, // classname
533 0, 0, // classinfo
534 0, 0, // methods
535 0, 0, // properties
536 0, 0, // enums/sets
537 0, 0, // constructors
538 0, // flags
539 0, // signalCount
540
541 0 // eod
542};
543
544void LoadWalletsActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
545{
546 (void)_o;
547 (void)_id;
548 (void)_c;
549 (void)_a;
550}
551
552QT_INIT_METAOBJECT const QMetaObject LoadWalletsActivity::staticMetaObject = { {
553 QMetaObject::SuperData::link<WalletControllerActivity::staticMetaObject>(),
556 qt_static_metacall,
557 nullptr,
558 nullptr
559} };
560
561
562const QMetaObject *LoadWalletsActivity::metaObject() const
563{
564 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
565}
566
567void *LoadWalletsActivity::qt_metacast(const char *_clname)
568{
569 if (!_clname) return nullptr;
571 return static_cast<void*>(this);
572 return WalletControllerActivity::qt_metacast(_clname);
573}
574
575int LoadWalletsActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
576{
577 _id = WalletControllerActivity::qt_metacall(_c, _id, _a);
578 return _id;
579}
580QT_WARNING_POP
581QT_END_MOC_NAMESPACE
void created(WalletModel *wallet_model)
void opened(WalletModel *wallet_model)
Controller between interfaces::Node, WalletModel instances and the GUI.
void walletAdded(WalletModel *wallet_model)
void coinsSent(WalletModel *wallet_model, SendCoinsRecipient recipient, QByteArray transaction)
void walletRemoved(WalletModel *wallet_model)
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:52
static const uint qt_meta_data_LoadWalletsActivity[]
static const qt_meta_stringdata_CreateWalletActivity_t qt_meta_stringdata_CreateWalletActivity
static const uint qt_meta_data_WalletControllerActivity[]
static const uint qt_meta_data_WalletController[]
static const uint qt_meta_data_OpenWalletActivity[]
static const qt_meta_stringdata_OpenWalletActivity_t qt_meta_stringdata_OpenWalletActivity
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_LoadWalletsActivity_t qt_meta_stringdata_LoadWalletsActivity
static const qt_meta_stringdata_WalletController_t qt_meta_stringdata_WalletController
static const uint qt_meta_data_CreateWalletActivity[]
static const qt_meta_stringdata_WalletControllerActivity_t qt_meta_stringdata_WalletControllerActivity