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