Fabcoin Core  0.16.2
P2P Digital Currency
moc_peertablemodel.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'peertablemodel.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
8 #include "qt/peertablemodel.h"
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'peertablemodel.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[3];
22  char stringdata0[24];
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_PeerTableModel_t, stringdata0) + ofs \
27  - idx * sizeof(QByteArrayData)) \
28  )
29 static const qt_meta_stringdata_PeerTableModel_t qt_meta_stringdata_PeerTableModel = {
30  {
31 QT_MOC_LITERAL(0, 0, 14), // "PeerTableModel"
32 QT_MOC_LITERAL(1, 15, 7), // "refresh"
33 QT_MOC_LITERAL(2, 23, 0) // ""
34 
35  },
36  "PeerTableModel\0refresh\0"
37 };
38 #undef QT_MOC_LITERAL
39 
40 static const uint qt_meta_data_PeerTableModel[] = {
41 
42  // content:
43  7, // revision
44  0, // classname
45  0, 0, // classinfo
46  1, 14, // methods
47  0, 0, // properties
48  0, 0, // enums/sets
49  0, 0, // constructors
50  0, // flags
51  0, // signalCount
52 
53  // slots: name, argc, parameters, tag, flags
54  1, 0, 19, 2, 0x0a /* Public */,
55 
56  // slots: parameters
57  QMetaType::Void,
58 
59  0 // eod
60 };
61 
62 void PeerTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
63 {
64  if (_c == QMetaObject::InvokeMetaMethod) {
65  PeerTableModel *_t = static_cast<PeerTableModel *>(_o);
66  Q_UNUSED(_t)
67  switch (_id) {
68  case 0: _t->refresh(); break;
69  default: ;
70  }
71  }
72  Q_UNUSED(_a);
73 }
74 
75 const QMetaObject PeerTableModel::staticMetaObject = {
76  { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_PeerTableModel.data,
77  qt_meta_data_PeerTableModel, qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
78 };
79 
80 
81 const QMetaObject *PeerTableModel::metaObject() const
82 {
83  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
84 }
85 
86 void *PeerTableModel::qt_metacast(const char *_clname)
87 {
88  if (!_clname) return Q_NULLPTR;
89  if (!strcmp(_clname, qt_meta_stringdata_PeerTableModel.stringdata0))
90  return static_cast<void*>(const_cast< PeerTableModel*>(this));
91  return QAbstractTableModel::qt_metacast(_clname);
92 }
93 
94 int PeerTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
95 {
96  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
97  if (_id < 0)
98  return _id;
99  if (_c == QMetaObject::InvokeMetaMethod) {
100  if (_id < 1)
101  qt_static_metacall(this, _c, _id, _a);
102  _id -= 1;
103  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
104  if (_id < 1)
105  *reinterpret_cast<int*>(_a[0]) = -1;
106  _id -= 1;
107  }
108  return _id;
109 }
110 QT_END_MOC_NAMESPACE
uint32_t uint
Definition: libclwrapper.h:40
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call...
#define QT_MOC_LITERAL(idx, ofs, len)