Bitcoin Core  28.1.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 
21 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
25  QByteArrayData data[63];
26  char stringdata0[840];
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  {
35 QT_MOC_LITERAL(0, 0, 10), // "RPCConsole"
36 QT_MOC_LITERAL(1, 11, 25), // "on_lineEdit_returnPressed"
37 QT_MOC_LITERAL(2, 37, 0), // ""
38 QT_MOC_LITERAL(3, 38, 27), // "on_tabWidget_currentChanged"
39 QT_MOC_LITERAL(4, 66, 5), // "index"
40 QT_MOC_LITERAL(5, 72, 33), // "on_openDebugLogfileButton_cli..."
41 QT_MOC_LITERAL(6, 106, 29), // "on_sldGraphRange_valueChanged"
42 QT_MOC_LITERAL(7, 136, 5), // "value"
43 QT_MOC_LITERAL(8, 142, 18), // "updateTrafficStats"
44 QT_MOC_LITERAL(9, 161, 12), // "totalBytesIn"
45 QT_MOC_LITERAL(10, 174, 13), // "totalBytesOut"
46 QT_MOC_LITERAL(11, 188, 11), // "resizeEvent"
47 QT_MOC_LITERAL(12, 200, 13), // "QResizeEvent*"
48 QT_MOC_LITERAL(13, 214, 5), // "event"
49 QT_MOC_LITERAL(14, 220, 9), // "showEvent"
50 QT_MOC_LITERAL(15, 230, 11), // "QShowEvent*"
51 QT_MOC_LITERAL(16, 242, 9), // "hideEvent"
52 QT_MOC_LITERAL(17, 252, 11), // "QHideEvent*"
53 QT_MOC_LITERAL(18, 264, 25), // "showPeersTableContextMenu"
54 QT_MOC_LITERAL(19, 290, 5), // "point"
55 QT_MOC_LITERAL(20, 296, 23), // "showBanTableContextMenu"
56 QT_MOC_LITERAL(21, 320, 28), // "showOrHideBanTableIfRequired"
57 QT_MOC_LITERAL(22, 349, 17), // "clearSelectedNode"
58 QT_MOC_LITERAL(23, 367, 18), // "updateDetailWidget"
59 QT_MOC_LITERAL(24, 386, 5), // "clear"
60 QT_MOC_LITERAL(25, 392, 11), // "keep_prompt"
61 QT_MOC_LITERAL(26, 404, 10), // "fontBigger"
62 QT_MOC_LITERAL(27, 415, 11), // "fontSmaller"
63 QT_MOC_LITERAL(28, 427, 11), // "setFontSize"
64 QT_MOC_LITERAL(29, 439, 7), // "newSize"
65 QT_MOC_LITERAL(30, 447, 7), // "message"
66 QT_MOC_LITERAL(31, 455, 8), // "category"
67 QT_MOC_LITERAL(32, 464, 3), // "msg"
68 QT_MOC_LITERAL(33, 468, 4), // "html"
69 QT_MOC_LITERAL(34, 473, 17), // "setNumConnections"
70 QT_MOC_LITERAL(35, 491, 5), // "count"
71 QT_MOC_LITERAL(36, 497, 16), // "setNetworkActive"
72 QT_MOC_LITERAL(37, 514, 13), // "networkActive"
73 QT_MOC_LITERAL(38, 528, 12), // "setNumBlocks"
74 QT_MOC_LITERAL(39, 541, 9), // "blockDate"
75 QT_MOC_LITERAL(40, 551, 21), // "nVerificationProgress"
76 QT_MOC_LITERAL(41, 573, 8), // "SyncType"
77 QT_MOC_LITERAL(42, 582, 8), // "synctype"
78 QT_MOC_LITERAL(43, 591, 14), // "setMempoolSize"
79 QT_MOC_LITERAL(44, 606, 11), // "numberOfTxs"
80 QT_MOC_LITERAL(45, 618, 6), // "size_t"
81 QT_MOC_LITERAL(46, 625, 8), // "dynUsage"
82 QT_MOC_LITERAL(47, 634, 8), // "maxUsage"
83 QT_MOC_LITERAL(48, 643, 13), // "browseHistory"
84 QT_MOC_LITERAL(49, 657, 6), // "offset"
85 QT_MOC_LITERAL(50, 664, 11), // "scrollToEnd"
86 QT_MOC_LITERAL(51, 676, 22), // "disconnectSelectedNode"
87 QT_MOC_LITERAL(52, 699, 15), // "banSelectedNode"
88 QT_MOC_LITERAL(53, 715, 7), // "bantime"
89 QT_MOC_LITERAL(54, 723, 17), // "unbanSelectedNode"
90 QT_MOC_LITERAL(55, 741, 11), // "setTabFocus"
91 QT_MOC_LITERAL(56, 753, 8), // "TabTypes"
92 QT_MOC_LITERAL(57, 762, 7), // "tabType"
93 QT_MOC_LITERAL(58, 770, 16), // "setCurrentWallet"
94 QT_MOC_LITERAL(59, 787, 17), // "WalletModel*const"
95 QT_MOC_LITERAL(60, 805, 12), // "wallet_model"
96 QT_MOC_LITERAL(61, 818, 12), // "updateAlerts"
97 QT_MOC_LITERAL(62, 831, 8) // "warnings"
98 
99  },
100  "RPCConsole\0on_lineEdit_returnPressed\0"
101  "\0on_tabWidget_currentChanged\0index\0"
102  "on_openDebugLogfileButton_clicked\0"
103  "on_sldGraphRange_valueChanged\0value\0"
104  "updateTrafficStats\0totalBytesIn\0"
105  "totalBytesOut\0resizeEvent\0QResizeEvent*\0"
106  "event\0showEvent\0QShowEvent*\0hideEvent\0"
107  "QHideEvent*\0showPeersTableContextMenu\0"
108  "point\0showBanTableContextMenu\0"
109  "showOrHideBanTableIfRequired\0"
110  "clearSelectedNode\0updateDetailWidget\0"
111  "clear\0keep_prompt\0fontBigger\0fontSmaller\0"
112  "setFontSize\0newSize\0message\0category\0"
113  "msg\0html\0setNumConnections\0count\0"
114  "setNetworkActive\0networkActive\0"
115  "setNumBlocks\0blockDate\0nVerificationProgress\0"
116  "SyncType\0synctype\0setMempoolSize\0"
117  "numberOfTxs\0size_t\0dynUsage\0maxUsage\0"
118  "browseHistory\0offset\0scrollToEnd\0"
119  "disconnectSelectedNode\0banSelectedNode\0"
120  "bantime\0unbanSelectedNode\0setTabFocus\0"
121  "TabTypes\0tabType\0setCurrentWallet\0"
122  "WalletModel*const\0wallet_model\0"
123  "updateAlerts\0warnings"
124 };
125 #undef QT_MOC_LITERAL
126 
127 static const uint qt_meta_data_RPCConsole[] = {
128 
129  // content:
130  8, // revision
131  0, // classname
132  0, 0, // classinfo
133  32, 14, // methods
134  0, 0, // properties
135  0, 0, // enums/sets
136  0, 0, // constructors
137  0, // flags
138  0, // signalCount
139 
140  // slots: name, argc, parameters, tag, flags
141  1, 0, 174, 2, 0x08 /* Private */,
142  3, 1, 175, 2, 0x08 /* Private */,
143  5, 0, 178, 2, 0x08 /* Private */,
144  6, 1, 179, 2, 0x08 /* Private */,
145  8, 2, 182, 2, 0x08 /* Private */,
146  11, 1, 187, 2, 0x08 /* Private */,
147  14, 1, 190, 2, 0x08 /* Private */,
148  16, 1, 193, 2, 0x08 /* Private */,
149  18, 1, 196, 2, 0x08 /* Private */,
150  20, 1, 199, 2, 0x08 /* Private */,
151  21, 0, 202, 2, 0x08 /* Private */,
152  22, 0, 203, 2, 0x08 /* Private */,
153  23, 0, 204, 2, 0x08 /* Private */,
154  24, 1, 205, 2, 0x0a /* Public */,
155  24, 0, 208, 2, 0x2a /* Public | MethodCloned */,
156  26, 0, 209, 2, 0x0a /* Public */,
157  27, 0, 210, 2, 0x0a /* Public */,
158  28, 1, 211, 2, 0x0a /* Public */,
159  30, 2, 214, 2, 0x0a /* Public */,
160  30, 3, 219, 2, 0x0a /* Public */,
161  34, 1, 226, 2, 0x0a /* Public */,
162  36, 1, 229, 2, 0x0a /* Public */,
163  38, 4, 232, 2, 0x0a /* Public */,
164  43, 3, 241, 2, 0x0a /* Public */,
165  48, 1, 248, 2, 0x0a /* Public */,
166  50, 0, 251, 2, 0x0a /* Public */,
167  51, 0, 252, 2, 0x0a /* Public */,
168  52, 1, 253, 2, 0x0a /* Public */,
169  54, 0, 256, 2, 0x0a /* Public */,
170  55, 1, 257, 2, 0x0a /* Public */,
171  58, 1, 260, 2, 0x0a /* Public */,
172  61, 1, 263, 2, 0x08 /* Private */,
173 
174  // slots: parameters
175  QMetaType::Void,
176  QMetaType::Void, QMetaType::Int, 4,
177  QMetaType::Void,
178  QMetaType::Void, QMetaType::Int, 7,
179  QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 9, 10,
180  QMetaType::Void, 0x80000000 | 12, 13,
181  QMetaType::Void, 0x80000000 | 15, 13,
182  QMetaType::Void, 0x80000000 | 17, 13,
183  QMetaType::Void, QMetaType::QPoint, 19,
184  QMetaType::Void, QMetaType::QPoint, 19,
185  QMetaType::Void,
186  QMetaType::Void,
187  QMetaType::Void,
188  QMetaType::Void, QMetaType::Bool, 25,
189  QMetaType::Void,
190  QMetaType::Void,
191  QMetaType::Void,
192  QMetaType::Void, QMetaType::Int, 29,
193  QMetaType::Void, QMetaType::Int, QMetaType::QString, 31, 32,
194  QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::Bool, 31, 30, 33,
195  QMetaType::Void, QMetaType::Int, 35,
196  QMetaType::Void, QMetaType::Bool, 37,
197  QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, 0x80000000 | 41, 35, 39, 40, 42,
198  QMetaType::Void, QMetaType::Long, 0x80000000 | 45, 0x80000000 | 45, 44, 46, 47,
199  QMetaType::Void, QMetaType::Int, 49,
200  QMetaType::Void,
201  QMetaType::Void,
202  QMetaType::Void, QMetaType::Int, 53,
203  QMetaType::Void,
204  QMetaType::Void, 0x80000000 | 56, 57,
205  QMetaType::Void, 0x80000000 | 59, 60,
206  QMetaType::Void, QMetaType::QString, 62,
207 
208  0 // eod
209 };
210 
211 void RPCConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
212 {
213  if (_c == QMetaObject::InvokeMetaMethod) {
214  auto *_t = static_cast<RPCConsole *>(_o);
215  (void)_t;
216  switch (_id) {
217  case 0: _t->on_lineEdit_returnPressed(); break;
218  case 1: _t->on_tabWidget_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
219  case 2: _t->on_openDebugLogfileButton_clicked(); break;
220  case 3: _t->on_sldGraphRange_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
221  case 4: _t->updateTrafficStats((*reinterpret_cast< quint64(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2]))); break;
222  case 5: _t->resizeEvent((*reinterpret_cast< QResizeEvent*(*)>(_a[1]))); break;
223  case 6: _t->showEvent((*reinterpret_cast< QShowEvent*(*)>(_a[1]))); break;
224  case 7: _t->hideEvent((*reinterpret_cast< QHideEvent*(*)>(_a[1]))); break;
225  case 8: _t->showPeersTableContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
226  case 9: _t->showBanTableContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
227  case 10: _t->showOrHideBanTableIfRequired(); break;
228  case 11: _t->clearSelectedNode(); break;
229  case 12: _t->updateDetailWidget(); break;
230  case 13: _t->clear((*reinterpret_cast< bool(*)>(_a[1]))); break;
231  case 14: _t->clear(); break;
232  case 15: _t->fontBigger(); break;
233  case 16: _t->fontSmaller(); break;
234  case 17: _t->setFontSize((*reinterpret_cast< int(*)>(_a[1]))); break;
235  case 18: _t->message((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
236  case 19: _t->message((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
237  case 20: _t->setNumConnections((*reinterpret_cast< int(*)>(_a[1]))); break;
238  case 21: _t->setNetworkActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
239  case 22: _t->setNumBlocks((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QDateTime(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< SyncType(*)>(_a[4]))); break;
240  case 23: _t->setMempoolSize((*reinterpret_cast< long(*)>(_a[1])),(*reinterpret_cast< size_t(*)>(_a[2])),(*reinterpret_cast< size_t(*)>(_a[3]))); break;
241  case 24: _t->browseHistory((*reinterpret_cast< int(*)>(_a[1]))); break;
242  case 25: _t->scrollToEnd(); break;
243  case 26: _t->disconnectSelectedNode(); break;
244  case 27: _t->banSelectedNode((*reinterpret_cast< int(*)>(_a[1]))); break;
245  case 28: _t->unbanSelectedNode(); break;
246  case 29: _t->setTabFocus((*reinterpret_cast< TabTypes(*)>(_a[1]))); break;
247  case 30: _t->setCurrentWallet((*reinterpret_cast< WalletModel*const(*)>(_a[1]))); break;
248  case 31: _t->updateAlerts((*reinterpret_cast< const QString(*)>(_a[1]))); break;
249  default: ;
250  }
251  }
252 }
253 
254 QT_INIT_METAOBJECT const QMetaObject RPCConsole::staticMetaObject = { {
255  QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
258  qt_static_metacall,
259  nullptr,
260  nullptr
261 } };
262 
263 
264 const QMetaObject *RPCConsole::metaObject() const
265 {
266  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
267 }
268 
269 void *RPCConsole::qt_metacast(const char *_clname)
270 {
271  if (!_clname) return nullptr;
272  if (!strcmp(_clname, qt_meta_stringdata_RPCConsole.stringdata0))
273  return static_cast<void*>(this);
274  return QWidget::qt_metacast(_clname);
275 }
276 
277 int RPCConsole::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
278 {
279  _id = QWidget::qt_metacall(_c, _id, _a);
280  if (_id < 0)
281  return _id;
282  if (_c == QMetaObject::InvokeMetaMethod) {
283  if (_id < 32)
284  qt_static_metacall(this, _c, _id, _a);
285  _id -= 32;
286  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
287  if (_id < 32)
288  *reinterpret_cast<int*>(_a[0]) = -1;
289  _id -= 32;
290  }
291  return _id;
292 }
293 QT_WARNING_POP
294 QT_END_MOC_NAMESPACE
Local Bitcoin RPC console.
Definition: rpcconsole.h:41
void on_lineEdit_returnPressed()
#define QT_MOC_LITERAL(idx, ofs, len)
SyncType
Definition: clientmodel.h:42
static const uint qt_meta_data_RPCConsole[]
static const qt_meta_stringdata_RPCConsole_t qt_meta_stringdata_RPCConsole
Interface to Bitcoin wallet from Qt view code.
Definition: walletmodel.h:47