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