9 #include <QtCore/qbytearray.h> 10 #include <QtCore/qmetatype.h> 11 #if !defined(Q_MOC_OUTPUT_REVISION) 12 #error "The header file 'rpcconsole.h' doesn't include <QObject>." 13 #elif Q_MOC_OUTPUT_REVISION != 67 14 #error "This file was generated using the moc from 5.5.1. It" 15 #error "cannot be used with the include files from this version of Qt." 16 #error "(The moc has changed too much.)" 19 QT_BEGIN_MOC_NAMESPACE
24 #define QT_MOC_LITERAL(idx, ofs, len) \ 25 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 26 qptrdiff(offsetof(qt_meta_stringdata_RPCConsole_t, stringdata0) + ofs \ 27 - idx * sizeof(QByteArrayData)) \ 96 "RPCConsole\0stopExecutor\0\0cmdRequest\0" 97 "command\0on_lineEdit_returnPressed\0" 98 "on_tabWidget_currentChanged\0index\0" 99 "on_openDebugLogfileButton_clicked\0" 100 "on_sldGraphRange_valueChanged\0value\0" 101 "updateTrafficStats\0totalBytesIn\0" 102 "totalBytesOut\0resizeEvent\0QResizeEvent*\0" 103 "event\0showEvent\0QShowEvent*\0hideEvent\0" 104 "QHideEvent*\0showPeersTableContextMenu\0" 105 "point\0showBanTableContextMenu\0" 106 "showOrHideBanTableIfRequired\0" 107 "clearSelectedNode\0clear\0clearHistory\0" 108 "fontBigger\0fontSmaller\0setFontSize\0" 109 "newSize\0message\0category\0html\0" 110 "setNumConnections\0count\0setNetworkActive\0" 111 "networkActive\0setNumBlocks\0blockDate\0" 112 "nVerificationProgress\0headers\0" 113 "setMempoolSize\0numberOfTxs\0size_t\0" 114 "dynUsage\0browseHistory\0offset\0scrollToEnd\0" 115 "peerSelected\0QItemSelection\0selected\0" 116 "deselected\0peerLayoutAboutToChange\0" 117 "peerLayoutChanged\0disconnectSelectedNode\0" 118 "banSelectedNode\0bantime\0unbanSelectedNode\0" 119 "setTabFocus\0TabTypes\0tabType" 121 #undef QT_MOC_LITERAL 123 static const uint qt_meta_data_RPCConsole[] = {
145 11, 2, 196, 2, 0x08 ,
146 14, 1, 201, 2, 0x08 ,
147 17, 1, 204, 2, 0x08 ,
148 19, 1, 207, 2, 0x08 ,
149 21, 1, 210, 2, 0x08 ,
150 23, 1, 213, 2, 0x08 ,
151 24, 0, 216, 2, 0x08 ,
152 25, 0, 217, 2, 0x08 ,
153 26, 1, 218, 2, 0x0a ,
154 26, 0, 221, 2, 0x2a ,
155 28, 0, 222, 2, 0x0a ,
156 29, 0, 223, 2, 0x0a ,
157 30, 1, 224, 2, 0x0a ,
158 32, 3, 227, 2, 0x0a ,
159 32, 2, 234, 2, 0x2a ,
160 35, 1, 239, 2, 0x0a ,
161 37, 1, 242, 2, 0x0a ,
162 39, 4, 245, 2, 0x0a ,
163 43, 2, 254, 2, 0x0a ,
164 47, 1, 259, 2, 0x0a ,
165 49, 0, 262, 2, 0x0a ,
166 50, 2, 263, 2, 0x0a ,
167 54, 0, 268, 2, 0x0a ,
168 55, 0, 269, 2, 0x0a ,
169 56, 0, 270, 2, 0x0a ,
170 57, 1, 271, 2, 0x0a ,
171 59, 0, 274, 2, 0x0a ,
172 60, 1, 275, 2, 0x0a ,
176 QMetaType::Void, QMetaType::QString, 4,
180 QMetaType::Void, QMetaType::Int, 7,
182 QMetaType::Void, QMetaType::Int, 10,
183 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 12, 13,
184 QMetaType::Void, 0x80000000 | 15, 16,
185 QMetaType::Void, 0x80000000 | 18, 16,
186 QMetaType::Void, 0x80000000 | 20, 16,
187 QMetaType::Void, QMetaType::QPoint, 22,
188 QMetaType::Void, QMetaType::QPoint, 22,
191 QMetaType::Void, QMetaType::Bool, 27,
195 QMetaType::Void, QMetaType::Int, 31,
196 QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::Bool, 33, 32, 34,
197 QMetaType::Void, QMetaType::Int, QMetaType::QString, 33, 32,
198 QMetaType::Void, QMetaType::Int, 36,
199 QMetaType::Void, QMetaType::Bool, 38,
200 QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool, 36, 40, 41, 42,
201 QMetaType::Void, QMetaType::Long, 0x80000000 | 45, 44, 46,
202 QMetaType::Void, QMetaType::Int, 48,
204 QMetaType::Void, 0x80000000 | 51, 0x80000000 | 51, 52, 53,
208 QMetaType::Void, QMetaType::Int, 58,
210 QMetaType::Void, 0x80000000 | 61, 62,
215 void RPCConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
217 if (_c == QMetaObject::InvokeMetaMethod) {
222 case 1: _t->
cmdRequest((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
227 case 6: _t->
updateTrafficStats((*
reinterpret_cast< quint64(*)
>(_a[1])),(*
reinterpret_cast< quint64(*)
>(_a[2])));
break;
228 case 7: _t->
resizeEvent((*
reinterpret_cast< QResizeEvent*(*)
>(_a[1])));
break;
229 case 8: _t->
showEvent((*
reinterpret_cast< QShowEvent*(*)
>(_a[1])));
break;
230 case 9: _t->
hideEvent((*
reinterpret_cast< QHideEvent*(*)
>(_a[1])));
break;
235 case 14: _t->
clear((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
236 case 15: _t->
clear();
break;
239 case 18: _t->
setFontSize((*
reinterpret_cast< int(*)
>(_a[1])));
break;
240 case 19: _t->
message((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< bool(*)
>(_a[3])));
break;
241 case 20: _t->
message((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])));
break;
244 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;
245 case 24: _t->
setMempoolSize((*
reinterpret_cast< long(*)
>(_a[1])),(*
reinterpret_cast< size_t(*)
>(_a[2])));
break;
246 case 25: _t->
browseHistory((*
reinterpret_cast< int(*)
>(_a[1])));
break;
248 case 27: _t->
peerSelected((*
reinterpret_cast< const QItemSelection(*)
>(_a[1])),(*
reinterpret_cast< const QItemSelection(*)
>(_a[2])));
break;
252 case 31: _t->
banSelectedNode((*
reinterpret_cast< int(*)
>(_a[1])));
break;
254 case 33: _t->
setTabFocus((*
reinterpret_cast< TabTypes(*)
>(_a[1])));
break;
257 }
else if (_c == QMetaObject::IndexOfMethod) {
258 int *result =
reinterpret_cast<int *
>(_a[0]);
259 void **func =
reinterpret_cast<void **
>(_a[1]);
267 typedef void (
RPCConsole::*_t)(
const QString & );
275 const QMetaObject RPCConsole::staticMetaObject = {
276 { &QWidget::staticMetaObject, qt_meta_stringdata_RPCConsole.
data,
277 qt_meta_data_RPCConsole, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
281 const QMetaObject *RPCConsole::metaObject()
const 283 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
286 void *RPCConsole::qt_metacast(
const char *_clname)
288 if (!_clname)
return Q_NULLPTR;
289 if (!strcmp(_clname, qt_meta_stringdata_RPCConsole.
stringdata0))
290 return static_cast<void*
>(
const_cast< RPCConsole*
>(
this));
291 return QWidget::qt_metacast(_clname);
294 int RPCConsole::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
296 _id = QWidget::qt_metacall(_c, _id, _a);
299 if (_c == QMetaObject::InvokeMetaMethod) {
301 qt_static_metacall(
this, _c, _id, _a);
303 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
305 *
reinterpret_cast<int*
>(_a[0]) = -1;
314 QMetaObject::activate(
this, &staticMetaObject, 0, Q_NULLPTR);
320 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
321 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
Local Fabcoin RPC console.
void showEvent(QShowEvent *event)
void on_lineEdit_returnPressed()
void message(int category, const QString &message, bool html=false)
Append the message to the message widget.
void showPeersTableContextMenu(const QPoint &point)
Show custom context menu on Peers tab.
void setNetworkActive(bool networkActive)
Set network state shown in the UI.
void scrollToEnd()
Scroll console view to end.
void clearSelectedNode()
clear the selected node
void disconnectSelectedNode()
Disconnect a selected node on the Peers tab.
void on_tabWidget_currentChanged(int index)
#define QT_MOC_LITERAL(idx, ofs, len)
void resizeEvent(QResizeEvent *event)
void browseHistory(int offset)
Go forward or back in history.
void setTabFocus(enum TabTypes tabType)
set which tab has the focus (is visible)
void peerLayoutChanged()
Handle updated peer information.
void on_openDebugLogfileButton_clicked()
open the debug.log from the current datadir
void unbanSelectedNode()
Unban a selected node on the Bans tab.
void hideEvent(QHideEvent *event)
void clear(bool clearHistory=true)
void showOrHideBanTableIfRequired()
Hides ban table if no bans are present.
void updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut)
update traffic statistics
void setMempoolSize(long numberOfTxs, size_t dynUsage)
Set size (number of transactions and memory usage) of the mempool in the UI.
void setFontSize(int newSize)
void setNumConnections(int count)
Set number of connections shown in the UI.
void peerLayoutAboutToChange()
Handle selection caching before update.
void on_sldGraphRange_valueChanged(int value)
change the time range of the network traffic graph
void banSelectedNode(int bantime)
Ban a selected node on the Peers tab.
void peerSelected(const QItemSelection &selected, const QItemSelection &deselected)
Handle selection of peer in peers list.
void cmdRequest(const QString &command)
void setNumBlocks(int count, const QDateTime &blockDate, double nVerificationProgress, bool headers)
Set number of blocks and last block date shown in the UI.
void showBanTableContextMenu(const QPoint &point)
Show custom context menu on Bans tab.