Bitcoin Core  0.21.0rc5
P2P Digital Currency
moc_walletview.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'walletview.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include <memory>
9 #include "qt/walletview.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'walletview.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.15.2. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
24  QByteArrayData data[45];
25  char stringdata0[597];
26 };
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29  qptrdiff(offsetof(qt_meta_stringdata_WalletView_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
33  {
34 QT_MOC_LITERAL(0, 0, 10), // "WalletView"
35 QT_MOC_LITERAL(1, 11, 10), // "setPrivacy"
36 QT_MOC_LITERAL(2, 22, 0), // ""
37 QT_MOC_LITERAL(3, 23, 7), // "privacy"
38 QT_MOC_LITERAL(4, 31, 18), // "transactionClicked"
39 QT_MOC_LITERAL(5, 50, 9), // "coinsSent"
40 QT_MOC_LITERAL(6, 60, 7), // "message"
41 QT_MOC_LITERAL(7, 68, 5), // "title"
42 QT_MOC_LITERAL(8, 74, 5), // "style"
43 QT_MOC_LITERAL(9, 80, 23), // "encryptionStatusChanged"
44 QT_MOC_LITERAL(10, 104, 22), // "hdEnabledStatusChanged"
45 QT_MOC_LITERAL(11, 127, 19), // "incomingTransaction"
46 QT_MOC_LITERAL(12, 147, 4), // "date"
47 QT_MOC_LITERAL(13, 152, 4), // "unit"
48 QT_MOC_LITERAL(14, 157, 7), // "CAmount"
49 QT_MOC_LITERAL(15, 165, 6), // "amount"
50 QT_MOC_LITERAL(16, 172, 4), // "type"
51 QT_MOC_LITERAL(17, 177, 7), // "address"
52 QT_MOC_LITERAL(18, 185, 5), // "label"
53 QT_MOC_LITERAL(19, 191, 10), // "walletName"
54 QT_MOC_LITERAL(20, 202, 23), // "outOfSyncWarningClicked"
55 QT_MOC_LITERAL(21, 226, 16), // "gotoOverviewPage"
56 QT_MOC_LITERAL(22, 243, 15), // "gotoHistoryPage"
57 QT_MOC_LITERAL(23, 259, 20), // "gotoReceiveCoinsPage"
58 QT_MOC_LITERAL(24, 280, 17), // "gotoSendCoinsPage"
59 QT_MOC_LITERAL(25, 298, 4), // "addr"
60 QT_MOC_LITERAL(26, 303, 18), // "gotoSignMessageTab"
61 QT_MOC_LITERAL(27, 322, 20), // "gotoVerifyMessageTab"
62 QT_MOC_LITERAL(28, 343, 12), // "gotoLoadPSBT"
63 QT_MOC_LITERAL(29, 356, 14), // "from_clipboard"
64 QT_MOC_LITERAL(30, 371, 21), // "processNewTransaction"
65 QT_MOC_LITERAL(31, 393, 11), // "QModelIndex"
66 QT_MOC_LITERAL(32, 405, 6), // "parent"
67 QT_MOC_LITERAL(33, 412, 5), // "start"
68 QT_MOC_LITERAL(34, 418, 13), // "encryptWallet"
69 QT_MOC_LITERAL(35, 432, 6), // "status"
70 QT_MOC_LITERAL(36, 439, 12), // "backupWallet"
71 QT_MOC_LITERAL(37, 452, 16), // "changePassphrase"
72 QT_MOC_LITERAL(38, 469, 12), // "unlockWallet"
73 QT_MOC_LITERAL(39, 482, 20), // "usedSendingAddresses"
74 QT_MOC_LITERAL(40, 503, 22), // "usedReceivingAddresses"
75 QT_MOC_LITERAL(41, 526, 22), // "updateEncryptionStatus"
76 QT_MOC_LITERAL(42, 549, 12), // "showProgress"
77 QT_MOC_LITERAL(43, 562, 9), // "nProgress"
78 QT_MOC_LITERAL(44, 572, 24) // "requestedSyncWarningInfo"
79 
80  },
81  "WalletView\0setPrivacy\0\0privacy\0"
82  "transactionClicked\0coinsSent\0message\0"
83  "title\0style\0encryptionStatusChanged\0"
84  "hdEnabledStatusChanged\0incomingTransaction\0"
85  "date\0unit\0CAmount\0amount\0type\0address\0"
86  "label\0walletName\0outOfSyncWarningClicked\0"
87  "gotoOverviewPage\0gotoHistoryPage\0"
88  "gotoReceiveCoinsPage\0gotoSendCoinsPage\0"
89  "addr\0gotoSignMessageTab\0gotoVerifyMessageTab\0"
90  "gotoLoadPSBT\0from_clipboard\0"
91  "processNewTransaction\0QModelIndex\0"
92  "parent\0start\0encryptWallet\0status\0"
93  "backupWallet\0changePassphrase\0"
94  "unlockWallet\0usedSendingAddresses\0"
95  "usedReceivingAddresses\0updateEncryptionStatus\0"
96  "showProgress\0nProgress\0requestedSyncWarningInfo"
97 };
98 #undef QT_MOC_LITERAL
99 
100 static const uint qt_meta_data_WalletView[] = {
101 
102  // content:
103  8, // revision
104  0, // classname
105  0, 0, // classinfo
106  29, 14, // methods
107  0, 0, // properties
108  0, 0, // enums/sets
109  0, 0, // constructors
110  0, // flags
111  8, // signalCount
112 
113  // signals: name, argc, parameters, tag, flags
114  1, 1, 159, 2, 0x06 /* Public */,
115  4, 0, 162, 2, 0x06 /* Public */,
116  5, 0, 163, 2, 0x06 /* Public */,
117  6, 3, 164, 2, 0x06 /* Public */,
118  9, 0, 171, 2, 0x06 /* Public */,
119  10, 0, 172, 2, 0x06 /* Public */,
120  11, 7, 173, 2, 0x06 /* Public */,
121  20, 0, 188, 2, 0x06 /* Public */,
122 
123  // slots: name, argc, parameters, tag, flags
124  21, 0, 189, 2, 0x0a /* Public */,
125  22, 0, 190, 2, 0x0a /* Public */,
126  23, 0, 191, 2, 0x0a /* Public */,
127  24, 1, 192, 2, 0x0a /* Public */,
128  24, 0, 195, 2, 0x2a /* Public | MethodCloned */,
129  26, 1, 196, 2, 0x0a /* Public */,
130  26, 0, 199, 2, 0x2a /* Public | MethodCloned */,
131  27, 1, 200, 2, 0x0a /* Public */,
132  27, 0, 203, 2, 0x2a /* Public | MethodCloned */,
133  28, 1, 204, 2, 0x0a /* Public */,
134  28, 0, 207, 2, 0x2a /* Public | MethodCloned */,
135  30, 3, 208, 2, 0x0a /* Public */,
136  34, 1, 215, 2, 0x0a /* Public */,
137  36, 0, 218, 2, 0x0a /* Public */,
138  37, 0, 219, 2, 0x0a /* Public */,
139  38, 0, 220, 2, 0x0a /* Public */,
140  39, 0, 221, 2, 0x0a /* Public */,
141  40, 0, 222, 2, 0x0a /* Public */,
142  41, 0, 223, 2, 0x0a /* Public */,
143  42, 2, 224, 2, 0x0a /* Public */,
144  44, 0, 229, 2, 0x0a /* Public */,
145 
146  // signals: parameters
147  QMetaType::Void, QMetaType::Bool, 3,
148  QMetaType::Void,
149  QMetaType::Void,
150  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 7, 6, 8,
151  QMetaType::Void,
152  QMetaType::Void,
153  QMetaType::Void, QMetaType::QString, QMetaType::Int, 0x80000000 | 14, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, 12, 13, 15, 16, 17, 18, 19,
154  QMetaType::Void,
155 
156  // slots: parameters
157  QMetaType::Void,
158  QMetaType::Void,
159  QMetaType::Void,
160  QMetaType::Void, QMetaType::QString, 25,
161  QMetaType::Void,
162  QMetaType::Void, QMetaType::QString, 25,
163  QMetaType::Void,
164  QMetaType::Void, QMetaType::QString, 25,
165  QMetaType::Void,
166  QMetaType::Void, QMetaType::Bool, 29,
167  QMetaType::Void,
168  QMetaType::Void, 0x80000000 | 31, QMetaType::Int, QMetaType::Int, 32, 33, 2,
169  QMetaType::Void, QMetaType::Bool, 35,
170  QMetaType::Void,
171  QMetaType::Void,
172  QMetaType::Void,
173  QMetaType::Void,
174  QMetaType::Void,
175  QMetaType::Void,
176  QMetaType::Void, QMetaType::QString, QMetaType::Int, 7, 43,
177  QMetaType::Void,
178 
179  0 // eod
180 };
181 
182 void WalletView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
183 {
184  if (_c == QMetaObject::InvokeMetaMethod) {
185  auto *_t = static_cast<WalletView *>(_o);
186  Q_UNUSED(_t)
187  switch (_id) {
188  case 0: _t->setPrivacy((*reinterpret_cast< bool(*)>(_a[1]))); break;
189  case 1: _t->transactionClicked(); break;
190  case 2: _t->coinsSent(); break;
191  case 3: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
192  case 4: _t->encryptionStatusChanged(); break;
193  case 5: _t->hdEnabledStatusChanged(); break;
194  case 6: _t->incomingTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const CAmount(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])),(*reinterpret_cast< const QString(*)>(_a[6])),(*reinterpret_cast< const QString(*)>(_a[7]))); break;
195  case 7: _t->outOfSyncWarningClicked(); break;
196  case 8: _t->gotoOverviewPage(); break;
197  case 9: _t->gotoHistoryPage(); break;
198  case 10: _t->gotoReceiveCoinsPage(); break;
199  case 11: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break;
200  case 12: _t->gotoSendCoinsPage(); break;
201  case 13: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
202  case 14: _t->gotoSignMessageTab(); break;
203  case 15: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
204  case 16: _t->gotoVerifyMessageTab(); break;
205  case 17: _t->gotoLoadPSBT((*reinterpret_cast< bool(*)>(_a[1]))); break;
206  case 18: _t->gotoLoadPSBT(); break;
207  case 19: _t->processNewTransaction((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
208  case 20: _t->encryptWallet((*reinterpret_cast< bool(*)>(_a[1]))); break;
209  case 21: _t->backupWallet(); break;
210  case 22: _t->changePassphrase(); break;
211  case 23: _t->unlockWallet(); break;
212  case 24: _t->usedSendingAddresses(); break;
213  case 25: _t->usedReceivingAddresses(); break;
214  case 26: _t->updateEncryptionStatus(); break;
215  case 27: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
216  case 28: _t->requestedSyncWarningInfo(); break;
217  default: ;
218  }
219  } else if (_c == QMetaObject::IndexOfMethod) {
220  int *result = reinterpret_cast<int *>(_a[0]);
221  {
222  using _t = void (WalletView::*)(bool );
223  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::setPrivacy)) {
224  *result = 0;
225  return;
226  }
227  }
228  {
229  using _t = void (WalletView::*)();
230  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::transactionClicked)) {
231  *result = 1;
232  return;
233  }
234  }
235  {
236  using _t = void (WalletView::*)();
237  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::coinsSent)) {
238  *result = 2;
239  return;
240  }
241  }
242  {
243  using _t = void (WalletView::*)(const QString & , const QString & , unsigned int );
244  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::message)) {
245  *result = 3;
246  return;
247  }
248  }
249  {
250  using _t = void (WalletView::*)();
251  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::encryptionStatusChanged)) {
252  *result = 4;
253  return;
254  }
255  }
256  {
257  using _t = void (WalletView::*)();
258  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::hdEnabledStatusChanged)) {
259  *result = 5;
260  return;
261  }
262  }
263  {
264  using _t = void (WalletView::*)(const QString & , int , const CAmount & , const QString & , const QString & , const QString & , const QString & );
265  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::incomingTransaction)) {
266  *result = 6;
267  return;
268  }
269  }
270  {
271  using _t = void (WalletView::*)();
272  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::outOfSyncWarningClicked)) {
273  *result = 7;
274  return;
275  }
276  }
277  }
278 }
279 
280 QT_INIT_METAOBJECT const QMetaObject WalletView::staticMetaObject = { {
281  QMetaObject::SuperData::link<QStackedWidget::staticMetaObject>(),
284  qt_static_metacall,
285  nullptr,
286  nullptr
287 } };
288 
289 
290 const QMetaObject *WalletView::metaObject() const
291 {
292  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
293 }
294 
295 void *WalletView::qt_metacast(const char *_clname)
296 {
297  if (!_clname) return nullptr;
298  if (!strcmp(_clname, qt_meta_stringdata_WalletView.stringdata0))
299  return static_cast<void*>(this);
300  return QStackedWidget::qt_metacast(_clname);
301 }
302 
303 int WalletView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
304 {
305  _id = QStackedWidget::qt_metacall(_c, _id, _a);
306  if (_id < 0)
307  return _id;
308  if (_c == QMetaObject::InvokeMetaMethod) {
309  if (_id < 29)
310  qt_static_metacall(this, _c, _id, _a);
311  _id -= 29;
312  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
313  if (_id < 29)
314  *reinterpret_cast<int*>(_a[0]) = -1;
315  _id -= 29;
316  }
317  return _id;
318 }
319 
320 // SIGNAL 0
322 {
323  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
324  QMetaObject::activate(this, &staticMetaObject, 0, _a);
325 }
326 
327 // SIGNAL 1
329 {
330  QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
331 }
332 
333 // SIGNAL 2
335 {
336  QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
337 }
338 
339 // SIGNAL 3
340 void WalletView::message(const QString & _t1, const QString & _t2, unsigned int _t3)
341 {
342  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))) };
343  QMetaObject::activate(this, &staticMetaObject, 3, _a);
344 }
345 
346 // SIGNAL 4
348 {
349  QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
350 }
351 
352 // SIGNAL 5
354 {
355  QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
356 }
357 
358 // SIGNAL 6
359 void WalletView::incomingTransaction(const QString & _t1, int _t2, const CAmount & _t3, const QString & _t4, const QString & _t5, const QString & _t6, const QString & _t7)
360 {
361  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))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t5))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t6))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t7))) };
362  QMetaObject::activate(this, &staticMetaObject, 6, _a);
363 }
364 
365 // SIGNAL 7
367 {
368  QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
369 }
370 QT_WARNING_POP
371 QT_END_MOC_NAMESPACE
int64_t CAmount
Amount in satoshis (Can be negative)
Definition: amount.h:12
void incomingTransaction(const QString &date, int unit, const CAmount &amount, const QString &type, const QString &address, const QString &label, const QString &walletName)
Notify that a new transaction appeared.
void outOfSyncWarningClicked()
Notify that the out of sync warning icon has been pressed.
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
void transactionClicked()
void hdEnabledStatusChanged()
HD-Enabled status of wallet changed (only possible during startup)
void setPrivacy(bool privacy)
void encryptionStatusChanged()
Encryption status of wallet changed.
static const qt_meta_stringdata_WalletView_t qt_meta_stringdata_WalletView
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_WalletView[]