Anoncoin  0.9.4
P2P Digital Currency
moc_trafficgraphwidget.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'trafficgraphwidget.h'
3 **
4 **
5 ** WARNING! All changes made in this file will be lost!
6 *****************************************************************************/
7 
9 #include <QtCore/qbytearray.h>
10 #include <QtCore/qmetatype.h>
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'trafficgraphwidget.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[6];
22  char stringdata[62];
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_TrafficGraphWidget_t, stringdata) + ofs \
27  - idx * sizeof(QByteArrayData) \
28  )
29 static const qt_meta_stringdata_TrafficGraphWidget_t qt_meta_stringdata_TrafficGraphWidget = {
30  {
31 QT_MOC_LITERAL(0, 0, 18),
32 QT_MOC_LITERAL(1, 19, 11),
33 QT_MOC_LITERAL(2, 31, 0),
34 QT_MOC_LITERAL(3, 32, 17),
35 QT_MOC_LITERAL(4, 50, 4),
36 QT_MOC_LITERAL(5, 55, 5)
37  },
38  "TrafficGraphWidget\0updateRates\0\0"
39  "setGraphRangeMins\0mins\0clear\0"
40 };
41 #undef QT_MOC_LITERAL
42 
43 static const uint qt_meta_data_TrafficGraphWidget[] = {
44 
45  // content:
46  7, // revision
47  0, // classname
48  0, 0, // classinfo
49  3, 14, // methods
50  0, 0, // properties
51  0, 0, // enums/sets
52  0, 0, // constructors
53  0, // flags
54  0, // signalCount
55 
56  // slots: name, argc, parameters, tag, flags
57  1, 0, 29, 2, 0x0a,
58  3, 1, 30, 2, 0x0a,
59  5, 0, 33, 2, 0x0a,
60 
61  // slots: parameters
62  QMetaType::Void,
63  QMetaType::Void, QMetaType::Int, 4,
64  QMetaType::Void,
65 
66  0 // eod
67 };
68 
69 void TrafficGraphWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
70 {
71  if (_c == QMetaObject::InvokeMetaMethod) {
72  TrafficGraphWidget *_t = static_cast<TrafficGraphWidget *>(_o);
73  switch (_id) {
74  case 0: _t->updateRates(); break;
75  case 1: _t->setGraphRangeMins((*reinterpret_cast< int(*)>(_a[1]))); break;
76  case 2: _t->clear(); break;
77  default: ;
78  }
79  }
80 }
81 
82 const QMetaObject TrafficGraphWidget::staticMetaObject = {
83  { &QWidget::staticMetaObject, qt_meta_stringdata_TrafficGraphWidget.data,
84  qt_meta_data_TrafficGraphWidget, qt_static_metacall, 0, 0}
85 };
86 
87 
88 const QMetaObject *TrafficGraphWidget::metaObject() const
89 {
90  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
91 }
92 
93 void *TrafficGraphWidget::qt_metacast(const char *_clname)
94 {
95  if (!_clname) return 0;
96  if (!strcmp(_clname, qt_meta_stringdata_TrafficGraphWidget.stringdata))
97  return static_cast<void*>(const_cast< TrafficGraphWidget*>(this));
98  return QWidget::qt_metacast(_clname);
99 }
100 
101 int TrafficGraphWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
102 {
103  _id = QWidget::qt_metacall(_c, _id, _a);
104  if (_id < 0)
105  return _id;
106  if (_c == QMetaObject::InvokeMetaMethod) {
107  if (_id < 3)
108  qt_static_metacall(this, _c, _id, _a);
109  _id -= 3;
110  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
111  if (_id < 3)
112  *reinterpret_cast<int*>(_a[0]) = -1;
113  _id -= 3;
114  }
115  return _id;
116 }
117 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
void setGraphRangeMins(int mins)