Fabcoin Core  0.16.2
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 "qt/addresstablemodel.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'addresstablemodel.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 67
14 #error "This file was generated using the moc from 5.5.1. 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
21  QByteArrayData data[8];
22  char stringdata0[67];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  qptrdiff(offsetof(qt_meta_stringdata_AddressTableModel_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_AddressTableModel_t qt_meta_stringdata_AddressTableModel = {
30  {
31 QT_MOC_LITERAL(0, 0, 17), // "AddressTableModel"
32 QT_MOC_LITERAL(1, 18, 11), // "updateEntry"
33 QT_MOC_LITERAL(2, 30, 0), // ""
34 QT_MOC_LITERAL(3, 31, 7), // "address"
35 QT_MOC_LITERAL(4, 39, 5), // "label"
36 QT_MOC_LITERAL(5, 45, 6), // "isMine"
37 QT_MOC_LITERAL(6, 52, 7), // "purpose"
38 QT_MOC_LITERAL(7, 60, 6) // "status"
39 
40  },
41  "AddressTableModel\0updateEntry\0\0address\0"
42  "label\0isMine\0purpose\0status"
43 };
44 #undef QT_MOC_LITERAL
45 
46 static const uint qt_meta_data_AddressTableModel[] = {
47 
48  // content:
49  7, // revision
50  0, // classname
51  0, 0, // classinfo
52  1, 14, // methods
53  0, 0, // properties
54  0, 0, // enums/sets
55  0, 0, // constructors
56  0, // flags
57  0, // signalCount
58 
59  // slots: name, argc, parameters, tag, flags
60  1, 5, 19, 2, 0x0a /* Public */,
61 
62  // slots: parameters
63  QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::Bool, QMetaType::QString, QMetaType::Int, 3, 4, 5, 6, 7,
64 
65  0 // eod
66 };
67 
68 void AddressTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
69 {
70  if (_c == QMetaObject::InvokeMetaMethod) {
71  AddressTableModel *_t = static_cast<AddressTableModel *>(_o);
72  Q_UNUSED(_t)
73  switch (_id) {
74  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;
75  default: ;
76  }
77  }
78 }
79 
80 const QMetaObject AddressTableModel::staticMetaObject = {
81  { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_AddressTableModel.data,
82  qt_meta_data_AddressTableModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
83 };
84 
85 
86 const QMetaObject *AddressTableModel::metaObject() const
87 {
88  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
89 }
90 
91 void *AddressTableModel::qt_metacast(const char *_clname)
92 {
93  if (!_clname) return Q_NULLPTR;
94  if (!strcmp(_clname, qt_meta_stringdata_AddressTableModel.stringdata0))
95  return static_cast<void*>(const_cast< AddressTableModel*>(this));
96  return QAbstractTableModel::qt_metacast(_clname);
97 }
98 
99 int AddressTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
100 {
101  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
102  if (_id < 0)
103  return _id;
104  if (_c == QMetaObject::InvokeMetaMethod) {
105  if (_id < 1)
106  qt_static_metacall(this, _c, _id, _a);
107  _id -= 1;
108  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
109  if (_id < 1)
110  *reinterpret_cast<int*>(_a[0]) = -1;
111  _id -= 1;
112  }
113  return _id;
114 }
115 QT_END_MOC_NAMESPACE
uint32_t uint
Definition: libclwrapper.h:40
Qt model of the address book in the core.
#define QT_MOC_LITERAL(idx, ofs, len)
void updateEntry(const QString &address, const QString &label, bool isMine, const QString &purpose, int status)