Bitcoin Core  28.1.0
P2P Digital Currency
moc_addresstablemodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'addresstablemodel.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.8)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include <memory>
10 #include "qt/addresstablemodel.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'addresstablemodel.h' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.8. 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 
21 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
25  QByteArrayData data[9];
26  char stringdata0[90];
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_AddressTableModel_t, stringdata0) + ofs \
31  - idx * sizeof(QByteArrayData)) \
32  )
34  {
35 QT_MOC_LITERAL(0, 0, 17), // "AddressTableModel"
36 QT_MOC_LITERAL(1, 18, 11), // "updateEntry"
37 QT_MOC_LITERAL(2, 30, 0), // ""
38 QT_MOC_LITERAL(3, 31, 7), // "address"
39 QT_MOC_LITERAL(4, 39, 5), // "label"
40 QT_MOC_LITERAL(5, 45, 6), // "isMine"
41 QT_MOC_LITERAL(6, 52, 22), // "wallet::AddressPurpose"
42 QT_MOC_LITERAL(7, 75, 7), // "purpose"
43 QT_MOC_LITERAL(8, 83, 6) // "status"
44 
45  },
46  "AddressTableModel\0updateEntry\0\0address\0"
47  "label\0isMine\0wallet::AddressPurpose\0"
48  "purpose\0status"
49 };
50 #undef QT_MOC_LITERAL
51 
52 static const uint qt_meta_data_AddressTableModel[] = {
53 
54  // content:
55  8, // revision
56  0, // classname
57  0, 0, // classinfo
58  1, 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, 5, 19, 2, 0x0a /* Public */,
67 
68  // slots: parameters
69  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, 0x80000000 | 6, QMetaType::Int, 3, 4, 5, 7, 8,
70 
71  0 // eod
72 };
73 
74 void AddressTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
75 {
76  if (_c == QMetaObject::InvokeMetaMethod) {
77  auto *_t = static_cast<AddressTableModel *>(_o);
78  (void)_t;
79  switch (_id) {
80  case 0: _t->updateEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< wallet::AddressPurpose(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
81  default: ;
82  }
83  }
84 }
85 
86 QT_INIT_METAOBJECT const QMetaObject AddressTableModel::staticMetaObject = { {
87  QMetaObject::SuperData::link<QAbstractTableModel::staticMetaObject>(),
90  qt_static_metacall,
91  nullptr,
92  nullptr
93 } };
94 
95 
96 const QMetaObject *AddressTableModel::metaObject() const
97 {
98  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
99 }
100 
101 void *AddressTableModel::qt_metacast(const char *_clname)
102 {
103  if (!_clname) return nullptr;
105  return static_cast<void*>(this);
106  return QAbstractTableModel::qt_metacast(_clname);
107 }
108 
109 int AddressTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
110 {
111  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
112  if (_id < 0)
113  return _id;
114  if (_c == QMetaObject::InvokeMetaMethod) {
115  if (_id < 1)
116  qt_static_metacall(this, _c, _id, _a);
117  _id -= 1;
118  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
119  if (_id < 1)
120  *reinterpret_cast<int*>(_a[0]) = -1;
121  _id -= 1;
122  }
123  return _id;
124 }
125 QT_WARNING_POP
126 QT_END_MOC_NAMESPACE
static const uint qt_meta_data_AddressTableModel[]
static const qt_meta_stringdata_AddressTableModel_t qt_meta_stringdata_AddressTableModel
AddressPurpose
Address purpose field that has been been stored with wallet sending and receiving addresses since BIP...
Definition: types.h:61
Qt model of the address book in the core.
void updateEntry(const QString &address, const QString &label, bool isMine, wallet::AddressPurpose purpose, int status)
#define QT_MOC_LITERAL(idx, ofs, len)