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.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.)"
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 offsetof(qt_meta_stringdata_ClientModel_t, stringdata) + ofs \
27 - idx * sizeof(QByteArrayData) \
54 "ClientModel\0numConnectionsChanged\0\0"
55 "count\0numBlocksChanged\0alertsChanged\0"
56 "warnings\0bytesChanged\0totalBytesIn\0"
57 "totalBytesOut\0numI2PConnectionsChanged\0"
58 "message\0title\0style\0updateTimer\0"
59 "updateNumConnections\0numConnections\0"
60 "updateAlert\0hash\0status\0updateNumI2PConnections\0"
65 static const uint qt_meta_data_ClientModel[] = {
93 QMetaType::Void, QMetaType::Int, 3,
94 QMetaType::Void, QMetaType::Int, 3,
95 QMetaType::Void, QMetaType::QString, 6,
96 QMetaType::Void, QMetaType::ULongLong, QMetaType::ULongLong, 8, 9,
97 QMetaType::Void, QMetaType::Int, 3,
98 QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::UInt, 12, 11, 13,
102 QMetaType::Void, QMetaType::Int, 16,
103 QMetaType::Void, QMetaType::QString, QMetaType::Int, 18, 19,
104 QMetaType::Void, QMetaType::Int, 21,
109 void ClientModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
111 if (_c == QMetaObject::InvokeMetaMethod) {
116 case 2: _t->
alertsChanged((*
reinterpret_cast< const QString(*)
>(_a[1])));
break;
117 case 3: _t->
bytesChanged((*
reinterpret_cast< quint64(*)
>(_a[1])),(*
reinterpret_cast< quint64(*)
>(_a[2])));
break;
118 case 4: _t->numI2PConnectionsChanged((*
reinterpret_cast< int(*)
>(_a[1])));
break;
119 case 5: _t->
message((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< const QString(*)
>(_a[2])),(*
reinterpret_cast< uint(*)
>(_a[3])));
break;
122 case 8: _t->
updateAlert((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])));
break;
123 case 9: _t->updateNumI2PConnections((*
reinterpret_cast< int(*)
>(_a[1])));
break;
126 }
else if (_c == QMetaObject::IndexOfMethod) {
127 int *result =
reinterpret_cast<int *
>(_a[0]);
128 void **func =
reinterpret_cast<void **
>(_a[1]);
148 typedef void (
ClientModel::*_t)(quint64 , quint64 );
155 if (*reinterpret_cast<_t *>(func) ==
static_cast<_t
>(&ClientModel::numI2PConnectionsChanged)) {
160 typedef void (
ClientModel::*_t)(
const QString & ,
const QString & ,
unsigned int );
168 const QMetaObject ClientModel::staticMetaObject = {
169 { &QObject::staticMetaObject, qt_meta_stringdata_ClientModel.
data,
170 qt_meta_data_ClientModel, qt_static_metacall, 0, 0}
174 const QMetaObject *ClientModel::metaObject()
const
176 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
179 void *ClientModel::qt_metacast(
const char *_clname)
181 if (!_clname)
return 0;
182 if (!strcmp(_clname, qt_meta_stringdata_ClientModel.
stringdata))
183 return static_cast<void*
>(
const_cast< ClientModel*
>(
this));
184 return QObject::qt_metacast(_clname);
187 int ClientModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
189 _id = QObject::qt_metacall(_c, _id, _a);
192 if (_c == QMetaObject::InvokeMetaMethod) {
194 qt_static_metacall(
this, _c, _id, _a);
196 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
198 *
reinterpret_cast<int*
>(_a[0]) = -1;
207 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
208 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
214 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
215 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
221 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
222 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
228 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)) };
229 QMetaObject::activate(
this, &staticMetaObject, 3, _a);
233 void ClientModel::numI2PConnectionsChanged(
int _t1)
235 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)) };
236 QMetaObject::activate(
this, &staticMetaObject, 4, _a);
242 void *_a[] = { 0,
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t1)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t2)),
const_cast<void*
>(
reinterpret_cast<const void*
>(&_t3)) };
243 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
void numBlocksChanged(int count)
void message(const QString &title, const QString &message, unsigned int style)
Fired when a message should be reported to the user.
#define QT_MOC_LITERAL(idx, ofs, len)
void numConnectionsChanged(int count)
Note signal functions like this are created here in the header file, yet no source implmentation will...
void alertsChanged(const QString &warnings)
void bytesChanged(quint64 totalBytesIn, quint64 totalBytesOut)
void updateAlert(const QString &hash, int status)
Model for Anoncoin network client.
void updateTimer()
From: https://qt-project.org/doc/qt-5-snapshot/signalsandslots.html A slot is a function that is call...
void updateNumConnections(int numConnections)