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