10 #include <QtCore/qbytearray.h> 11 #include <QtCore/qmetatype.h> 12 #if !defined(Q_MOC_OUTPUT_REVISION) 13 #error "The header file 'clientmodel.h' doesn't include <QObject>." 14 #elif Q_MOC_OUTPUT_REVISION != 67 15 #error "This file was generated using the moc from 5.12.7. It" 16 #error "cannot be used with the include files from this version of Qt." 17 #error "(The moc has changed too much.)" 20 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_DISABLE_DEPRECATED
27 #define QT_MOC_LITERAL(idx, ofs, len) \ 28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ 29 qptrdiff(offsetof(qt_meta_stringdata_ClientModel_t, stringdata0) + ofs \ 30 - idx * sizeof(QByteArrayData)) \ 62 "ClientModel\0numConnectionsChanged\0\0" 63 "count\0numBlocksChanged\0blockDate\0" 64 "nVerificationProgress\0SyncType\0header\0" 65 "SynchronizationState\0sync_state\0" 66 "mempoolSizeChanged\0size_t\0mempoolSizeInBytes\0" 67 "networkActiveChanged\0networkActive\0" 68 "alertsChanged\0warnings\0bytesChanged\0" 69 "totalBytesIn\0totalBytesOut\0message\0" 70 "title\0style\0showProgress\0nProgress" 98 QMetaType::Void, QMetaType::Int, 3,
99 QMetaType::Void, QMetaType::Int, QMetaType::QDateTime, QMetaType::Double, 0x80000000 | 7, 0x80000000 | 9, 3, 5, 6, 8, 10,
100 QMetaType::Void, QMetaType::Long, 0x80000000 | 12, 3, 13,
101 QMetaType::Void, QMetaType::Bool, 15,
102 QMetaType::Void, QMetaType::QString, 17,
103 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 19, 20,
104 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 22, 21, 23,
105 QMetaType::Void, QMetaType::QString, QMetaType::Int, 22, 25,
110 void ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
112 if (_c == QMetaObject::InvokeMetaMethod) {
117 case 1: _t->numBlocksChanged((*
reinterpret_cast< int(*)
>(_a[1])),(*
reinterpret_cast< const QDateTime(*)
>(_a[2])),(*
reinterpret_cast< double(*)
>(_a[3])),(*
reinterpret_cast< SyncType(*)
>(_a[4])),(*
reinterpret_cast< SynchronizationState(*)
>(_a[5])));
break;
118 case 2: _t->mempoolSizeChanged((*
reinterpret_cast< long(*)
>(_a[1])),(*
reinterpret_cast< size_t(*)
>(_a[2])));
break;
119 case 3: _t->networkActiveChanged((*
reinterpret_cast< bool(*)
>(_a[1])));
break;
120 case 4: _t->alertsChanged((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
121 case 5: _t->bytesChanged((*
reinterpret_cast< quint64(*)
>(_a[1])),(*
reinterpret_cast< quint64(*)
>(_a[2])));
break;
122 case 6: _t->message((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< uint(*)
>(_a[3])));
break;
123 case 7: _t->showProgress((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
126 }
else if (_c == QMetaObject::IndexOfMethod) {
127 int *result =
reinterpret_cast<int *
>(_a[0]);
157 using _t = void (
ClientModel::*)(
const QString & );
164 using _t = void (
ClientModel::*)(quint64 , quint64 );
171 using _t = void (
ClientModel::*)(
const QString & ,
const QString & ,
unsigned int );
178 using _t = void (
ClientModel::*)(
const QString & , int );
187 QT_INIT_METAOBJECT
const QMetaObject ClientModel::staticMetaObject = { {
188 &QObject::staticMetaObject,
197 const QMetaObject *ClientModel::metaObject()
const 199 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
202 void *ClientModel::qt_metacast(
const char *_clname)
204 if (!_clname)
return nullptr;
206 return static_cast<void*
>(
this);
207 return QObject::qt_metacast(_clname);
210 int ClientModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
212 _id = QObject::qt_metacall(_c, _id, _a);
215 if (_c == QMetaObject::InvokeMetaMethod) {
217 qt_static_metacall(
this, _c, _id, _a);
219 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
221 *
reinterpret_cast<int*
>(_a[0]) = -1;
230 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
231 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
237 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)) };
238 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
244 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
245 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
251 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
252 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
258 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
259 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
265 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
266 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
272 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)) };
273 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
279 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
280 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.
SynchronizationState
Current sync state passed to tip changed callbacks.
#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, SyncType header, SynchronizationState sync_state)
Model for Bitcoin network client.
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes)
static const uint qt_meta_data_ClientModel[]
static const qt_meta_stringdata_ClientModel_t qt_meta_stringdata_ClientModel
void showProgress(const QString &title, int nProgress)