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.)"
23QT_WARNING_DISABLE_DEPRECATED
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)) \
99 "RPCConsole\0cmdRequest\0\0command\0"
100 "const WalletModel*\0wallet_model\0"
101 "on_lineEdit_returnPressed\0"
102 "on_tabWidget_currentChanged\0index\0"
103 "on_openDebugLogfileButton_clicked\0"
104 "on_sldGraphRange_valueChanged\0value\0"
105 "updateTrafficStats\0totalBytesIn\0"
106 "totalBytesOut\0resizeEvent\0QResizeEvent*\0"
107 "event\0showEvent\0QShowEvent*\0hideEvent\0"
108 "QHideEvent*\0showPeersTableContextMenu\0"
109 "point\0showBanTableContextMenu\0"
110 "showOrHideBanTableIfRequired\0"
111 "clearSelectedNode\0updateDetailWidget\0"
112 "clear\0keep_prompt\0fontBigger\0fontSmaller\0"
113 "setFontSize\0newSize\0message\0category\0"
114 "msg\0html\0setNumConnections\0count\0"
115 "setNetworkActive\0networkActive\0"
116 "setNumBlocks\0blockDate\0nVerificationProgress\0"
117 "headers\0setMempoolSize\0numberOfTxs\0"
118 "size_t\0dynUsage\0browseHistory\0offset\0"
119 "scrollToEnd\0disconnectSelectedNode\0"
120 "banSelectedNode\0bantime\0unbanSelectedNode\0"
121 "setTabFocus\0TabTypes\0tabType\0updateAlerts\0"
146 10, 1, 184, 2, 0x08 ,
147 12, 2, 187, 2, 0x08 ,
148 15, 1, 192, 2, 0x08 ,
149 18, 1, 195, 2, 0x08 ,
150 20, 1, 198, 2, 0x08 ,
151 22, 1, 201, 2, 0x08 ,
152 24, 1, 204, 2, 0x08 ,
153 25, 0, 207, 2, 0x08 ,
154 26, 0, 208, 2, 0x08 ,
155 27, 0, 209, 2, 0x08 ,
156 28, 1, 210, 2, 0x0a ,
157 28, 0, 213, 2, 0x2a ,
158 30, 0, 214, 2, 0x0a ,
159 31, 0, 215, 2, 0x0a ,
160 32, 1, 216, 2, 0x0a ,
161 34, 2, 219, 2, 0x0a ,
162 34, 3, 224, 2, 0x0a ,
163 38, 1, 231, 2, 0x0a ,
164 40, 1, 234, 2, 0x0a ,
165 42, 4, 237, 2, 0x0a ,
166 46, 2, 246, 2, 0x0a ,
167 50, 1, 251, 2, 0x0a ,
168 52, 0, 254, 2, 0x0a ,
169 53, 0, 255, 2, 0x0a ,
170 54, 1, 256, 2, 0x0a ,
171 56, 0, 259, 2, 0x0a ,
172 57, 1, 260, 2, 0x0a ,
173 60, 1, 263, 2, 0x08 ,
176 QMetaType::Void, QMetaType::QString, 0x80000000 | 4, 3, 5,
180 QMetaType::Void, QMetaType::Int, 8,
182 QMetaType::Void, QMetaType::Int, 11,
183 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 13, 14,
184 QMetaType::Void, 0x80000000 | 16, 17,
185 QMetaType::Void, 0x80000000 | 19, 17,
186 QMetaType::Void, 0x80000000 | 21, 17,
187 QMetaType::Void, QMetaType::QPoint, 23,
188 QMetaType::Void, QMetaType::QPoint, 23,
192 QMetaType::Void, QMetaType::Bool, 29,
196 QMetaType::Void, QMetaType::Int, 33,
197 QMetaType::Void, QMetaType::Int, QMetaType::QString, 35, 36,
198 QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::Bool, 35, 34, 37,
199 QMetaType::Void, QMetaType::Int, 39,
200 QMetaType::Void, QMetaType::Bool, 41,
201 QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool, 39, 43, 44, 45,
202 QMetaType::Void, QMetaType::Long, 0x80000000 | 48, 47, 49,
203 QMetaType::Void, QMetaType::Int, 51,
206 QMetaType::Void, QMetaType::Int, 55,
208 QMetaType::Void, 0x80000000 | 58, 59,
209 QMetaType::Void, QMetaType::QString, 61,
214void RPCConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
216 if (_c == QMetaObject::InvokeMetaMethod) {
220 case 0: _t->
cmdRequest((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const WalletModel*(*)
>(_a[2])));
break;
221 case 1: _t->on_lineEdit_returnPressed();
break;
222 case 2: _t->on_tabWidget_currentChanged((*
reinterpret_cast< int(*)
>(_a[1])));
break;
223 case 3: _t->on_openDebugLogfileButton_clicked();
break;
224 case 4: _t->on_sldGraphRange_valueChanged((*
reinterpret_cast< int(*)
>(_a[1])));
break;
225 case 5: _t->updateTrafficStats((*
reinterpret_cast< quint64(*)
>(_a[1])),(*
reinterpret_cast< quint64(*)
>(_a[2])));
break;
226 case 6: _t->resizeEvent((*
reinterpret_cast< QResizeEvent*(*)
>(_a[1])));
break;
227 case 7: _t->showEvent((*
reinterpret_cast< QShowEvent*(*)
>(_a[1])));
break;
228 case 8: _t->hideEvent((*
reinterpret_cast< QHideEvent*(*)
>(_a[1])));
break;
229 case 9: _t->showPeersTableContextMenu((*
reinterpret_cast< const QPoint(*)
>(_a[1])));
break;
230 case 10: _t->showBanTableContextMenu((*
reinterpret_cast< const QPoint(*)
>(_a[1])));
break;
231 case 11: _t->showOrHideBanTableIfRequired();
break;
232 case 12: _t->clearSelectedNode();
break;
233 case 13: _t->updateDetailWidget();
break;
234 case 14: _t->clear((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
235 case 15: _t->clear();
break;
236 case 16: _t->fontBigger();
break;
237 case 17: _t->fontSmaller();
break;
238 case 18: _t->setFontSize((*
reinterpret_cast< int(*)
>(_a[1])));
break;
239 case 19: _t->message((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])));
break;
240 case 20: _t->message((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< bool(*)
>(_a[3])));
break;
241 case 21: _t->setNumConnections((*
reinterpret_cast< int(*)
>(_a[1])));
break;
242 case 22: _t->setNetworkActive((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
243 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;
244 case 24: _t->setMempoolSize((*
reinterpret_cast< long(*)
>(_a[1])),(*
reinterpret_cast< size_t(*)
>(_a[2])));
break;
245 case 25: _t->browseHistory((*
reinterpret_cast< int(*)
>(_a[1])));
break;
246 case 26: _t->scrollToEnd();
break;
247 case 27: _t->disconnectSelectedNode();
break;
248 case 28: _t->banSelectedNode((*
reinterpret_cast< int(*)
>(_a[1])));
break;
249 case 29: _t->unbanSelectedNode();
break;
250 case 30: _t->setTabFocus((*
reinterpret_cast< TabTypes(*)
>(_a[1])));
break;
251 case 31: _t->updateAlerts((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
254 }
else if (_c == QMetaObject::IndexOfMethod) {
255 int *result =
reinterpret_cast<int *
>(_a[0]);
266QT_INIT_METAOBJECT
const QMetaObject RPCConsole::staticMetaObject = { {
267 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
276const QMetaObject *RPCConsole::metaObject()
const
278 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
281void *RPCConsole::qt_metacast(
const char *_clname)
283 if (!_clname)
return nullptr;
285 return static_cast<void*
>(
this);
286 return QWidget::qt_metacast(_clname);
289int RPCConsole::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
291 _id = QWidget::qt_metacall(_c, _id, _a);
294 if (_c == QMetaObject::InvokeMetaMethod) {
296 qt_static_metacall(
this, _c, _id, _a);
298 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
300 *
reinterpret_cast<int*
>(_a[0]) = -1;
309 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
310 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
Local Bitcoin RPC console.
void cmdRequest(const QString &command, const WalletModel *wallet_model)
Interface to Bitcoin wallet from Qt view code.
#define QT_MOC_LITERAL(idx, ofs, len)
static const uint qt_meta_data_RPCConsole[]
static const qt_meta_stringdata_RPCConsole_t qt_meta_stringdata_RPCConsole