Fabcoin Core  0.16.2
P2P Digital Currency
moc_contracttablemodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'contracttablemodel.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'contracttablemodel.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[57];
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_ContractTableModel_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_ContractTableModel_t qt_meta_stringdata_ContractTableModel = {
30  {
31 QT_MOC_LITERAL(0, 0, 18), // "ContractTableModel"
32 QT_MOC_LITERAL(1, 19, 11), // "updateEntry"
33 QT_MOC_LITERAL(2, 31, 0), // ""
34 QT_MOC_LITERAL(3, 32, 7), // "address"
35 QT_MOC_LITERAL(4, 40, 5), // "label"
36 QT_MOC_LITERAL(5, 46, 3), // "abi"
37 QT_MOC_LITERAL(6, 50, 6) // "status"
38 
39  },
40  "ContractTableModel\0updateEntry\0\0address\0"
41  "label\0abi\0status"
42 };
43 #undef QT_MOC_LITERAL
44 
45 static const uint qt_meta_data_ContractTableModel[] = {
46 
47  // content:
48  7, // revision
49  0, // classname
50  0, 0, // classinfo
51  1, 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, 4, 19, 2, 0x0a /* Public */,
60 
61  // slots: parameters
62  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::Int, 3, 4, 5, 6,
63 
64  0 // eod
65 };
66 
67 void ContractTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68 {
69  if (_c == QMetaObject::InvokeMetaMethod) {
70  ContractTableModel *_t = static_cast<ContractTableModel *>(_o);
71  Q_UNUSED(_t)
72  switch (_id) {
73  case 0: _t->updateEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
74  default: ;
75  }
76  }
77 }
78 
79 const QMetaObject ContractTableModel::staticMetaObject = {
80  { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_ContractTableModel.data,
81  qt_meta_data_ContractTableModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
82 };
83 
84 
85 const QMetaObject *ContractTableModel::metaObject() const
86 {
87  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
88 }
89 
90 void *ContractTableModel::qt_metacast(const char *_clname)
91 {
92  if (!_clname) return Q_NULLPTR;
93  if (!strcmp(_clname, qt_meta_stringdata_ContractTableModel.stringdata0))
94  return static_cast<void*>(const_cast< ContractTableModel*>(this));
95  return QAbstractTableModel::qt_metacast(_clname);
96 }
97 
98 int ContractTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
99 {
100  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
101  if (_id < 0)
102  return _id;
103  if (_c == QMetaObject::InvokeMetaMethod) {
104  if (_id < 1)
105  qt_static_metacall(this, _c, _id, _a);
106  _id -= 1;
107  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
108  if (_id < 1)
109  *reinterpret_cast<int*>(_a[0]) = -1;
110  _id -= 1;
111  }
112  return _id;
113 }
114 QT_END_MOC_NAMESPACE
uint32_t uint
Definition: libclwrapper.h:40
void updateEntry(const QString &address, const QString &label, const QString &abi, int status)
#define QT_MOC_LITERAL(idx, ofs, len)
Qt model of the contract book in the core.