Bitcoin Core  0.21.1
P2P Digital Currency
moc_walletframe.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'walletframe.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/walletframe.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'walletframe.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.9.4. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
20 QT_WARNING_PUSH
21 QT_WARNING_DISABLE_DEPRECATED
23  QByteArrayData data[20];
24  char stringdata0[315];
25 };
26 #define QT_MOC_LITERAL(idx, ofs, len) \
27  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
28  qptrdiff(offsetof(qt_meta_stringdata_WalletFrame_t, stringdata0) + ofs \
29  - idx * sizeof(QByteArrayData)) \
30  )
32  {
33 QT_MOC_LITERAL(0, 0, 11), // "WalletFrame"
34 QT_MOC_LITERAL(1, 12, 24), // "requestedSyncWarningInfo"
35 QT_MOC_LITERAL(2, 37, 0), // ""
36 QT_MOC_LITERAL(3, 38, 16), // "gotoOverviewPage"
37 QT_MOC_LITERAL(4, 55, 15), // "gotoHistoryPage"
38 QT_MOC_LITERAL(5, 71, 20), // "gotoReceiveCoinsPage"
39 QT_MOC_LITERAL(6, 92, 17), // "gotoSendCoinsPage"
40 QT_MOC_LITERAL(7, 110, 4), // "addr"
41 QT_MOC_LITERAL(8, 115, 18), // "gotoSignMessageTab"
42 QT_MOC_LITERAL(9, 134, 20), // "gotoVerifyMessageTab"
43 QT_MOC_LITERAL(10, 155, 12), // "gotoLoadPSBT"
44 QT_MOC_LITERAL(11, 168, 14), // "from_clipboard"
45 QT_MOC_LITERAL(12, 183, 13), // "encryptWallet"
46 QT_MOC_LITERAL(13, 197, 6), // "status"
47 QT_MOC_LITERAL(14, 204, 12), // "backupWallet"
48 QT_MOC_LITERAL(15, 217, 16), // "changePassphrase"
49 QT_MOC_LITERAL(16, 234, 12), // "unlockWallet"
50 QT_MOC_LITERAL(17, 247, 20), // "usedSendingAddresses"
51 QT_MOC_LITERAL(18, 268, 22), // "usedReceivingAddresses"
52 QT_MOC_LITERAL(19, 291, 23) // "outOfSyncWarningClicked"
53 
54  },
55  "WalletFrame\0requestedSyncWarningInfo\0"
56  "\0gotoOverviewPage\0gotoHistoryPage\0"
57  "gotoReceiveCoinsPage\0gotoSendCoinsPage\0"
58  "addr\0gotoSignMessageTab\0gotoVerifyMessageTab\0"
59  "gotoLoadPSBT\0from_clipboard\0encryptWallet\0"
60  "status\0backupWallet\0changePassphrase\0"
61  "unlockWallet\0usedSendingAddresses\0"
62  "usedReceivingAddresses\0outOfSyncWarningClicked"
63 };
64 #undef QT_MOC_LITERAL
65 
66 static const uint qt_meta_data_WalletFrame[] = {
67 
68  // content:
69  7, // revision
70  0, // classname
71  0, 0, // classinfo
72  19, 14, // methods
73  0, 0, // properties
74  0, 0, // enums/sets
75  0, 0, // constructors
76  0, // flags
77  1, // signalCount
78 
79  // signals: name, argc, parameters, tag, flags
80  1, 0, 109, 2, 0x06 /* Public */,
81 
82  // slots: name, argc, parameters, tag, flags
83  3, 0, 110, 2, 0x0a /* Public */,
84  4, 0, 111, 2, 0x0a /* Public */,
85  5, 0, 112, 2, 0x0a /* Public */,
86  6, 1, 113, 2, 0x0a /* Public */,
87  6, 0, 116, 2, 0x2a /* Public | MethodCloned */,
88  8, 1, 117, 2, 0x0a /* Public */,
89  8, 0, 120, 2, 0x2a /* Public | MethodCloned */,
90  9, 1, 121, 2, 0x0a /* Public */,
91  9, 0, 124, 2, 0x2a /* Public | MethodCloned */,
92  10, 1, 125, 2, 0x0a /* Public */,
93  10, 0, 128, 2, 0x2a /* Public | MethodCloned */,
94  12, 1, 129, 2, 0x0a /* Public */,
95  14, 0, 132, 2, 0x0a /* Public */,
96  15, 0, 133, 2, 0x0a /* Public */,
97  16, 0, 134, 2, 0x0a /* Public */,
98  17, 0, 135, 2, 0x0a /* Public */,
99  18, 0, 136, 2, 0x0a /* Public */,
100  19, 0, 137, 2, 0x0a /* Public */,
101 
102  // signals: parameters
103  QMetaType::Void,
104 
105  // slots: parameters
106  QMetaType::Void,
107  QMetaType::Void,
108  QMetaType::Void,
109  QMetaType::Void, QMetaType::QString, 7,
110  QMetaType::Void,
111  QMetaType::Void, QMetaType::QString, 7,
112  QMetaType::Void,
113  QMetaType::Void, QMetaType::QString, 7,
114  QMetaType::Void,
115  QMetaType::Void, QMetaType::Bool, 11,
116  QMetaType::Void,
117  QMetaType::Void, QMetaType::Bool, 13,
118  QMetaType::Void,
119  QMetaType::Void,
120  QMetaType::Void,
121  QMetaType::Void,
122  QMetaType::Void,
123  QMetaType::Void,
124 
125  0 // eod
126 };
127 
128 void WalletFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
129 {
130  if (_c == QMetaObject::InvokeMetaMethod) {
131  WalletFrame *_t = static_cast<WalletFrame *>(_o);
132  Q_UNUSED(_t)
133  switch (_id) {
134  case 0: _t->requestedSyncWarningInfo(); break;
135  case 1: _t->gotoOverviewPage(); break;
136  case 2: _t->gotoHistoryPage(); break;
137  case 3: _t->gotoReceiveCoinsPage(); break;
138  case 4: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break;
139  case 5: _t->gotoSendCoinsPage(); break;
140  case 6: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
141  case 7: _t->gotoSignMessageTab(); break;
142  case 8: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
143  case 9: _t->gotoVerifyMessageTab(); break;
144  case 10: _t->gotoLoadPSBT((*reinterpret_cast< bool(*)>(_a[1]))); break;
145  case 11: _t->gotoLoadPSBT(); break;
146  case 12: _t->encryptWallet((*reinterpret_cast< bool(*)>(_a[1]))); break;
147  case 13: _t->backupWallet(); break;
148  case 14: _t->changePassphrase(); break;
149  case 15: _t->unlockWallet(); break;
150  case 16: _t->usedSendingAddresses(); break;
151  case 17: _t->usedReceivingAddresses(); break;
152  case 18: _t->outOfSyncWarningClicked(); break;
153  default: ;
154  }
155  } else if (_c == QMetaObject::IndexOfMethod) {
156  int *result = reinterpret_cast<int *>(_a[0]);
157  {
158  typedef void (WalletFrame::*_t)();
159  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletFrame::requestedSyncWarningInfo)) {
160  *result = 0;
161  return;
162  }
163  }
164  }
165 }
166 
167 const QMetaObject WalletFrame::staticMetaObject = {
168  { &QFrame::staticMetaObject, qt_meta_stringdata_WalletFrame.data,
169  qt_meta_data_WalletFrame, qt_static_metacall, nullptr, nullptr}
170 };
171 
172 
173 const QMetaObject *WalletFrame::metaObject() const
174 {
175  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
176 }
177 
178 void *WalletFrame::qt_metacast(const char *_clname)
179 {
180  if (!_clname) return nullptr;
181  if (!strcmp(_clname, qt_meta_stringdata_WalletFrame.stringdata0))
182  return static_cast<void*>(this);
183  return QFrame::qt_metacast(_clname);
184 }
185 
186 int WalletFrame::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
187 {
188  _id = QFrame::qt_metacall(_c, _id, _a);
189  if (_id < 0)
190  return _id;
191  if (_c == QMetaObject::InvokeMetaMethod) {
192  if (_id < 19)
193  qt_static_metacall(this, _c, _id, _a);
194  _id -= 19;
195  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
196  if (_id < 19)
197  *reinterpret_cast<int*>(_a[0]) = -1;
198  _id -= 19;
199  }
200  return _id;
201 }
202 
203 // SIGNAL 0
205 {
206  QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
207 }
208 QT_WARNING_POP
209 QT_END_MOC_NAMESPACE
void usedReceivingAddresses()
Show used receiving addresses.
static const uint qt_meta_data_WalletFrame[]
void encryptWallet(bool status)
Encrypt the wallet.
void outOfSyncWarningClicked()
Pass on signal over requested out-of-sync-warning information.
#define QT_MOC_LITERAL(idx, ofs, len)
void gotoHistoryPage()
Switch to history (transactions) page.
void gotoOverviewPage()
Switch to overview (home) page.
void gotoVerifyMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to verify message tab.
static const qt_meta_stringdata_WalletFrame_t qt_meta_stringdata_WalletFrame
void changePassphrase()
Change encrypted wallet passphrase.
void unlockWallet()
Ask for passphrase to unlock wallet temporarily.
void gotoSignMessageTab(QString addr="")
Show Sign/Verify Message dialog and switch to sign message tab.
void requestedSyncWarningInfo()
Notify that the user has requested more information about the out-of-sync warning.
void gotoSendCoinsPage(QString addr="")
Switch to send coins page.
void gotoReceiveCoinsPage()
Switch to receive coins page.
void backupWallet()
Backup the wallet.
void gotoLoadPSBT(bool from_clipboard=false)
Load Partially Signed Bitcoin Transaction.
A container for embedding all wallet-related controls into BitcoinGUI.
Definition: walletframe.h:29
void usedSendingAddresses()
Show used sending addresses.