Bitcoin Core  27.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[42];
25  char stringdata0[534];
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 QT_MOC_LITERAL(40, 503, 22), // "disableTransactionView"
75 QT_MOC_LITERAL(41, 526, 7) // "disable"
76 
77  },
78  "WalletView\0setPrivacy\0\0privacy\0"
79  "transactionClicked\0coinsSent\0message\0"
80  "title\0style\0encryptionStatusChanged\0"
81  "incomingTransaction\0date\0BitcoinUnit\0"
82  "unit\0CAmount\0amount\0type\0address\0label\0"
83  "walletName\0outOfSyncWarningClicked\0"
84  "gotoOverviewPage\0gotoHistoryPage\0"
85  "gotoReceiveCoinsPage\0gotoSendCoinsPage\0"
86  "addr\0gotoSignMessageTab\0gotoVerifyMessageTab\0"
87  "processNewTransaction\0QModelIndex\0"
88  "parent\0start\0encryptWallet\0backupWallet\0"
89  "changePassphrase\0unlockWallet\0"
90  "usedSendingAddresses\0usedReceivingAddresses\0"
91  "showProgress\0nProgress\0disableTransactionView\0"
92  "disable"
93 };
94 #undef QT_MOC_LITERAL
95 
96 static const uint qt_meta_data_WalletView[] = {
97 
98  // content:
99  8, // revision
100  0, // classname
101  0, 0, // classinfo
102  25, 14, // methods
103  0, 0, // properties
104  0, 0, // enums/sets
105  0, 0, // constructors
106  0, // flags
107  7, // signalCount
108 
109  // signals: name, argc, parameters, tag, flags
110  1, 1, 139, 2, 0x06 /* Public */,
111  4, 0, 142, 2, 0x06 /* Public */,
112  5, 0, 143, 2, 0x06 /* Public */,
113  6, 3, 144, 2, 0x06 /* Public */,
114  9, 0, 151, 2, 0x06 /* Public */,
115  10, 7, 152, 2, 0x06 /* Public */,
116  20, 0, 167, 2, 0x06 /* Public */,
117 
118  // slots: name, argc, parameters, tag, flags
119  21, 0, 168, 2, 0x0a /* Public */,
120  22, 0, 169, 2, 0x0a /* Public */,
121  23, 0, 170, 2, 0x0a /* Public */,
122  24, 1, 171, 2, 0x0a /* Public */,
123  24, 0, 174, 2, 0x2a /* Public | MethodCloned */,
124  26, 1, 175, 2, 0x0a /* Public */,
125  26, 0, 178, 2, 0x2a /* Public | MethodCloned */,
126  27, 1, 179, 2, 0x0a /* Public */,
127  27, 0, 182, 2, 0x2a /* Public | MethodCloned */,
128  28, 3, 183, 2, 0x0a /* Public */,
129  32, 0, 190, 2, 0x0a /* Public */,
130  33, 0, 191, 2, 0x0a /* Public */,
131  34, 0, 192, 2, 0x0a /* Public */,
132  35, 0, 193, 2, 0x0a /* Public */,
133  36, 0, 194, 2, 0x0a /* Public */,
134  37, 0, 195, 2, 0x0a /* Public */,
135  38, 2, 196, 2, 0x0a /* Public */,
136  40, 1, 201, 2, 0x08 /* Private */,
137 
138  // signals: parameters
139  QMetaType::Void, QMetaType::Bool, 3,
140  QMetaType::Void,
141  QMetaType::Void,
142  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 7, 6, 8,
143  QMetaType::Void,
144  QMetaType::Void, QMetaType::QString, 0x80000000 | 12, 0x80000000 | 14, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, 11, 13, 15, 16, 17, 18, 19,
145  QMetaType::Void,
146 
147  // slots: parameters
148  QMetaType::Void,
149  QMetaType::Void,
150  QMetaType::Void,
151  QMetaType::Void, QMetaType::QString, 25,
152  QMetaType::Void,
153  QMetaType::Void, QMetaType::QString, 25,
154  QMetaType::Void,
155  QMetaType::Void, QMetaType::QString, 25,
156  QMetaType::Void,
157  QMetaType::Void, 0x80000000 | 29, QMetaType::Int, QMetaType::Int, 30, 31, 2,
158  QMetaType::Void,
159  QMetaType::Void,
160  QMetaType::Void,
161  QMetaType::Void,
162  QMetaType::Void,
163  QMetaType::Void,
164  QMetaType::Void, QMetaType::QString, QMetaType::Int, 7, 39,
165  QMetaType::Void, QMetaType::Bool, 41,
166 
167  0 // eod
168 };
169 
170 void WalletView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
171 {
172  if (_c == QMetaObject::InvokeMetaMethod) {
173  auto *_t = static_cast<WalletView *>(_o);
174  Q_UNUSED(_t)
175  switch (_id) {
176  case 0: _t->setPrivacy((*reinterpret_cast< bool(*)>(_a[1]))); break;
177  case 1: _t->transactionClicked(); break;
178  case 2: _t->coinsSent(); break;
179  case 3: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
180  case 4: _t->encryptionStatusChanged(); break;
181  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;
182  case 6: _t->outOfSyncWarningClicked(); break;
183  case 7: _t->gotoOverviewPage(); break;
184  case 8: _t->gotoHistoryPage(); break;
185  case 9: _t->gotoReceiveCoinsPage(); break;
186  case 10: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break;
187  case 11: _t->gotoSendCoinsPage(); break;
188  case 12: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
189  case 13: _t->gotoSignMessageTab(); break;
190  case 14: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
191  case 15: _t->gotoVerifyMessageTab(); break;
192  case 16: _t->processNewTransaction((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
193  case 17: _t->encryptWallet(); break;
194  case 18: _t->backupWallet(); break;
195  case 19: _t->changePassphrase(); break;
196  case 20: _t->unlockWallet(); break;
197  case 21: _t->usedSendingAddresses(); break;
198  case 22: _t->usedReceivingAddresses(); break;
199  case 23: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
200  case 24: _t->disableTransactionView((*reinterpret_cast< bool(*)>(_a[1]))); break;
201  default: ;
202  }
203  } else if (_c == QMetaObject::IndexOfMethod) {
204  int *result = reinterpret_cast<int *>(_a[0]);
205  {
206  using _t = void (WalletView::*)(bool );
207  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::setPrivacy)) {
208  *result = 0;
209  return;
210  }
211  }
212  {
213  using _t = void (WalletView::*)();
214  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::transactionClicked)) {
215  *result = 1;
216  return;
217  }
218  }
219  {
220  using _t = void (WalletView::*)();
221  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::coinsSent)) {
222  *result = 2;
223  return;
224  }
225  }
226  {
227  using _t = void (WalletView::*)(const QString & , const QString & , unsigned int );
228  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::message)) {
229  *result = 3;
230  return;
231  }
232  }
233  {
234  using _t = void (WalletView::*)();
235  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::encryptionStatusChanged)) {
236  *result = 4;
237  return;
238  }
239  }
240  {
241  using _t = void (WalletView::*)(const QString & , BitcoinUnit , const CAmount & , const QString & , const QString & , const QString & , const QString & );
242  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::incomingTransaction)) {
243  *result = 5;
244  return;
245  }
246  }
247  {
248  using _t = void (WalletView::*)();
249  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::outOfSyncWarningClicked)) {
250  *result = 6;
251  return;
252  }
253  }
254  }
255 }
256 
257 QT_INIT_METAOBJECT const QMetaObject WalletView::staticMetaObject = { {
258  &QStackedWidget::staticMetaObject,
261  qt_static_metacall,
262  nullptr,
263  nullptr
264 } };
265 
266 
267 const QMetaObject *WalletView::metaObject() const
268 {
269  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
270 }
271 
272 void *WalletView::qt_metacast(const char *_clname)
273 {
274  if (!_clname) return nullptr;
275  if (!strcmp(_clname, qt_meta_stringdata_WalletView.stringdata0))
276  return static_cast<void*>(this);
277  return QStackedWidget::qt_metacast(_clname);
278 }
279 
280 int WalletView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
281 {
282  _id = QStackedWidget::qt_metacall(_c, _id, _a);
283  if (_id < 0)
284  return _id;
285  if (_c == QMetaObject::InvokeMetaMethod) {
286  if (_id < 25)
287  qt_static_metacall(this, _c, _id, _a);
288  _id -= 25;
289  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
290  if (_id < 25)
291  *reinterpret_cast<int*>(_a[0]) = -1;
292  _id -= 25;
293  }
294  return _id;
295 }
296 
297 // SIGNAL 0
299 {
300  void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
301  QMetaObject::activate(this, &staticMetaObject, 0, _a);
302 }
303 
304 // SIGNAL 1
306 {
307  QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
308 }
309 
310 // SIGNAL 2
312 {
313  QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
314 }
315 
316 // SIGNAL 3
317 void WalletView::message(const QString & _t1, const QString & _t2, unsigned int _t3)
318 {
319  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)) };
320  QMetaObject::activate(this, &staticMetaObject, 3, _a);
321 }
322 
323 // SIGNAL 4
325 {
326  QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
327 }
328 
329 // SIGNAL 5
330 void WalletView::incomingTransaction(const QString & _t1, BitcoinUnit _t2, const CAmount & _t3, const QString & _t4, const QString & _t5, const QString & _t6, const QString & _t7)
331 {
332  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)) };
333  QMetaObject::activate(this, &staticMetaObject, 5, _a);
334 }
335 
336 // SIGNAL 6
338 {
339  QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
340 }
341 QT_WARNING_POP
342 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[]