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