Bitcoin Core  27.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.12.7)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "qt/addresstablemodel.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'addresstablemodel.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[9];
25  char stringdata0[90];
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_AddressTableModel_t, stringdata0) + ofs \
30  - idx * sizeof(QByteArrayData)) \
31  )
33  {
34 QT_MOC_LITERAL(0, 0, 17), // "AddressTableModel"
35 QT_MOC_LITERAL(1, 18, 11), // "updateEntry"
36 QT_MOC_LITERAL(2, 30, 0), // ""
37 QT_MOC_LITERAL(3, 31, 7), // "address"
38 QT_MOC_LITERAL(4, 39, 5), // "label"
39 QT_MOC_LITERAL(5, 45, 6), // "isMine"
40 QT_MOC_LITERAL(6, 52, 22), // "wallet::AddressPurpose"
41 QT_MOC_LITERAL(7, 75, 7), // "purpose"
42 QT_MOC_LITERAL(8, 83, 6) // "status"
43 
44  },
45  "AddressTableModel\0updateEntry\0\0address\0"
46  "label\0isMine\0wallet::AddressPurpose\0"
47  "purpose\0status"
48 };
49 #undef QT_MOC_LITERAL
50 
51 static const uint qt_meta_data_AddressTableModel[] = {
52 
53  // content:
54  8, // revision
55  0, // classname
56  0, 0, // classinfo
57  1, 14, // methods
58  0, 0, // properties
59  0, 0, // enums/sets
60  0, 0, // constructors
61  0, // flags
62  0, // signalCount
63 
64  // slots: name, argc, parameters, tag, flags
65  1, 5, 19, 2, 0x0a /* Public */,
66 
67  // slots: parameters
68  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, 0x80000000 | 6, QMetaType::Int, 3, 4, 5, 7, 8,
69 
70  0 // eod
71 };
72 
73 void AddressTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
74 {
75  if (_c == QMetaObject::InvokeMetaMethod) {
76  auto *_t = static_cast<AddressTableModel *>(_o);
77  Q_UNUSED(_t)
78  switch (_id) {
79  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;
80  default: ;
81  }
82  }
83 }
84 
85 QT_INIT_METAOBJECT const QMetaObject AddressTableModel::staticMetaObject = { {
86  &QAbstractTableModel::staticMetaObject,
89  qt_static_metacall,
90  nullptr,
91  nullptr
92 } };
93 
94 
95 const QMetaObject *AddressTableModel::metaObject() const
96 {
97  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
98 }
99 
100 void *AddressTableModel::qt_metacast(const char *_clname)
101 {
102  if (!_clname) return nullptr;
104  return static_cast<void*>(this);
105  return QAbstractTableModel::qt_metacast(_clname);
106 }
107 
108 int AddressTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
109 {
110  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
111  if (_id < 0)
112  return _id;
113  if (_c == QMetaObject::InvokeMetaMethod) {
114  if (_id < 1)
115  qt_static_metacall(this, _c, _id, _a);
116  _id -= 1;
117  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
118  if (_id < 1)
119  *reinterpret_cast<int*>(_a[0]) = -1;
120  _id -= 1;
121  }
122  return _id;
123 }
124 QT_WARNING_POP
125 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:60
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)