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