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