Fabcoin Core  0.16.2
P2P Digital Currency
moc_tokentransactiontablemodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'tokentransactiontablemodel.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 'tokentransactiontablemodel.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[11];
22  char stringdata0[154];
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_TokenTransactionTableModel_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_TokenTransactionTableModel_t qt_meta_stringdata_TokenTransactionTableModel = {
30  {
31 QT_MOC_LITERAL(0, 0, 26), // "TokenTransactionTableModel"
32 QT_MOC_LITERAL(1, 27, 15), // "emitDataChanged"
33 QT_MOC_LITERAL(2, 43, 0), // ""
34 QT_MOC_LITERAL(3, 44, 5), // "index"
35 QT_MOC_LITERAL(4, 50, 17), // "updateTransaction"
36 QT_MOC_LITERAL(5, 68, 4), // "hash"
37 QT_MOC_LITERAL(6, 73, 6), // "status"
38 QT_MOC_LITERAL(7, 80, 15), // "showTransaction"
39 QT_MOC_LITERAL(8, 96, 19), // "updateConfirmations"
40 QT_MOC_LITERAL(9, 116, 31), // "setProcessingQueuedTransactions"
41 QT_MOC_LITERAL(10, 148, 5) // "value"
42 
43  },
44  "TokenTransactionTableModel\0emitDataChanged\0"
45  "\0index\0updateTransaction\0hash\0status\0"
46  "showTransaction\0updateConfirmations\0"
47  "setProcessingQueuedTransactions\0value"
48 };
49 #undef QT_MOC_LITERAL
50 
51 static const uint qt_meta_data_TokenTransactionTableModel[] = {
52 
53  // content:
54  7, // revision
55  0, // classname
56  0, 0, // classinfo
57  4, 14, // methods
58  0, 0, // properties
59  0, 0, // enums/sets
60  0, 0, // constructors
61  0, // flags
62  0, // signalCount
63 
64  // slots: name, argc, parameters, tag, flags
65  1, 1, 34, 2, 0x0a /* Public */,
66  4, 3, 37, 2, 0x0a /* Public */,
67  8, 0, 44, 2, 0x0a /* Public */,
68  9, 1, 45, 2, 0x0a /* Public */,
69 
70  // slots: parameters
71  QMetaType::Void, QMetaType::Int, 3,
72  QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Bool, 5, 6, 7,
73  QMetaType::Void,
74  QMetaType::Void, QMetaType::Bool, 10,
75 
76  0 // eod
77 };
78 
79 void TokenTransactionTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
80 {
81  if (_c == QMetaObject::InvokeMetaMethod) {
83  Q_UNUSED(_t)
84  switch (_id) {
85  case 0: _t->emitDataChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
86  case 1: _t->updateTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
87  case 2: _t->updateConfirmations(); break;
88  case 3: _t->setProcessingQueuedTransactions((*reinterpret_cast< bool(*)>(_a[1]))); break;
89  default: ;
90  }
91  }
92 }
93 
94 const QMetaObject TokenTransactionTableModel::staticMetaObject = {
95  { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_TokenTransactionTableModel.data,
96  qt_meta_data_TokenTransactionTableModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
97 };
98 
99 
100 const QMetaObject *TokenTransactionTableModel::metaObject() const
101 {
102  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
103 }
104 
105 void *TokenTransactionTableModel::qt_metacast(const char *_clname)
106 {
107  if (!_clname) return Q_NULLPTR;
108  if (!strcmp(_clname, qt_meta_stringdata_TokenTransactionTableModel.stringdata0))
109  return static_cast<void*>(const_cast< TokenTransactionTableModel*>(this));
110  return QAbstractTableModel::qt_metacast(_clname);
111 }
112 
113 int TokenTransactionTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
114 {
115  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
116  if (_id < 0)
117  return _id;
118  if (_c == QMetaObject::InvokeMetaMethod) {
119  if (_id < 4)
120  qt_static_metacall(this, _c, _id, _a);
121  _id -= 4;
122  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
123  if (_id < 4)
124  *reinterpret_cast<int*>(_a[0]) = -1;
125  _id -= 4;
126  }
127  return _id;
128 }
129 QT_END_MOC_NAMESPACE
uint32_t uint
Definition: libclwrapper.h:40
#define QT_MOC_LITERAL(idx, ofs, len)
UI model for the transaction table of a wallet.
void updateTransaction(const QString &hash, int status, bool showTransaction)