00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "beamtreescene.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'beamtreescene.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.4.0. It"
00015 #error "cannot be used with the include files from this version of Qt."
00016 #error "(The moc has changed too much.)"
00017 #endif
00018
00019 QT_BEGIN_MOC_NAMESPACE
00020 static const uint qt_meta_data_BeamTreeScene[] = {
00021
00022
00023 1,
00024 0,
00025 0, 0,
00026 2, 10,
00027 0, 0,
00028 0, 0,
00029
00030
00031 21, 15, 14, 14, 0x0a,
00032 35, 14, 14, 14, 0x0a,
00033
00034 0
00035 };
00036
00037 static const char qt_meta_stringdata_BeamTreeScene[] = {
00038 "BeamTreeScene\0\0scale\0setScale(int)\0"
00039 "resetColor()\0"
00040 };
00041
00042 const QMetaObject BeamTreeScene::staticMetaObject = {
00043 { &QGraphicsScene::staticMetaObject, qt_meta_stringdata_BeamTreeScene,
00044 qt_meta_data_BeamTreeScene, 0 }
00045 };
00046
00047 const QMetaObject *BeamTreeScene::metaObject() const
00048 {
00049 return &staticMetaObject;
00050 }
00051
00052 void *BeamTreeScene::qt_metacast(const char *_clname)
00053 {
00054 if (!_clname) return 0;
00055 if (!strcmp(_clname, qt_meta_stringdata_BeamTreeScene))
00056 return static_cast<void*>(const_cast< BeamTreeScene*>(this));
00057 return QGraphicsScene::qt_metacast(_clname);
00058 }
00059
00060 int BeamTreeScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00061 {
00062 _id = QGraphicsScene::qt_metacall(_c, _id, _a);
00063 if (_id < 0)
00064 return _id;
00065 if (_c == QMetaObject::InvokeMetaMethod) {
00066 switch (_id) {
00067 case 0: setScale((*reinterpret_cast< int(*)>(_a[1]))); break;
00068 case 1: resetColor(); break;
00069 }
00070 _id -= 2;
00071 }
00072 return _id;
00073 }
00074 QT_END_MOC_NAMESPACE