Anoncoin  0.9.4
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 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/rpcconsole.h"
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.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
21  QByteArrayData data[37];
22  char stringdata[468];
23 };
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) \
28  )
29 static const qt_meta_stringdata_RPCConsole_t qt_meta_stringdata_RPCConsole = {
30  {
31 QT_MOC_LITERAL(0, 0, 10),
32 QT_MOC_LITERAL(1, 11, 12),
33 QT_MOC_LITERAL(2, 24, 0),
34 QT_MOC_LITERAL(3, 25, 10),
35 QT_MOC_LITERAL(4, 36, 7),
36 QT_MOC_LITERAL(5, 44, 25),
37 QT_MOC_LITERAL(6, 70, 27),
38 QT_MOC_LITERAL(7, 98, 5),
39 QT_MOC_LITERAL(8, 104, 33),
40 QT_MOC_LITERAL(9, 138, 29),
41 QT_MOC_LITERAL(10, 168, 5),
42 QT_MOC_LITERAL(11, 174, 18),
43 QT_MOC_LITERAL(12, 193, 12),
44 QT_MOC_LITERAL(13, 206, 13),
45 QT_MOC_LITERAL(14, 220, 11),
46 QT_MOC_LITERAL(15, 232, 13),
47 QT_MOC_LITERAL(16, 246, 5),
48 QT_MOC_LITERAL(17, 252, 9),
49 QT_MOC_LITERAL(18, 262, 11),
50 QT_MOC_LITERAL(19, 274, 9),
51 QT_MOC_LITERAL(20, 284, 11),
52 QT_MOC_LITERAL(21, 296, 5),
53 QT_MOC_LITERAL(22, 302, 6),
54 QT_MOC_LITERAL(23, 309, 7),
55 QT_MOC_LITERAL(24, 317, 8),
56 QT_MOC_LITERAL(25, 326, 4),
57 QT_MOC_LITERAL(26, 331, 17),
58 QT_MOC_LITERAL(27, 349, 5),
59 QT_MOC_LITERAL(28, 355, 12),
60 QT_MOC_LITERAL(29, 368, 13),
61 QT_MOC_LITERAL(30, 382, 6),
62 QT_MOC_LITERAL(31, 389, 11),
63 QT_MOC_LITERAL(32, 401, 12),
64 QT_MOC_LITERAL(33, 414, 14),
65 QT_MOC_LITERAL(34, 429, 8),
66 QT_MOC_LITERAL(35, 438, 10),
67 QT_MOC_LITERAL(36, 449, 17)
68  },
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"
82 };
83 #undef QT_MOC_LITERAL
84 
85 static const uint qt_meta_data_RPCConsole[] = {
86 
87  // content:
88  7, // revision
89  0, // classname
90  0, 0, // classinfo
91  20, 14, // methods
92  0, 0, // properties
93  0, 0, // enums/sets
94  0, 0, // constructors
95  0, // flags
96  2, // signalCount
97 
98  // signals: name, argc, parameters, tag, flags
99  1, 0, 114, 2, 0x06,
100  3, 1, 115, 2, 0x06,
101 
102  // slots: name, argc, parameters, tag, flags
103  5, 0, 118, 2, 0x08,
104  6, 1, 119, 2, 0x08,
105  8, 0, 122, 2, 0x08,
106  9, 1, 123, 2, 0x08,
107  11, 2, 126, 2, 0x08,
108  14, 1, 131, 2, 0x08,
109  17, 1, 134, 2, 0x08,
110  19, 1, 137, 2, 0x08,
111  21, 0, 140, 2, 0x0a,
112  22, 0, 141, 2, 0x0a,
113  23, 3, 142, 2, 0x0a,
114  23, 2, 149, 2, 0x2a,
115  26, 1, 154, 2, 0x0a,
116  28, 1, 157, 2, 0x0a,
117  29, 1, 160, 2, 0x0a,
118  31, 0, 163, 2, 0x0a,
119  32, 2, 164, 2, 0x0a,
120  36, 0, 169, 2, 0x0a,
121 
122  // signals: parameters
123  QMetaType::Void,
124  QMetaType::Void, QMetaType::QString, 4,
125 
126  // slots: parameters
127  QMetaType::Void,
128  QMetaType::Void, QMetaType::Int, 7,
129  QMetaType::Void,
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,
135  QMetaType::Void,
136  QMetaType::Void,
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,
142  QMetaType::Void,
143  QMetaType::Void, 0x80000000 | 33, 0x80000000 | 33, 34, 35,
144  QMetaType::Void,
145 
146  0 // eod
147 };
148 
149 void RPCConsole::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
150 {
151  if (_c == QMetaObject::InvokeMetaMethod) {
152  RPCConsole *_t = static_cast<RPCConsole *>(_o);
153  switch (_id) {
154  case 0: _t->stopExecutor(); break;
155  case 1: _t->cmdRequest((*reinterpret_cast< const QString(*)>(_a[1]))); break;
156  case 2: _t->on_lineEdit_returnPressed(); break;
157  case 3: _t->on_tabWidget_currentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
158  case 4: _t->on_openDebugLogfileButton_clicked(); break;
159  case 5: _t->on_sldGraphRange_valueChanged((*reinterpret_cast< int(*)>(_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;
168  case 14: _t->setNumConnections((*reinterpret_cast< int(*)>(_a[1]))); break;
169  case 15: _t->setNumBlocks((*reinterpret_cast< int(*)>(_a[1]))); break;
170  case 16: _t->browseHistory((*reinterpret_cast< int(*)>(_a[1]))); break;
171  case 17: _t->scrollToEnd(); break;
172  case 18: _t->peerSelected((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
173  case 19: _t->peerLayoutChanged(); break;
174  default: ;
175  }
176  } else if (_c == QMetaObject::IndexOfMethod) {
177  int *result = reinterpret_cast<int *>(_a[0]);
178  void **func = reinterpret_cast<void **>(_a[1]);
179  {
180  typedef void (RPCConsole::*_t)();
181  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RPCConsole::stopExecutor)) {
182  *result = 0;
183  }
184  }
185  {
186  typedef void (RPCConsole::*_t)(const QString & );
187  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RPCConsole::cmdRequest)) {
188  *result = 1;
189  }
190  }
191  }
192 }
193 
194 const QMetaObject RPCConsole::staticMetaObject = {
195  { &QDialog::staticMetaObject, qt_meta_stringdata_RPCConsole.data,
196  qt_meta_data_RPCConsole, qt_static_metacall, 0, 0}
197 };
198 
199 
200 const QMetaObject *RPCConsole::metaObject() const
201 {
202  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
203 }
204 
205 void *RPCConsole::qt_metacast(const char *_clname)
206 {
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);
211 }
212 
213 int RPCConsole::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
214 {
215  _id = QDialog::qt_metacall(_c, _id, _a);
216  if (_id < 0)
217  return _id;
218  if (_c == QMetaObject::InvokeMetaMethod) {
219  if (_id < 20)
220  qt_static_metacall(this, _c, _id, _a);
221  _id -= 20;
222  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
223  if (_id < 20)
224  *reinterpret_cast<int*>(_a[0]) = -1;
225  _id -= 20;
226  }
227  return _id;
228 }
229 
230 // SIGNAL 0
232 {
233  QMetaObject::activate(this, &staticMetaObject, 0, 0);
234 }
235 
236 // SIGNAL 1
237 void RPCConsole::cmdRequest(const QString & _t1)
238 {
239  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
240  QMetaObject::activate(this, &staticMetaObject, 1, _a);
241 }
242 QT_END_MOC_NAMESPACE
void reject()
Definition: rpcconsole.cpp:378
Local Anoncoin RPC console.
Definition: rpcconsole.h:26
void showEvent(QShowEvent *event)
Definition: rpcconsole.cpp:658
void on_lineEdit_returnPressed()
Definition: rpcconsole.cpp:420
void message(int category, const QString &message, bool html=false)
Definition: rpcconsole.cpp:385
void scrollToEnd()
Scroll console view to end.
Definition: rpcconsole.cpp:493
void on_tabWidget_currentChanged(int index)
Definition: rpcconsole.cpp:480
#define QT_MOC_LITERAL(idx, ofs, len)
void resizeEvent(QResizeEvent *event)
Definition: rpcconsole.cpp:653
void browseHistory(int offset)
Go forward or back in history.
Definition: rpcconsole.cpp:443
void peerLayoutChanged()
Handle updated peer information.
Definition: rpcconsole.cpp:552
void on_openDebugLogfileButton_clicked()
open the debug.log from the current datadir
Definition: rpcconsole.cpp:488
void hideEvent(QHideEvent *event)
Definition: rpcconsole.cpp:669
void updateTrafficStats(quint64 totalBytesIn, quint64 totalBytesOut)
update traffic statistics
Definition: rpcconsole.cpp:534
void setNumConnections(int count)
Set number of connections shown in the UI.
Definition: rpcconsole.cpp:401
void on_sldGraphRange_valueChanged(int value)
change the time range of the network traffic graph
Definition: rpcconsole.cpp:499
void clear()
Definition: rpcconsole.cpp:345
void peerSelected(const QItemSelection &selected, const QItemSelection &deselected)
Handle selection of peer in peers list.
Definition: rpcconsole.cpp:540
void stopExecutor()
void setNumBlocks(int count)
Set number of blocks shown in the UI.
Definition: rpcconsole.cpp:413
void cmdRequest(const QString &command)