Bitcoin Core  28.1.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.8)
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.8. 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[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  {
35 QT_MOC_LITERAL(0, 0, 16), // "WalletController"
36 QT_MOC_LITERAL(1, 17, 11), // "walletAdded"
37 QT_MOC_LITERAL(2, 29, 0), // ""
38 QT_MOC_LITERAL(3, 30, 12), // "WalletModel*"
39 QT_MOC_LITERAL(4, 43, 12), // "wallet_model"
40 QT_MOC_LITERAL(5, 56, 13), // "walletRemoved"
41 QT_MOC_LITERAL(6, 70, 9), // "coinsSent"
42 QT_MOC_LITERAL(7, 80, 18), // "SendCoinsRecipient"
43 QT_MOC_LITERAL(8, 99, 9), // "recipient"
44 QT_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 
54 static 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 
80 void 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 
117 QT_INIT_METAOBJECT const QMetaObject WalletController::staticMetaObject = { {
118  QMetaObject::SuperData::link<QObject::staticMetaObject>(),
121  qt_static_metacall,
122  nullptr,
123  nullptr
124 } };
125 
126 
127 const QMetaObject *WalletController::metaObject() const
128 {
129  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
130 }
131 
132 void *WalletController::qt_metacast(const char *_clname)
133 {
134  if (!_clname) return nullptr;
135  if (!strcmp(_clname, qt_meta_stringdata_WalletController.stringdata0))
136  return static_cast<void*>(this);
137  return QObject::qt_metacast(_clname);
138 }
139 
140 int 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  {
188 QT_MOC_LITERAL(0, 0, 24), // "WalletControllerActivity"
189 QT_MOC_LITERAL(1, 25, 8), // "finished"
190 QT_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 
219 void 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 
241 QT_INIT_METAOBJECT const QMetaObject WalletControllerActivity::staticMetaObject = { {
242  QMetaObject::SuperData::link<QObject::staticMetaObject>(),
245  qt_static_metacall,
246  nullptr,
247  nullptr
248 } };
249 
250 
251 const QMetaObject *WalletControllerActivity::metaObject() const
252 {
253  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
254 }
255 
256 void *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 
264 int 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  {
297 QT_MOC_LITERAL(0, 0, 20), // "CreateWalletActivity"
298 QT_MOC_LITERAL(1, 21, 7), // "created"
299 QT_MOC_LITERAL(2, 29, 0), // ""
300 QT_MOC_LITERAL(3, 30, 12), // "WalletModel*"
301 QT_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 
309 static const uint qt_meta_data_CreateWalletActivity[] = {
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 
331 void 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 
352 QT_INIT_METAOBJECT const QMetaObject CreateWalletActivity::staticMetaObject = { {
353  QMetaObject::SuperData::link<WalletControllerActivity::staticMetaObject>(),
356  qt_static_metacall,
357  nullptr,
358  nullptr
359 } };
360 
361 
362 const QMetaObject *CreateWalletActivity::metaObject() const
363 {
364  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
365 }
366 
367 void *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 
375 int 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  {
409 QT_MOC_LITERAL(0, 0, 18), // "OpenWalletActivity"
410 QT_MOC_LITERAL(1, 19, 6), // "opened"
411 QT_MOC_LITERAL(2, 26, 0), // ""
412 QT_MOC_LITERAL(3, 27, 12), // "WalletModel*"
413 QT_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 
421 static 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 
443 void 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 
464 QT_INIT_METAOBJECT const QMetaObject OpenWalletActivity::staticMetaObject = { {
465  QMetaObject::SuperData::link<WalletControllerActivity::staticMetaObject>(),
468  qt_static_metacall,
469  nullptr,
470  nullptr
471 } };
472 
473 
474 const QMetaObject *OpenWalletActivity::metaObject() const
475 {
476  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
477 }
478 
479 void *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 
487 int 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  {
521 QT_MOC_LITERAL(0, 0, 19) // "LoadWalletsActivity"
522 
523  },
524  "LoadWalletsActivity"
525 };
526 #undef QT_MOC_LITERAL
527 
528 static 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 
544 void 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 
552 QT_INIT_METAOBJECT const QMetaObject LoadWalletsActivity::staticMetaObject = { {
553  QMetaObject::SuperData::link<WalletControllerActivity::staticMetaObject>(),
556  qt_static_metacall,
557  nullptr,
558  nullptr
559 } };
560 
561 
562 const QMetaObject *LoadWalletsActivity::metaObject() const
563 {
564  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
565 }
566 
567 void *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 
575 int LoadWalletsActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
576 {
577  _id = WalletControllerActivity::qt_metacall(_c, _id, _a);
578  return _id;
579 }
581  QByteArrayData data[5];
582  char stringdata0[58];
583 };
584 #define QT_MOC_LITERAL(idx, ofs, len) \
585  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
586  qptrdiff(offsetof(qt_meta_stringdata_RestoreWalletActivity_t, stringdata0) + ofs \
587  - idx * sizeof(QByteArrayData)) \
588  )
590  {
591 QT_MOC_LITERAL(0, 0, 21), // "RestoreWalletActivity"
592 QT_MOC_LITERAL(1, 22, 8), // "restored"
593 QT_MOC_LITERAL(2, 31, 0), // ""
594 QT_MOC_LITERAL(3, 32, 12), // "WalletModel*"
595 QT_MOC_LITERAL(4, 45, 12) // "wallet_model"
596 
597  },
598  "RestoreWalletActivity\0restored\0\0"
599  "WalletModel*\0wallet_model"
600 };
601 #undef QT_MOC_LITERAL
602 
603 static const uint qt_meta_data_RestoreWalletActivity[] = {
604 
605  // content:
606  8, // revision
607  0, // classname
608  0, 0, // classinfo
609  1, 14, // methods
610  0, 0, // properties
611  0, 0, // enums/sets
612  0, 0, // constructors
613  0, // flags
614  1, // signalCount
615 
616  // signals: name, argc, parameters, tag, flags
617  1, 1, 19, 2, 0x06 /* Public */,
618 
619  // signals: parameters
620  QMetaType::Void, 0x80000000 | 3, 4,
621 
622  0 // eod
623 };
624 
625 void RestoreWalletActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
626 {
627  if (_c == QMetaObject::InvokeMetaMethod) {
628  auto *_t = static_cast<RestoreWalletActivity *>(_o);
629  (void)_t;
630  switch (_id) {
631  case 0: _t->restored((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
632  default: ;
633  }
634  } else if (_c == QMetaObject::IndexOfMethod) {
635  int *result = reinterpret_cast<int *>(_a[0]);
636  {
637  using _t = void (RestoreWalletActivity::*)(WalletModel * );
638  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RestoreWalletActivity::restored)) {
639  *result = 0;
640  return;
641  }
642  }
643  }
644 }
645 
646 QT_INIT_METAOBJECT const QMetaObject RestoreWalletActivity::staticMetaObject = { {
647  QMetaObject::SuperData::link<WalletControllerActivity::staticMetaObject>(),
650  qt_static_metacall,
651  nullptr,
652  nullptr
653 } };
654 
655 
656 const QMetaObject *RestoreWalletActivity::metaObject() const
657 {
658  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
659 }
660 
661 void *RestoreWalletActivity::qt_metacast(const char *_clname)
662 {
663  if (!_clname) return nullptr;
665  return static_cast<void*>(this);
666  return WalletControllerActivity::qt_metacast(_clname);
667 }
668 
669 int RestoreWalletActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
670 {
671  _id = WalletControllerActivity::qt_metacall(_c, _id, _a);
672  if (_id < 0)
673  return _id;
674  if (_c == QMetaObject::InvokeMetaMethod) {
675  if (_id < 1)
676  qt_static_metacall(this, _c, _id, _a);
677  _id -= 1;
678  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
679  if (_id < 1)
680  *reinterpret_cast<int*>(_a[0]) = -1;
681  _id -= 1;
682  }
683  return _id;
684 }
685 
686 // SIGNAL 0
688 {
689  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
690  QMetaObject::activate(this, &staticMetaObject, 0, _a);
691 }
693  QByteArrayData data[5];
694  char stringdata0[58];
695 };
696 #define QT_MOC_LITERAL(idx, ofs, len) \
697  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
698  qptrdiff(offsetof(qt_meta_stringdata_MigrateWalletActivity_t, stringdata0) + ofs \
699  - idx * sizeof(QByteArrayData)) \
700  )
702  {
703 QT_MOC_LITERAL(0, 0, 21), // "MigrateWalletActivity"
704 QT_MOC_LITERAL(1, 22, 8), // "migrated"
705 QT_MOC_LITERAL(2, 31, 0), // ""
706 QT_MOC_LITERAL(3, 32, 12), // "WalletModel*"
707 QT_MOC_LITERAL(4, 45, 12) // "wallet_model"
708 
709  },
710  "MigrateWalletActivity\0migrated\0\0"
711  "WalletModel*\0wallet_model"
712 };
713 #undef QT_MOC_LITERAL
714 
715 static const uint qt_meta_data_MigrateWalletActivity[] = {
716 
717  // content:
718  8, // revision
719  0, // classname
720  0, 0, // classinfo
721  1, 14, // methods
722  0, 0, // properties
723  0, 0, // enums/sets
724  0, 0, // constructors
725  0, // flags
726  1, // signalCount
727 
728  // signals: name, argc, parameters, tag, flags
729  1, 1, 19, 2, 0x06 /* Public */,
730 
731  // signals: parameters
732  QMetaType::Void, 0x80000000 | 3, 4,
733 
734  0 // eod
735 };
736 
737 void MigrateWalletActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
738 {
739  if (_c == QMetaObject::InvokeMetaMethod) {
740  auto *_t = static_cast<MigrateWalletActivity *>(_o);
741  (void)_t;
742  switch (_id) {
743  case 0: _t->migrated((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
744  default: ;
745  }
746  } else if (_c == QMetaObject::IndexOfMethod) {
747  int *result = reinterpret_cast<int *>(_a[0]);
748  {
749  using _t = void (MigrateWalletActivity::*)(WalletModel * );
750  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MigrateWalletActivity::migrated)) {
751  *result = 0;
752  return;
753  }
754  }
755  }
756 }
757 
758 QT_INIT_METAOBJECT const QMetaObject MigrateWalletActivity::staticMetaObject = { {
759  QMetaObject::SuperData::link<WalletControllerActivity::staticMetaObject>(),
762  qt_static_metacall,
763  nullptr,
764  nullptr
765 } };
766 
767 
768 const QMetaObject *MigrateWalletActivity::metaObject() const
769 {
770  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
771 }
772 
773 void *MigrateWalletActivity::qt_metacast(const char *_clname)
774 {
775  if (!_clname) return nullptr;
777  return static_cast<void*>(this);
778  return WalletControllerActivity::qt_metacast(_clname);
779 }
780 
781 int MigrateWalletActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
782 {
783  _id = WalletControllerActivity::qt_metacall(_c, _id, _a);
784  if (_id < 0)
785  return _id;
786  if (_c == QMetaObject::InvokeMetaMethod) {
787  if (_id < 1)
788  qt_static_metacall(this, _c, _id, _a);
789  _id -= 1;
790  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
791  if (_id < 1)
792  *reinterpret_cast<int*>(_a[0]) = -1;
793  _id -= 1;
794  }
795  return _id;
796 }
797 
798 // SIGNAL 0
800 {
801  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
802  QMetaObject::activate(this, &staticMetaObject, 0, _a);
803 }
804 QT_WARNING_POP
805 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
void opened(WalletModel *wallet_model)
static const uint qt_meta_data_MigrateWalletActivity[]
static const qt_meta_stringdata_LoadWalletsActivity_t qt_meta_stringdata_LoadWalletsActivity
Controller between interfaces::Node, WalletModel instances and the GUI.
static const qt_meta_stringdata_MigrateWalletActivity_t qt_meta_stringdata_MigrateWalletActivity
void coinsSent(WalletModel *wallet_model, SendCoinsRecipient recipient, QByteArray transaction)
static const uint qt_meta_data_CreateWalletActivity[]
static const qt_meta_stringdata_CreateWalletActivity_t qt_meta_stringdata_CreateWalletActivity
static const uint qt_meta_data_RestoreWalletActivity[]
void created(WalletModel *wallet_model)
static const qt_meta_stringdata_OpenWalletActivity_t qt_meta_stringdata_OpenWalletActivity
static const uint qt_meta_data_OpenWalletActivity[]
static const uint qt_meta_data_WalletControllerActivity[]
void migrated(WalletModel *wallet_model)
static const uint qt_meta_data_LoadWalletsActivity[]
static const qt_meta_stringdata_WalletControllerActivity_t qt_meta_stringdata_WalletControllerActivity
void walletAdded(WalletModel *wallet_model)
void restored(WalletModel *wallet_model)
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:47
void walletRemoved(WalletModel *wallet_model)
static const qt_meta_stringdata_RestoreWalletActivity_t qt_meta_stringdata_RestoreWalletActivity
static const uint qt_meta_data_WalletController[]
static const qt_meta_stringdata_WalletController_t qt_meta_stringdata_WalletController