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