9 #include <QtCore/qbytearray.h> 10 #include <QtCore/qmetatype.h> 11 #if !defined(Q_MOC_OUTPUT_REVISION) 12 #error "The header file 'tokenitemmodel.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_TokenItemModel_t, stringdata0) + ofs \ 27 - idx * sizeof(QByteArrayData)) \ 40 "TokenItemModel\0checkTokenBalanceChanged\0" 41 "\0updateToken\0hash\0status\0showToken" 45 static const uint qt_meta_data_TokenItemModel[] = {
64 QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Bool, 4, 5, 6,
69 void TokenItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
71 if (_c == QMetaObject::InvokeMetaMethod) {
76 case 1: _t->
updateToken((*
reinterpret_cast< const QString(*)
>(_a[1])),(*
reinterpret_cast< int(*)
>(_a[2])),(*
reinterpret_cast< bool(*)
>(_a[3])));
break;
82 const QMetaObject TokenItemModel::staticMetaObject = {
83 { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_TokenItemModel.
data,
84 qt_meta_data_TokenItemModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
88 const QMetaObject *TokenItemModel::metaObject()
const 90 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
93 void *TokenItemModel::qt_metacast(
const char *_clname)
95 if (!_clname)
return Q_NULLPTR;
96 if (!strcmp(_clname, qt_meta_stringdata_TokenItemModel.
stringdata0))
98 return QAbstractItemModel::qt_metacast(_clname);
101 int TokenItemModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
103 _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
106 if (_c == QMetaObject::InvokeMetaMethod) {
108 qt_static_metacall(
this, _c, _id, _a);
110 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
112 *
reinterpret_cast<int*
>(_a[0]) = -1;
#define QT_MOC_LITERAL(idx, ofs, len)
void updateToken(const QString &hash, int status, bool showToken)
void checkTokenBalanceChanged()