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