Bitcoin Core  24.1.0
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 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
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.12.7. 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[40];
25  char stringdata0[503];
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, 19), // "incomingTransaction"
45 QT_MOC_LITERAL(11, 124, 4), // "date"
46 QT_MOC_LITERAL(12, 129, 11), // "BitcoinUnit"
47 QT_MOC_LITERAL(13, 141, 4), // "unit"
48 QT_MOC_LITERAL(14, 146, 7), // "CAmount"
49 QT_MOC_LITERAL(15, 154, 6), // "amount"
50 QT_MOC_LITERAL(16, 161, 4), // "type"
51 QT_MOC_LITERAL(17, 166, 7), // "address"
52 QT_MOC_LITERAL(18, 174, 5), // "label"
53 QT_MOC_LITERAL(19, 180, 10), // "walletName"
54 QT_MOC_LITERAL(20, 191, 23), // "outOfSyncWarningClicked"
55 QT_MOC_LITERAL(21, 215, 16), // "gotoOverviewPage"
56 QT_MOC_LITERAL(22, 232, 15), // "gotoHistoryPage"
57 QT_MOC_LITERAL(23, 248, 20), // "gotoReceiveCoinsPage"
58 QT_MOC_LITERAL(24, 269, 17), // "gotoSendCoinsPage"
59 QT_MOC_LITERAL(25, 287, 4), // "addr"
60 QT_MOC_LITERAL(26, 292, 18), // "gotoSignMessageTab"
61 QT_MOC_LITERAL(27, 311, 20), // "gotoVerifyMessageTab"
62 QT_MOC_LITERAL(28, 332, 21), // "processNewTransaction"
63 QT_MOC_LITERAL(29, 354, 11), // "QModelIndex"
64 QT_MOC_LITERAL(30, 366, 6), // "parent"
65 QT_MOC_LITERAL(31, 373, 5), // "start"
66 QT_MOC_LITERAL(32, 379, 13), // "encryptWallet"
67 QT_MOC_LITERAL(33, 393, 12), // "backupWallet"
68 QT_MOC_LITERAL(34, 406, 16), // "changePassphrase"
69 QT_MOC_LITERAL(35, 423, 12), // "unlockWallet"
70 QT_MOC_LITERAL(36, 436, 20), // "usedSendingAddresses"
71 QT_MOC_LITERAL(37, 457, 22), // "usedReceivingAddresses"
72 QT_MOC_LITERAL(38, 480, 12), // "showProgress"
73 QT_MOC_LITERAL(39, 493, 9) // "nProgress"
74 
75  },
76  "WalletView\0setPrivacy\0\0privacy\0"
77  "transactionClicked\0coinsSent\0message\0"
78  "title\0style\0encryptionStatusChanged\0"
79  "incomingTransaction\0date\0BitcoinUnit\0"
80  "unit\0CAmount\0amount\0type\0address\0label\0"
81  "walletName\0outOfSyncWarningClicked\0"
82  "gotoOverviewPage\0gotoHistoryPage\0"
83  "gotoReceiveCoinsPage\0gotoSendCoinsPage\0"
84  "addr\0gotoSignMessageTab\0gotoVerifyMessageTab\0"
85  "processNewTransaction\0QModelIndex\0"
86  "parent\0start\0encryptWallet\0backupWallet\0"
87  "changePassphrase\0unlockWallet\0"
88  "usedSendingAddresses\0usedReceivingAddresses\0"
89  "showProgress\0nProgress"
90 };
91 #undef QT_MOC_LITERAL
92 
93 static const uint qt_meta_data_WalletView[] = {
94 
95  // content:
96  8, // revision
97  0, // classname
98  0, 0, // classinfo
99  24, 14, // methods
100  0, 0, // properties
101  0, 0, // enums/sets
102  0, 0, // constructors
103  0, // flags
104  7, // signalCount
105 
106  // signals: name, argc, parameters, tag, flags
107  1, 1, 134, 2, 0x06 /* Public */,
108  4, 0, 137, 2, 0x06 /* Public */,
109  5, 0, 138, 2, 0x06 /* Public */,
110  6, 3, 139, 2, 0x06 /* Public */,
111  9, 0, 146, 2, 0x06 /* Public */,
112  10, 7, 147, 2, 0x06 /* Public */,
113  20, 0, 162, 2, 0x06 /* Public */,
114 
115  // slots: name, argc, parameters, tag, flags
116  21, 0, 163, 2, 0x0a /* Public */,
117  22, 0, 164, 2, 0x0a /* Public */,
118  23, 0, 165, 2, 0x0a /* Public */,
119  24, 1, 166, 2, 0x0a /* Public */,
120  24, 0, 169, 2, 0x2a /* Public | MethodCloned */,
121  26, 1, 170, 2, 0x0a /* Public */,
122  26, 0, 173, 2, 0x2a /* Public | MethodCloned */,
123  27, 1, 174, 2, 0x0a /* Public */,
124  27, 0, 177, 2, 0x2a /* Public | MethodCloned */,
125  28, 3, 178, 2, 0x0a /* Public */,
126  32, 0, 185, 2, 0x0a /* Public */,
127  33, 0, 186, 2, 0x0a /* Public */,
128  34, 0, 187, 2, 0x0a /* Public */,
129  35, 0, 188, 2, 0x0a /* Public */,
130  36, 0, 189, 2, 0x0a /* Public */,
131  37, 0, 190, 2, 0x0a /* Public */,
132  38, 2, 191, 2, 0x0a /* Public */,
133 
134  // signals: parameters
135  QMetaType::Void, QMetaType::Bool, 3,
136  QMetaType::Void,
137  QMetaType::Void,
138  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 7, 6, 8,
139  QMetaType::Void,
140  QMetaType::Void, QMetaType::QString, 0x80000000 | 12, 0x80000000 | 14, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, 11, 13, 15, 16, 17, 18, 19,
141  QMetaType::Void,
142 
143  // slots: parameters
144  QMetaType::Void,
145  QMetaType::Void,
146  QMetaType::Void,
147  QMetaType::Void, QMetaType::QString, 25,
148  QMetaType::Void,
149  QMetaType::Void, QMetaType::QString, 25,
150  QMetaType::Void,
151  QMetaType::Void, QMetaType::QString, 25,
152  QMetaType::Void,
153  QMetaType::Void, 0x80000000 | 29, QMetaType::Int, QMetaType::Int, 30, 31, 2,
154  QMetaType::Void,
155  QMetaType::Void,
156  QMetaType::Void,
157  QMetaType::Void,
158  QMetaType::Void,
159  QMetaType::Void,
160  QMetaType::Void, QMetaType::QString, QMetaType::Int, 7, 39,
161 
162  0 // eod
163 };
164 
165 void WalletView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
166 {
167  if (_c == QMetaObject::InvokeMetaMethod) {
168  auto *_t = static_cast<WalletView *>(_o);
169  Q_UNUSED(_t)
170  switch (_id) {
171  case 0: _t->setPrivacy((*reinterpret_cast< bool(*)>(_a[1]))); break;
172  case 1: _t->transactionClicked(); break;
173  case 2: _t->coinsSent(); break;
174  case 3: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
175  case 4: _t->encryptionStatusChanged(); break;
176  case 5: _t->incomingTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< BitcoinUnit(*)>(_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;
177  case 6: _t->outOfSyncWarningClicked(); break;
178  case 7: _t->gotoOverviewPage(); break;
179  case 8: _t->gotoHistoryPage(); break;
180  case 9: _t->gotoReceiveCoinsPage(); break;
181  case 10: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break;
182  case 11: _t->gotoSendCoinsPage(); break;
183  case 12: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
184  case 13: _t->gotoSignMessageTab(); break;
185  case 14: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
186  case 15: _t->gotoVerifyMessageTab(); break;
187  case 16: _t->processNewTransaction((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
188  case 17: _t->encryptWallet(); break;
189  case 18: _t->backupWallet(); break;
190  case 19: _t->changePassphrase(); break;
191  case 20: _t->unlockWallet(); break;
192  case 21: _t->usedSendingAddresses(); break;
193  case 22: _t->usedReceivingAddresses(); break;
194  case 23: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
195  default: ;
196  }
197  } else if (_c == QMetaObject::IndexOfMethod) {
198  int *result = reinterpret_cast<int *>(_a[0]);
199  {
200  using _t = void (WalletView::*)(bool );
201  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::setPrivacy)) {
202  *result = 0;
203  return;
204  }
205  }
206  {
207  using _t = void (WalletView::*)();
208  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::transactionClicked)) {
209  *result = 1;
210  return;
211  }
212  }
213  {
214  using _t = void (WalletView::*)();
215  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::coinsSent)) {
216  *result = 2;
217  return;
218  }
219  }
220  {
221  using _t = void (WalletView::*)(const QString & , const QString & , unsigned int );
222  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::message)) {
223  *result = 3;
224  return;
225  }
226  }
227  {
228  using _t = void (WalletView::*)();
229  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::encryptionStatusChanged)) {
230  *result = 4;
231  return;
232  }
233  }
234  {
235  using _t = void (WalletView::*)(const QString & , BitcoinUnit , const CAmount & , const QString & , const QString & , const QString & , const QString & );
236  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::incomingTransaction)) {
237  *result = 5;
238  return;
239  }
240  }
241  {
242  using _t = void (WalletView::*)();
243  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::outOfSyncWarningClicked)) {
244  *result = 6;
245  return;
246  }
247  }
248  }
249 }
250 
251 QT_INIT_METAOBJECT const QMetaObject WalletView::staticMetaObject = { {
252  &QStackedWidget::staticMetaObject,
255  qt_static_metacall,
256  nullptr,
257  nullptr
258 } };
259 
260 
261 const QMetaObject *WalletView::metaObject() const
262 {
263  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
264 }
265 
266 void *WalletView::qt_metacast(const char *_clname)
267 {
268  if (!_clname) return nullptr;
269  if (!strcmp(_clname, qt_meta_stringdata_WalletView.stringdata0))
270  return static_cast<void*>(this);
271  return QStackedWidget::qt_metacast(_clname);
272 }
273 
274 int WalletView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
275 {
276  _id = QStackedWidget::qt_metacall(_c, _id, _a);
277  if (_id < 0)
278  return _id;
279  if (_c == QMetaObject::InvokeMetaMethod) {
280  if (_id < 24)
281  qt_static_metacall(this, _c, _id, _a);
282  _id -= 24;
283  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
284  if (_id < 24)
285  *reinterpret_cast<int*>(_a[0]) = -1;
286  _id -= 24;
287  }
288  return _id;
289 }
290 
291 // SIGNAL 0
293 {
294  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
295  QMetaObject::activate(this, &staticMetaObject, 0, _a);
296 }
297 
298 // SIGNAL 1
300 {
301  QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
302 }
303 
304 // SIGNAL 2
306 {
307  QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
308 }
309 
310 // SIGNAL 3
311 void WalletView::message(const QString & _t1, const QString & _t2, unsigned int _t3)
312 {
313  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)) };
314  QMetaObject::activate(this, &staticMetaObject, 3, _a);
315 }
316 
317 // SIGNAL 4
319 {
320  QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
321 }
322 
323 // SIGNAL 5
324 void WalletView::incomingTransaction(const QString & _t1, BitcoinUnit _t2, const CAmount & _t3, const QString & _t4, const QString & _t5, const QString & _t6, const QString & _t7)
325 {
326  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)) };
327  QMetaObject::activate(this, &staticMetaObject, 5, _a);
328 }
329 
330 // SIGNAL 6
332 {
333  QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
334 }
335 QT_WARNING_POP
336 QT_END_MOC_NAMESPACE
Unit
Bitcoin units.
Definition: bitcoinunits.h:42
BitcoinUnits::Unit BitcoinUnit
Definition: bitcoinunits.h:111
void setPrivacy(bool privacy)
void outOfSyncWarningClicked()
Notify that the out of sync warning icon has been pressed.
int64_t CAmount
Amount in satoshis (Can be negative)
Definition: amount.h:12
#define QT_MOC_LITERAL(idx, ofs, len)
void incomingTransaction(const QString &date, BitcoinUnit unit, const CAmount &amount, const QString &type, const QString &address, const QString &label, const QString &walletName)
Notify that a new transaction appeared.
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
static const qt_meta_stringdata_WalletView_t qt_meta_stringdata_WalletView
void encryptionStatusChanged()
Encryption status of wallet changed.
void transactionClicked()
static const uint qt_meta_data_WalletView[]