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.2.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 offsetof(qt_meta_stringdata_RPCConsole_t, stringdata) + ofs \
27 - idx * sizeof(QByteArrayData) \
69 "RPCConsole\0stopExecutor\0\0cmdRequest\0"
70 "command\0on_lineEdit_returnPressed\0"
71 "on_tabWidget_currentChanged\0index\0"
72 "on_openDebugLogfileButton_clicked\0"
73 "on_sldGraphRange_valueChanged\0value\0"
74 "updateTrafficStats\0totalBytesIn\0"
75 "totalBytesOut\0resizeEvent\0QResizeEvent*\0"
76 "event\0showEvent\0QShowEvent*\0hideEvent\0"
77 "QHideEvent*\0clear\0reject\0message\0"
78 "category\0html\0setNumConnections\0count\0"
79 "setNumBlocks\0browseHistory\0offset\0"
80 "scrollToEnd\0peerSelected\0QItemSelection\0"
81 "selected\0deselected\0peerLayoutChanged\0"
85 static const uint qt_meta_data_RPCConsole[] = {
124 QMetaType::Void, QMetaType::QString, 4,
128 QMetaType::Void, QMetaType::Int, 7,
130 QMetaType::Void, QMetaType::Int, 10,
131 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 12, 13,
132 QMetaType::Void, 0x80000000 | 15, 16,
133 QMetaType::Void, 0x80000000 | 18, 16,
134 QMetaType::Void, 0x80000000 | 20, 16,
137 QMetaType::Void, QMetaType::Int, QMetaType::QString, QMetaType::Bool, 24, 23, 25,
138 QMetaType::Void, QMetaType::Int, QMetaType::QString, 24, 23,
139 QMetaType::Void, QMetaType::Int, 27,
140 QMetaType::Void, QMetaType::Int, 27,
141 QMetaType::Void, QMetaType::Int, 30,
143 QMetaType::Void, 0x80000000 | 33, 0x80000000 | 33, 34, 35,
149 void RPCConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
151 if (_c == QMetaObject::InvokeMetaMethod) {
155 case 1: _t->
cmdRequest((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
160 case 6: _t->
updateTrafficStats((*
reinterpret_cast< quint64(*)
>(_a[1])),(*
reinterpret_cast< quint64(*)
>(_a[2])));
break;
161 case 7: _t->
resizeEvent((*
reinterpret_cast< QResizeEvent*(*)
>(_a[1])));
break;
162 case 8: _t->
showEvent((*
reinterpret_cast< QShowEvent*(*)
>(_a[1])));
break;
163 case 9: _t->
hideEvent((*
reinterpret_cast< QHideEvent*(*)
>(_a[1])));
break;
164 case 10: _t->
clear();
break;
165 case 11: _t->
reject();
break;
166 case 12: _t->
message((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< bool(*)
>(_a[3])));
break;
167 case 13: _t->
message((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])));
break;
169 case 15: _t->
setNumBlocks((*
reinterpret_cast< int(*)
>(_a[1])));
break;
170 case 16: _t->
browseHistory((*
reinterpret_cast< int(*)
>(_a[1])));
break;
172 case 18: _t->
peerSelected((*
reinterpret_cast< const QItemSelection(*)
>(_a[1])),(*
reinterpret_cast< const QItemSelection(*)
>(_a[2])));
break;
176 }
else if (_c == QMetaObject::IndexOfMethod) {
177 int *result =
reinterpret_cast<int *
>(_a[0]);
178 void **func =
reinterpret_cast<void **
>(_a[1]);
186 typedef void (
RPCConsole::*_t)(
const QString & );
194 const QMetaObject RPCConsole::staticMetaObject = {
195 { &QDialog::staticMetaObject, qt_meta_stringdata_RPCConsole.
data,
196 qt_meta_data_RPCConsole, qt_static_metacall, 0, 0}
200 const QMetaObject *RPCConsole::metaObject()
const
202 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
205 void *RPCConsole::qt_metacast(
const char *_clname)
207 if (!_clname)
return 0;
208 if (!strcmp(_clname, qt_meta_stringdata_RPCConsole.
stringdata))
209 return static_cast<void*
>(
const_cast< RPCConsole*
>(
this));
210 return QDialog::qt_metacast(_clname);
213 int RPCConsole::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
215 _id = QDialog::qt_metacall(_c, _id, _a);
218 if (_c == QMetaObject::InvokeMetaMethod) {
220 qt_static_metacall(
this, _c, _id, _a);
222 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
224 *
reinterpret_cast<int*
>(_a[0]) = -1;
233 QMetaObject::activate(
this, &staticMetaObject, 0, 0);
239 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
240 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
Local Anoncoin RPC console.
void showEvent(QShowEvent *event)
void on_lineEdit_returnPressed()
void message(int category, const QString &message, bool html=false)
void scrollToEnd()
Scroll console view to end.
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 peerLayoutChanged()
Handle updated peer information.
void on_openDebugLogfileButton_clicked()
open the debug.log from the current datadir
void hideEvent(QHideEvent *event)
void updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut)
update traffic statistics
void setNumConnections(int count)
Set number of connections shown in the UI.
void on_sldGraphRange_valueChanged(int value)
change the time range of the network traffic graph
void peerSelected(const QItemSelection &selected, const QItemSelection &deselected)
Handle selection of peer in peers list.
void setNumBlocks(int count)
Set number of blocks shown in the UI.
void cmdRequest(const QString &command)