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.)" 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 qptrdiff(offsetof(qt_meta_stringdata_ClientModel_t, stringdata0) + ofs \ 27 - idx * sizeof(QByteArrayData)) \ 63 "ClientModel\0numConnectionsChanged\0\0" 64 "count\0numBlocksChanged\0blockDate\0" 65 "nVerificationProgress\0header\0" 66 "mempoolSizeChanged\0size_t\0mempoolSizeInBytes\0" 67 "networkActiveChanged\0networkActive\0" 68 "alertsChanged\0warnings\0bytesChanged\0" 69 "totalBytesIn\0totalBytesOut\0tipChanged\0" 70 "message\0title\0style\0showProgress\0" 71 "nProgress\0updateTimer\0updateNumConnections\0" 72 "numConnections\0updateNetworkActive\0" 73 "updateAlert\0updateBanlist" 77 static const uint qt_meta_data_ClientModel[] = {
102 24, 0, 125, 2, 0x0a ,
103 25, 1, 126, 2, 0x0a ,
104 27, 1, 129, 2, 0x0a ,
105 28, 0, 132, 2, 0x0a ,
106 29, 0, 133, 2, 0x0a ,
109 QMetaType::Void, QMetaType::Int, 3,
110 QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool, 3, 5, 6, 7,
111 QMetaType::Void, QMetaType::Long, 0x80000000 | 9, 3, 10,
112 QMetaType::Void, QMetaType::Bool, 12,
113 QMetaType::Void, QMetaType::QString, 14,
114 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 16, 17,
116 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 20, 19, 21,
117 QMetaType::Void, QMetaType::QString, QMetaType::Int, 20, 23,
121 QMetaType::Void, QMetaType::Int, 26,
122 QMetaType::Void, QMetaType::Bool, 12,
129 void ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
131 if (_c == QMetaObject::InvokeMetaMethod) {
136 case 1: _t->
numBlocksChanged((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QDateTime(*)
>(_a[2])),(*
reinterpret_cast< double(*)
>(_a[3])),(*
reinterpret_cast< bool(*)
>(_a[4])));
break;
137 case 2: _t->
mempoolSizeChanged((*
reinterpret_cast< long(*)
>(_a[1])),(*
reinterpret_cast< size_t(*)
>(_a[2])));
break;
139 case 4: _t->
alertsChanged((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
140 case 5: _t->
bytesChanged((*
reinterpret_cast< quint64(*)
>(_a[1])),(*
reinterpret_cast< quint64(*)
>(_a[2])));
break;
142 case 7: _t->
message((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< uint(*)
>(_a[3])));
break;
143 case 8: _t->
showProgress((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
151 }
else if (_c == QMetaObject::IndexOfMethod) {
152 int *result =
reinterpret_cast<int *
>(_a[0]);
153 void **func =
reinterpret_cast<void **
>(_a[1]);
161 typedef void (
ClientModel::*_t)(int ,
const QDateTime & , double , bool );
185 typedef void (
ClientModel::*_t)(quint64 , quint64 );
197 typedef void (
ClientModel::*_t)(
const QString & ,
const QString & ,
unsigned int );
203 typedef void (
ClientModel::*_t)(
const QString & , int );
211 const QMetaObject ClientModel::staticMetaObject = {
212 { &QObject::staticMetaObject, qt_meta_stringdata_ClientModel.
data,
213 qt_meta_data_ClientModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
217 const QMetaObject *ClientModel::metaObject()
const 219 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
222 void *ClientModel::qt_metacast(
const char *_clname)
224 if (!_clname)
return Q_NULLPTR;
225 if (!strcmp(_clname, qt_meta_stringdata_ClientModel.
stringdata0))
226 return static_cast<void*
>(
const_cast< ClientModel*
>(
this));
227 return QObject::qt_metacast(_clname);
230 int ClientModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
232 _id = QObject::qt_metacall(_c, _id, _a);
235 if (_c == QMetaObject::InvokeMetaMethod) {
237 qt_static_metacall(
this, _c, _id, _a);
239 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
241 *
reinterpret_cast<int*
>(_a[0]) = -1;
250 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
251 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
257 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)) };
258 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
264 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
265 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
271 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
272 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
278 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
279 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
285 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
286 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
292 QMetaObject::activate(
this, &staticMetaObject, 6, Q_NULLPTR);
298 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)) };
299 QMetaObject::activate(
this, &staticMetaObject, 7, _a);
305 void *_a[] = { Q_NULLPTR,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
306 QMetaObject::activate(
this, &staticMetaObject, 8, _a);
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
void updateNetworkActive(bool networkActive)
#define QT_MOC_LITERAL(idx, ofs, len)
void networkActiveChanged(bool networkActive)
void numConnectionsChanged(int count)
void alertsChanged(const QString &warnings)
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
void numBlocksChanged(int count, const QDateTime &blockDate, double nVerificationProgress, bool header)
Model for Fabcoin network client.
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes)
void updateNumConnections(int numConnections)
void showProgress(const QString &title, int nProgress)