Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
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.5.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  }
95  }
96  {
97  typedef void (WalletController::*_t)(WalletModel * );
98  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletController::walletRemoved)) {
99  *result = 1;
100  }
101  }
102  {
103  typedef void (WalletController::*_t)(WalletModel * , SendCoinsRecipient , QByteArray );
104  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletController::coinsSent)) {
105  *result = 2;
106  }
107  }
108  }
109 }
110 
111 const QMetaObject WalletController::staticMetaObject = {
112  { &QObject::staticMetaObject, qt_meta_stringdata_WalletController.data,
113  qt_meta_data_WalletController, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
114 };
115 
116 
117 const QMetaObject *WalletController::metaObject() const
118 {
119  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
120 }
121 
122 void *WalletController::qt_metacast(const char *_clname)
123 {
124  if (!_clname) return Q_NULLPTR;
125  if (!strcmp(_clname, qt_meta_stringdata_WalletController.stringdata0))
126  return static_cast<void*>(const_cast< WalletController*>(this));
127  return QObject::qt_metacast(_clname);
128 }
129 
130 int WalletController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
131 {
132  _id = QObject::qt_metacall(_c, _id, _a);
133  if (_id < 0)
134  return _id;
135  if (_c == QMetaObject::InvokeMetaMethod) {
136  if (_id < 3)
137  qt_static_metacall(this, _c, _id, _a);
138  _id -= 3;
139  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
140  if (_id < 3)
141  *reinterpret_cast<int*>(_a[0]) = -1;
142  _id -= 3;
143  }
144  return _id;
145 }
146 
147 // SIGNAL 0
149 {
150  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
151  QMetaObject::activate(this, &staticMetaObject, 0, _a);
152 }
153 
154 // SIGNAL 1
156 {
157  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
158  QMetaObject::activate(this, &staticMetaObject, 1, _a);
159 }
160 
161 // SIGNAL 2
163 {
164  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)) };
165  QMetaObject::activate(this, &staticMetaObject, 2, _a);
166 }
168  QByteArrayData data[3];
169  char stringdata0[35];
170 };
171 #define QT_MOC_LITERAL(idx, ofs, len) \
172  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
173  qptrdiff(offsetof(qt_meta_stringdata_WalletControllerActivity_t, stringdata0) + ofs \
174  - idx * sizeof(QByteArrayData)) \
175  )
177  {
178 QT_MOC_LITERAL(0, 0, 24), // "WalletControllerActivity"
179 QT_MOC_LITERAL(1, 25, 8), // "finished"
180 QT_MOC_LITERAL(2, 34, 0) // ""
181 
182  },
183  "WalletControllerActivity\0finished\0"
184 };
185 #undef QT_MOC_LITERAL
186 
188 
189  // content:
190  7, // revision
191  0, // classname
192  0, 0, // classinfo
193  1, 14, // methods
194  0, 0, // properties
195  0, 0, // enums/sets
196  0, 0, // constructors
197  0, // flags
198  1, // signalCount
199 
200  // signals: name, argc, parameters, tag, flags
201  1, 0, 19, 2, 0x06 /* Public */,
202 
203  // signals: parameters
204  QMetaType::Void,
205 
206  0 // eod
207 };
208 
209 void WalletControllerActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
210 {
211  if (_c == QMetaObject::InvokeMetaMethod) {
212  WalletControllerActivity *_t = static_cast<WalletControllerActivity *>(_o);
213  Q_UNUSED(_t)
214  switch (_id) {
215  case 0: _t->finished(); break;
216  default: ;
217  }
218  } else if (_c == QMetaObject::IndexOfMethod) {
219  int *result = reinterpret_cast<int *>(_a[0]);
220  void **func = reinterpret_cast<void **>(_a[1]);
221  {
222  typedef void (WalletControllerActivity::*_t)();
223  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletControllerActivity::finished)) {
224  *result = 0;
225  }
226  }
227  }
228  Q_UNUSED(_a);
229 }
230 
231 const QMetaObject WalletControllerActivity::staticMetaObject = {
232  { &QObject::staticMetaObject, qt_meta_stringdata_WalletControllerActivity.data,
233  qt_meta_data_WalletControllerActivity, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
234 };
235 
236 
237 const QMetaObject *WalletControllerActivity::metaObject() const
238 {
239  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
240 }
241 
242 void *WalletControllerActivity::qt_metacast(const char *_clname)
243 {
244  if (!_clname) return Q_NULLPTR;
245  if (!strcmp(_clname, qt_meta_stringdata_WalletControllerActivity.stringdata0))
246  return static_cast<void*>(const_cast< WalletControllerActivity*>(this));
247  return QObject::qt_metacast(_clname);
248 }
249 
250 int WalletControllerActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
251 {
252  _id = QObject::qt_metacall(_c, _id, _a);
253  if (_id < 0)
254  return _id;
255  if (_c == QMetaObject::InvokeMetaMethod) {
256  if (_id < 1)
257  qt_static_metacall(this, _c, _id, _a);
258  _id -= 1;
259  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
260  if (_id < 1)
261  *reinterpret_cast<int*>(_a[0]) = -1;
262  _id -= 1;
263  }
264  return _id;
265 }
266 
267 // SIGNAL 0
269 {
270  QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
271 }
273  QByteArrayData data[5];
274  char stringdata0[56];
275 };
276 #define QT_MOC_LITERAL(idx, ofs, len) \
277  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
278  qptrdiff(offsetof(qt_meta_stringdata_CreateWalletActivity_t, stringdata0) + ofs \
279  - idx * sizeof(QByteArrayData)) \
280  )
282  {
283 QT_MOC_LITERAL(0, 0, 20), // "CreateWalletActivity"
284 QT_MOC_LITERAL(1, 21, 7), // "created"
285 QT_MOC_LITERAL(2, 29, 0), // ""
286 QT_MOC_LITERAL(3, 30, 12), // "WalletModel*"
287 QT_MOC_LITERAL(4, 43, 12) // "wallet_model"
288 
289  },
290  "CreateWalletActivity\0created\0\0"
291  "WalletModel*\0wallet_model"
292 };
293 #undef QT_MOC_LITERAL
294 
295 static const uint qt_meta_data_CreateWalletActivity[] = {
296 
297  // content:
298  7, // revision
299  0, // classname
300  0, 0, // classinfo
301  1, 14, // methods
302  0, 0, // properties
303  0, 0, // enums/sets
304  0, 0, // constructors
305  0, // flags
306  1, // signalCount
307 
308  // signals: name, argc, parameters, tag, flags
309  1, 1, 19, 2, 0x06 /* Public */,
310 
311  // signals: parameters
312  QMetaType::Void, 0x80000000 | 3, 4,
313 
314  0 // eod
315 };
316 
317 void CreateWalletActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
318 {
319  if (_c == QMetaObject::InvokeMetaMethod) {
320  CreateWalletActivity *_t = static_cast<CreateWalletActivity *>(_o);
321  Q_UNUSED(_t)
322  switch (_id) {
323  case 0: _t->created((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
324  default: ;
325  }
326  } else if (_c == QMetaObject::IndexOfMethod) {
327  int *result = reinterpret_cast<int *>(_a[0]);
328  void **func = reinterpret_cast<void **>(_a[1]);
329  {
330  typedef void (CreateWalletActivity::*_t)(WalletModel * );
331  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CreateWalletActivity::created)) {
332  *result = 0;
333  }
334  }
335  }
336 }
337 
338 const QMetaObject CreateWalletActivity::staticMetaObject = {
339  { &WalletControllerActivity::staticMetaObject, qt_meta_stringdata_CreateWalletActivity.data,
340  qt_meta_data_CreateWalletActivity, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
341 };
342 
343 
344 const QMetaObject *CreateWalletActivity::metaObject() const
345 {
346  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
347 }
348 
349 void *CreateWalletActivity::qt_metacast(const char *_clname)
350 {
351  if (!_clname) return Q_NULLPTR;
352  if (!strcmp(_clname, qt_meta_stringdata_CreateWalletActivity.stringdata0))
353  return static_cast<void*>(const_cast< CreateWalletActivity*>(this));
354  return WalletControllerActivity::qt_metacast(_clname);
355 }
356 
357 int CreateWalletActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
358 {
359  _id = WalletControllerActivity::qt_metacall(_c, _id, _a);
360  if (_id < 0)
361  return _id;
362  if (_c == QMetaObject::InvokeMetaMethod) {
363  if (_id < 1)
364  qt_static_metacall(this, _c, _id, _a);
365  _id -= 1;
366  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
367  if (_id < 1)
368  *reinterpret_cast<int*>(_a[0]) = -1;
369  _id -= 1;
370  }
371  return _id;
372 }
373 
374 // SIGNAL 0
376 {
377  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
378  QMetaObject::activate(this, &staticMetaObject, 0, _a);
379 }
381  QByteArrayData data[5];
382  char stringdata0[53];
383 };
384 #define QT_MOC_LITERAL(idx, ofs, len) \
385  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
386  qptrdiff(offsetof(qt_meta_stringdata_OpenWalletActivity_t, stringdata0) + ofs \
387  - idx * sizeof(QByteArrayData)) \
388  )
390  {
391 QT_MOC_LITERAL(0, 0, 18), // "OpenWalletActivity"
392 QT_MOC_LITERAL(1, 19, 6), // "opened"
393 QT_MOC_LITERAL(2, 26, 0), // ""
394 QT_MOC_LITERAL(3, 27, 12), // "WalletModel*"
395 QT_MOC_LITERAL(4, 40, 12) // "wallet_model"
396 
397  },
398  "OpenWalletActivity\0opened\0\0WalletModel*\0"
399  "wallet_model"
400 };
401 #undef QT_MOC_LITERAL
402 
403 static const uint qt_meta_data_OpenWalletActivity[] = {
404 
405  // content:
406  7, // revision
407  0, // classname
408  0, 0, // classinfo
409  1, 14, // methods
410  0, 0, // properties
411  0, 0, // enums/sets
412  0, 0, // constructors
413  0, // flags
414  1, // signalCount
415 
416  // signals: name, argc, parameters, tag, flags
417  1, 1, 19, 2, 0x06 /* Public */,
418 
419  // signals: parameters
420  QMetaType::Void, 0x80000000 | 3, 4,
421 
422  0 // eod
423 };
424 
425 void OpenWalletActivity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
426 {
427  if (_c == QMetaObject::InvokeMetaMethod) {
428  OpenWalletActivity *_t = static_cast<OpenWalletActivity *>(_o);
429  Q_UNUSED(_t)
430  switch (_id) {
431  case 0: _t->opened((*reinterpret_cast< WalletModel*(*)>(_a[1]))); break;
432  default: ;
433  }
434  } else if (_c == QMetaObject::IndexOfMethod) {
435  int *result = reinterpret_cast<int *>(_a[0]);
436  void **func = reinterpret_cast<void **>(_a[1]);
437  {
438  typedef void (OpenWalletActivity::*_t)(WalletModel * );
439  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&OpenWalletActivity::opened)) {
440  *result = 0;
441  }
442  }
443  }
444 }
445 
446 const QMetaObject OpenWalletActivity::staticMetaObject = {
447  { &WalletControllerActivity::staticMetaObject, qt_meta_stringdata_OpenWalletActivity.data,
448  qt_meta_data_OpenWalletActivity, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
449 };
450 
451 
452 const QMetaObject *OpenWalletActivity::metaObject() const
453 {
454  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
455 }
456 
457 void *OpenWalletActivity::qt_metacast(const char *_clname)
458 {
459  if (!_clname) return Q_NULLPTR;
460  if (!strcmp(_clname, qt_meta_stringdata_OpenWalletActivity.stringdata0))
461  return static_cast<void*>(const_cast< OpenWalletActivity*>(this));
462  return WalletControllerActivity::qt_metacast(_clname);
463 }
464 
465 int OpenWalletActivity::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
466 {
467  _id = WalletControllerActivity::qt_metacall(_c, _id, _a);
468  if (_id < 0)
469  return _id;
470  if (_c == QMetaObject::InvokeMetaMethod) {
471  if (_id < 1)
472  qt_static_metacall(this, _c, _id, _a);
473  _id -= 1;
474  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
475  if (_id < 1)
476  *reinterpret_cast<int*>(_a[0]) = -1;
477  _id -= 1;
478  }
479  return _id;
480 }
481 
482 // SIGNAL 0
484 {
485  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
486  QMetaObject::activate(this, &staticMetaObject, 0, _a);
487 }
488 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