Bitcoin Core  0.21.1
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 "qt/walletview.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'walletview.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[44];
22  char stringdata0[585];
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_WalletView_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
30  {
31 QT_MOC_LITERAL(0, 0, 10), // "WalletView"
32 QT_MOC_LITERAL(1, 11, 10), // "setPrivacy"
33 QT_MOC_LITERAL(2, 22, 0), // ""
34 QT_MOC_LITERAL(3, 23, 7), // "privacy"
35 QT_MOC_LITERAL(4, 31, 18), // "transactionClicked"
36 QT_MOC_LITERAL(5, 50, 9), // "coinsSent"
37 QT_MOC_LITERAL(6, 60, 7), // "message"
38 QT_MOC_LITERAL(7, 68, 5), // "title"
39 QT_MOC_LITERAL(8, 74, 5), // "style"
40 QT_MOC_LITERAL(9, 80, 23), // "encryptionStatusChanged"
41 QT_MOC_LITERAL(10, 104, 22), // "hdEnabledStatusChanged"
42 QT_MOC_LITERAL(11, 127, 19), // "incomingTransaction"
43 QT_MOC_LITERAL(12, 147, 4), // "date"
44 QT_MOC_LITERAL(13, 152, 4), // "unit"
45 QT_MOC_LITERAL(14, 157, 7), // "CAmount"
46 QT_MOC_LITERAL(15, 165, 6), // "amount"
47 QT_MOC_LITERAL(16, 172, 4), // "type"
48 QT_MOC_LITERAL(17, 177, 7), // "address"
49 QT_MOC_LITERAL(18, 185, 5), // "label"
50 QT_MOC_LITERAL(19, 191, 10), // "walletName"
51 QT_MOC_LITERAL(20, 202, 23), // "outOfSyncWarningClicked"
52 QT_MOC_LITERAL(21, 226, 16), // "gotoOverviewPage"
53 QT_MOC_LITERAL(22, 243, 15), // "gotoHistoryPage"
54 QT_MOC_LITERAL(23, 259, 20), // "gotoReceiveCoinsPage"
55 QT_MOC_LITERAL(24, 280, 17), // "gotoSendCoinsPage"
56 QT_MOC_LITERAL(25, 298, 4), // "addr"
57 QT_MOC_LITERAL(26, 303, 18), // "gotoSignMessageTab"
58 QT_MOC_LITERAL(27, 322, 20), // "gotoVerifyMessageTab"
59 QT_MOC_LITERAL(28, 343, 12), // "gotoLoadPSBT"
60 QT_MOC_LITERAL(29, 356, 14), // "from_clipboard"
61 QT_MOC_LITERAL(30, 371, 21), // "processNewTransaction"
62 QT_MOC_LITERAL(31, 393, 6), // "parent"
63 QT_MOC_LITERAL(32, 400, 5), // "start"
64 QT_MOC_LITERAL(33, 406, 13), // "encryptWallet"
65 QT_MOC_LITERAL(34, 420, 6), // "status"
66 QT_MOC_LITERAL(35, 427, 12), // "backupWallet"
67 QT_MOC_LITERAL(36, 440, 16), // "changePassphrase"
68 QT_MOC_LITERAL(37, 457, 12), // "unlockWallet"
69 QT_MOC_LITERAL(38, 470, 20), // "usedSendingAddresses"
70 QT_MOC_LITERAL(39, 491, 22), // "usedReceivingAddresses"
71 QT_MOC_LITERAL(40, 514, 22), // "updateEncryptionStatus"
72 QT_MOC_LITERAL(41, 537, 12), // "showProgress"
73 QT_MOC_LITERAL(42, 550, 9), // "nProgress"
74 QT_MOC_LITERAL(43, 560, 24) // "requestedSyncWarningInfo"
75 
76  },
77  "WalletView\0setPrivacy\0\0privacy\0"
78  "transactionClicked\0coinsSent\0message\0"
79  "title\0style\0encryptionStatusChanged\0"
80  "hdEnabledStatusChanged\0incomingTransaction\0"
81  "date\0unit\0CAmount\0amount\0type\0address\0"
82  "label\0walletName\0outOfSyncWarningClicked\0"
83  "gotoOverviewPage\0gotoHistoryPage\0"
84  "gotoReceiveCoinsPage\0gotoSendCoinsPage\0"
85  "addr\0gotoSignMessageTab\0gotoVerifyMessageTab\0"
86  "gotoLoadPSBT\0from_clipboard\0"
87  "processNewTransaction\0parent\0start\0"
88  "encryptWallet\0status\0backupWallet\0"
89  "changePassphrase\0unlockWallet\0"
90  "usedSendingAddresses\0usedReceivingAddresses\0"
91  "updateEncryptionStatus\0showProgress\0"
92  "nProgress\0requestedSyncWarningInfo"
93 };
94 #undef QT_MOC_LITERAL
95 
96 static const uint qt_meta_data_WalletView[] = {
97 
98  // content:
99  7, // revision
100  0, // classname
101  0, 0, // classinfo
102  29, 14, // methods
103  0, 0, // properties
104  0, 0, // enums/sets
105  0, 0, // constructors
106  0, // flags
107  8, // signalCount
108 
109  // signals: name, argc, parameters, tag, flags
110  1, 1, 159, 2, 0x06 /* Public */,
111  4, 0, 162, 2, 0x06 /* Public */,
112  5, 0, 163, 2, 0x06 /* Public */,
113  6, 3, 164, 2, 0x06 /* Public */,
114  9, 0, 171, 2, 0x06 /* Public */,
115  10, 0, 172, 2, 0x06 /* Public */,
116  11, 7, 173, 2, 0x06 /* Public */,
117  20, 0, 188, 2, 0x06 /* Public */,
118 
119  // slots: name, argc, parameters, tag, flags
120  21, 0, 189, 2, 0x0a /* Public */,
121  22, 0, 190, 2, 0x0a /* Public */,
122  23, 0, 191, 2, 0x0a /* Public */,
123  24, 1, 192, 2, 0x0a /* Public */,
124  24, 0, 195, 2, 0x2a /* Public | MethodCloned */,
125  26, 1, 196, 2, 0x0a /* Public */,
126  26, 0, 199, 2, 0x2a /* Public | MethodCloned */,
127  27, 1, 200, 2, 0x0a /* Public */,
128  27, 0, 203, 2, 0x2a /* Public | MethodCloned */,
129  28, 1, 204, 2, 0x0a /* Public */,
130  28, 0, 207, 2, 0x2a /* Public | MethodCloned */,
131  30, 3, 208, 2, 0x0a /* Public */,
132  33, 1, 215, 2, 0x0a /* Public */,
133  35, 0, 218, 2, 0x0a /* Public */,
134  36, 0, 219, 2, 0x0a /* Public */,
135  37, 0, 220, 2, 0x0a /* Public */,
136  38, 0, 221, 2, 0x0a /* Public */,
137  39, 0, 222, 2, 0x0a /* Public */,
138  40, 0, 223, 2, 0x0a /* Public */,
139  41, 2, 224, 2, 0x0a /* Public */,
140  43, 0, 229, 2, 0x0a /* Public */,
141 
142  // signals: parameters
143  QMetaType::Void, QMetaType::Bool, 3,
144  QMetaType::Void,
145  QMetaType::Void,
146  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 7, 6, 8,
147  QMetaType::Void,
148  QMetaType::Void,
149  QMetaType::Void, QMetaType::QString, QMetaType::Int, 0x80000000 | 14, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, 12, 13, 15, 16, 17, 18, 19,
150  QMetaType::Void,
151 
152  // slots: parameters
153  QMetaType::Void,
154  QMetaType::Void,
155  QMetaType::Void,
156  QMetaType::Void, QMetaType::QString, 25,
157  QMetaType::Void,
158  QMetaType::Void, QMetaType::QString, 25,
159  QMetaType::Void,
160  QMetaType::Void, QMetaType::QString, 25,
161  QMetaType::Void,
162  QMetaType::Void, QMetaType::Bool, 29,
163  QMetaType::Void,
164  QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, 31, 32, 2,
165  QMetaType::Void, QMetaType::Bool, 34,
166  QMetaType::Void,
167  QMetaType::Void,
168  QMetaType::Void,
169  QMetaType::Void,
170  QMetaType::Void,
171  QMetaType::Void,
172  QMetaType::Void, QMetaType::QString, QMetaType::Int, 7, 42,
173  QMetaType::Void,
174 
175  0 // eod
176 };
177 
178 void WalletView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
179 {
180  if (_c == QMetaObject::InvokeMetaMethod) {
181  WalletView *_t = static_cast<WalletView *>(_o);
182  Q_UNUSED(_t)
183  switch (_id) {
184  case 0: _t->setPrivacy((*reinterpret_cast< bool(*)>(_a[1]))); break;
185  case 1: _t->transactionClicked(); break;
186  case 2: _t->coinsSent(); break;
187  case 3: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
188  case 4: _t->encryptionStatusChanged(); break;
189  case 5: _t->hdEnabledStatusChanged(); break;
190  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;
191  case 7: _t->outOfSyncWarningClicked(); break;
192  case 8: _t->gotoOverviewPage(); break;
193  case 9: _t->gotoHistoryPage(); break;
194  case 10: _t->gotoReceiveCoinsPage(); break;
195  case 11: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break;
196  case 12: _t->gotoSendCoinsPage(); break;
197  case 13: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
198  case 14: _t->gotoSignMessageTab(); break;
199  case 15: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
200  case 16: _t->gotoVerifyMessageTab(); break;
201  case 17: _t->gotoLoadPSBT((*reinterpret_cast< bool(*)>(_a[1]))); break;
202  case 18: _t->gotoLoadPSBT(); break;
203  case 19: _t->processNewTransaction((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
204  case 20: _t->encryptWallet((*reinterpret_cast< bool(*)>(_a[1]))); break;
205  case 21: _t->backupWallet(); break;
206  case 22: _t->changePassphrase(); break;
207  case 23: _t->unlockWallet(); break;
208  case 24: _t->usedSendingAddresses(); break;
209  case 25: _t->usedReceivingAddresses(); break;
210  case 26: _t->updateEncryptionStatus(); break;
211  case 27: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
212  case 28: _t->requestedSyncWarningInfo(); break;
213  default: ;
214  }
215  } else if (_c == QMetaObject::IndexOfMethod) {
216  int *result = reinterpret_cast<int *>(_a[0]);
217  void **func = reinterpret_cast<void **>(_a[1]);
218  {
219  typedef void (WalletView::*_t)(bool );
220  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::setPrivacy)) {
221  *result = 0;
222  return;
223  }
224  }
225  {
226  typedef void (WalletView::*_t)();
227  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::transactionClicked)) {
228  *result = 1;
229  return;
230  }
231  }
232  {
233  typedef void (WalletView::*_t)();
234  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::coinsSent)) {
235  *result = 2;
236  return;
237  }
238  }
239  {
240  typedef void (WalletView::*_t)(const QString & , const QString & , unsigned int );
241  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::message)) {
242  *result = 3;
243  return;
244  }
245  }
246  {
247  typedef void (WalletView::*_t)();
248  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::encryptionStatusChanged)) {
249  *result = 4;
250  return;
251  }
252  }
253  {
254  typedef void (WalletView::*_t)();
255  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::hdEnabledStatusChanged)) {
256  *result = 5;
257  return;
258  }
259  }
260  {
261  typedef void (WalletView::*_t)(const QString & , int , const CAmount & , const QString & , const QString & , const QString & , const QString & );
262  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::incomingTransaction)) {
263  *result = 6;
264  return;
265  }
266  }
267  {
268  typedef void (WalletView::*_t)();
269  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::outOfSyncWarningClicked)) {
270  *result = 7;
271  return;
272  }
273  }
274  }
275 }
276 
277 const QMetaObject WalletView::staticMetaObject = {
278  { &QStackedWidget::staticMetaObject, qt_meta_stringdata_WalletView.data,
279  qt_meta_data_WalletView, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
280 };
281 
282 
283 const QMetaObject *WalletView::metaObject() const
284 {
285  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
286 }
287 
288 void *WalletView::qt_metacast(const char *_clname)
289 {
290  if (!_clname) return Q_NULLPTR;
291  if (!strcmp(_clname, qt_meta_stringdata_WalletView.stringdata0))
292  return static_cast<void*>(const_cast< WalletView*>(this));
293  return QStackedWidget::qt_metacast(_clname);
294 }
295 
296 int WalletView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
297 {
298  _id = QStackedWidget::qt_metacall(_c, _id, _a);
299  if (_id < 0)
300  return _id;
301  if (_c == QMetaObject::InvokeMetaMethod) {
302  if (_id < 29)
303  qt_static_metacall(this, _c, _id, _a);
304  _id -= 29;
305  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
306  if (_id < 29)
307  *reinterpret_cast<int*>(_a[0]) = -1;
308  _id -= 29;
309  }
310  return _id;
311 }
312 
313 // SIGNAL 0
315 {
316  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
317  QMetaObject::activate(this, &staticMetaObject, 0, _a);
318 }
319 
320 // SIGNAL 1
322 {
323  QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
324 }
325 
326 // SIGNAL 2
328 {
329  QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
330 }
331 
332 // SIGNAL 3
333 void WalletView::message(const QString & _t1, const QString & _t2, unsigned int _t3)
334 {
335  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)) };
336  QMetaObject::activate(this, &staticMetaObject, 3, _a);
337 }
338 
339 // SIGNAL 4
341 {
342  QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
343 }
344 
345 // SIGNAL 5
347 {
348  QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
349 }
350 
351 // SIGNAL 6
352 void WalletView::incomingTransaction(const QString & _t1, int _t2, const CAmount & _t3, const QString & _t4, const QString & _t5, const QString & _t6, const QString & _t7)
353 {
354  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)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)), const_cast<void*>(reinterpret_cast<const void*>(&_t7)) };
355  QMetaObject::activate(this, &staticMetaObject, 6, _a);
356 }
357 
358 // SIGNAL 7
360 {
361  QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
362 }
363 QT_END_MOC_NAMESPACE
void gotoVerifyMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to verify message tab.
Definition: walletview.cpp:196
void usedSendingAddresses()
Show used sending addresses.
Definition: walletview.cpp:311
void changePassphrase()
Change encrypted wallet passphrase.
Definition: walletview.cpp:291
void setPrivacy(bool privacy)
void requestedSyncWarningInfo()
User has requested more information about the out of sync state.
Definition: walletview.cpp:351
void outOfSyncWarningClicked()
Notify that the out of sync warning icon has been pressed.
void gotoSendCoinsPage(QString addr="")
Switch to send coins page.
Definition: walletview.cpp:176
void updateEncryptionStatus()
Re-emit encryption status signal.
Definition: walletview.cpp:256
void processNewTransaction(const QModelIndex &parent, int start, int)
Show incoming transaction notification for new transactions.
Definition: walletview.cpp:141
int64_t CAmount
Amount in satoshis (Can be negative)
Definition: amount.h:12
void gotoHistoryPage()
Switch to history (transactions) page.
Definition: walletview.cpp:166
#define QT_MOC_LITERAL(idx, ofs, len)
void usedReceivingAddresses()
Show used receiving addresses.
Definition: walletview.cpp:319
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
void unlockWallet()
Ask for passphrase to unlock wallet temporarily.
Definition: walletview.cpp:298
static const qt_meta_stringdata_WalletView_t qt_meta_stringdata_WalletView
void backupWallet()
Backup the wallet.
Definition: walletview.cpp:272
void gotoOverviewPage()
Switch to overview (home) page.
Definition: walletview.cpp:161
void encryptionStatusChanged()
Encryption status of wallet changed.
void gotoSignMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to sign message tab.
Definition: walletview.cpp:184
void showProgress(const QString &title, int nProgress)
Show progress dialog e.g.
Definition: walletview.cpp:327
void gotoLoadPSBT(bool from_clipboard=false)
Load Partially Signed Bitcoin Transaction.
Definition: walletview.cpp:208
void hdEnabledStatusChanged()
HD-Enabled status of wallet changed (only possible during startup)
void encryptWallet(bool status)
Encrypt the wallet.
Definition: walletview.cpp:261
void gotoReceiveCoinsPage()
Switch to receive coins page.
Definition: walletview.cpp:171
void transactionClicked()
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.
static const uint qt_meta_data_WalletView[]