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.9.4. 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
21 QT_WARNING_DISABLE_DEPRECATED
26 #define QT_MOC_LITERAL(idx, ofs, len) \ 27 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 28 qptrdiff(offsetof(qt_meta_stringdata_RPCConsole_t, stringdata0) + ofs \ 29 - idx * sizeof(QByteArrayData)) \ 102 "RPCConsole\0cmdRequest\0\0command\0" 103 "const WalletModel*\0wallet_model\0" 104 "on_lineEdit_returnPressed\0" 105 "on_tabWidget_currentChanged\0index\0" 106 "on_openDebugLogfileButton_clicked\0" 107 "on_sldGraphRange_valueChanged\0value\0" 108 "updateTrafficStats\0totalBytesIn\0" 109 "totalBytesOut\0resizeEvent\0QResizeEvent*\0" 110 "event\0showEvent\0QShowEvent*\0hideEvent\0" 111 "QHideEvent*\0showPeersTableContextMenu\0" 112 "point\0showBanTableContextMenu\0" 113 "showOrHideBanTableIfRequired\0" 114 "clearSelectedNode\0clear\0clearHistory\0" 115 "fontBigger\0fontSmaller\0setFontSize\0" 116 "newSize\0message\0category\0msg\0html\0" 117 "setNumConnections\0count\0setNetworkActive\0" 118 "networkActive\0setNumBlocks\0blockDate\0" 119 "nVerificationProgress\0headers\0" 120 "setMempoolSize\0numberOfTxs\0size_t\0" 121 "dynUsage\0browseHistory\0offset\0scrollToEnd\0" 122 "peerSelected\0QItemSelection\0selected\0" 123 "deselected\0peerLayoutAboutToChange\0" 124 "peerLayoutChanged\0disconnectSelectedNode\0" 125 "banSelectedNode\0bantime\0unbanSelectedNode\0" 126 "setTabFocus\0TabTypes\0tabType\0updateAlerts\0" 129 #undef QT_MOC_LITERAL 151 10, 1, 194, 2, 0x08 ,
152 12, 2, 197, 2, 0x08 ,
153 15, 1, 202, 2, 0x08 ,
154 18, 1, 205, 2, 0x08 ,
155 20, 1, 208, 2, 0x08 ,
156 22, 1, 211, 2, 0x08 ,
157 24, 1, 214, 2, 0x08 ,
158 25, 0, 217, 2, 0x08 ,
159 26, 0, 218, 2, 0x08 ,
160 27, 1, 219, 2, 0x0a ,
161 27, 0, 222, 2, 0x2a ,
162 29, 0, 223, 2, 0x0a ,
163 30, 0, 224, 2, 0x0a ,
164 31, 1, 225, 2, 0x0a ,
165 33, 2, 228, 2, 0x0a ,
166 33, 3, 233, 2, 0x0a ,
167 37, 1, 240, 2, 0x0a ,
168 39, 1, 243, 2, 0x0a ,
169 41, 4, 246, 2, 0x0a ,
170 45, 2, 255, 2, 0x0a ,
171 49, 1, 260, 2, 0x0a ,
172 51, 0, 263, 2, 0x0a ,
173 52, 2, 264, 2, 0x0a ,
174 56, 0, 269, 2, 0x0a ,
175 57, 0, 270, 2, 0x0a ,
176 58, 0, 271, 2, 0x0a ,
177 59, 1, 272, 2, 0x0a ,
178 61, 0, 275, 2, 0x0a ,
179 62, 1, 276, 2, 0x0a ,
180 65, 1, 279, 2, 0x08 ,
183 QMetaType::Void, QMetaType::QString, 0x80000000 | 4, 3, 5,
187 QMetaType::Void, QMetaType::Int, 8,
189 QMetaType::Void, QMetaType::Int, 11,
190 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 13, 14,
191 QMetaType::Void, 0x80000000 | 16, 17,
192 QMetaType::Void, 0x80000000 | 19, 17,
193 QMetaType::Void, 0x80000000 | 21, 17,
194 QMetaType::Void, QMetaType::QPoint, 23,
195 QMetaType::Void, QMetaType::QPoint, 23,
198 QMetaType::Void, QMetaType::Bool, 28,
202 QMetaType::Void, QMetaType::Int, 32,
203 QMetaType::Void, QMetaType::Int, QMetaType::QString, 34, 35,
204 QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::Bool, 34, 33, 36,
205 QMetaType::Void, QMetaType::Int, 38,
206 QMetaType::Void, QMetaType::Bool, 40,
207 QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool, 38, 42, 43, 44,
208 QMetaType::Void, QMetaType::Long, 0x80000000 | 47, 46, 48,
209 QMetaType::Void, QMetaType::Int, 50,
211 QMetaType::Void, 0x80000000 | 53, 0x80000000 | 53, 54, 55,
215 QMetaType::Void, QMetaType::Int, 60,
217 QMetaType::Void, 0x80000000 | 63, 64,
218 QMetaType::Void, QMetaType::QString, 66,
223 void RPCConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
225 if (_c == QMetaObject::InvokeMetaMethod) {
229 case 0: _t->
cmdRequest((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const WalletModel*(*)
>(_a[2])));
break;
234 case 5: _t->
updateTrafficStats((*
reinterpret_cast< quint64(*)
>(_a[1])),(*
reinterpret_cast< quint64(*)
>(_a[2])));
break;
235 case 6: _t->
resizeEvent((*
reinterpret_cast< QResizeEvent*(*)
>(_a[1])));
break;
236 case 7: _t->
showEvent((*
reinterpret_cast< QShowEvent*(*)
>(_a[1])));
break;
237 case 8: _t->
hideEvent((*
reinterpret_cast< QHideEvent*(*)
>(_a[1])));
break;
242 case 13: _t->
clear((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
243 case 14: _t->
clear();
break;
246 case 17: _t->
setFontSize((*
reinterpret_cast< int(*)
>(_a[1])));
break;
247 case 18: _t->
message((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])));
break;
248 case 19: _t->
message((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< bool(*)
>(_a[3])));
break;
251 case 22: _t->
setNumBlocks((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QDateTime(*)
>(_a[2])),(*
reinterpret_cast< double(*)
>(_a[3])),(*
reinterpret_cast< bool(*)
>(_a[4])));
break;
252 case 23: _t->
setMempoolSize((*
reinterpret_cast< long(*)
>(_a[1])),(*
reinterpret_cast< size_t(*)
>(_a[2])));
break;
253 case 24: _t->
browseHistory((*
reinterpret_cast< int(*)
>(_a[1])));
break;
255 case 26: _t->
peerSelected((*
reinterpret_cast< const QItemSelection(*)
>(_a[1])),(*
reinterpret_cast< const QItemSelection(*)
>(_a[2])));
break;
259 case 30: _t->
banSelectedNode((*
reinterpret_cast< int(*)
>(_a[1])));
break;
262 case 33: _t->
updateAlerts((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
265 }
else if (_c == QMetaObject::IndexOfMethod) {
266 int *result =
reinterpret_cast<int *
>(_a[0]);
277 const QMetaObject RPCConsole::staticMetaObject = {
283 const QMetaObject *RPCConsole::metaObject()
const 285 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
288 void *RPCConsole::qt_metacast(
const char *_clname)
290 if (!_clname)
return nullptr;
292 return static_cast<void*
>(
this);
293 return QWidget::qt_metacast(_clname);
296 int RPCConsole::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
298 _id = QWidget::qt_metacall(_c, _id, _a);
301 if (_c == QMetaObject::InvokeMetaMethod) {
303 qt_static_metacall(
this, _c, _id, _a);
305 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
307 *
reinterpret_cast<int*
>(_a[0]) = -1;
316 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
317 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
Local Bitcoin RPC console.
void on_lineEdit_returnPressed()
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 browseHistory(int offset)
Go forward or back in history.
void resizeEvent(QResizeEvent *event) override
void message(int category, const QString &msg)
Append the message to the message widget.
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.
static const uint qt_meta_data_RPCConsole[]
void clear(bool clearHistory=true)
void showOrHideBanTableIfRequired()
Hides ban table if no bans are present.
void updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut)
update traffic statistics
static const qt_meta_stringdata_RPCConsole_t qt_meta_stringdata_RPCConsole
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.
Interface to Bitcoin wallet from Qt view code.
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 updateAlerts(const QString &warnings)
void peerSelected(const QItemSelection &selected, const QItemSelection &deselected)
Handle selection of peer in peers list.
void showEvent(QShowEvent *event) override
void cmdRequest(const QString &command, const WalletModel *wallet_model)
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.
void hideEvent(QHideEvent *event) override