Dash Core  0.12.2.1
P2P Digital Currency
moc_clientmodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'clientmodel.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/clientmodel.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'clientmodel.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.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
21  QByteArrayData data[36];
22  char stringdata0[488];
23 };
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_ClientModel_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
30  {
31 QT_MOC_LITERAL(0, 0, 11), // "ClientModel"
32 QT_MOC_LITERAL(1, 12, 21), // "numConnectionsChanged"
33 QT_MOC_LITERAL(2, 34, 0), // ""
34 QT_MOC_LITERAL(3, 35, 5), // "count"
35 QT_MOC_LITERAL(4, 41, 21), // "strMasternodesChanged"
36 QT_MOC_LITERAL(5, 63, 14), // "strMasternodes"
37 QT_MOC_LITERAL(6, 78, 16), // "numBlocksChanged"
38 QT_MOC_LITERAL(7, 95, 9), // "blockDate"
39 QT_MOC_LITERAL(8, 105, 21), // "nVerificationProgress"
40 QT_MOC_LITERAL(9, 127, 6), // "header"
41 QT_MOC_LITERAL(10, 134, 33), // "additionalDataSyncProgressCha..."
42 QT_MOC_LITERAL(11, 168, 13), // "nSyncProgress"
43 QT_MOC_LITERAL(12, 182, 18), // "mempoolSizeChanged"
44 QT_MOC_LITERAL(13, 201, 6), // "size_t"
45 QT_MOC_LITERAL(14, 208, 18), // "mempoolSizeInBytes"
46 QT_MOC_LITERAL(15, 227, 20), // "networkActiveChanged"
47 QT_MOC_LITERAL(16, 248, 13), // "networkActive"
48 QT_MOC_LITERAL(17, 262, 13), // "alertsChanged"
49 QT_MOC_LITERAL(18, 276, 8), // "warnings"
50 QT_MOC_LITERAL(19, 285, 12), // "bytesChanged"
51 QT_MOC_LITERAL(20, 298, 12), // "totalBytesIn"
52 QT_MOC_LITERAL(21, 311, 13), // "totalBytesOut"
53 QT_MOC_LITERAL(22, 325, 7), // "message"
54 QT_MOC_LITERAL(23, 333, 5), // "title"
55 QT_MOC_LITERAL(24, 339, 5), // "style"
56 QT_MOC_LITERAL(25, 345, 12), // "showProgress"
57 QT_MOC_LITERAL(26, 358, 9), // "nProgress"
58 QT_MOC_LITERAL(27, 368, 11), // "updateTimer"
59 QT_MOC_LITERAL(28, 380, 13), // "updateMnTimer"
60 QT_MOC_LITERAL(29, 394, 20), // "updateNumConnections"
61 QT_MOC_LITERAL(30, 415, 14), // "numConnections"
62 QT_MOC_LITERAL(31, 430, 19), // "updateNetworkActive"
63 QT_MOC_LITERAL(32, 450, 11), // "updateAlert"
64 QT_MOC_LITERAL(33, 462, 4), // "hash"
65 QT_MOC_LITERAL(34, 467, 6), // "status"
66 QT_MOC_LITERAL(35, 474, 13) // "updateBanlist"
67 
68  },
69  "ClientModel\0numConnectionsChanged\0\0"
70  "count\0strMasternodesChanged\0strMasternodes\0"
71  "numBlocksChanged\0blockDate\0"
72  "nVerificationProgress\0header\0"
73  "additionalDataSyncProgressChanged\0"
74  "nSyncProgress\0mempoolSizeChanged\0"
75  "size_t\0mempoolSizeInBytes\0"
76  "networkActiveChanged\0networkActive\0"
77  "alertsChanged\0warnings\0bytesChanged\0"
78  "totalBytesIn\0totalBytesOut\0message\0"
79  "title\0style\0showProgress\0nProgress\0"
80  "updateTimer\0updateMnTimer\0"
81  "updateNumConnections\0numConnections\0"
82  "updateNetworkActive\0updateAlert\0hash\0"
83  "status\0updateBanlist"
84 };
85 #undef QT_MOC_LITERAL
86 
87 static const uint qt_meta_data_ClientModel[] = {
88 
89  // content:
90  7, // revision
91  0, // classname
92  0, 0, // classinfo
93  16, 14, // methods
94  0, 0, // properties
95  0, 0, // enums/sets
96  0, 0, // constructors
97  0, // flags
98  10, // signalCount
99 
100  // signals: name, argc, parameters, tag, flags
101  1, 1, 94, 2, 0x06 /* Public */,
102  4, 1, 97, 2, 0x06 /* Public */,
103  6, 4, 100, 2, 0x06 /* Public */,
104  10, 1, 109, 2, 0x06 /* Public */,
105  12, 2, 112, 2, 0x06 /* Public */,
106  15, 1, 117, 2, 0x06 /* Public */,
107  17, 1, 120, 2, 0x06 /* Public */,
108  19, 2, 123, 2, 0x06 /* Public */,
109  22, 3, 128, 2, 0x06 /* Public */,
110  25, 2, 135, 2, 0x06 /* Public */,
111 
112  // slots: name, argc, parameters, tag, flags
113  27, 0, 140, 2, 0x0a /* Public */,
114  28, 0, 141, 2, 0x0a /* Public */,
115  29, 1, 142, 2, 0x0a /* Public */,
116  31, 1, 145, 2, 0x0a /* Public */,
117  32, 2, 148, 2, 0x0a /* Public */,
118  35, 0, 153, 2, 0x0a /* Public */,
119 
120  // signals: parameters
121  QMetaType::Void, QMetaType::Int, 3,
122  QMetaType::Void, QMetaType::QString, 5,
123  QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool, 3, 7, 8, 9,
124  QMetaType::Void, QMetaType::Double, 11,
125  QMetaType::Void, QMetaType::Long, 0x80000000 | 13, 3, 14,
126  QMetaType::Void, QMetaType::Bool, 16,
127  QMetaType::Void, QMetaType::QString, 18,
128  QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 20, 21,
129  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 23, 22, 24,
130  QMetaType::Void, QMetaType::QString, QMetaType::Int, 23, 26,
131 
132  // slots: parameters
133  QMetaType::Void,
134  QMetaType::Void,
135  QMetaType::Void, QMetaType::Int, 30,
136  QMetaType::Void, QMetaType::Bool, 16,
137  QMetaType::Void, QMetaType::QString, QMetaType::Int, 33, 34,
138  QMetaType::Void,
139 
140  0 // eod
141 };
142 
143 void ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
144 {
145  if (_c == QMetaObject::InvokeMetaMethod) {
146  ClientModel *_t = static_cast<ClientModel *>(_o);
147  Q_UNUSED(_t)
148  switch (_id) {
149  case 0: _t->numConnectionsChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
150  case 1: _t->strMasternodesChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
151  case 2: _t->numBlocksChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QDateTime(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
152  case 3: _t->additionalDataSyncProgressChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
153  case 4: _t->mempoolSizeChanged((*reinterpret_cast< long(*)>(_a[1])),(*reinterpret_cast< size_t(*)>(_a[2]))); break;
154  case 5: _t->networkActiveChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
155  case 6: _t->alertsChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
156  case 7: _t->bytesChanged((*reinterpret_cast< quint64(*)>(_a[1])),(*reinterpret_cast< quint64(*)>(_a[2]))); break;
157  case 8: _t->message((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< uint(*)>(_a[3]))); break;
158  case 9: _t->showProgress((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
159  case 10: _t->updateTimer(); break;
160  case 11: _t->updateMnTimer(); break;
161  case 12: _t->updateNumConnections((*reinterpret_cast< int(*)>(_a[1]))); break;
162  case 13: _t->updateNetworkActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
163  case 14: _t->updateAlert((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
164  case 15: _t->updateBanlist(); break;
165  default: ;
166  }
167  } else if (_c == QMetaObject::IndexOfMethod) {
168  int *result = reinterpret_cast<int *>(_a[0]);
169  void **func = reinterpret_cast<void **>(_a[1]);
170  {
171  typedef void (ClientModel::*_t)(int );
172  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::numConnectionsChanged)) {
173  *result = 0;
174  }
175  }
176  {
177  typedef void (ClientModel::*_t)(const QString & );
178  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::strMasternodesChanged)) {
179  *result = 1;
180  }
181  }
182  {
183  typedef void (ClientModel::*_t)(int , const QDateTime & , double , bool );
184  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::numBlocksChanged)) {
185  *result = 2;
186  }
187  }
188  {
189  typedef void (ClientModel::*_t)(double );
190  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::additionalDataSyncProgressChanged)) {
191  *result = 3;
192  }
193  }
194  {
195  typedef void (ClientModel::*_t)(long , size_t );
196  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::mempoolSizeChanged)) {
197  *result = 4;
198  }
199  }
200  {
201  typedef void (ClientModel::*_t)(bool );
202  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::networkActiveChanged)) {
203  *result = 5;
204  }
205  }
206  {
207  typedef void (ClientModel::*_t)(const QString & );
208  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::alertsChanged)) {
209  *result = 6;
210  }
211  }
212  {
213  typedef void (ClientModel::*_t)(quint64 , quint64 );
214  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::bytesChanged)) {
215  *result = 7;
216  }
217  }
218  {
219  typedef void (ClientModel::*_t)(const QString & , const QString & , unsigned int );
220  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::message)) {
221  *result = 8;
222  }
223  }
224  {
225  typedef void (ClientModel::*_t)(const QString & , int );
226  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ClientModel::showProgress)) {
227  *result = 9;
228  }
229  }
230  }
231 }
232 
233 const QMetaObject ClientModel::staticMetaObject = {
234  { &QObject::staticMetaObject, qt_meta_stringdata_ClientModel.data,
235  qt_meta_data_ClientModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
236 };
237 
238 
239 const QMetaObject *ClientModel::metaObject() const
240 {
241  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
242 }
243 
244 void *ClientModel::qt_metacast(const char *_clname)
245 {
246  if (!_clname) return Q_NULLPTR;
247  if (!strcmp(_clname, qt_meta_stringdata_ClientModel.stringdata0))
248  return static_cast<void*>(const_cast< ClientModel*>(this));
249  return QObject::qt_metacast(_clname);
250 }
251 
252 int ClientModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
253 {
254  _id = QObject::qt_metacall(_c, _id, _a);
255  if (_id < 0)
256  return _id;
257  if (_c == QMetaObject::InvokeMetaMethod) {
258  if (_id < 16)
259  qt_static_metacall(this, _c, _id, _a);
260  _id -= 16;
261  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
262  if (_id < 16)
263  *reinterpret_cast<int*>(_a[0]) = -1;
264  _id -= 16;
265  }
266  return _id;
267 }
268 
269 // SIGNAL 0
271 {
272  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
273  QMetaObject::activate(this, &staticMetaObject, 0, _a);
274 }
275 
276 // SIGNAL 1
277 void ClientModel::strMasternodesChanged(const QString & _t1)
278 {
279  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
280  QMetaObject::activate(this, &staticMetaObject, 1, _a);
281 }
282 
283 // SIGNAL 2
284 void ClientModel::numBlocksChanged(int _t1, const QDateTime & _t2, double _t3, bool _t4)
285 {
286  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
287  QMetaObject::activate(this, &staticMetaObject, 2, _a);
288 }
289 
290 // SIGNAL 3
292 {
293  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
294  QMetaObject::activate(this, &staticMetaObject, 3, _a);
295 }
296 
297 // SIGNAL 4
298 void ClientModel::mempoolSizeChanged(long _t1, size_t _t2)
299 {
300  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
301  QMetaObject::activate(this, &staticMetaObject, 4, _a);
302 }
303 
304 // SIGNAL 5
306 {
307  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
308  QMetaObject::activate(this, &staticMetaObject, 5, _a);
309 }
310 
311 // SIGNAL 6
312 void ClientModel::alertsChanged(const QString & _t1)
313 {
314  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
315  QMetaObject::activate(this, &staticMetaObject, 6, _a);
316 }
317 
318 // SIGNAL 7
319 void ClientModel::bytesChanged(quint64 _t1, quint64 _t2)
320 {
321  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
322  QMetaObject::activate(this, &staticMetaObject, 7, _a);
323 }
324 
325 // SIGNAL 8
326 void ClientModel::message(const QString & _t1, const QString & _t2, unsigned int _t3)
327 {
328  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
329  QMetaObject::activate(this, &staticMetaObject, 8, _a);
330 }
331 
332 // SIGNAL 9
333 void ClientModel::showProgress(const QString & _t1, int _t2)
334 {
335  void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
336  QMetaObject::activate(this, &staticMetaObject, 9, _a);
337 }
338 QT_END_MOC_NAMESPACE
void additionalDataSyncProgressChanged(double nSyncProgress)
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes)
#define QT_MOC_LITERAL(idx, ofs, len)
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
void updateAlert(const QString &hash, int status)
void updateNumConnections(int numConnections)
void showProgress(const QString &title, int nProgress)
void strMasternodesChanged(const QString &strMasternodes)
void updateNetworkActive(bool networkActive)
void updateMnTimer()
void updateBanlist()
void alertsChanged(const QString &warnings)
static const uint qt_meta_data_ClientModel[]
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
void numConnectionsChanged(int count)
static const qt_meta_stringdata_ClientModel_t qt_meta_stringdata_ClientModel
void updateTimer()
void numBlocksChanged(int count, const QDateTime &blockDate, double nVerificationProgress, bool header)
result
Definition: rpcuser.py:37
void networkActiveChanged(bool networkActive)