Bitcoin Core 22.99.0
P2P Digital Currency
moc_rpcconsole.cpp
Go to the documentation of this file.
1/****************************************************************************
2** Meta object code from reading C++ file 'rpcconsole.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/rpcconsole.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'rpcconsole.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[62];
26 char stringdata0[824];
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_RPCConsole_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
34 {
35QT_MOC_LITERAL(0, 0, 10), // "RPCConsole"
36QT_MOC_LITERAL(1, 11, 10), // "cmdRequest"
37QT_MOC_LITERAL(2, 22, 0), // ""
38QT_MOC_LITERAL(3, 23, 7), // "command"
39QT_MOC_LITERAL(4, 31, 18), // "const WalletModel*"
40QT_MOC_LITERAL(5, 50, 12), // "wallet_model"
41QT_MOC_LITERAL(6, 63, 25), // "on_lineEdit_returnPressed"
42QT_MOC_LITERAL(7, 89, 27), // "on_tabWidget_currentChanged"
43QT_MOC_LITERAL(8, 117, 5), // "index"
44QT_MOC_LITERAL(9, 123, 33), // "on_openDebugLogfileButton_cli..."
45QT_MOC_LITERAL(10, 157, 29), // "on_sldGraphRange_valueChanged"
46QT_MOC_LITERAL(11, 187, 5), // "value"
47QT_MOC_LITERAL(12, 193, 18), // "updateTrafficStats"
48QT_MOC_LITERAL(13, 212, 12), // "totalBytesIn"
49QT_MOC_LITERAL(14, 225, 13), // "totalBytesOut"
50QT_MOC_LITERAL(15, 239, 11), // "resizeEvent"
51QT_MOC_LITERAL(16, 251, 13), // "QResizeEvent*"
52QT_MOC_LITERAL(17, 265, 5), // "event"
53QT_MOC_LITERAL(18, 271, 9), // "showEvent"
54QT_MOC_LITERAL(19, 281, 11), // "QShowEvent*"
55QT_MOC_LITERAL(20, 293, 9), // "hideEvent"
56QT_MOC_LITERAL(21, 303, 11), // "QHideEvent*"
57QT_MOC_LITERAL(22, 315, 25), // "showPeersTableContextMenu"
58QT_MOC_LITERAL(23, 341, 5), // "point"
59QT_MOC_LITERAL(24, 347, 23), // "showBanTableContextMenu"
60QT_MOC_LITERAL(25, 371, 28), // "showOrHideBanTableIfRequired"
61QT_MOC_LITERAL(26, 400, 17), // "clearSelectedNode"
62QT_MOC_LITERAL(27, 418, 18), // "updateDetailWidget"
63QT_MOC_LITERAL(28, 437, 5), // "clear"
64QT_MOC_LITERAL(29, 443, 11), // "keep_prompt"
65QT_MOC_LITERAL(30, 455, 10), // "fontBigger"
66QT_MOC_LITERAL(31, 466, 11), // "fontSmaller"
67QT_MOC_LITERAL(32, 478, 11), // "setFontSize"
68QT_MOC_LITERAL(33, 490, 7), // "newSize"
69QT_MOC_LITERAL(34, 498, 7), // "message"
70QT_MOC_LITERAL(35, 506, 8), // "category"
71QT_MOC_LITERAL(36, 515, 3), // "msg"
72QT_MOC_LITERAL(37, 519, 4), // "html"
73QT_MOC_LITERAL(38, 524, 17), // "setNumConnections"
74QT_MOC_LITERAL(39, 542, 5), // "count"
75QT_MOC_LITERAL(40, 548, 16), // "setNetworkActive"
76QT_MOC_LITERAL(41, 565, 13), // "networkActive"
77QT_MOC_LITERAL(42, 579, 12), // "setNumBlocks"
78QT_MOC_LITERAL(43, 592, 9), // "blockDate"
79QT_MOC_LITERAL(44, 602, 21), // "nVerificationProgress"
80QT_MOC_LITERAL(45, 624, 7), // "headers"
81QT_MOC_LITERAL(46, 632, 14), // "setMempoolSize"
82QT_MOC_LITERAL(47, 647, 11), // "numberOfTxs"
83QT_MOC_LITERAL(48, 659, 6), // "size_t"
84QT_MOC_LITERAL(49, 666, 8), // "dynUsage"
85QT_MOC_LITERAL(50, 675, 13), // "browseHistory"
86QT_MOC_LITERAL(51, 689, 6), // "offset"
87QT_MOC_LITERAL(52, 696, 11), // "scrollToEnd"
88QT_MOC_LITERAL(53, 708, 22), // "disconnectSelectedNode"
89QT_MOC_LITERAL(54, 731, 15), // "banSelectedNode"
90QT_MOC_LITERAL(55, 747, 7), // "bantime"
91QT_MOC_LITERAL(56, 755, 17), // "unbanSelectedNode"
92QT_MOC_LITERAL(57, 773, 11), // "setTabFocus"
93QT_MOC_LITERAL(58, 785, 8), // "TabTypes"
94QT_MOC_LITERAL(59, 794, 7), // "tabType"
95QT_MOC_LITERAL(60, 802, 12), // "updateAlerts"
96QT_MOC_LITERAL(61, 815, 8) // "warnings"
97
98 },
99 "RPCConsole\0cmdRequest\0\0command\0"
100 "const WalletModel*\0wallet_model\0"
101 "on_lineEdit_returnPressed\0"
102 "on_tabWidget_currentChanged\0index\0"
103 "on_openDebugLogfileButton_clicked\0"
104 "on_sldGraphRange_valueChanged\0value\0"
105 "updateTrafficStats\0totalBytesIn\0"
106 "totalBytesOut\0resizeEvent\0QResizeEvent*\0"
107 "event\0showEvent\0QShowEvent*\0hideEvent\0"
108 "QHideEvent*\0showPeersTableContextMenu\0"
109 "point\0showBanTableContextMenu\0"
110 "showOrHideBanTableIfRequired\0"
111 "clearSelectedNode\0updateDetailWidget\0"
112 "clear\0keep_prompt\0fontBigger\0fontSmaller\0"
113 "setFontSize\0newSize\0message\0category\0"
114 "msg\0html\0setNumConnections\0count\0"
115 "setNetworkActive\0networkActive\0"
116 "setNumBlocks\0blockDate\0nVerificationProgress\0"
117 "headers\0setMempoolSize\0numberOfTxs\0"
118 "size_t\0dynUsage\0browseHistory\0offset\0"
119 "scrollToEnd\0disconnectSelectedNode\0"
120 "banSelectedNode\0bantime\0unbanSelectedNode\0"
121 "setTabFocus\0TabTypes\0tabType\0updateAlerts\0"
122 "warnings"
123};
124#undef QT_MOC_LITERAL
125
126static const uint qt_meta_data_RPCConsole[] = {
127
128 // content:
129 8, // revision
130 0, // classname
131 0, 0, // classinfo
132 32, 14, // methods
133 0, 0, // properties
134 0, 0, // enums/sets
135 0, 0, // constructors
136 0, // flags
137 1, // signalCount
138
139 // signals: name, argc, parameters, tag, flags
140 1, 2, 174, 2, 0x06 /* Public */,
141
142 // slots: name, argc, parameters, tag, flags
143 6, 0, 179, 2, 0x08 /* Private */,
144 7, 1, 180, 2, 0x08 /* Private */,
145 9, 0, 183, 2, 0x08 /* Private */,
146 10, 1, 184, 2, 0x08 /* Private */,
147 12, 2, 187, 2, 0x08 /* Private */,
148 15, 1, 192, 2, 0x08 /* Private */,
149 18, 1, 195, 2, 0x08 /* Private */,
150 20, 1, 198, 2, 0x08 /* Private */,
151 22, 1, 201, 2, 0x08 /* Private */,
152 24, 1, 204, 2, 0x08 /* Private */,
153 25, 0, 207, 2, 0x08 /* Private */,
154 26, 0, 208, 2, 0x08 /* Private */,
155 27, 0, 209, 2, 0x08 /* Private */,
156 28, 1, 210, 2, 0x0a /* Public */,
157 28, 0, 213, 2, 0x2a /* Public | MethodCloned */,
158 30, 0, 214, 2, 0x0a /* Public */,
159 31, 0, 215, 2, 0x0a /* Public */,
160 32, 1, 216, 2, 0x0a /* Public */,
161 34, 2, 219, 2, 0x0a /* Public */,
162 34, 3, 224, 2, 0x0a /* Public */,
163 38, 1, 231, 2, 0x0a /* Public */,
164 40, 1, 234, 2, 0x0a /* Public */,
165 42, 4, 237, 2, 0x0a /* Public */,
166 46, 2, 246, 2, 0x0a /* Public */,
167 50, 1, 251, 2, 0x0a /* Public */,
168 52, 0, 254, 2, 0x0a /* Public */,
169 53, 0, 255, 2, 0x0a /* Public */,
170 54, 1, 256, 2, 0x0a /* Public */,
171 56, 0, 259, 2, 0x0a /* Public */,
172 57, 1, 260, 2, 0x0a /* Public */,
173 60, 1, 263, 2, 0x08 /* Private */,
174
175 // signals: parameters
176 QMetaType::Void, QMetaType::QString, 0x80000000 | 4, 3, 5,
177
178 // slots: parameters
179 QMetaType::Void,
180 QMetaType::Void, QMetaType::Int, 8,
181 QMetaType::Void,
182 QMetaType::Void, QMetaType::Int, 11,
183 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 13, 14,
184 QMetaType::Void, 0x80000000 | 16, 17,
185 QMetaType::Void, 0x80000000 | 19, 17,
186 QMetaType::Void, 0x80000000 | 21, 17,
187 QMetaType::Void, QMetaType::QPoint, 23,
188 QMetaType::Void, QMetaType::QPoint, 23,
189 QMetaType::Void,
190 QMetaType::Void,
191 QMetaType::Void,
192 QMetaType::Void, QMetaType::Bool, 29,
193 QMetaType::Void,
194 QMetaType::Void,
195 QMetaType::Void,
196 QMetaType::Void, QMetaType::Int, 33,
197 QMetaType::Void, QMetaType::Int, QMetaType::QString, 35, 36,
198 QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::Bool, 35, 34, 37,
199 QMetaType::Void, QMetaType::Int, 39,
200 QMetaType::Void, QMetaType::Bool, 41,
201 QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool, 39, 43, 44, 45,
202 QMetaType::Void, QMetaType::Long, 0x80000000 | 48, 47, 49,
203 QMetaType::Void, QMetaType::Int, 51,
204 QMetaType::Void,
205 QMetaType::Void,
206 QMetaType::Void, QMetaType::Int, 55,
207 QMetaType::Void,
208 QMetaType::Void, 0x80000000 | 58, 59,
209 QMetaType::Void, QMetaType::QString, 61,
210
211 0 // eod
212};
213
214void RPCConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
215{
216 if (_c == QMetaObject::InvokeMetaMethod) {
217 auto *_t = static_cast<RPCConsole *>(_o);
218 (void)_t;
219 switch (_id) {
220 case 0: _t->cmdRequest((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const WalletModel*(*)>(_a[2]))); break;
221 case 1: _t->on_lineEdit_returnPressed(); break;
222 case 2: _t->on_tabWidget_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
223 case 3: _t->on_openDebugLogfileButton_clicked(); break;
224 case 4: _t->on_sldGraphRange_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
225 case 5: _t->updateTrafficStats((*reinterpret_cast< quint64(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2]))); break;
226 case 6: _t->resizeEvent((*reinterpret_cast< QResizeEvent*(*)>(_a[1]))); break;
227 case 7: _t->showEvent((*reinterpret_cast< QShowEvent*(*)>(_a[1]))); break;
228 case 8: _t->hideEvent((*reinterpret_cast< QHideEvent*(*)>(_a[1]))); break;
229 case 9: _t->showPeersTableContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
230 case 10: _t->showBanTableContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
231 case 11: _t->showOrHideBanTableIfRequired(); break;
232 case 12: _t->clearSelectedNode(); break;
233 case 13: _t->updateDetailWidget(); break;
234 case 14: _t->clear((*reinterpret_cast< bool(*)>(_a[1]))); break;
235 case 15: _t->clear(); break;
236 case 16: _t->fontBigger(); break;
237 case 17: _t->fontSmaller(); break;
238 case 18: _t->setFontSize((*reinterpret_cast< int(*)>(_a[1]))); break;
239 case 19: _t->message((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
240 case 20: _t->message((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
241 case 21: _t->setNumConnections((*reinterpret_cast< int(*)>(_a[1]))); break;
242 case 22: _t->setNetworkActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
243 case 23: _t->setNumBlocks((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QDateTime(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
244 case 24: _t->setMempoolSize((*reinterpret_cast< long(*)>(_a[1])),(*reinterpret_cast< size_t(*)>(_a[2]))); break;
245 case 25: _t->browseHistory((*reinterpret_cast< int(*)>(_a[1]))); break;
246 case 26: _t->scrollToEnd(); break;
247 case 27: _t->disconnectSelectedNode(); break;
248 case 28: _t->banSelectedNode((*reinterpret_cast< int(*)>(_a[1]))); break;
249 case 29: _t->unbanSelectedNode(); break;
250 case 30: _t->setTabFocus((*reinterpret_cast< TabTypes(*)>(_a[1]))); break;
251 case 31: _t->updateAlerts((*reinterpret_cast< const QString(*)>(_a[1]))); break;
252 default: ;
253 }
254 } else if (_c == QMetaObject::IndexOfMethod) {
255 int *result = reinterpret_cast<int *>(_a[0]);
256 {
257 using _t = void (RPCConsole::*)(const QString & , const WalletModel * );
258 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RPCConsole::cmdRequest)) {
259 *result = 0;
260 return;
261 }
262 }
263 }
264}
265
266QT_INIT_METAOBJECT const QMetaObject RPCConsole::staticMetaObject = { {
267 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
270 qt_static_metacall,
271 nullptr,
272 nullptr
273} };
274
275
276const QMetaObject *RPCConsole::metaObject() const
277{
278 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
279}
280
281void *RPCConsole::qt_metacast(const char *_clname)
282{
283 if (!_clname) return nullptr;
284 if (!strcmp(_clname, qt_meta_stringdata_RPCConsole.stringdata0))
285 return static_cast<void*>(this);
286 return QWidget::qt_metacast(_clname);
287}
288
289int RPCConsole::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
290{
291 _id = QWidget::qt_metacall(_c, _id, _a);
292 if (_id < 0)
293 return _id;
294 if (_c == QMetaObject::InvokeMetaMethod) {
295 if (_id < 32)
296 qt_static_metacall(this, _c, _id, _a);
297 _id -= 32;
298 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
299 if (_id < 32)
300 *reinterpret_cast<int*>(_a[0]) = -1;
301 _id -= 32;
302 }
303 return _id;
304}
305
306// SIGNAL 0
307void RPCConsole::cmdRequest(const QString & _t1, const WalletModel * _t2)
308{
309 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
310 QMetaObject::activate(this, &staticMetaObject, 0, _a);
311}
312QT_WARNING_POP
313QT_END_MOC_NAMESPACE
Local Bitcoin RPC console.
Definition: rpcconsole.h:39
void cmdRequest(const QString &command, const WalletModel *wallet_model)
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:52
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_RPCConsole[]
static const qt_meta_stringdata_RPCConsole_t qt_meta_stringdata_RPCConsole