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.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.)"
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 offsetof(qt_meta_stringdata_WalletModel_t, stringdata) + ofs \
27 - idx * sizeof(QByteArrayData) \
69 "WalletModel\0balanceChanged\0\0balance\0"
70 "unconfirmedBalance\0immatureBalance\0"
71 "watchOnlyBalance\0watchUnconfBalance\0"
72 "watchImmatureBalance\0encryptionStatusChanged\0"
73 "status\0requireUnlock\0message\0title\0"
74 "style\0coinsSent\0CWallet*\0wallet\0"
75 "SendCoinsRecipient\0recipient\0transaction\0"
76 "showProgress\0nProgress\0notifyWatchonlyChanged\0"
77 "fHaveWatchonly\0updateStatus\0"
78 "updateTransaction\0hash\0updateAddressBook\0"
79 "address\0label\0isMine\0purpose\0"
80 "updateWatchOnlyFlag\0pollBalanceChanged\0"
81 "setProcessingQueuedTransactions\0value\0"
85 static const uint qt_meta_data_WalletModel[] = {
116 QMetaType::Void, QMetaType::LongLong, QMetaType::LongLong, QMetaType::LongLong, QMetaType::LongLong, QMetaType::LongLong, QMetaType::LongLong, 3, 4, 5, 6, 7, 8,
117 QMetaType::Void, QMetaType::Int, 10,
119 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 13, 12, 14,
120 QMetaType::Void, 0x80000000 | 16, 0x80000000 | 18, QMetaType::QByteArray, 17, 19, 20,
121 QMetaType::Void, QMetaType::QString, QMetaType::Int, 13, 22,
122 QMetaType::Void, QMetaType::Bool, 24,
126 QMetaType::Void, QMetaType::QString, QMetaType::Int, 27, 10,
127 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 29, 30, 31, 32, 10,
128 QMetaType::Void, QMetaType::Bool, 24,
130 QMetaType::Void, QMetaType::Bool, 36,
135 void WalletModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
137 if (_c == QMetaObject::InvokeMetaMethod) {
140 case 0: _t->
balanceChanged((*
reinterpret_cast< qint64(*)
>(_a[1])),(*
reinterpret_cast< qint64(*)
>(_a[2])),(*
reinterpret_cast< qint64(*)
>(_a[3])),(*
reinterpret_cast< qint64(*)
>(_a[4])),(*
reinterpret_cast< qint64(*)
>(_a[5])),(*
reinterpret_cast< qint64(*)
>(_a[6])));
break;
143 case 3: _t->
message((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< uint(*)
>(_a[3])));
break;
145 case 5: _t->
showProgress((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
148 case 8: _t->
updateTransaction((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
149 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;
155 }
else if (_c == QMetaObject::IndexOfMethod) {
156 int *result =
reinterpret_cast<int *
>(_a[0]);
157 void **func =
reinterpret_cast<void **
>(_a[1]);
159 typedef void (
WalletModel::*_t)(qint64 , qint64 , qint64 , qint64 , qint64 , qint64 );
177 typedef void (
WalletModel::*_t)(
const QString & ,
const QString & ,
unsigned int );
189 typedef void (
WalletModel::*_t)(
const QString & , int );
203 const QMetaObject WalletModel::staticMetaObject = {
204 { &QObject::staticMetaObject, qt_meta_stringdata_WalletModel.
data,
205 qt_meta_data_WalletModel, qt_static_metacall, 0, 0}
209 const QMetaObject *WalletModel::metaObject()
const
211 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
214 void *WalletModel::qt_metacast(
const char *_clname)
216 if (!_clname)
return 0;
217 if (!strcmp(_clname, qt_meta_stringdata_WalletModel.
stringdata))
218 return static_cast<void*
>(
const_cast< WalletModel*
>(
this));
219 return QObject::qt_metacast(_clname);
222 int WalletModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
224 _id = QObject::qt_metacall(_c, _id, _a);
227 if (_c == QMetaObject::InvokeMetaMethod) {
229 qt_static_metacall(
this, _c, _id, _a);
231 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
233 *
reinterpret_cast<int*
>(_a[0]) = -1;
242 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)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t6)) };
243 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
249 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
250 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
256 QMetaObject::activate(
this, &staticMetaObject, 2, 0);
262 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)) };
263 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
269 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)) };
270 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
276 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
277 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
283 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
284 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
void setProcessingQueuedTransactions(bool value)
void showProgress(const QString &title, int nProgress)
void balanceChanged(qint64 balance, qint64 unconfirmedBalance, qint64 immatureBalance, qint64 watchOnlyBalance, qint64 watchUnconfBalance, qint64 watchImmatureBalance)
void encryptionStatusChanged(int status)
void updateWatchOnlyFlag(bool fHaveWatchonly)
Interface to Anoncoin wallet from Qt view code.
void message(const QString &title, const QString &message, unsigned int style)
void updateTransaction(const QString &hash, int status)
#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 updateAddressBook(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)
void pollBalanceChanged()