Bitcoin Core  0.21.0rc5
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 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include <memory>
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.15.2. 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[8];
25  char stringdata0[67];
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, 7), // "purpose"
41 QT_MOC_LITERAL(7, 60, 6) // "status"
42 
43  },
44  "AddressTableModel\0updateEntry\0\0address\0"
45  "label\0isMine\0purpose\0status"
46 };
47 #undef QT_MOC_LITERAL
48 
49 static const uint qt_meta_data_AddressTableModel[] = {
50 
51  // content:
52  8, // revision
53  0, // classname
54  0, 0, // classinfo
55  1, 14, // methods
56  0, 0, // properties
57  0, 0, // enums/sets
58  0, 0, // constructors
59  0, // flags
60  0, // signalCount
61 
62  // slots: name, argc, parameters, tag, flags
63  1, 5, 19, 2, 0x0a /* Public */,
64 
65  // slots: parameters
66  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 3, 4, 5, 6, 7,
67 
68  0 // eod
69 };
70 
71 void AddressTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
72 {
73  if (_c == QMetaObject::InvokeMetaMethod) {
74  auto *_t = static_cast<AddressTableModel *>(_o);
75  Q_UNUSED(_t)
76  switch (_id) {
77  case 0: _t->updateEntry((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
78  default: ;
79  }
80  }
81 }
82 
83 QT_INIT_METAOBJECT const QMetaObject AddressTableModel::staticMetaObject = { {
84  QMetaObject::SuperData::link<QAbstractTableModel::staticMetaObject>(),
87  qt_static_metacall,
88  nullptr,
89  nullptr
90 } };
91 
92 
93 const QMetaObject *AddressTableModel::metaObject() const
94 {
95  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
96 }
97 
98 void *AddressTableModel::qt_metacast(const char *_clname)
99 {
100  if (!_clname) return nullptr;
102  return static_cast<void*>(this);
103  return QAbstractTableModel::qt_metacast(_clname);
104 }
105 
106 int AddressTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
107 {
108  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
109  if (_id < 0)
110  return _id;
111  if (_c == QMetaObject::InvokeMetaMethod) {
112  if (_id < 1)
113  qt_static_metacall(this, _c, _id, _a);
114  _id -= 1;
115  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116  if (_id < 1)
117  *reinterpret_cast<int*>(_a[0]) = -1;
118  _id -= 1;
119  }
120  return _id;
121 }
122 QT_WARNING_POP
123 QT_END_MOC_NAMESPACE
Qt model of the address book in the core.
void updateEntry(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)
static const uint qt_meta_data_AddressTableModel[]
#define QT_MOC_LITERAL(idx, ofs, len)
static const qt_meta_stringdata_AddressTableModel_t qt_meta_stringdata_AddressTableModel