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