Fabcoin Core  0.16.2
P2P Digital Currency
moc_tokenitemmodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'tokenitemmodel.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/tokenitemmodel.h"
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.)"
17 #endif
18 
19 QT_BEGIN_MOC_NAMESPACE
21  QByteArrayData data[7];
22  char stringdata0[75];
23 };
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)) \
28  )
29 static const qt_meta_stringdata_TokenItemModel_t qt_meta_stringdata_TokenItemModel = {
30  {
31 QT_MOC_LITERAL(0, 0, 14), // "TokenItemModel"
32 QT_MOC_LITERAL(1, 15, 24), // "checkTokenBalanceChanged"
33 QT_MOC_LITERAL(2, 40, 0), // ""
34 QT_MOC_LITERAL(3, 41, 11), // "updateToken"
35 QT_MOC_LITERAL(4, 53, 4), // "hash"
36 QT_MOC_LITERAL(5, 58, 6), // "status"
37 QT_MOC_LITERAL(6, 65, 9) // "showToken"
38 
39  },
40  "TokenItemModel\0checkTokenBalanceChanged\0"
41  "\0updateToken\0hash\0status\0showToken"
42 };
43 #undef QT_MOC_LITERAL
44 
45 static const uint qt_meta_data_TokenItemModel[] = {
46 
47  // content:
48  7, // revision
49  0, // classname
50  0, 0, // classinfo
51  2, 14, // methods
52  0, 0, // properties
53  0, 0, // enums/sets
54  0, 0, // constructors
55  0, // flags
56  0, // signalCount
57 
58  // slots: name, argc, parameters, tag, flags
59  1, 0, 24, 2, 0x0a /* Public */,
60  3, 3, 25, 2, 0x08 /* Private */,
61 
62  // slots: parameters
63  QMetaType::Void,
64  QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Bool, 4, 5, 6,
65 
66  0 // eod
67 };
68 
69 void TokenItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
70 {
71  if (_c == QMetaObject::InvokeMetaMethod) {
72  TokenItemModel *_t = static_cast<TokenItemModel *>(_o);
73  Q_UNUSED(_t)
74  switch (_id) {
75  case 0: _t->checkTokenBalanceChanged(); break;
76  case 1: _t->updateToken((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
77  default: ;
78  }
79  }
80 }
81 
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}
85 };
86 
87 
88 const QMetaObject *TokenItemModel::metaObject() const
89 {
90  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
91 }
92 
93 void *TokenItemModel::qt_metacast(const char *_clname)
94 {
95  if (!_clname) return Q_NULLPTR;
96  if (!strcmp(_clname, qt_meta_stringdata_TokenItemModel.stringdata0))
97  return static_cast<void*>(const_cast< TokenItemModel*>(this));
98  return QAbstractItemModel::qt_metacast(_clname);
99 }
100 
101 int TokenItemModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
102 {
103  _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
104  if (_id < 0)
105  return _id;
106  if (_c == QMetaObject::InvokeMetaMethod) {
107  if (_id < 2)
108  qt_static_metacall(this, _c, _id, _a);
109  _id -= 2;
110  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
111  if (_id < 2)
112  *reinterpret_cast<int*>(_a[0]) = -1;
113  _id -= 2;
114  }
115  return _id;
116 }
117 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
uint32_t uint
Definition: libclwrapper.h:40
void updateToken(const QString &hash, int status, bool showToken)
void checkTokenBalanceChanged()