Dash Core  0.12.2.1
P2P Digital Currency
moc_walletmodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'walletmodel.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/walletmodel.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'walletmodel.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[37];
22  char stringdata0[479];
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_WalletModel_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
30  {
31 QT_MOC_LITERAL(0, 0, 11), // "WalletModel"
32 QT_MOC_LITERAL(1, 12, 14), // "balanceChanged"
33 QT_MOC_LITERAL(2, 27, 0), // ""
34 QT_MOC_LITERAL(3, 28, 7), // "CAmount"
35 QT_MOC_LITERAL(4, 36, 7), // "balance"
36 QT_MOC_LITERAL(5, 44, 18), // "unconfirmedBalance"
37 QT_MOC_LITERAL(6, 63, 15), // "immatureBalance"
38 QT_MOC_LITERAL(7, 79, 17), // "anonymizedBalance"
39 QT_MOC_LITERAL(8, 97, 16), // "watchOnlyBalance"
40 QT_MOC_LITERAL(9, 114, 18), // "watchUnconfBalance"
41 QT_MOC_LITERAL(10, 133, 20), // "watchImmatureBalance"
42 QT_MOC_LITERAL(11, 154, 23), // "encryptionStatusChanged"
43 QT_MOC_LITERAL(12, 178, 6), // "status"
44 QT_MOC_LITERAL(13, 185, 13), // "requireUnlock"
45 QT_MOC_LITERAL(14, 199, 14), // "fForMixingOnly"
46 QT_MOC_LITERAL(15, 214, 7), // "message"
47 QT_MOC_LITERAL(16, 222, 5), // "title"
48 QT_MOC_LITERAL(17, 228, 5), // "style"
49 QT_MOC_LITERAL(18, 234, 9), // "coinsSent"
50 QT_MOC_LITERAL(19, 244, 8), // "CWallet*"
51 QT_MOC_LITERAL(20, 253, 6), // "wallet"
52 QT_MOC_LITERAL(21, 260, 18), // "SendCoinsRecipient"
53 QT_MOC_LITERAL(22, 279, 9), // "recipient"
54 QT_MOC_LITERAL(23, 289, 11), // "transaction"
55 QT_MOC_LITERAL(24, 301, 12), // "showProgress"
56 QT_MOC_LITERAL(25, 314, 9), // "nProgress"
57 QT_MOC_LITERAL(26, 324, 22), // "notifyWatchonlyChanged"
58 QT_MOC_LITERAL(27, 347, 14), // "fHaveWatchonly"
59 QT_MOC_LITERAL(28, 362, 12), // "updateStatus"
60 QT_MOC_LITERAL(29, 375, 17), // "updateTransaction"
61 QT_MOC_LITERAL(30, 393, 17), // "updateAddressBook"
62 QT_MOC_LITERAL(31, 411, 7), // "address"
63 QT_MOC_LITERAL(32, 419, 5), // "label"
64 QT_MOC_LITERAL(33, 425, 6), // "isMine"
65 QT_MOC_LITERAL(34, 432, 7), // "purpose"
66 QT_MOC_LITERAL(35, 440, 19), // "updateWatchOnlyFlag"
67 QT_MOC_LITERAL(36, 460, 18) // "pollBalanceChanged"
68 
69  },
70  "WalletModel\0balanceChanged\0\0CAmount\0"
71  "balance\0unconfirmedBalance\0immatureBalance\0"
72  "anonymizedBalance\0watchOnlyBalance\0"
73  "watchUnconfBalance\0watchImmatureBalance\0"
74  "encryptionStatusChanged\0status\0"
75  "requireUnlock\0fForMixingOnly\0message\0"
76  "title\0style\0coinsSent\0CWallet*\0wallet\0"
77  "SendCoinsRecipient\0recipient\0transaction\0"
78  "showProgress\0nProgress\0notifyWatchonlyChanged\0"
79  "fHaveWatchonly\0updateStatus\0"
80  "updateTransaction\0updateAddressBook\0"
81  "address\0label\0isMine\0purpose\0"
82  "updateWatchOnlyFlag\0pollBalanceChanged"
83 };
84 #undef QT_MOC_LITERAL
85 
86 static const uint qt_meta_data_WalletModel[] = {
87 
88  // content:
89  7, // revision
90  0, // classname
91  0, 0, // classinfo
92  13, 14, // methods
93  0, 0, // properties
94  0, 0, // enums/sets
95  0, 0, // constructors
96  0, // flags
97  8, // signalCount
98 
99  // signals: name, argc, parameters, tag, flags
100  1, 7, 79, 2, 0x06 /* Public */,
101  11, 1, 94, 2, 0x06 /* Public */,
102  13, 1, 97, 2, 0x06 /* Public */,
103  13, 0, 100, 2, 0x26 /* Public | MethodCloned */,
104  15, 3, 101, 2, 0x06 /* Public */,
105  18, 3, 108, 2, 0x06 /* Public */,
106  24, 2, 115, 2, 0x06 /* Public */,
107  26, 1, 120, 2, 0x06 /* Public */,
108 
109  // slots: name, argc, parameters, tag, flags
110  28, 0, 123, 2, 0x0a /* Public */,
111  29, 0, 124, 2, 0x0a /* Public */,
112  30, 5, 125, 2, 0x0a /* Public */,
113  35, 1, 136, 2, 0x0a /* Public */,
114  36, 0, 139, 2, 0x0a /* Public */,
115 
116  // signals: parameters
117  QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 4, 5, 6, 7, 8, 9, 10,
118  QMetaType::Void, QMetaType::Int, 12,
119  QMetaType::Void, QMetaType::Bool, 14,
120  QMetaType::Void,
121  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 16, 15, 17,
122  QMetaType::Void, 0x80000000 | 19, 0x80000000 | 21, QMetaType::QByteArray, 20, 22, 23,
123  QMetaType::Void, QMetaType::QString, QMetaType::Int, 16, 25,
124  QMetaType::Void, QMetaType::Bool, 27,
125 
126  // slots: parameters
127  QMetaType::Void,
128  QMetaType::Void,
129  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 31, 32, 33, 34, 12,
130  QMetaType::Void, QMetaType::Bool, 27,
131  QMetaType::Void,
132 
133  0 // eod
134 };
135 
136 void WalletModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
137 {
138  if (_c == QMetaObject::InvokeMetaMethod) {
139  WalletModel *_t = static_cast<WalletModel *>(_o);
140  Q_UNUSED(_t)
141  switch (_id) {
142  case 0: _t->balanceChanged((*reinterpret_cast< const CAmount(*)>(_a[1])),(*reinterpret_cast< const CAmount(*)>(_a[2])),(*reinterpret_cast< const CAmount(*)>(_a[3])),(*reinterpret_cast< const CAmount(*)>(_a[4])),(*reinterpret_cast< const CAmount(*)>(_a[5])),(*reinterpret_cast< const CAmount(*)>(_a[6])),(*reinterpret_cast< const CAmount(*)>(_a[7]))); break;
143  case 1: _t->encryptionStatusChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
144  case 2: _t->requireUnlock((*reinterpret_cast< bool(*)>(_a[1]))); break;
145  case 3: _t->requireUnlock(); break;
146  case 4: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
147  case 5: _t->coinsSent((*reinterpret_cast< CWallet*(*)>(_a[1])),(*reinterpret_cast< SendCoinsRecipient(*)>(_a[2])),(*reinterpret_cast< QByteArray(*)>(_a[3]))); break;
148  case 6: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
149  case 7: _t->notifyWatchonlyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
150  case 8: _t->updateStatus(); break;
151  case 9: _t->updateTransaction(); break;
152  case 10: _t->updateAddressBook((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
153  case 11: _t->updateWatchOnlyFlag((*reinterpret_cast< bool(*)>(_a[1]))); break;
154  case 12: _t->pollBalanceChanged(); break;
155  default: ;
156  }
157  } else if (_c == QMetaObject::IndexOfMethod) {
158  int *result = reinterpret_cast<int *>(_a[0]);
159  void **func = reinterpret_cast<void **>(_a[1]);
160  {
161  typedef void (WalletModel::*_t)(const CAmount & , const CAmount & , const CAmount & , const CAmount & , const CAmount & , const CAmount & , const CAmount & );
162  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletModel::balanceChanged)) {
163  *result = 0;
164  }
165  }
166  {
167  typedef void (WalletModel::*_t)(int );
168  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletModel::encryptionStatusChanged)) {
169  *result = 1;
170  }
171  }
172  {
173  typedef void (WalletModel::*_t)(bool );
174  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletModel::requireUnlock)) {
175  *result = 2;
176  }
177  }
178  {
179  typedef void (WalletModel::*_t)(const QString & , const QString & , unsigned int );
180  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletModel::message)) {
181  *result = 4;
182  }
183  }
184  {
185  typedef void (WalletModel::*_t)(CWallet * , SendCoinsRecipient , QByteArray );
186  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletModel::coinsSent)) {
187  *result = 5;
188  }
189  }
190  {
191  typedef void (WalletModel::*_t)(const QString & , int );
192  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletModel::showProgress)) {
193  *result = 6;
194  }
195  }
196  {
197  typedef void (WalletModel::*_t)(bool );
198  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WalletModel::notifyWatchonlyChanged)) {
199  *result = 7;
200  }
201  }
202  }
203 }
204 
205 const QMetaObject WalletModel::staticMetaObject = {
206  { &QObject::staticMetaObject, qt_meta_stringdata_WalletModel.data,
207  qt_meta_data_WalletModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
208 };
209 
210 
211 const QMetaObject *WalletModel::metaObject() const
212 {
213  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
214 }
215 
216 void *WalletModel::qt_metacast(const char *_clname)
217 {
218  if (!_clname) return Q_NULLPTR;
219  if (!strcmp(_clname, qt_meta_stringdata_WalletModel.stringdata0))
220  return static_cast<void*>(const_cast< WalletModel*>(this));
221  return QObject::qt_metacast(_clname);
222 }
223 
224 int WalletModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
225 {
226  _id = QObject::qt_metacall(_c, _id, _a);
227  if (_id < 0)
228  return _id;
229  if (_c == QMetaObject::InvokeMetaMethod) {
230  if (_id < 13)
231  qt_static_metacall(this, _c, _id, _a);
232  _id -= 13;
233  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
234  if (_id < 13)
235  *reinterpret_cast<int*>(_a[0]) = -1;
236  _id -= 13;
237  }
238  return _id;
239 }
240 
241 // SIGNAL 0
242 void WalletModel::balanceChanged(const CAmount & _t1, const CAmount & _t2, const CAmount & _t3, const CAmount & _t4, const CAmount & _t5, const CAmount & _t6, const CAmount & _t7)
243 {
244  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)), const_cast<void*>(reinterpret_cast<const void*>(&_t7)) };
245  QMetaObject::activate(this, &staticMetaObject, 0, _a);
246 }
247 
248 // SIGNAL 1
250 {
251  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
252  QMetaObject::activate(this, &staticMetaObject, 1, _a);
253 }
254 
255 // SIGNAL 2
257 {
258  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
259  QMetaObject::activate(this, &staticMetaObject, 2, _a);
260 }
261 
262 // SIGNAL 4
263 void WalletModel::message(const QString & _t1, const QString & _t2, unsigned int _t3)
264 {
265  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)) };
266  QMetaObject::activate(this, &staticMetaObject, 4, _a);
267 }
268 
269 // SIGNAL 5
270 void WalletModel::coinsSent(CWallet * _t1, SendCoinsRecipient _t2, QByteArray _t3)
271 {
272  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)) };
273  QMetaObject::activate(this, &staticMetaObject, 5, _a);
274 }
275 
276 // SIGNAL 6
277 void WalletModel::showProgress(const QString & _t1, int _t2)
278 {
279  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
280  QMetaObject::activate(this, &staticMetaObject, 6, _a);
281 }
282 
283 // SIGNAL 7
285 {
286  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
287  QMetaObject::activate(this, &staticMetaObject, 7, _a);
288 }
289 QT_END_MOC_NAMESPACE
void encryptionStatusChanged(int status)
void updateStatus()
void coinsSent(CWallet *wallet, SendCoinsRecipient recipient, QByteArray transaction)
void message(const QString &title, const QString &message, unsigned int style)
void updateTransaction()
void requireUnlock(bool fForMixingOnly=false)
void updateAddressBook(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)
static const qt_meta_stringdata_WalletModel_t qt_meta_stringdata_WalletModel
int64_t CAmount
Definition: amount.h:14
void updateWatchOnlyFlag(bool fHaveWatchonly)
void notifyWatchonlyChanged(bool fHaveWatchonly)
void showProgress(const QString &title, int nProgress)
void balanceChanged(const CAmount &balance, const CAmount &unconfirmedBalance, const CAmount &immatureBalance, const CAmount &anonymizedBalance, const CAmount &watchOnlyBalance, const CAmount &watchUnconfBalance, const CAmount &watchImmatureBalance)
static const uint qt_meta_data_WalletModel[]
#define QT_MOC_LITERAL(idx, ofs, len)
void pollBalanceChanged()
result
Definition: rpcuser.py:37