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.)" 19 QT_BEGIN_MOC_NAMESPACE
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)) \ 72 "WalletModel\0balanceChanged\0\0CAmount\0" 73 "balance\0unconfirmedBalance\0immatureBalance\0" 74 "stake\0watchOnlyBalance\0watchUnconfBalance\0" 75 "watchImmatureBalance\0watchOnlyStake\0" 76 "encryptionStatusChanged\0status\0" 77 "requireUnlock\0message\0title\0style\0" 78 "coinsSent\0CWallet*\0wallet\0SendCoinsRecipient\0" 79 "recipient\0transaction\0showProgress\0" 80 "nProgress\0notifyWatchonlyChanged\0" 81 "fHaveWatchonly\0updateStatus\0" 82 "updateTransaction\0updateAddressBook\0" 83 "address\0label\0isMine\0purpose\0" 84 "updateWatchOnlyFlag\0pollBalanceChanged\0" 85 "updateContractBook\0abi" 89 static const uint qt_meta_data_WalletModel[] = {
106 15, 3, 100, 2, 0x06 ,
107 18, 3, 107, 2, 0x06 ,
108 24, 2, 114, 2, 0x06 ,
109 26, 1, 119, 2, 0x06 ,
112 28, 0, 122, 2, 0x0a ,
113 29, 0, 123, 2, 0x0a ,
114 30, 5, 124, 2, 0x0a ,
115 35, 1, 135, 2, 0x0a ,
116 36, 0, 138, 2, 0x0a ,
117 37, 4, 139, 2, 0x0a ,
120 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 3, 4, 5, 6, 7, 8, 9, 10, 11,
121 QMetaType::Void, QMetaType::Int, 13,
123 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 16, 15, 17,
124 QMetaType::Void, 0x80000000 | 19, 0x80000000 | 21, QMetaType::QByteArray, 20, 22, 23,
125 QMetaType::Void, QMetaType::QString, QMetaType::Int, 16, 25,
126 QMetaType::Void, QMetaType::Bool, 27,
131 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 31, 32, 33, 34, 13,
132 QMetaType::Void, QMetaType::Bool, 27,
134 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::Int, 31, 32, 38, 13,
139 void WalletModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
141 if (_c == QMetaObject::InvokeMetaMethod) {
145 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])),(*
reinterpret_cast< const CAmount(*)
>(_a[8])));
break;
148 case 3: _t->
message((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< uint(*)
>(_a[3])));
break;
150 case 5: _t->
showProgress((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
154 case 9: _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;
157 case 12: _t->
updateContractBook((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< const QString(*)
>(_a[3])),(*
reinterpret_cast< int(*)
>(_a[4])));
break;
160 }
else if (_c == QMetaObject::IndexOfMethod) {
161 int *result =
reinterpret_cast<int *
>(_a[0]);
162 void **func =
reinterpret_cast<void **
>(_a[1]);
164 typedef void (
WalletModel::*_t)(
const CAmount & ,
const CAmount & ,
const CAmount & ,
const CAmount & ,
const CAmount & ,
const CAmount & ,
const CAmount & ,
const CAmount & );
182 typedef void (
WalletModel::*_t)(
const QString & ,
const QString & ,
unsigned int );
194 typedef void (
WalletModel::*_t)(
const QString & , int );
208 const QMetaObject WalletModel::staticMetaObject = {
209 { &QObject::staticMetaObject, qt_meta_stringdata_WalletModel.
data,
210 qt_meta_data_WalletModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
214 const QMetaObject *WalletModel::metaObject()
const 216 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
219 void *WalletModel::qt_metacast(
const char *_clname)
221 if (!_clname)
return Q_NULLPTR;
222 if (!strcmp(_clname, qt_meta_stringdata_WalletModel.
stringdata0))
223 return static_cast<void*
>(
const_cast< WalletModel*
>(
this));
224 return QObject::qt_metacast(_clname);
227 int WalletModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
229 _id = QObject::qt_metacall(_c, _id, _a);
232 if (_c == QMetaObject::InvokeMetaMethod) {
234 qt_static_metacall(
this, _c, _id, _a);
236 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
238 *
reinterpret_cast<int*
>(_a[0]) = -1;
247 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)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t8)) };
248 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
254 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
255 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
261 QMetaObject::activate(
this, &staticMetaObject, 2, Q_NULLPTR);
267 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)) };
268 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
274 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)) };
275 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
281 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
282 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
288 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
289 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
void showProgress(const QString &title, int nProgress)
void balanceChanged(const CAmount &balance, const CAmount &unconfirmedBalance, const CAmount &immatureBalance, const CAmount &stake, const CAmount &watchOnlyBalance, const CAmount &watchUnconfBalance, const CAmount &watchImmatureBalance, const CAmount &watchOnlyStake)
int64_t CAmount
Amount in lius (Can be negative)
void encryptionStatusChanged(int status)
void updateWatchOnlyFlag(bool fHaveWatchonly)
Interface to Fabcoin wallet from Qt view code.
void message(const QString &title, const QString &message, unsigned int style)
#define QT_MOC_LITERAL(idx, ofs, len)
A CWallet is an extension of a keystore, which also maintains a set of transactions and balances...
void notifyWatchonlyChanged(bool fHaveWatchonly)
void coinsSent(CWallet *wallet, SendCoinsRecipient recipient, QByteArray transaction)
void updateContractBook(const QString &address, const QString &label, const QString &abi, int status)
void updateAddressBook(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)
void pollBalanceChanged()