RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
moc_qwt_sampling_thread.cpp
Go to the documentation of this file.
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'qwt_sampling_thread.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_sampling_thread.h"
10 #include <QtCore/qbytearray.h>
11 #include <QtCore/qmetatype.h>
12 #if !defined(Q_MOC_OUTPUT_REVISION)
13 #error "The header file 'qwt_sampling_thread.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[45];
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_QwtSamplingThread_t, stringdata) + ofs \
28  - idx * sizeof(QByteArrayData)) \
29  )
30 static const qt_meta_stringdata_QwtSamplingThread_t qt_meta_stringdata_QwtSamplingThread = {
31  {
32 QT_MOC_LITERAL(0, 0, 17),
33 QT_MOC_LITERAL(1, 18, 11),
34 QT_MOC_LITERAL(2, 30, 0),
35 QT_MOC_LITERAL(3, 31, 8),
36 QT_MOC_LITERAL(4, 40, 4)
37  },
38  "QwtSamplingThread\0setInterval\0\0interval\0"
39  "stop"
40 };
41 #undef QT_MOC_LITERAL
42 
43 static const uint qt_meta_data_QwtSamplingThread[] = {
44 
45  // content:
46  7, // revision
47  0, // classname
48  0, 0, // classinfo
49  2, 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, 1, 24, 2, 0x0a /* Public */,
58  4, 0, 27, 2, 0x0a /* Public */,
59 
60  // slots: parameters
61  QMetaType::Void, QMetaType::Double, 3,
62  QMetaType::Void,
63 
64  0 // eod
65 };
66 
67 void QwtSamplingThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
68 {
69  if (_c == QMetaObject::InvokeMetaMethod) {
70  QwtSamplingThread *_t = static_cast<QwtSamplingThread *>(_o);
71  switch (_id) {
72  case 0: _t->setInterval((*reinterpret_cast< double(*)>(_a[1]))); break;
73  case 1: _t->stop(); break;
74  default: ;
75  }
76  }
77 }
78 
79 const QMetaObject QwtSamplingThread::staticMetaObject = {
80  { &QThread::staticMetaObject, qt_meta_stringdata_QwtSamplingThread.data,
81  qt_meta_data_QwtSamplingThread, qt_static_metacall, 0, 0}
82 };
83 
84 
85 const QMetaObject *QwtSamplingThread::metaObject() const
86 {
87  return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
88 }
89 
90 void *QwtSamplingThread::qt_metacast(const char *_clname)
91 {
92  if (!_clname) return 0;
93  if (!strcmp(_clname, qt_meta_stringdata_QwtSamplingThread.stringdata))
94  return static_cast<void*>(const_cast< QwtSamplingThread*>(this));
95  return QThread::qt_metacast(_clname);
96 }
97 
98 int QwtSamplingThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
99 {
100  _id = QThread::qt_metacall(_c, _id, _a);
101  if (_id < 0)
102  return _id;
103  if (_c == QMetaObject::InvokeMetaMethod) {
104  if (_id < 2)
105  qt_static_metacall(this, _c, _id, _a);
106  _id -= 2;
107  } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
108  if (_id < 2)
109  *reinterpret_cast<int*>(_a[0]) = -1;
110  _id -= 2;
111  }
112  return _id;
113 }
114 QT_END_MOC_NAMESPACE
#define QT_MOC_LITERAL(idx, ofs, len)