Bitcoin Core 22.99.0
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** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include <memory>
10#include "qt/walletmodel.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'walletmodel.h' doesn't include <QObject>."
15#elif Q_MOC_OUTPUT_REVISION != 67
16#error "This file was generated using the moc from 5.15.2. It"
17#error "cannot be used with the include files from this version of Qt."
18#error "(The moc has changed too much.)"
19#endif
20
21QT_BEGIN_MOC_NAMESPACE
22QT_WARNING_PUSH
23QT_WARNING_DISABLE_DEPRECATED
25 QByteArrayData data[34];
26 char stringdata0[438];
27};
28#define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_WalletModel_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 11), // "WalletModel"
36QT_MOC_LITERAL(1, 12, 14), // "balanceChanged"
37QT_MOC_LITERAL(2, 27, 0), // ""
38QT_MOC_LITERAL(3, 28, 26), // "interfaces::WalletBalances"
39QT_MOC_LITERAL(4, 55, 8), // "balances"
40QT_MOC_LITERAL(5, 64, 23), // "encryptionStatusChanged"
41QT_MOC_LITERAL(6, 88, 13), // "requireUnlock"
42QT_MOC_LITERAL(7, 102, 7), // "message"
43QT_MOC_LITERAL(8, 110, 5), // "title"
44QT_MOC_LITERAL(9, 116, 5), // "style"
45QT_MOC_LITERAL(10, 122, 9), // "coinsSent"
46QT_MOC_LITERAL(11, 132, 12), // "WalletModel*"
47QT_MOC_LITERAL(12, 145, 6), // "wallet"
48QT_MOC_LITERAL(13, 152, 18), // "SendCoinsRecipient"
49QT_MOC_LITERAL(14, 171, 9), // "recipient"
50QT_MOC_LITERAL(15, 181, 11), // "transaction"
51QT_MOC_LITERAL(16, 193, 12), // "showProgress"
52QT_MOC_LITERAL(17, 206, 9), // "nProgress"
53QT_MOC_LITERAL(18, 216, 22), // "notifyWatchonlyChanged"
54QT_MOC_LITERAL(19, 239, 14), // "fHaveWatchonly"
55QT_MOC_LITERAL(20, 254, 6), // "unload"
56QT_MOC_LITERAL(21, 261, 22), // "canGetAddressesChanged"
57QT_MOC_LITERAL(22, 284, 12), // "timerTimeout"
58QT_MOC_LITERAL(23, 297, 16), // "startPollBalance"
59QT_MOC_LITERAL(24, 314, 12), // "updateStatus"
60QT_MOC_LITERAL(25, 327, 17), // "updateTransaction"
61QT_MOC_LITERAL(26, 345, 17), // "updateAddressBook"
62QT_MOC_LITERAL(27, 363, 7), // "address"
63QT_MOC_LITERAL(28, 371, 5), // "label"
64QT_MOC_LITERAL(29, 377, 6), // "isMine"
65QT_MOC_LITERAL(30, 384, 7), // "purpose"
66QT_MOC_LITERAL(31, 392, 6), // "status"
67QT_MOC_LITERAL(32, 399, 19), // "updateWatchOnlyFlag"
68QT_MOC_LITERAL(33, 419, 18) // "pollBalanceChanged"
69
70 },
71 "WalletModel\0balanceChanged\0\0"
72 "interfaces::WalletBalances\0balances\0"
73 "encryptionStatusChanged\0requireUnlock\0"
74 "message\0title\0style\0coinsSent\0"
75 "WalletModel*\0wallet\0SendCoinsRecipient\0"
76 "recipient\0transaction\0showProgress\0"
77 "nProgress\0notifyWatchonlyChanged\0"
78 "fHaveWatchonly\0unload\0canGetAddressesChanged\0"
79 "timerTimeout\0startPollBalance\0"
80 "updateStatus\0updateTransaction\0"
81 "updateAddressBook\0address\0label\0isMine\0"
82 "purpose\0status\0updateWatchOnlyFlag\0"
83 "pollBalanceChanged"
84};
85#undef QT_MOC_LITERAL
86
87static const uint qt_meta_data_WalletModel[] = {
88
89 // content:
90 8, // revision
91 0, // classname
92 0, 0, // classinfo
93 16, 14, // methods
94 0, 0, // properties
95 0, 0, // enums/sets
96 0, 0, // constructors
97 0, // flags
98 10, // signalCount
99
100 // signals: name, argc, parameters, tag, flags
101 1, 1, 94, 2, 0x06 /* Public */,
102 5, 0, 97, 2, 0x06 /* Public */,
103 6, 0, 98, 2, 0x06 /* Public */,
104 7, 3, 99, 2, 0x06 /* Public */,
105 10, 3, 106, 2, 0x06 /* Public */,
106 16, 2, 113, 2, 0x06 /* Public */,
107 18, 1, 118, 2, 0x06 /* Public */,
108 20, 0, 121, 2, 0x06 /* Public */,
109 21, 0, 122, 2, 0x06 /* Public */,
110 22, 0, 123, 2, 0x06 /* Public */,
111
112 // slots: name, argc, parameters, tag, flags
113 23, 0, 124, 2, 0x0a /* Public */,
114 24, 0, 125, 2, 0x0a /* Public */,
115 25, 0, 126, 2, 0x0a /* Public */,
116 26, 5, 127, 2, 0x0a /* Public */,
117 32, 1, 138, 2, 0x0a /* Public */,
118 33, 0, 141, 2, 0x0a /* Public */,
119
120 // signals: parameters
121 QMetaType::Void, 0x80000000 | 3, 4,
122 QMetaType::Void,
123 QMetaType::Void,
124 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 8, 7, 9,
125 QMetaType::Void, 0x80000000 | 11, 0x80000000 | 13, QMetaType::QByteArray, 12, 14, 15,
126 QMetaType::Void, QMetaType::QString, QMetaType::Int, 8, 17,
127 QMetaType::Void, QMetaType::Bool, 19,
128 QMetaType::Void,
129 QMetaType::Void,
130 QMetaType::Void,
131
132 // slots: parameters
133 QMetaType::Void,
134 QMetaType::Void,
135 QMetaType::Void,
136 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 27, 28, 29, 30, 31,
137 QMetaType::Void, QMetaType::Bool, 19,
138 QMetaType::Void,
139
140 0 // eod
141};
142
143void WalletModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
144{
145 if (_c == QMetaObject::InvokeMetaMethod) {
146 auto *_t = static_cast<WalletModel *>(_o);
147 (void)_t;
148 switch (_id) {
149 case 0: _t->balanceChanged((*reinterpret_cast< const interfaces::WalletBalances(*)>(_a[1]))); break;
150 case 1: _t->encryptionStatusChanged(); break;
151 case 2: _t->requireUnlock(); break;
152 case 3: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
153 case 4: _t->coinsSent((*reinterpret_cast< WalletModel*(*)>(_a[1])),(*reinterpret_cast< SendCoinsRecipient(*)>(_a[2])),(*reinterpret_cast< QByteArray(*)>(_a[3]))); break;
154 case 5: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
155 case 6: _t->notifyWatchonlyChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
156 case 7: _t->unload(); break;
157 case 8: _t->canGetAddressesChanged(); break;
158 case 9: _t->timerTimeout(); break;
159 case 10: _t->startPollBalance(); break;
160 case 11: _t->updateStatus(); break;
161 case 12: _t->updateTransaction(); break;
162 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;
163 case 14: _t->updateWatchOnlyFlag((*reinterpret_cast< bool(*)>(_a[1]))); break;
164 case 15: _t->pollBalanceChanged(); break;
165 default: ;
166 }
167 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
168 switch (_id) {
169 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
170 case 4:
171 switch (*reinterpret_cast<int*>(_a[1])) {
172 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
173 case 0:
174 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< WalletModel* >(); break;
175 }
176 break;
177 }
178 } else if (_c == QMetaObject::IndexOfMethod) {
179 int *result = reinterpret_cast<int *>(_a[0]);
180 {
181 using _t = void (WalletModel::*)(const interfaces::WalletBalances & );
182 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletModel::balanceChanged)) {
183 *result = 0;
184 return;
185 }
186 }
187 {
188 using _t = void (WalletModel::*)();
189 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletModel::encryptionStatusChanged)) {
190 *result = 1;
191 return;
192 }
193 }
194 {
195 using _t = void (WalletModel::*)();
196 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletModel::requireUnlock)) {
197 *result = 2;
198 return;
199 }
200 }
201 {
202 using _t = void (WalletModel::*)(const QString & , const QString & , unsigned int );
203 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletModel::message)) {
204 *result = 3;
205 return;
206 }
207 }
208 {
209 using _t = void (WalletModel::*)(WalletModel * , SendCoinsRecipient , QByteArray );
210 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletModel::coinsSent)) {
211 *result = 4;
212 return;
213 }
214 }
215 {
216 using _t = void (WalletModel::*)(const QString & , int );
217 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletModel::showProgress)) {
218 *result = 5;
219 return;
220 }
221 }
222 {
223 using _t = void (WalletModel::*)(bool );
224 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletModel::notifyWatchonlyChanged)) {
225 *result = 6;
226 return;
227 }
228 }
229 {
230 using _t = void (WalletModel::*)();
231 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletModel::unload)) {
232 *result = 7;
233 return;
234 }
235 }
236 {
237 using _t = void (WalletModel::*)();
238 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletModel::canGetAddressesChanged)) {
239 *result = 8;
240 return;
241 }
242 }
243 {
244 using _t = void (WalletModel::*)();
245 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletModel::timerTimeout)) {
246 *result = 9;
247 return;
248 }
249 }
250 }
251}
252
253QT_INIT_METAOBJECT const QMetaObject WalletModel::staticMetaObject = { {
254 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
257 qt_static_metacall,
258 nullptr,
259 nullptr
260} };
261
262
263const QMetaObject *WalletModel::metaObject() const
264{
265 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
266}
267
268void *WalletModel::qt_metacast(const char *_clname)
269{
270 if (!_clname) return nullptr;
271 if (!strcmp(_clname, qt_meta_stringdata_WalletModel.stringdata0))
272 return static_cast<void*>(this);
273 return QObject::qt_metacast(_clname);
274}
275
276int WalletModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
277{
278 _id = QObject::qt_metacall(_c, _id, _a);
279 if (_id < 0)
280 return _id;
281 if (_c == QMetaObject::InvokeMetaMethod) {
282 if (_id < 16)
283 qt_static_metacall(this, _c, _id, _a);
284 _id -= 16;
285 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
286 if (_id < 16)
287 qt_static_metacall(this, _c, _id, _a);
288 _id -= 16;
289 }
290 return _id;
291}
292
293// SIGNAL 0
295{
296 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
297 QMetaObject::activate(this, &staticMetaObject, 0, _a);
298}
299
300// SIGNAL 1
302{
303 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
304}
305
306// SIGNAL 2
308{
309 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
310}
311
312// SIGNAL 3
313void WalletModel::message(const QString & _t1, const QString & _t2, unsigned int _t3)
314{
315 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
316 QMetaObject::activate(this, &staticMetaObject, 3, _a);
317}
318
319// SIGNAL 4
321{
322 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
323 QMetaObject::activate(this, &staticMetaObject, 4, _a);
324}
325
326// SIGNAL 5
327void WalletModel::showProgress(const QString & _t1, int _t2)
328{
329 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
330 QMetaObject::activate(this, &staticMetaObject, 5, _a);
331}
332
333// SIGNAL 6
335{
336 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
337 QMetaObject::activate(this, &staticMetaObject, 6, _a);
338}
339
340// SIGNAL 7
342{
343 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
344}
345
346// SIGNAL 8
348{
349 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
350}
351
352// SIGNAL 9
354{
355 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
356}
357QT_WARNING_POP
358QT_END_MOC_NAMESPACE
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:52
void notifyWatchonlyChanged(bool fHaveWatchonly)
void showProgress(const QString &title, int nProgress)
void message(const QString &title, const QString &message, unsigned int style)
void coinsSent(WalletModel *wallet, SendCoinsRecipient recipient, QByteArray transaction)
void canGetAddressesChanged()
void encryptionStatusChanged()
void balanceChanged(const interfaces::WalletBalances &balances)
static const uint qt_meta_data_WalletModel[]
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_WalletModel_t qt_meta_stringdata_WalletModel
Collection of wallet balances.
Definition: wallet.h:356