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