Bitcoin Core  28.1.0
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 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.8)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include <memory>
10 #include "qt/walletframe.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'walletframe.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.8. 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 
21 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
25  QByteArrayData data[22];
26  char stringdata0[322];
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_WalletFrame_t, stringdata0) + ofs \
31  - idx * sizeof(QByteArrayData)) \
32  )
34  {
35 QT_MOC_LITERAL(0, 0, 11), // "WalletFrame"
36 QT_MOC_LITERAL(1, 12, 25), // "createWalletButtonClicked"
37 QT_MOC_LITERAL(2, 38, 0), // ""
38 QT_MOC_LITERAL(3, 39, 7), // "message"
39 QT_MOC_LITERAL(4, 47, 5), // "title"
40 QT_MOC_LITERAL(5, 53, 5), // "style"
41 QT_MOC_LITERAL(6, 59, 16), // "currentWalletSet"
42 QT_MOC_LITERAL(7, 76, 16), // "gotoOverviewPage"
43 QT_MOC_LITERAL(8, 93, 15), // "gotoHistoryPage"
44 QT_MOC_LITERAL(9, 109, 20), // "gotoReceiveCoinsPage"
45 QT_MOC_LITERAL(10, 130, 17), // "gotoSendCoinsPage"
46 QT_MOC_LITERAL(11, 148, 4), // "addr"
47 QT_MOC_LITERAL(12, 153, 18), // "gotoSignMessageTab"
48 QT_MOC_LITERAL(13, 172, 20), // "gotoVerifyMessageTab"
49 QT_MOC_LITERAL(14, 193, 12), // "gotoLoadPSBT"
50 QT_MOC_LITERAL(15, 206, 14), // "from_clipboard"
51 QT_MOC_LITERAL(16, 221, 13), // "encryptWallet"
52 QT_MOC_LITERAL(17, 235, 12), // "backupWallet"
53 QT_MOC_LITERAL(18, 248, 16), // "changePassphrase"
54 QT_MOC_LITERAL(19, 265, 12), // "unlockWallet"
55 QT_MOC_LITERAL(20, 278, 20), // "usedSendingAddresses"
56 QT_MOC_LITERAL(21, 299, 22) // "usedReceivingAddresses"
57 
58  },
59  "WalletFrame\0createWalletButtonClicked\0"
60  "\0message\0title\0style\0currentWalletSet\0"
61  "gotoOverviewPage\0gotoHistoryPage\0"
62  "gotoReceiveCoinsPage\0gotoSendCoinsPage\0"
63  "addr\0gotoSignMessageTab\0gotoVerifyMessageTab\0"
64  "gotoLoadPSBT\0from_clipboard\0encryptWallet\0"
65  "backupWallet\0changePassphrase\0"
66  "unlockWallet\0usedSendingAddresses\0"
67  "usedReceivingAddresses"
68 };
69 #undef QT_MOC_LITERAL
70 
71 static const uint qt_meta_data_WalletFrame[] = {
72 
73  // content:
74  8, // revision
75  0, // classname
76  0, 0, // classinfo
77  20, 14, // methods
78  0, 0, // properties
79  0, 0, // enums/sets
80  0, 0, // constructors
81  0, // flags
82  3, // signalCount
83 
84  // signals: name, argc, parameters, tag, flags
85  1, 0, 114, 2, 0x06 /* Public */,
86  3, 3, 115, 2, 0x06 /* Public */,
87  6, 0, 122, 2, 0x06 /* Public */,
88 
89  // slots: name, argc, parameters, tag, flags
90  7, 0, 123, 2, 0x0a /* Public */,
91  8, 0, 124, 2, 0x0a /* Public */,
92  9, 0, 125, 2, 0x0a /* Public */,
93  10, 1, 126, 2, 0x0a /* Public */,
94  10, 0, 129, 2, 0x2a /* Public | MethodCloned */,
95  12, 1, 130, 2, 0x0a /* Public */,
96  12, 0, 133, 2, 0x2a /* Public | MethodCloned */,
97  13, 1, 134, 2, 0x0a /* Public */,
98  13, 0, 137, 2, 0x2a /* Public | MethodCloned */,
99  14, 1, 138, 2, 0x0a /* Public */,
100  14, 0, 141, 2, 0x2a /* Public | MethodCloned */,
101  16, 0, 142, 2, 0x0a /* Public */,
102  17, 0, 143, 2, 0x0a /* Public */,
103  18, 0, 144, 2, 0x0a /* Public */,
104  19, 0, 145, 2, 0x0a /* Public */,
105  20, 0, 146, 2, 0x0a /* Public */,
106  21, 0, 147, 2, 0x0a /* Public */,
107 
108  // signals: parameters
109  QMetaType::Void,
110  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 4, 3, 5,
111  QMetaType::Void,
112 
113  // slots: parameters
114  QMetaType::Void,
115  QMetaType::Void,
116  QMetaType::Void,
117  QMetaType::Void, QMetaType::QString, 11,
118  QMetaType::Void,
119  QMetaType::Void, QMetaType::QString, 11,
120  QMetaType::Void,
121  QMetaType::Void, QMetaType::QString, 11,
122  QMetaType::Void,
123  QMetaType::Void, QMetaType::Bool, 15,
124  QMetaType::Void,
125  QMetaType::Void,
126  QMetaType::Void,
127  QMetaType::Void,
128  QMetaType::Void,
129  QMetaType::Void,
130  QMetaType::Void,
131 
132  0 // eod
133 };
134 
135 void WalletFrame::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
136 {
137  if (_c == QMetaObject::InvokeMetaMethod) {
138  auto *_t = static_cast<WalletFrame *>(_o);
139  (void)_t;
140  switch (_id) {
141  case 0: _t->createWalletButtonClicked(); break;
142  case 1: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
143  case 2: _t->currentWalletSet(); break;
144  case 3: _t->gotoOverviewPage(); break;
145  case 4: _t->gotoHistoryPage(); break;
146  case 5: _t->gotoReceiveCoinsPage(); break;
147  case 6: _t->gotoSendCoinsPage((*reinterpret_cast< QString(*)>(_a[1]))); break;
148  case 7: _t->gotoSendCoinsPage(); break;
149  case 8: _t->gotoSignMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
150  case 9: _t->gotoSignMessageTab(); break;
151  case 10: _t->gotoVerifyMessageTab((*reinterpret_cast< QString(*)>(_a[1]))); break;
152  case 11: _t->gotoVerifyMessageTab(); break;
153  case 12: _t->gotoLoadPSBT((*reinterpret_cast< bool(*)>(_a[1]))); break;
154  case 13: _t->gotoLoadPSBT(); break;
155  case 14: _t->encryptWallet(); break;
156  case 15: _t->backupWallet(); break;
157  case 16: _t->changePassphrase(); break;
158  case 17: _t->unlockWallet(); break;
159  case 18: _t->usedSendingAddresses(); break;
160  case 19: _t->usedReceivingAddresses(); break;
161  default: ;
162  }
163  } else if (_c == QMetaObject::IndexOfMethod) {
164  int *result = reinterpret_cast<int *>(_a[0]);
165  {
166  using _t = void (WalletFrame::*)();
167  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletFrame::createWalletButtonClicked)) {
168  *result = 0;
169  return;
170  }
171  }
172  {
173  using _t = void (WalletFrame::*)(const QString & , const QString & , unsigned int );
174  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletFrame::message)) {
175  *result = 1;
176  return;
177  }
178  }
179  {
180  using _t = void (WalletFrame::*)();
181  if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WalletFrame::currentWalletSet)) {
182  *result = 2;
183  return;
184  }
185  }
186  }
187 }
188 
189 QT_INIT_METAOBJECT const QMetaObject WalletFrame::staticMetaObject = { {
190  QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
193  qt_static_metacall,
194  nullptr,
195  nullptr
196 } };
197 
198 
199 const QMetaObject *WalletFrame::metaObject() const
200 {
201  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
202 }
203 
204 void *WalletFrame::qt_metacast(const char *_clname)
205 {
206  if (!_clname) return nullptr;
207  if (!strcmp(_clname, qt_meta_stringdata_WalletFrame.stringdata0))
208  return static_cast<void*>(this);
209  return QFrame::qt_metacast(_clname);
210 }
211 
212 int WalletFrame::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
213 {
214  _id = QFrame::qt_metacall(_c, _id, _a);
215  if (_id < 0)
216  return _id;
217  if (_c == QMetaObject::InvokeMetaMethod) {
218  if (_id < 20)
219  qt_static_metacall(this, _c, _id, _a);
220  _id -= 20;
221  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
222  if (_id < 20)
223  *reinterpret_cast<int*>(_a[0]) = -1;
224  _id -= 20;
225  }
226  return _id;
227 }
228 
229 // SIGNAL 0
231 {
232  QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
233 }
234 
235 // SIGNAL 1
236 void WalletFrame::message(const QString & _t1, const QString & _t2, unsigned int _t3)
237 {
238  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))) };
239  QMetaObject::activate(this, &staticMetaObject, 1, _a);
240 }
241 
242 // SIGNAL 2
244 {
245  QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
246 }
247 QT_WARNING_POP
248 QT_END_MOC_NAMESPACE
void createWalletButtonClicked()
static const uint qt_meta_data_WalletFrame[]
#define QT_MOC_LITERAL(idx, ofs, len)
void currentWalletSet()
static const qt_meta_stringdata_WalletFrame_t qt_meta_stringdata_WalletFrame
void message(const QString &title, const QString &message, unsigned int style)
A container for embedding all wallet-related controls into BitcoinGUI.
Definition: walletframe.h:28