10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'walletmodel.h' doesn't include <QObject>." 14 #elif Q_MOC_OUTPUT_REVISION != 67 15 #error "This file was generated using the moc from 5.12.7. It" 16 #error "cannot be used with the include files from this version of Qt." 17 #error "(The moc has changed too much.)" 20 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_DISABLE_DEPRECATED
27 #define QT_MOC_LITERAL(idx, ofs, len) \ 28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 qptrdiff(offsetof(qt_meta_stringdata_WalletModel_t, stringdata0) + ofs \ 30 - idx * sizeof(QByteArrayData)) \ 70 "WalletModel\0balanceChanged\0\0" 71 "interfaces::WalletBalances\0balances\0" 72 "encryptionStatusChanged\0requireUnlock\0" 73 "message\0title\0style\0coinsSent\0" 74 "WalletModel*\0wallet\0SendCoinsRecipient\0" 75 "recipient\0transaction\0showProgress\0" 76 "nProgress\0notifyWatchonlyChanged\0" 77 "fHaveWatchonly\0unload\0canGetAddressesChanged\0" 78 "timerTimeout\0startPollBalance\0" 79 "updateStatus\0updateTransaction\0" 80 "updateAddressBook\0address\0label\0isMine\0" 81 "purpose\0status\0updateWatchOnlyFlag\0" 104 10, 3, 106, 2, 0x06 ,
105 16, 2, 113, 2, 0x06 ,
106 18, 1, 118, 2, 0x06 ,
107 20, 0, 121, 2, 0x06 ,
108 21, 0, 122, 2, 0x06 ,
109 22, 0, 123, 2, 0x06 ,
112 23, 0, 124, 2, 0x0a ,
113 24, 0, 125, 2, 0x0a ,
114 25, 0, 126, 2, 0x0a ,
115 26, 5, 127, 2, 0x0a ,
116 32, 1, 138, 2, 0x0a ,
117 33, 0, 141, 2, 0x0a ,
120 QMetaType::Void, 0x80000000 | 3, 4,
123 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 8, 7, 9,
124 QMetaType::Void, 0x80000000 | 11, 0x80000000 | 13, QMetaType::QByteArray, 12, 14, 15,
125 QMetaType::Void, QMetaType::QString, QMetaType::Int, 8, 17,
126 QMetaType::Void, QMetaType::Bool, 19,
135 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 27, 28, 29, 30, 31,
136 QMetaType::Void, QMetaType::Bool, 19,
142 void WalletModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
144 if (_c == QMetaObject::InvokeMetaMethod) {
149 case 1: _t->encryptionStatusChanged();
break;
150 case 2: _t->requireUnlock();
break;
151 case 3: _t->message((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< uint(*)
>(_a[3])));
break;
152 case 4: _t->coinsSent((*
reinterpret_cast< WalletModel*(*)
>(_a[1])),(*
reinterpret_cast< SendCoinsRecipient(*)
>(_a[2])),(*
reinterpret_cast< QByteArray(*)
>(_a[3])));
break;
153 case 5: _t->showProgress((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
154 case 6: _t->notifyWatchonlyChanged((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
155 case 7: _t->unload();
break;
156 case 8: _t->canGetAddressesChanged();
break;
157 case 9: _t->timerTimeout();
break;
158 case 10: _t->startPollBalance();
break;
159 case 11: _t->updateStatus();
break;
160 case 12: _t->updateTransaction();
break;
161 case 13: _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;
162 case 14: _t->updateWatchOnlyFlag((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
163 case 15: _t->pollBalanceChanged();
break;
166 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
168 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
170 switch (*reinterpret_cast<int*>(_a[1])) {
171 default: *
reinterpret_cast<int*
>(_a[0]) = -1;
break;
173 *
reinterpret_cast<int*
>(_a[0]) = qRegisterMetaType< WalletModel* >();
break;
177 }
else if (_c == QMetaObject::IndexOfMethod) {
178 int *result =
reinterpret_cast<int *
>(_a[0]);
201 using _t = void (
WalletModel::*)(
const QString & ,
const QString & ,
unsigned int );
215 using _t = void (
WalletModel::*)(
const QString & , int );
252 QT_INIT_METAOBJECT
const QMetaObject WalletModel::staticMetaObject = { {
253 &QObject::staticMetaObject,
262 const QMetaObject *WalletModel::metaObject()
const 264 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
267 void *WalletModel::qt_metacast(
const char *_clname)
269 if (!_clname)
return nullptr;
271 return static_cast<void*
>(
this);
272 return QObject::qt_metacast(_clname);
275 int WalletModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
277 _id = QObject::qt_metacall(_c, _id, _a);
280 if (_c == QMetaObject::InvokeMetaMethod) {
282 qt_static_metacall(
this, _c, _id, _a);
284 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
286 qt_static_metacall(
this, _c, _id, _a);
295 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
296 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
302 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
308 QMetaObject::activate(
this, &staticMetaObject, 2,
nullptr);
314 void *_a[] = {
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)) };
315 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
321 void *_a[] = {
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)) };
322 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
328 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
329 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
335 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
336 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
342 QMetaObject::activate(
this, &staticMetaObject, 7,
nullptr);
348 QMetaObject::activate(
this, &staticMetaObject, 8,
nullptr);
354 QMetaObject::activate(
this, &staticMetaObject, 9,
nullptr);
void coinsSent(WalletModel *wallet, SendCoinsRecipient recipient, QByteArray transaction)
void canGetAddressesChanged()
void showProgress(const QString &title, int nProgress)
static const qt_meta_stringdata_WalletModel_t qt_meta_stringdata_WalletModel
Collection of wallet balances.
void encryptionStatusChanged()
Interface to Bitcoin wallet from Qt view code.
static const uint qt_meta_data_WalletModel[]
void message(const QString &title, const QString &message, unsigned int style)
#define QT_MOC_LITERAL(idx, ofs, len)
void notifyWatchonlyChanged(bool fHaveWatchonly)
void balanceChanged(const interfaces::WalletBalances &balances)