Anoncoin  0.9.4
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.2.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[33];
22  char stringdata[435];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  offsetof(qt_meta_stringdata_WalletView_t, stringdata) + ofs \
27  - idx * sizeof(QByteArrayData) \
28  )
29 static const qt_meta_stringdata_WalletView_t qt_meta_stringdata_WalletView = {
30  {
31 QT_MOC_LITERAL(0, 0, 10),
32 QT_MOC_LITERAL(1, 11, 21),
33 QT_MOC_LITERAL(2, 33, 0),
34 QT_MOC_LITERAL(3, 34, 7),
35 QT_MOC_LITERAL(4, 42, 5),
36 QT_MOC_LITERAL(5, 48, 5),
37 QT_MOC_LITERAL(6, 54, 23),
38 QT_MOC_LITERAL(7, 78, 6),
39 QT_MOC_LITERAL(8, 85, 19),
40 QT_MOC_LITERAL(9, 105, 4),
41 QT_MOC_LITERAL(10, 110, 4),
42 QT_MOC_LITERAL(11, 115, 6),
43 QT_MOC_LITERAL(12, 122, 4),
44 QT_MOC_LITERAL(13, 127, 7),
45 QT_MOC_LITERAL(14, 135, 16),
46 QT_MOC_LITERAL(15, 152, 15),
47 QT_MOC_LITERAL(16, 168, 20),
48 QT_MOC_LITERAL(17, 189, 17),
49 QT_MOC_LITERAL(18, 207, 4),
50 QT_MOC_LITERAL(19, 212, 18),
51 QT_MOC_LITERAL(20, 231, 20),
52 QT_MOC_LITERAL(21, 252, 21),
53 QT_MOC_LITERAL(22, 274, 6),
54 QT_MOC_LITERAL(23, 281, 5),
55 QT_MOC_LITERAL(24, 287, 13),
56 QT_MOC_LITERAL(25, 301, 12),
57 QT_MOC_LITERAL(26, 314, 16),
58 QT_MOC_LITERAL(27, 331, 12),
59 QT_MOC_LITERAL(28, 344, 20),
60 QT_MOC_LITERAL(29, 365, 22),
61 QT_MOC_LITERAL(30, 388, 22),
62 QT_MOC_LITERAL(31, 411, 12),
63 QT_MOC_LITERAL(32, 424, 9)
64  },
65  "WalletView\0showNormalIfMinimized\0\0"
66  "message\0title\0style\0encryptionStatusChanged\0"
67  "status\0incomingTransaction\0date\0unit\0"
68  "amount\0type\0address\0gotoOverviewPage\0"
69  "gotoHistoryPage\0gotoReceiveCoinsPage\0"
70  "gotoSendCoinsPage\0addr\0gotoSignMessageTab\0"
71  "gotoVerifyMessageTab\0processNewTransaction\0"
72  "parent\0start\0encryptWallet\0backupWallet\0"
73  "changePassphrase\0unlockWallet\0"
74  "usedSendingAddresses\0usedReceivingAddresses\0"
75  "updateEncryptionStatus\0showProgress\0"
76  "nProgress\0"
77 };
78 #undef QT_MOC_LITERAL
79 
80 static const uint qt_meta_data_WalletView[] = {
81 
82  // content:
83  7, // revision
84  0, // classname
85  0, 0, // classinfo
86  22, 14, // methods
87  0, 0, // properties
88  0, 0, // enums/sets
89  0, 0, // constructors
90  0, // flags
91  4, // signalCount
92 
93  // signals: name, argc, parameters, tag, flags
94  1, 0, 124, 2, 0x06,
95  3, 3, 125, 2, 0x06,
96  6, 1, 132, 2, 0x06,
97  8, 5, 135, 2, 0x06,
98 
99  // slots: name, argc, parameters, tag, flags
100  14, 0, 146, 2, 0x0a,
101  15, 0, 147, 2, 0x0a,
102  16, 0, 148, 2, 0x0a,
103  17, 1, 149, 2, 0x0a,
104  17, 0, 152, 2, 0x2a,
105  19, 1, 153, 2, 0x0a,
106  19, 0, 156, 2, 0x2a,
107  20, 1, 157, 2, 0x0a,
108  20, 0, 160, 2, 0x2a,
109  21, 3, 161, 2, 0x0a,
110  24, 1, 168, 2, 0x0a,
111  25, 0, 171, 2, 0x0a,
112  26, 0, 172, 2, 0x0a,
113  27, 0, 173, 2, 0x0a,
114  28, 0, 174, 2, 0x0a,
115  29, 0, 175, 2, 0x0a,
116  30, 0, 176, 2, 0x0a,
117  31, 2, 177, 2, 0x0a,
118 
119  // signals: parameters
120  QMetaType::Void,
121  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 4, 3, 5,
122  QMetaType::Void, QMetaType::Int, 7,
123  QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::LongLong, QMetaType::QString, QMetaType::QString, 9, 10, 11, 12, 13,
124 
125  // slots: parameters
126  QMetaType::Void,
127  QMetaType::Void,
128  QMetaType::Void,
129  QMetaType::Void, QMetaType::QString, 18,
130  QMetaType::Void,
131  QMetaType::Void, QMetaType::QString, 18,
132  QMetaType::Void,
133  QMetaType::Void, QMetaType::QString, 18,
134  QMetaType::Void,
135  QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, 22, 23, 2,
136  QMetaType::Void, QMetaType::Bool, 7,
137  QMetaType::Void,
138  QMetaType::Void,
139  QMetaType::Void,
140  QMetaType::Void,
141  QMetaType::Void,
142  QMetaType::Void,
143  QMetaType::Void, QMetaType::QString, QMetaType::Int, 4, 32,
144 
145  0 // eod
146 };
147 
148 void WalletView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
149 {
150  if (_c == QMetaObject::InvokeMetaMethod) {
151  WalletView *_t = static_cast<WalletView *>(_o);
152  switch (_id) {
153  case 0: _t->showNormalIfMinimized(); break;
154  case 1: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
155  case 2: _t->encryptionStatusChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
156  case 3: _t->incomingTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< qint64(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5]))); break;
157  case 4: _t->gotoOverviewPage(); break;
158  case 5: _t->gotoHistoryPage(); break;
159  case 6: _t->gotoReceiveCoinsPage(); break;
160  case 7: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break;
161  case 8: _t->gotoSendCoinsPage(); break;
162  case 9: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
163  case 10: _t->gotoSignMessageTab(); break;
164  case 11: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
165  case 12: _t->gotoVerifyMessageTab(); break;
166  case 13: _t->processNewTransaction((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
167  case 14: _t->encryptWallet((*reinterpret_cast< bool(*)>(_a[1]))); break;
168  case 15: _t->backupWallet(); break;
169  case 16: _t->changePassphrase(); break;
170  case 17: _t->unlockWallet(); break;
171  case 18: _t->usedSendingAddresses(); break;
172  case 19: _t->usedReceivingAddresses(); break;
173  case 20: _t->updateEncryptionStatus(); break;
174  case 21: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
175  default: ;
176  }
177  } else if (_c == QMetaObject::IndexOfMethod) {
178  int *result = reinterpret_cast<int *>(_a[0]);
179  void **func = reinterpret_cast<void **>(_a[1]);
180  {
181  typedef void (WalletView::*_t)();
182  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::showNormalIfMinimized)) {
183  *result = 0;
184  }
185  }
186  {
187  typedef void (WalletView::*_t)(const QString & , const QString & , unsigned int );
188  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::message)) {
189  *result = 1;
190  }
191  }
192  {
193  typedef void (WalletView::*_t)(int );
194  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::encryptionStatusChanged)) {
195  *result = 2;
196  }
197  }
198  {
199  typedef void (WalletView::*_t)(const QString & , int , qint64 , const QString & , const QString & );
200  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletView::incomingTransaction)) {
201  *result = 3;
202  }
203  }
204  }
205 }
206 
207 const QMetaObject WalletView::staticMetaObject = {
208  { &QStackedWidget::staticMetaObject, qt_meta_stringdata_WalletView.data,
209  qt_meta_data_WalletView, qt_static_metacall, 0, 0}
210 };
211 
212 
213 const QMetaObject *WalletView::metaObject() const
214 {
215  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
216 }
217 
218 void *WalletView::qt_metacast(const char *_clname)
219 {
220  if (!_clname) return 0;
221  if (!strcmp(_clname, qt_meta_stringdata_WalletView.stringdata))
222  return static_cast<void*>(const_cast< WalletView*>(this));
223  return QStackedWidget::qt_metacast(_clname);
224 }
225 
226 int WalletView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
227 {
228  _id = QStackedWidget::qt_metacall(_c, _id, _a);
229  if (_id < 0)
230  return _id;
231  if (_c == QMetaObject::InvokeMetaMethod) {
232  if (_id < 22)
233  qt_static_metacall(this, _c, _id, _a);
234  _id -= 22;
235  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
236  if (_id < 22)
237  *reinterpret_cast<int*>(_a[0]) = -1;
238  _id -= 22;
239  }
240  return _id;
241 }
242 
243 // SIGNAL 0
245 {
246  QMetaObject::activate(this, &staticMetaObject, 0, 0);
247 }
248 
249 // SIGNAL 1
250 void WalletView::message(const QString & _t1, const QString & _t2, unsigned int _t3)
251 {
252  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
253  QMetaObject::activate(this, &staticMetaObject, 1, _a);
254 }
255 
256 // SIGNAL 2
258 {
259  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
260  QMetaObject::activate(this, &staticMetaObject, 2, _a);
261 }
262 
263 // SIGNAL 3
264 void WalletView::incomingTransaction(const QString & _t1, int _t2, qint64 _t3, const QString & _t4, const QString & _t5)
265 {
266  void *_a[] = { 0, 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)) };
267  QMetaObject::activate(this, &staticMetaObject, 3, _a);
268 }
269 QT_END_MOC_NAMESPACE
void gotoVerifyMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to verify message tab.
Definition: walletview.cpp:189
void usedSendingAddresses()
Show used sending addresses.
Definition: walletview.cpp:266
void changePassphrase()
Change encrypted wallet passphrase.
Definition: walletview.cpp:246
void incomingTransaction(const QString &date, int unit, qint64 amount, const QString &type, const QString &address)
Notify that a new transaction appeared.
void gotoSendCoinsPage(QString addr="")
Switch to send coins page.
Definition: walletview.cpp:169
void updateEncryptionStatus()
Re-emit encryption status signal.
Definition: walletview.cpp:211
void processNewTransaction(const QModelIndex &parent, int start, int)
Show incoming transaction notification for new transactions.
Definition: walletview.cpp:138
void gotoHistoryPage()
Switch to history (transactions) page.
Definition: walletview.cpp:159
#define QT_MOC_LITERAL(idx, ofs, len)
void usedReceivingAddresses()
Show used receiving addresses.
Definition: walletview.cpp:276
void encryptionStatusChanged(int status)
Encryption status of wallet changed.
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:253
void showNormalIfMinimized()
Signal that we want to show the main window.
void backupWallet()
Backup the wallet.
Definition: walletview.cpp:227
void gotoOverviewPage()
Switch to overview (home) page.
Definition: walletview.cpp:154
void gotoSignMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to sign message tab.
Definition: walletview.cpp:177
void showProgress(const QString &title, int nProgress)
Show progress dialog e.g.
Definition: walletview.cpp:286
void encryptWallet(bool status)
Encrypt the wallet.
Definition: walletview.cpp:216
void gotoReceiveCoinsPage()
Switch to receive coins page.
Definition: walletview.cpp:164