RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moc_qwt_plot_panner.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'qwt_plot_panner.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_panner.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_panner.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[5];
23  char stringdata[32];
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_QwtPlotPanner_t, stringdata) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
30 static const qt_meta_stringdata_QwtPlotPanner_t qt_meta_stringdata_QwtPlotPanner = {
31  {
32 QT_MOC_LITERAL(0, 0, 13),
33 QT_MOC_LITERAL(1, 14, 10),
34 QT_MOC_LITERAL(2, 25, 0),
35 QT_MOC_LITERAL(3, 26, 2),
36 QT_MOC_LITERAL(4, 29, 2)
37  },
38  "QwtPlotPanner\0moveCanvas\0\0dx\0dy"
39 };
40 #undef QT_MOC_LITERAL
41 
42 static const uint qt_meta_data_QwtPlotPanner[] = {
43 
44  // content:
45  7, // revision
46  0, // classname
47  0, 0, // classinfo
48  1, 14, // methods
49  0, 0, // properties
50  0, 0, // enums/sets
51  0, 0, // constructors
52  0, // flags
53  0, // signalCount
54 
55  // slots: name, argc, parameters, tag, flags
56  1, 2, 19, 2, 0x09 /* Protected */,
57 
58  // slots: parameters
59  QMetaType::Void, QMetaType::Int, QMetaType::Int, 3, 4,
60 
61  0 // eod
62 };
63 
64 void QwtPlotPanner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
65 {
66  if (_c == QMetaObject::InvokeMetaMethod) {
67  QwtPlotPanner *_t = static_cast<QwtPlotPanner *>(_o);
68  switch (_id) {
69  case 0: _t->moveCanvas((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
70  default: ;
71  }
72  }
73 }
74 
75 const QMetaObject QwtPlotPanner::staticMetaObject = {
76  { &QwtPanner::staticMetaObject, qt_meta_stringdata_QwtPlotPanner.data,
77  qt_meta_data_QwtPlotPanner, qt_static_metacall, 0, 0}
78 };
79 
80 
81 const QMetaObject *QwtPlotPanner::metaObject() const
82 {
83  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
84 }
85 
86 void *QwtPlotPanner::qt_metacast(const char *_clname)
87 {
88  if (!_clname) return 0;
89  if (!strcmp(_clname, qt_meta_stringdata_QwtPlotPanner.stringdata))
90  return static_cast<void*>(const_cast< QwtPlotPanner*>(this));
91  return QwtPanner::qt_metacast(_clname);
92 }
93 
94 int QwtPlotPanner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
95 {
96  _id = QwtPanner::qt_metacall(_c, _id, _a);
97  if (_id < 0)
98  return _id;
99  if (_c == QMetaObject::InvokeMetaMethod) {
100  if (_id < 1)
101  qt_static_metacall(this, _c, _id, _a);
102  _id -= 1;
103  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
104  if (_id < 1)
105  *reinterpret_cast<int*>(_a[0]) = -1;
106  _id -= 1;
107  }
108  return _id;
109 }
110 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)