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