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.9.4. 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
21 QT_WARNING_DISABLE_DEPRECATED
26 #define QT_MOC_LITERAL(idx, ofs, len) \ 27 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 28 qptrdiff(offsetof(qt_meta_stringdata_ClientModel_t, stringdata0) + ofs \ 29 - idx * sizeof(QByteArrayData)) \ 65 "ClientModel\0numConnectionsChanged\0\0" 66 "count\0numBlocksChanged\0blockDate\0" 67 "nVerificationProgress\0header\0" 68 "SynchronizationState\0sync_state\0" 69 "mempoolSizeChanged\0size_t\0mempoolSizeInBytes\0" 70 "networkActiveChanged\0networkActive\0" 71 "alertsChanged\0warnings\0bytesChanged\0" 72 "totalBytesIn\0totalBytesOut\0message\0" 73 "title\0style\0showProgress\0nProgress\0" 74 "updateNumConnections\0numConnections\0" 75 "updateNetworkActive\0updateAlert\0" 100 20, 3, 104, 2, 0x06 ,
101 23, 2, 111, 2, 0x06 ,
104 25, 1, 116, 2, 0x0a ,
105 27, 1, 119, 2, 0x0a ,
106 28, 0, 122, 2, 0x0a ,
107 29, 0, 123, 2, 0x0a ,
110 QMetaType::Void, QMetaType::Int, 3,
111 QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, QMetaType::Bool, 0x80000000 | 8, 3, 5, 6, 7, 9,
112 QMetaType::Void, QMetaType::Long, 0x80000000 | 11, 3, 12,
113 QMetaType::Void, QMetaType::Bool, 14,
114 QMetaType::Void, QMetaType::QString, 16,
115 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 18, 19,
116 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 21, 20, 22,
117 QMetaType::Void, QMetaType::QString, QMetaType::Int, 21, 24,
120 QMetaType::Void, QMetaType::Int, 26,
121 QMetaType::Void, QMetaType::Bool, 14,
128 void ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
130 if (_c == QMetaObject::InvokeMetaMethod) {
135 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])),(*
reinterpret_cast< SynchronizationState(*)
>(_a[5])));
break;
136 case 2: _t->
mempoolSizeChanged((*
reinterpret_cast< long(*)
>(_a[1])),(*
reinterpret_cast< size_t(*)
>(_a[2])));
break;
138 case 4: _t->
alertsChanged((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
139 case 5: _t->
bytesChanged((*
reinterpret_cast< quint64(*)
>(_a[1])),(*
reinterpret_cast< quint64(*)
>(_a[2])));
break;
140 case 6: _t->
message((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< uint(*)
>(_a[3])));
break;
141 case 7: _t->
showProgress((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
148 }
else if (_c == QMetaObject::IndexOfMethod) {
149 int *result =
reinterpret_cast<int *
>(_a[0]);
186 typedef void (
ClientModel::*_t)(quint64 , quint64 );
193 typedef void (
ClientModel::*_t)(
const QString & ,
const QString & ,
unsigned int );
200 typedef void (
ClientModel::*_t)(
const QString & , int );
209 const QMetaObject ClientModel::staticMetaObject = {
215 const QMetaObject *ClientModel::metaObject()
const 217 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
220 void *ClientModel::qt_metacast(
const char *_clname)
222 if (!_clname)
return nullptr;
224 return static_cast<void*
>(
this);
225 return QObject::qt_metacast(_clname);
228 int ClientModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
230 _id = QObject::qt_metacall(_c, _id, _a);
233 if (_c == QMetaObject::InvokeMetaMethod) {
235 qt_static_metacall(
this, _c, _id, _a);
237 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
239 *
reinterpret_cast<int*
>(_a[0]) = -1;
248 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
249 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
255 void *_a[] = {
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)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t5)) };
256 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
262 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
263 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
269 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
270 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
276 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
277 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
283 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
284 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
290 void *_a[] = {
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)) };
291 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
297 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
298 QMetaObject::activate(
this, &staticMetaObject, 7, _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)
SynchronizationState
Current sync state passed to tip changed callbacks.
#define QT_MOC_LITERAL(idx, ofs, len)
void networkActiveChanged(bool networkActive)
void numBlocksChanged(int count, const QDateTime &blockDate, double nVerificationProgress, bool header, SynchronizationState sync_state)
void numConnectionsChanged(int count)
void alertsChanged(const QString &warnings)
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
Model for Bitcoin network client.
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes)
static const uint qt_meta_data_ClientModel[]
void updateNumConnections(int numConnections)
static const qt_meta_stringdata_ClientModel_t qt_meta_stringdata_ClientModel
void showProgress(const QString &title, int nProgress)