RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moc_plotdialog.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'plotdialog.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 "plotdialog.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'plotdialog.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[7];
23  char stringdata[57];
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_PlotDialog_t, stringdata) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
30 static const qt_meta_stringdata_PlotDialog_t qt_meta_stringdata_PlotDialog = {
31  {
32 QT_MOC_LITERAL(0, 0, 10),
33 QT_MOC_LITERAL(1, 11, 12),
34 QT_MOC_LITERAL(2, 24, 0),
35 QT_MOC_LITERAL(3, 25, 7),
36 QT_MOC_LITERAL(4, 33, 7),
37 QT_MOC_LITERAL(5, 41, 7),
38 QT_MOC_LITERAL(6, 49, 7)
39  },
40  "PlotDialog\0setPlotRange\0\0newminx\0"
41  "newmaxx\0newminy\0newmaxy"
42 };
43 #undef QT_MOC_LITERAL
44 
45 static const uint qt_meta_data_PlotDialog[] = {
46 
47  // content:
48  7, // revision
49  0, // classname
50  0, 0, // classinfo
51  1, 14, // methods
52  0, 0, // properties
53  0, 0, // enums/sets
54  0, 0, // constructors
55  0, // flags
56  1, // signalCount
57 
58  // signals: name, argc, parameters, tag, flags
59  1, 4, 19, 2, 0x06 /* Public */,
60 
61  // signals: parameters
62  QMetaType::Void, QMetaType::Double, QMetaType::Double, QMetaType::Double, QMetaType::Double, 3, 4, 5, 6,
63 
64  0 // eod
65 };
66 
67 void PlotDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68 {
69  if (_c == QMetaObject::InvokeMetaMethod) {
70  PlotDialog *_t = static_cast<PlotDialog *>(_o);
71  switch (_id) {
72  case 0: _t->setPlotRange((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< double(*)>(_a[4]))); break;
73  default: ;
74  }
75  } else if (_c == QMetaObject::IndexOfMethod) {
76  int *result = reinterpret_cast<int *>(_a[0]);
77  void **func = reinterpret_cast<void **>(_a[1]);
78  {
79  typedef void (PlotDialog::*_t)(double , double , double , double );
80  if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&PlotDialog::setPlotRange)) {
81  *result = 0;
82  }
83  }
84  }
85 }
86 
87 const QMetaObject PlotDialog::staticMetaObject = {
88  { &QDialog::staticMetaObject, qt_meta_stringdata_PlotDialog.data,
89  qt_meta_data_PlotDialog, qt_static_metacall, 0, 0}
90 };
91 
92 
93 const QMetaObject *PlotDialog::metaObject() const
94 {
95  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
96 }
97 
98 void *PlotDialog::qt_metacast(const char *_clname)
99 {
100  if (!_clname) return 0;
101  if (!strcmp(_clname, qt_meta_stringdata_PlotDialog.stringdata))
102  return static_cast<void*>(const_cast< PlotDialog*>(this));
103  return QDialog::qt_metacast(_clname);
104 }
105 
106 int PlotDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
107 {
108  _id = QDialog::qt_metacall(_c, _id, _a);
109  if (_id < 0)
110  return _id;
111  if (_c == QMetaObject::InvokeMetaMethod) {
112  if (_id < 1)
113  qt_static_metacall(this, _c, _id, _a);
114  _id -= 1;
115  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116  if (_id < 1)
117  *reinterpret_cast<int*>(_a[0]) = -1;
118  _id -= 1;
119  }
120  return _id;
121 }
122 
123 // SIGNAL 0
124 void PlotDialog::setPlotRange(double _t1, double _t2, double _t3, double _t4)
125 {
126  void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)) };
127  QMetaObject::activate(this, &staticMetaObject, 0, _a);
128 }
129 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)
void setPlotRange(double newminx, double newmaxx, double newminy, double newmaxy)