Anoncoin  0.9.4
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.2.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 stringdata[25];
23 };
24 #define QT_MOC_LITERAL(idx, ofs, len) \
25  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
26  offsetof(qt_meta_stringdata_PeerTableModel_t, stringdata) + 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),
32 QT_MOC_LITERAL(1, 15, 7),
33 QT_MOC_LITERAL(2, 23, 0)
34  },
35  "PeerTableModel\0refresh\0\0"
36 };
37 #undef QT_MOC_LITERAL
38 
39 static const uint qt_meta_data_PeerTableModel[] = {
40 
41  // content:
42  7, // revision
43  0, // classname
44  0, 0, // classinfo
45  1, 14, // methods
46  0, 0, // properties
47  0, 0, // enums/sets
48  0, 0, // constructors
49  0, // flags
50  0, // signalCount
51 
52  // slots: name, argc, parameters, tag, flags
53  1, 0, 19, 2, 0x0a,
54 
55  // slots: parameters
56  QMetaType::Void,
57 
58  0 // eod
59 };
60 
61 void PeerTableModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
62 {
63  if (_c == QMetaObject::InvokeMetaMethod) {
64  PeerTableModel *_t = static_cast<PeerTableModel *>(_o);
65  switch (_id) {
66  case 0: _t->refresh(); break;
67  default: ;
68  }
69  }
70  Q_UNUSED(_a);
71 }
72 
73 const QMetaObject PeerTableModel::staticMetaObject = {
74  { &QAbstractTableModel::staticMetaObject, qt_meta_stringdata_PeerTableModel.data,
75  qt_meta_data_PeerTableModel, qt_static_metacall, 0, 0}
76 };
77 
78 
79 const QMetaObject *PeerTableModel::metaObject() const
80 {
81  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
82 }
83 
84 void *PeerTableModel::qt_metacast(const char *_clname)
85 {
86  if (!_clname) return 0;
87  if (!strcmp(_clname, qt_meta_stringdata_PeerTableModel.stringdata))
88  return static_cast<void*>(const_cast< PeerTableModel*>(this));
89  return QAbstractTableModel::qt_metacast(_clname);
90 }
91 
92 int PeerTableModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
93 {
94  _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
95  if (_id < 0)
96  return _id;
97  if (_c == QMetaObject::InvokeMetaMethod) {
98  if (_id < 1)
99  qt_static_metacall(this, _c, _id, _a);
100  _id -= 1;
101  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
102  if (_id < 1)
103  *reinterpret_cast<int*>(_a[0]) = -1;
104  _id -= 1;
105  }
106  return _id;
107 }
108 QT_END_MOC_NAMESPACE
Qt model providing information about connected peers, similar to the "getpeerinfo" RPC call...
#define QT_MOC_LITERAL(idx, ofs, len)