RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moc_scatterplot.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'scatterplot.h'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.2)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8 
9 #include "scatterplot.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'scatterplot.h' doesn't include <QObject>."
14 #elif Q_MOC_OUTPUT_REVISION != 67
15 #error "This file was generated using the moc from 5.3.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
22  QByteArrayData data[12];
23  char stringdata[98];
24 };
25 #define QT_MOC_LITERAL(idx, ofs, len) \
26  Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
27  qptrdiff(offsetof(qt_meta_stringdata_ScatterPlot_t, stringdata) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
30 static const qt_meta_stringdata_ScatterPlot_t qt_meta_stringdata_ScatterPlot = {
31  {
32 QT_MOC_LITERAL(0, 0, 11),
33 QT_MOC_LITERAL(1, 12, 10),
34 QT_MOC_LITERAL(2, 23, 0),
35 QT_MOC_LITERAL(3, 24, 12),
36 QT_MOC_LITERAL(4, 37, 9),
37 QT_MOC_LITERAL(5, 47, 9),
38 QT_MOC_LITERAL(6, 57, 5),
39 QT_MOC_LITERAL(7, 63, 11),
40 QT_MOC_LITERAL(8, 75, 1),
41 QT_MOC_LITERAL(9, 77, 1),
42 QT_MOC_LITERAL(10, 79, 16),
43 QT_MOC_LITERAL(11, 96, 1)
44  },
45  "ScatterPlot\0setNewBase\0\0QwtScaleDiv*\0"
46  "xscalediv\0yscalediv\0clear\0appendPoint\0"
47  "x\0y\0QwtSymbol::Style\0s"
48 };
49 #undef QT_MOC_LITERAL
50 
51 static const uint qt_meta_data_ScatterPlot[] = {
52 
53  // content:
54  7, // revision
55  0, // classname
56  0, 0, // classinfo
57  4, 14, // methods
58  0, 0, // properties
59  0, 0, // enums/sets
60  0, 0, // constructors
61  0, // flags
62  1, // signalCount
63 
64  // signals: name, argc, parameters, tag, flags
65  1, 2, 34, 2, 0x06 /* Public */,
66 
67  // slots: name, argc, parameters, tag, flags
68  6, 0, 39, 2, 0x0a /* Public */,
69  7, 2, 40, 2, 0x08 /* Private */,
70  7, 3, 45, 2, 0x08 /* Private */,
71 
72  // signals: parameters
73  QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 4, 5,
74 
75  // slots: parameters
76  QMetaType::Void,
77  QMetaType::Void, QMetaType::Double, QMetaType::Double, 8, 9,
78  QMetaType::Void, QMetaType::Double, QMetaType::Double, 0x80000000 | 10, 8, 9, 11,
79 
80  0 // eod
81 };
82 
83 void ScatterPlot::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
84 {
85  if (_c == QMetaObject::InvokeMetaMethod) {
86  ScatterPlot *_t = static_cast<ScatterPlot *>(_o);
87  switch (_id) {
88  case 0: _t->setNewBase((*reinterpret_cast< QwtScaleDiv*(*)>(_a[1])),(*reinterpret_cast< QwtScaleDiv*(*)>(_a[2]))); break;
89  case 1: _t->clear(); break;
90  case 2: _t->appendPoint((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
91  case 3: _t->appendPoint((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< QwtSymbol::Style(*)>(_a[3]))); break;
92  default: ;
93  }
94  } else if (_c == QMetaObject::IndexOfMethod) {
95  int *result = reinterpret_cast<int *>(_a[0]);
96  void **func = reinterpret_cast<void **>(_a[1]);
97  {
98  typedef void (ScatterPlot::*_t)(QwtScaleDiv * , QwtScaleDiv * );
99  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ScatterPlot::setNewBase)) {
100  *result = 0;
101  }
102  }
103  }
104 }
105 
106 const QMetaObject ScatterPlot::staticMetaObject = {
107  { &IncrementalPlot::staticMetaObject, qt_meta_stringdata_ScatterPlot.data,
108  qt_meta_data_ScatterPlot, qt_static_metacall, 0, 0}
109 };
110 
111 
112 const QMetaObject *ScatterPlot::metaObject() const
113 {
114  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
115 }
116 
117 void *ScatterPlot::qt_metacast(const char *_clname)
118 {
119  if (!_clname) return 0;
120  if (!strcmp(_clname, qt_meta_stringdata_ScatterPlot.stringdata))
121  return static_cast<void*>(const_cast< ScatterPlot*>(this));
122  return IncrementalPlot::qt_metacast(_clname);
123 }
124 
125 int ScatterPlot::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
126 {
127  _id = IncrementalPlot::qt_metacall(_c, _id, _a);
128  if (_id < 0)
129  return _id;
130  if (_c == QMetaObject::InvokeMetaMethod) {
131  if (_id < 4)
132  qt_static_metacall(this, _c, _id, _a);
133  _id -= 4;
134  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
135  if (_id < 4)
136  *reinterpret_cast<int*>(_a[0]) = -1;
137  _id -= 4;
138  }
139  return _id;
140 }
141 
142 // SIGNAL 0
143 void ScatterPlot::setNewBase(QwtScaleDiv * _t1, QwtScaleDiv * _t2)
144 {
145  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
146  QMetaObject::activate(this, &staticMetaObject, 0, _a);
147 }
148 QT_END_MOC_NAMESPACE
void appendPoint(double x, double y)
Definition: scatterplot.cpp:10
void setNewBase(QwtScaleDiv *xscalediv, QwtScaleDiv *yscalediv)
void clear()
Definition: scatterplot.cpp:22
#define QT_MOC_LITERAL(idx, ofs, len)