RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moc_qwt_plot_canvas.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'qwt_plot_canvas.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 "../qwt_plot_canvas.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'qwt_plot_canvas.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[6];
23  char stringdata[59];
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_QwtPlotCanvas_t, stringdata) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
30 static const qt_meta_stringdata_QwtPlotCanvas_t qt_meta_stringdata_QwtPlotCanvas = {
31  {
32 QT_MOC_LITERAL(0, 0, 13),
33 QT_MOC_LITERAL(1, 14, 6),
34 QT_MOC_LITERAL(2, 21, 0),
35 QT_MOC_LITERAL(3, 22, 10),
36 QT_MOC_LITERAL(4, 33, 12),
37 QT_MOC_LITERAL(5, 46, 12)
38  },
39  "QwtPlotCanvas\0replot\0\0borderPath\0"
40  "QPainterPath\0borderRadius"
41 };
42 #undef QT_MOC_LITERAL
43 
44 static const uint qt_meta_data_QwtPlotCanvas[] = {
45 
46  // content:
47  7, // revision
48  0, // classname
49  0, 0, // classinfo
50  2, 14, // methods
51  1, 28, // properties
52  0, 0, // enums/sets
53  0, 0, // constructors
54  0, // flags
55  0, // signalCount
56 
57  // slots: name, argc, parameters, tag, flags
58  1, 0, 24, 2, 0x0a /* Public */,
59 
60  // methods: name, argc, parameters, tag, flags
61  3, 1, 25, 2, 0x02 /* Public */,
62 
63  // slots: parameters
64  QMetaType::Void,
65 
66  // methods: parameters
67  0x80000000 | 4, QMetaType::QRect, 2,
68 
69  // properties: name, type, flags
70  5, QMetaType::Double, 0x00095103,
71 
72  0 // eod
73 };
74 
75 void QwtPlotCanvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
76 {
77  if (_c == QMetaObject::InvokeMetaMethod) {
78  QwtPlotCanvas *_t = static_cast<QwtPlotCanvas *>(_o);
79  switch (_id) {
80  case 0: _t->replot(); break;
81  case 1: { QPainterPath _r = _t->borderPath((*reinterpret_cast< const QRect(*)>(_a[1])));
82  if (_a[0]) *reinterpret_cast< QPainterPath*>(_a[0]) = _r; } break;
83  default: ;
84  }
85  }
86 }
87 
88 const QMetaObject QwtPlotCanvas::staticMetaObject = {
89  { &QFrame::staticMetaObject, qt_meta_stringdata_QwtPlotCanvas.data,
90  qt_meta_data_QwtPlotCanvas, qt_static_metacall, 0, 0}
91 };
92 
93 
94 const QMetaObject *QwtPlotCanvas::metaObject() const
95 {
96  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
97 }
98 
99 void *QwtPlotCanvas::qt_metacast(const char *_clname)
100 {
101  if (!_clname) return 0;
102  if (!strcmp(_clname, qt_meta_stringdata_QwtPlotCanvas.stringdata))
103  return static_cast<void*>(const_cast< QwtPlotCanvas*>(this));
104  return QFrame::qt_metacast(_clname);
105 }
106 
107 int QwtPlotCanvas::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
108 {
109  _id = QFrame::qt_metacall(_c, _id, _a);
110  if (_id < 0)
111  return _id;
112  if (_c == QMetaObject::InvokeMetaMethod) {
113  if (_id < 2)
114  qt_static_metacall(this, _c, _id, _a);
115  _id -= 2;
116  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
117  if (_id < 2)
118  *reinterpret_cast<int*>(_a[0]) = -1;
119  _id -= 2;
120  }
121 #ifndef QT_NO_PROPERTIES
122  else if (_c == QMetaObject::ReadProperty) {
123  void *_v = _a[0];
124  switch (_id) {
125  case 0: *reinterpret_cast< double*>(_v) = borderRadius(); break;
126  default: break;
127  }
128  _id -= 1;
129  } else if (_c == QMetaObject::WriteProperty) {
130  void *_v = _a[0];
131  switch (_id) {
132  case 0: setBorderRadius(*reinterpret_cast< double*>(_v)); break;
133  default: break;
134  }
135  _id -= 1;
136  } else if (_c == QMetaObject::ResetProperty) {
137  _id -= 1;
138  } else if (_c == QMetaObject::QueryPropertyDesignable) {
139  _id -= 1;
140  } else if (_c == QMetaObject::QueryPropertyScriptable) {
141  _id -= 1;
142  } else if (_c == QMetaObject::QueryPropertyStored) {
143  _id -= 1;
144  } else if (_c == QMetaObject::QueryPropertyEditable) {
145  _id -= 1;
146  } else if (_c == QMetaObject::QueryPropertyUser) {
147  _id -= 1;
148  } else if (_c == QMetaObject::RegisterPropertyMetaType) {
149  if (_id < 1)
150  *reinterpret_cast<int*>(_a[0]) = -1;
151  _id -= 1;
152  }
153 #endif // QT_NO_PROPERTIES
154  return _id;
155 }
156 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)