1 /****************************************************************************
2 ** Meta object code from reading C++ file 'ameterwidget.h'
4 ** Created: Sun Aug 7 15:34:40 2011
5 ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.0)
7 ** WARNING! All changes made in this file will be lost!
8 *****************************************************************************/
10 #include "ameterwidget.h"
11 #if !defined(Q_MOC_OUTPUT_REVISION)
12 #error "The header file 'ameterwidget.h' doesn't include <QObject>."
13 #elif Q_MOC_OUTPUT_REVISION != 62
14 #error "This file was generated using the moc from 4.7.0. It"
15 #error "cannot be used with the include files from this version of Qt."
16 #error "(The moc has changed too much.)"
19 QT_BEGIN_MOC_NAMESPACE
20 static const uint qt_meta_data_AMeterWidget[] = {
33 // slots: signature, parameters, type, tag, flags
39 static const char qt_meta_stringdata_AMeterWidget[] = {
40 "AMeterWidget\0\0bool\0reading\0"
41 "filter(QAccelerometerReading*)\0"
44 const QMetaObject AMeterWidget::staticMetaObject = {
45 { &QWidget::staticMetaObject, qt_meta_stringdata_AMeterWidget,
46 qt_meta_data_AMeterWidget, 0 }
49 #ifdef Q_NO_DATA_RELOCATION
50 const QMetaObject &AMeterWidget::getStaticMetaObject() { return staticMetaObject; }
51 #endif //Q_NO_DATA_RELOCATION
53 const QMetaObject *AMeterWidget::metaObject() const
55 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
58 void *AMeterWidget::qt_metacast(const char *_clname)
60 if (!_clname) return 0;
61 if (!strcmp(_clname, qt_meta_stringdata_AMeterWidget))
62 return static_cast<void*>(const_cast< AMeterWidget*>(this));
63 if (!strcmp(_clname, "QAccelerometerFilter"))
64 return static_cast< QAccelerometerFilter*>(const_cast< AMeterWidget*>(this));
65 return QWidget::qt_metacast(_clname);
68 int AMeterWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
70 _id = QWidget::qt_metacall(_c, _id, _a);
73 if (_c == QMetaObject::InvokeMetaMethod) {
75 case 0: { bool _r = filter((*reinterpret_cast< QAccelerometerReading*(*)>(_a[1])));
76 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;