Bitcoin Core  27.1.0
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 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'transactiontablemodel.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.12.7. It"
16 #error "cannot be used with the include files from this version of Qt."
17 #error "(The moc has changed too much.)"
18 #endif
19 
20 QT_BEGIN_MOC_NAMESPACE
21 QT_WARNING_PUSH
22 QT_WARNING_DISABLE_DEPRECATED
24  QByteArrayData data[11];
25  char stringdata0[169];
26 };
27 #define QT_MOC_LITERAL(idx, ofs, len) \
28  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
29  qptrdiff(offsetof(qt_meta_stringdata_TransactionTableModel_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
33  {
34 QT_MOC_LITERAL(0, 0, 21), // "TransactionTableModel"
35 QT_MOC_LITERAL(1, 22, 17), // "updateTransaction"
36 QT_MOC_LITERAL(2, 40, 0), // ""
37 QT_MOC_LITERAL(3, 41, 4), // "hash"
38 QT_MOC_LITERAL(4, 46, 6), // "status"
39 QT_MOC_LITERAL(5, 53, 15), // "showTransaction"
40 QT_MOC_LITERAL(6, 69, 19), // "updateConfirmations"
41 QT_MOC_LITERAL(7, 89, 17), // "updateDisplayUnit"
42 QT_MOC_LITERAL(8, 107, 23), // "updateAmountColumnTitle"
43 QT_MOC_LITERAL(9, 131, 31), // "setProcessingQueuedTransactions"
44 QT_MOC_LITERAL(10, 163, 5) // "value"
45 
46  },
47  "TransactionTableModel\0updateTransaction\0"
48  "\0hash\0status\0showTransaction\0"
49  "updateConfirmations\0updateDisplayUnit\0"
50  "updateAmountColumnTitle\0"
51  "setProcessingQueuedTransactions\0value"
52 };
53 #undef QT_MOC_LITERAL
54 
55 static const uint qt_meta_data_TransactionTableModel[] = {
56 
57  // content:
58  8, // revision
59  0, // classname
60  0, 0, // classinfo
61  5, 14, // methods
62  0, 0, // properties
63  0, 0, // enums/sets
64  0, 0, // constructors
65  0, // flags
66  0, // signalCount
67 
68  // slots: name, argc, parameters, tag, flags
69  1, 3, 39, 2, 0x0a /* Public */,
70  6, 0, 46, 2, 0x0a /* Public */,
71  7, 0, 47, 2, 0x0a /* Public */,
72  8, 0, 48, 2, 0x0a /* Public */,
73  9, 1, 49, 2, 0x0a /* Public */,
74 
75  // slots: parameters
76  QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Bool, 3, 4, 5,
77  QMetaType::Void,
78  QMetaType::Void,
79  QMetaType::Void,
80  QMetaType::Void, QMetaType::Bool, 10,
81 
82  0 // eod
83 };
84 
85 void TransactionTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
86 {
87  if (_c == QMetaObject::InvokeMetaMethod) {
88  auto *_t = static_cast<TransactionTableModel *>(_o);
89  Q_UNUSED(_t)
90  switch (_id) {
91  case 0: _t->updateTransaction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
92  case 1: _t->updateConfirmations(); break;
93  case 2: _t->updateDisplayUnit(); break;
94  case 3: _t->updateAmountColumnTitle(); break;
95  case 4: _t->setProcessingQueuedTransactions((*reinterpret_cast< bool(*)>(_a[1]))); break;
96  default: ;
97  }
98  }
99 }
100 
101 QT_INIT_METAOBJECT const QMetaObject TransactionTableModel::staticMetaObject = { {
102  &QAbstractTableModel::staticMetaObject,
105  qt_static_metacall,
106  nullptr,
107  nullptr
108 } };
109 
110 
111 const QMetaObject *TransactionTableModel::metaObject() const
112 {
113  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
114 }
115 
116 void *TransactionTableModel::qt_metacast(const char *_clname)
117 {
118  if (!_clname) return nullptr;
120  return static_cast<void*>(this);
121  return QAbstractTableModel::qt_metacast(_clname);
122 }
123 
124 int TransactionTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
125 {
126  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
127  if (_id < 0)
128  return _id;
129  if (_c == QMetaObject::InvokeMetaMethod) {
130  if (_id < 5)
131  qt_static_metacall(this, _c, _id, _a);
132  _id -= 5;
133  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
134  if (_id < 5)
135  *reinterpret_cast<int*>(_a[0]) = -1;
136  _id -= 5;
137  }
138  return _id;
139 }
140 QT_WARNING_POP
141 QT_END_MOC_NAMESPACE
static const qt_meta_stringdata_TransactionTableModel_t qt_meta_stringdata_TransactionTableModel
static const uint qt_meta_data_TransactionTableModel[]
void updateTransaction(const QString &hash, int status, bool showTransaction)
UI model for the transaction table of a wallet.
#define QT_MOC_LITERAL(idx, ofs, len)