Bitcoin Core  0.21.1
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 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/walletcontroller.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'walletcontroller.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.6.1. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
21  QByteArrayData data[10];
22  char stringdata0[121];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  qptrdiff(offsetof(qt_meta_stringdata_WalletController_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
30  {
31 QT_MOC_LITERAL(0, 0, 16), // "WalletController"
32 QT_MOC_LITERAL(1, 17, 11), // "walletAdded"
33 QT_MOC_LITERAL(2, 29, 0), // ""
34 QT_MOC_LITERAL(3, 30, 12), // "WalletModel*"
35 QT_MOC_LITERAL(4, 43, 12), // "wallet_model"
36 QT_MOC_LITERAL(5, 56, 13), // "walletRemoved"
37 QT_MOC_LITERAL(6, 70, 9), // "coinsSent"
38 QT_MOC_LITERAL(7, 80, 18), // "SendCoinsRecipient"
39 QT_MOC_LITERAL(8, 99, 9), // "recipient"
40 QT_MOC_LITERAL(9, 109, 11) // "transaction"
41 
42  },
43  "WalletController\0walletAdded\0\0"
44  "WalletModel*\0wallet_model\0walletRemoved\0"
45  "coinsSent\0SendCoinsRecipient\0recipient\0"
46  "transaction"
47 };
48 #undef QT_MOC_LITERAL
49 
50 static const uint qt_meta_data_WalletController[] = {
51 
52  // content:
53  7, // revision
54  0, // classname
55  0, 0, // classinfo
56  3, 14, // methods
57  0, 0, // properties
58  0, 0, // enums/sets
59  0, 0, // constructors
60  0, // flags
61  3, // signalCount
62 
63  // signals: name, argc, parameters, tag, flags
64  1, 1, 29, 2, 0x06 /* Public */,
65  5, 1, 32, 2, 0x06 /* Public */,
66  6, 3, 35, 2, 0x06 /* Public */,
67 
68  // signals: parameters
69  QMetaType::Void, 0x80000000 | 3, 4,
70  QMetaType::Void, 0x80000000 | 3, 4,
71  QMetaType::Void, 0x80000000 | 3, 0x80000000 | 7, QMetaType::QByteArray, 4, 8, 9,
72 
73  0 // eod
74 };
75 
76 void WalletController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77 {
78  if (_c == QMetaObject::InvokeMetaMethod) {
79  WalletController *_t = static_cast<WalletController *>(_o);
80  Q_UNUSED(_t)
81  switch (_id) {
82  case 0: _t->walletAdded((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
83  case 1: _t->walletRemoved((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
84  case 2: _t->coinsSent((*reinterpret_cast< WalletModel*(*)>(_a[1])),(*reinterpret_cast< SendCoinsRecipient(*)>(_a[2])),(*reinterpret_cast< QByteArray(*)>(_a[3]))); break;
85  default: ;
86  }
87  } else if (_c == QMetaObject::IndexOfMethod) {
88  int *result = reinterpret_cast<int *>(_a[0]);
89  void **func = reinterpret_cast<void **>(_a[1]);
90  {
91  typedef void (WalletController::*_t)(WalletModel * );
92  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletController::walletAdded)) {
93  *result = 0;
94  return;
95  }
96  }
97  {
98  typedef void (WalletController::*_t)(WalletModel * );
99  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletController::walletRemoved)) {
100  *result = 1;
101  return;
102  }
103  }
104  {
105  typedef void (WalletController::*_t)(WalletModel * , SendCoinsRecipient , QByteArray );
106  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletController::coinsSent)) {
107  *result = 2;
108  return;
109  }
110  }
111  }
112 }
113 
114 const QMetaObject WalletController::staticMetaObject = {
115  { &QObject::staticMetaObject, qt_meta_stringdata_WalletController.data,
116  qt_meta_data_WalletController, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
117 };
118 
119 
120 const QMetaObject *WalletController::metaObject() const
121 {
122  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
123 }
124 
125 void *WalletController::qt_metacast(const char *_clname)
126 {
127  if (!_clname) return Q_NULLPTR;
128  if (!strcmp(_clname, qt_meta_stringdata_WalletController.stringdata0))
129  return static_cast<void*>(const_cast< WalletController*>(this));
130  return QObject::qt_metacast(_clname);
131 }
132 
133 int WalletController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
134 {
135  _id = QObject::qt_metacall(_c, _id, _a);
136  if (_id < 0)
137  return _id;
138  if (_c == QMetaObject::InvokeMetaMethod) {
139  if (_id < 3)
140  qt_static_metacall(this, _c, _id, _a);
141  _id -= 3;
142  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
143  if (_id < 3)
144  *reinterpret_cast<int*>(_a[0]) = -1;
145  _id -= 3;
146  }
147  return _id;
148 }
149 
150 // SIGNAL 0
152 {
153  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
154  QMetaObject::activate(this, &staticMetaObject, 0, _a);
155 }
156 
157 // SIGNAL 1
159 {
160  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
161  QMetaObject::activate(this, &staticMetaObject, 1, _a);
162 }
163 
164 // SIGNAL 2
166 {
167  void *_a[] = { Q_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)) };
168  QMetaObject::activate(this, &staticMetaObject, 2, _a);
169 }
171  QByteArrayData data[3];
172  char stringdata0[35];
173 };
174 #define QT_MOC_LITERAL(idx, ofs, len) \
175  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
176  qptrdiff(offsetof(qt_meta_stringdata_WalletControllerActivity_t, stringdata0) + ofs \
177  - idx * sizeof(QByteArrayData)) \
178  )
180  {
181 QT_MOC_LITERAL(0, 0, 24), // "WalletControllerActivity"
182 QT_MOC_LITERAL(1, 25, 8), // "finished"
183 QT_MOC_LITERAL(2, 34, 0) // ""
184 
185  },
186  "WalletControllerActivity\0finished\0"
187 };
188 #undef QT_MOC_LITERAL
189 
191 
192  // content:
193  7, // revision
194  0, // classname
195  0, 0, // classinfo
196  1, 14, // methods
197  0, 0, // properties
198  0, 0, // enums/sets
199  0, 0, // constructors
200  0, // flags
201  1, // signalCount
202 
203  // signals: name, argc, parameters, tag, flags
204  1, 0, 19, 2, 0x06 /* Public */,
205 
206  // signals: parameters
207  QMetaType::Void,
208 
209  0 // eod
210 };
211 
212 void WalletControllerActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
213 {
214  if (_c == QMetaObject::InvokeMetaMethod) {
215  WalletControllerActivity *_t = static_cast<WalletControllerActivity *>(_o);
216  Q_UNUSED(_t)
217  switch (_id) {
218  case 0: _t->finished(); break;
219  default: ;
220  }
221  } else if (_c == QMetaObject::IndexOfMethod) {
222  int *result = reinterpret_cast<int *>(_a[0]);
223  void **func = reinterpret_cast<void **>(_a[1]);
224  {
225  typedef void (WalletControllerActivity::*_t)();
226  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletControllerActivity::finished)) {
227  *result = 0;
228  return;
229  }
230  }
231  }
232  Q_UNUSED(_a);
233 }
234 
235 const QMetaObject WalletControllerActivity::staticMetaObject = {
236  { &QObject::staticMetaObject, qt_meta_stringdata_WalletControllerActivity.data,
237  qt_meta_data_WalletControllerActivity, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
238 };
239 
240 
241 const QMetaObject *WalletControllerActivity::metaObject() const
242 {
243  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
244 }
245 
246 void *WalletControllerActivity::qt_metacast(const char *_clname)
247 {
248  if (!_clname) return Q_NULLPTR;
249  if (!strcmp(_clname, qt_meta_stringdata_WalletControllerActivity.stringdata0))
250  return static_cast<void*>(const_cast< WalletControllerActivity*>(this));
251  return QObject::qt_metacast(_clname);
252 }
253 
254 int WalletControllerActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
255 {
256  _id = QObject::qt_metacall(_c, _id, _a);
257  if (_id < 0)
258  return _id;
259  if (_c == QMetaObject::InvokeMetaMethod) {
260  if (_id < 1)
261  qt_static_metacall(this, _c, _id, _a);
262  _id -= 1;
263  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
264  if (_id < 1)
265  *reinterpret_cast<int*>(_a[0]) = -1;
266  _id -= 1;
267  }
268  return _id;
269 }
270 
271 // SIGNAL 0
273 {
274  QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
275 }
277  QByteArrayData data[5];
278  char stringdata0[56];
279 };
280 #define QT_MOC_LITERAL(idx, ofs, len) \
281  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
282  qptrdiff(offsetof(qt_meta_stringdata_CreateWalletActivity_t, stringdata0) + ofs \
283  - idx * sizeof(QByteArrayData)) \
284  )
286  {
287 QT_MOC_LITERAL(0, 0, 20), // "CreateWalletActivity"
288 QT_MOC_LITERAL(1, 21, 7), // "created"
289 QT_MOC_LITERAL(2, 29, 0), // ""
290 QT_MOC_LITERAL(3, 30, 12), // "WalletModel*"
291 QT_MOC_LITERAL(4, 43, 12) // "wallet_model"
292 
293  },
294  "CreateWalletActivity\0created\0\0"
295  "WalletModel*\0wallet_model"
296 };
297 #undef QT_MOC_LITERAL
298 
299 static const uint qt_meta_data_CreateWalletActivity[] = {
300 
301  // content:
302  7, // revision
303  0, // classname
304  0, 0, // classinfo
305  1, 14, // methods
306  0, 0, // properties
307  0, 0, // enums/sets
308  0, 0, // constructors
309  0, // flags
310  1, // signalCount
311 
312  // signals: name, argc, parameters, tag, flags
313  1, 1, 19, 2, 0x06 /* Public */,
314 
315  // signals: parameters
316  QMetaType::Void, 0x80000000 | 3, 4,
317 
318  0 // eod
319 };
320 
321 void CreateWalletActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
322 {
323  if (_c == QMetaObject::InvokeMetaMethod) {
324  CreateWalletActivity *_t = static_cast<CreateWalletActivity *>(_o);
325  Q_UNUSED(_t)
326  switch (_id) {
327  case 0: _t->created((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
328  default: ;
329  }
330  } else if (_c == QMetaObject::IndexOfMethod) {
331  int *result = reinterpret_cast<int *>(_a[0]);
332  void **func = reinterpret_cast<void **>(_a[1]);
333  {
334  typedef void (CreateWalletActivity::*_t)(WalletModel * );
335  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CreateWalletActivity::created)) {
336  *result = 0;
337  return;
338  }
339  }
340  }
341 }
342 
343 const QMetaObject CreateWalletActivity::staticMetaObject = {
344  { &WalletControllerActivity::staticMetaObject, qt_meta_stringdata_CreateWalletActivity.data,
345  qt_meta_data_CreateWalletActivity, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
346 };
347 
348 
349 const QMetaObject *CreateWalletActivity::metaObject() const
350 {
351  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
352 }
353 
354 void *CreateWalletActivity::qt_metacast(const char *_clname)
355 {
356  if (!_clname) return Q_NULLPTR;
357  if (!strcmp(_clname, qt_meta_stringdata_CreateWalletActivity.stringdata0))
358  return static_cast<void*>(const_cast< CreateWalletActivity*>(this));
359  return WalletControllerActivity::qt_metacast(_clname);
360 }
361 
362 int CreateWalletActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
363 {
364  _id = WalletControllerActivity::qt_metacall(_c, _id, _a);
365  if (_id < 0)
366  return _id;
367  if (_c == QMetaObject::InvokeMetaMethod) {
368  if (_id < 1)
369  qt_static_metacall(this, _c, _id, _a);
370  _id -= 1;
371  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
372  if (_id < 1)
373  *reinterpret_cast<int*>(_a[0]) = -1;
374  _id -= 1;
375  }
376  return _id;
377 }
378 
379 // SIGNAL 0
381 {
382  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
383  QMetaObject::activate(this, &staticMetaObject, 0, _a);
384 }
386  QByteArrayData data[5];
387  char stringdata0[53];
388 };
389 #define QT_MOC_LITERAL(idx, ofs, len) \
390  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
391  qptrdiff(offsetof(qt_meta_stringdata_OpenWalletActivity_t, stringdata0) + ofs \
392  - idx * sizeof(QByteArrayData)) \
393  )
395  {
396 QT_MOC_LITERAL(0, 0, 18), // "OpenWalletActivity"
397 QT_MOC_LITERAL(1, 19, 6), // "opened"
398 QT_MOC_LITERAL(2, 26, 0), // ""
399 QT_MOC_LITERAL(3, 27, 12), // "WalletModel*"
400 QT_MOC_LITERAL(4, 40, 12) // "wallet_model"
401 
402  },
403  "OpenWalletActivity\0opened\0\0WalletModel*\0"
404  "wallet_model"
405 };
406 #undef QT_MOC_LITERAL
407 
408 static const uint qt_meta_data_OpenWalletActivity[] = {
409 
410  // content:
411  7, // revision
412  0, // classname
413  0, 0, // classinfo
414  1, 14, // methods
415  0, 0, // properties
416  0, 0, // enums/sets
417  0, 0, // constructors
418  0, // flags
419  1, // signalCount
420 
421  // signals: name, argc, parameters, tag, flags
422  1, 1, 19, 2, 0x06 /* Public */,
423 
424  // signals: parameters
425  QMetaType::Void, 0x80000000 | 3, 4,
426 
427  0 // eod
428 };
429 
430 void OpenWalletActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
431 {
432  if (_c == QMetaObject::InvokeMetaMethod) {
433  OpenWalletActivity *_t = static_cast<OpenWalletActivity *>(_o);
434  Q_UNUSED(_t)
435  switch (_id) {
436  case 0: _t->opened((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
437  default: ;
438  }
439  } else if (_c == QMetaObject::IndexOfMethod) {
440  int *result = reinterpret_cast<int *>(_a[0]);
441  void **func = reinterpret_cast<void **>(_a[1]);
442  {
443  typedef void (OpenWalletActivity::*_t)(WalletModel * );
444  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OpenWalletActivity::opened)) {
445  *result = 0;
446  return;
447  }
448  }
449  }
450 }
451 
452 const QMetaObject OpenWalletActivity::staticMetaObject = {
453  { &WalletControllerActivity::staticMetaObject, qt_meta_stringdata_OpenWalletActivity.data,
454  qt_meta_data_OpenWalletActivity, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
455 };
456 
457 
458 const QMetaObject *OpenWalletActivity::metaObject() const
459 {
460  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
461 }
462 
463 void *OpenWalletActivity::qt_metacast(const char *_clname)
464 {
465  if (!_clname) return Q_NULLPTR;
466  if (!strcmp(_clname, qt_meta_stringdata_OpenWalletActivity.stringdata0))
467  return static_cast<void*>(const_cast< OpenWalletActivity*>(this));
468  return WalletControllerActivity::qt_metacast(_clname);
469 }
470 
471 int OpenWalletActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
472 {
473  _id = WalletControllerActivity::qt_metacall(_c, _id, _a);
474  if (_id < 0)
475  return _id;
476  if (_c == QMetaObject::InvokeMetaMethod) {
477  if (_id < 1)
478  qt_static_metacall(this, _c, _id, _a);
479  _id -= 1;
480  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
481  if (_id < 1)
482  *reinterpret_cast<int*>(_a[0]) = -1;
483  _id -= 1;
484  }
485  return _id;
486 }
487 
488 // SIGNAL 0
490 {
491  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
492  QMetaObject::activate(this, &staticMetaObject, 0, _a);
493 }
494 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
void opened(WalletModel *wallet_model)
Controller between interfaces::Node, WalletModel instances and the GUI.
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
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[]
static const qt_meta_stringdata_WalletControllerActivity_t qt_meta_stringdata_WalletControllerActivity
void walletAdded(WalletModel *wallet_model)
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:51
void walletRemoved(WalletModel *wallet_model)
static const uint qt_meta_data_WalletController[]
static const qt_meta_stringdata_WalletController_t qt_meta_stringdata_WalletController