Bitcoin Core 22.99.0
P2P Digital Currency
moc_walletview.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'walletview.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/walletview.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'walletview.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[39];
26 char stringdata0[491];
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_WalletView_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 10), // "WalletView"
36QT_MOC_LITERAL(1, 11, 10), // "setPrivacy"
37QT_MOC_LITERAL(2, 22, 0), // ""
38QT_MOC_LITERAL(3, 23, 7), // "privacy"
39QT_MOC_LITERAL(4, 31, 18), // "transactionClicked"
40QT_MOC_LITERAL(5, 50, 9), // "coinsSent"
41QT_MOC_LITERAL(6, 60, 7), // "message"
42QT_MOC_LITERAL(7, 68, 5), // "title"
43QT_MOC_LITERAL(8, 74, 5), // "style"
44QT_MOC_LITERAL(9, 80, 23), // "encryptionStatusChanged"
45QT_MOC_LITERAL(10, 104, 19), // "incomingTransaction"
46QT_MOC_LITERAL(11, 124, 4), // "date"
47QT_MOC_LITERAL(12, 129, 4), // "unit"
48QT_MOC_LITERAL(13, 134, 7), // "CAmount"
49QT_MOC_LITERAL(14, 142, 6), // "amount"
50QT_MOC_LITERAL(15, 149, 4), // "type"
51QT_MOC_LITERAL(16, 154, 7), // "address"
52QT_MOC_LITERAL(17, 162, 5), // "label"
53QT_MOC_LITERAL(18, 168, 10), // "walletName"
54QT_MOC_LITERAL(19, 179, 23), // "outOfSyncWarningClicked"
55QT_MOC_LITERAL(20, 203, 16), // "gotoOverviewPage"
56QT_MOC_LITERAL(21, 220, 15), // "gotoHistoryPage"
57QT_MOC_LITERAL(22, 236, 20), // "gotoReceiveCoinsPage"
58QT_MOC_LITERAL(23, 257, 17), // "gotoSendCoinsPage"
59QT_MOC_LITERAL(24, 275, 4), // "addr"
60QT_MOC_LITERAL(25, 280, 18), // "gotoSignMessageTab"
61QT_MOC_LITERAL(26, 299, 20), // "gotoVerifyMessageTab"
62QT_MOC_LITERAL(27, 320, 21), // "processNewTransaction"
63QT_MOC_LITERAL(28, 342, 11), // "QModelIndex"
64QT_MOC_LITERAL(29, 354, 6), // "parent"
65QT_MOC_LITERAL(30, 361, 5), // "start"
66QT_MOC_LITERAL(31, 367, 13), // "encryptWallet"
67QT_MOC_LITERAL(32, 381, 12), // "backupWallet"
68QT_MOC_LITERAL(33, 394, 16), // "changePassphrase"
69QT_MOC_LITERAL(34, 411, 12), // "unlockWallet"
70QT_MOC_LITERAL(35, 424, 20), // "usedSendingAddresses"
71QT_MOC_LITERAL(36, 445, 22), // "usedReceivingAddresses"
72QT_MOC_LITERAL(37, 468, 12), // "showProgress"
73QT_MOC_LITERAL(38, 481, 9) // "nProgress"
74
75 },
76 "WalletView\0setPrivacy\0\0privacy\0"
77 "transactionClicked\0coinsSent\0message\0"
78 "title\0style\0encryptionStatusChanged\0"
79 "incomingTransaction\0date\0unit\0CAmount\0"
80 "amount\0type\0address\0label\0walletName\0"
81 "outOfSyncWarningClicked\0gotoOverviewPage\0"
82 "gotoHistoryPage\0gotoReceiveCoinsPage\0"
83 "gotoSendCoinsPage\0addr\0gotoSignMessageTab\0"
84 "gotoVerifyMessageTab\0processNewTransaction\0"
85 "QModelIndex\0parent\0start\0encryptWallet\0"
86 "backupWallet\0changePassphrase\0"
87 "unlockWallet\0usedSendingAddresses\0"
88 "usedReceivingAddresses\0showProgress\0"
89 "nProgress"
90};
91#undef QT_MOC_LITERAL
92
93static const uint qt_meta_data_WalletView[] = {
94
95 // content:
96 8, // revision
97 0, // classname
98 0, 0, // classinfo
99 24, 14, // methods
100 0, 0, // properties
101 0, 0, // enums/sets
102 0, 0, // constructors
103 0, // flags
104 7, // signalCount
105
106 // signals: name, argc, parameters, tag, flags
107 1, 1, 134, 2, 0x06 /* Public */,
108 4, 0, 137, 2, 0x06 /* Public */,
109 5, 0, 138, 2, 0x06 /* Public */,
110 6, 3, 139, 2, 0x06 /* Public */,
111 9, 0, 146, 2, 0x06 /* Public */,
112 10, 7, 147, 2, 0x06 /* Public */,
113 19, 0, 162, 2, 0x06 /* Public */,
114
115 // slots: name, argc, parameters, tag, flags
116 20, 0, 163, 2, 0x0a /* Public */,
117 21, 0, 164, 2, 0x0a /* Public */,
118 22, 0, 165, 2, 0x0a /* Public */,
119 23, 1, 166, 2, 0x0a /* Public */,
120 23, 0, 169, 2, 0x2a /* Public | MethodCloned */,
121 25, 1, 170, 2, 0x0a /* Public */,
122 25, 0, 173, 2, 0x2a /* Public | MethodCloned */,
123 26, 1, 174, 2, 0x0a /* Public */,
124 26, 0, 177, 2, 0x2a /* Public | MethodCloned */,
125 27, 3, 178, 2, 0x0a /* Public */,
126 31, 0, 185, 2, 0x0a /* Public */,
127 32, 0, 186, 2, 0x0a /* Public */,
128 33, 0, 187, 2, 0x0a /* Public */,
129 34, 0, 188, 2, 0x0a /* Public */,
130 35, 0, 189, 2, 0x0a /* Public */,
131 36, 0, 190, 2, 0x0a /* Public */,
132 37, 2, 191, 2, 0x0a /* Public */,
133
134 // signals: parameters
135 QMetaType::Void, QMetaType::Bool, 3,
136 QMetaType::Void,
137 QMetaType::Void,
138 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 7, 6, 8,
139 QMetaType::Void,
140 QMetaType::Void, QMetaType::QString, QMetaType::Int, 0x80000000 | 13, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, 11, 12, 14, 15, 16, 17, 18,
141 QMetaType::Void,
142
143 // slots: parameters
144 QMetaType::Void,
145 QMetaType::Void,
146 QMetaType::Void,
147 QMetaType::Void, QMetaType::QString, 24,
148 QMetaType::Void,
149 QMetaType::Void, QMetaType::QString, 24,
150 QMetaType::Void,
151 QMetaType::Void, QMetaType::QString, 24,
152 QMetaType::Void,
153 QMetaType::Void, 0x80000000 | 28, QMetaType::Int, QMetaType::Int, 29, 30, 2,
154 QMetaType::Void,
155 QMetaType::Void,
156 QMetaType::Void,
157 QMetaType::Void,
158 QMetaType::Void,
159 QMetaType::Void,
160 QMetaType::Void, QMetaType::QString, QMetaType::Int, 7, 38,
161
162 0 // eod
163};
164
165void WalletView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
166{
167 if (_c == QMetaObject::InvokeMetaMethod) {
168 auto *_t = static_cast<WalletView *>(_o);
169 (void)_t;
170 switch (_id) {
171 case 0: _t->setPrivacy((*reinterpret_cast< bool(*)>(_a[1]))); break;
172 case 1: _t->transactionClicked(); break;
173 case 2: _t->coinsSent(); break;
174 case 3: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
175 case 4: _t->encryptionStatusChanged(); break;
176 case 5: _t->incomingTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const CAmount(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])),(*reinterpret_cast< const QString(*)>(_a[6])),(*reinterpret_cast< const QString(*)>(_a[7]))); break;
177 case 6: _t->outOfSyncWarningClicked(); break;
178 case 7: _t->gotoOverviewPage(); break;
179 case 8: _t->gotoHistoryPage(); break;
180 case 9: _t->gotoReceiveCoinsPage(); break;
181 case 10: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break;
182 case 11: _t->gotoSendCoinsPage(); break;
183 case 12: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
184 case 13: _t->gotoSignMessageTab(); break;
185 case 14: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
186 case 15: _t->gotoVerifyMessageTab(); break;
187 case 16: _t->processNewTransaction((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
188 case 17: _t->encryptWallet(); break;
189 case 18: _t->backupWallet(); break;
190 case 19: _t->changePassphrase(); break;
191 case 20: _t->unlockWallet(); break;
192 case 21: _t->usedSendingAddresses(); break;
193 case 22: _t->usedReceivingAddresses(); break;
194 case 23: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
195 default: ;
196 }
197 } else if (_c == QMetaObject::IndexOfMethod) {
198 int *result = reinterpret_cast<int *>(_a[0]);
199 {
200 using _t = void (WalletView::*)(bool );
201 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::setPrivacy)) {
202 *result = 0;
203 return;
204 }
205 }
206 {
207 using _t = void (WalletView::*)();
208 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::transactionClicked)) {
209 *result = 1;
210 return;
211 }
212 }
213 {
214 using _t = void (WalletView::*)();
215 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::coinsSent)) {
216 *result = 2;
217 return;
218 }
219 }
220 {
221 using _t = void (WalletView::*)(const QString & , const QString & , unsigned int );
222 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::message)) {
223 *result = 3;
224 return;
225 }
226 }
227 {
228 using _t = void (WalletView::*)();
229 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::encryptionStatusChanged)) {
230 *result = 4;
231 return;
232 }
233 }
234 {
235 using _t = void (WalletView::*)(const QString & , int , const CAmount & , const QString & , const QString & , const QString & , const QString & );
236 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::incomingTransaction)) {
237 *result = 5;
238 return;
239 }
240 }
241 {
242 using _t = void (WalletView::*)();
243 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletView::outOfSyncWarningClicked)) {
244 *result = 6;
245 return;
246 }
247 }
248 }
249}
250
251QT_INIT_METAOBJECT const QMetaObject WalletView::staticMetaObject = { {
252 QMetaObject::SuperData::link<QStackedWidget::staticMetaObject>(),
255 qt_static_metacall,
256 nullptr,
257 nullptr
258} };
259
260
261const QMetaObject *WalletView::metaObject() const
262{
263 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
264}
265
266void *WalletView::qt_metacast(const char *_clname)
267{
268 if (!_clname) return nullptr;
269 if (!strcmp(_clname, qt_meta_stringdata_WalletView.stringdata0))
270 return static_cast<void*>(this);
271 return QStackedWidget::qt_metacast(_clname);
272}
273
274int WalletView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
275{
276 _id = QStackedWidget::qt_metacall(_c, _id, _a);
277 if (_id < 0)
278 return _id;
279 if (_c == QMetaObject::InvokeMetaMethod) {
280 if (_id < 24)
281 qt_static_metacall(this, _c, _id, _a);
282 _id -= 24;
283 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
284 if (_id < 24)
285 *reinterpret_cast<int*>(_a[0]) = -1;
286 _id -= 24;
287 }
288 return _id;
289}
290
291// SIGNAL 0
293{
294 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
295 QMetaObject::activate(this, &staticMetaObject, 0, _a);
296}
297
298// SIGNAL 1
300{
301 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
302}
303
304// SIGNAL 2
306{
307 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
308}
309
310// SIGNAL 3
311void WalletView::message(const QString & _t1, const QString & _t2, unsigned int _t3)
312{
313 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))) };
314 QMetaObject::activate(this, &staticMetaObject, 3, _a);
315}
316
317// SIGNAL 4
319{
320 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
321}
322
323// SIGNAL 5
324void WalletView::incomingTransaction(const QString & _t1, int _t2, const CAmount & _t3, const QString & _t4, const QString & _t5, const QString & _t6, const QString & _t7)
325{
326 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))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t5))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t6))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t7))) };
327 QMetaObject::activate(this, &staticMetaObject, 5, _a);
328}
329
330// SIGNAL 6
332{
333 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
334}
335QT_WARNING_POP
336QT_END_MOC_NAMESPACE
int64_t CAmount
Amount in satoshis (Can be negative)
Definition: amount.h:12
void incomingTransaction(const QString &date, int unit, const CAmount &amount, const QString &type, const QString &address, const QString &label, const QString &walletName)
Notify that a new transaction appeared.
void outOfSyncWarningClicked()
Notify that the out of sync warning icon has been pressed.
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
void transactionClicked()
void setPrivacy(bool privacy)
void encryptionStatusChanged()
Encryption status of wallet changed.
static const qt_meta_stringdata_WalletView_t qt_meta_stringdata_WalletView
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_WalletView[]