00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "../include/visu2d.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'visu2d.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 62
00014 #error "This file was generated using the moc from 4.7.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_Visu2D[] = {
00021
00022
00023 5,
00024 0,
00025 0, 0,
00026 4, 14,
00027 0, 0,
00028 0, 0,
00029 0, 0,
00030 0,
00031 2,
00032
00033
00034 8, 7, 7, 7, 0x05,
00035 31, 7, 7, 7, 0x05,
00036
00037
00038 55, 7, 7, 7, 0x0a,
00039 71, 7, 7, 7, 0x0a,
00040
00041 0
00042 };
00043
00044 static const char qt_meta_stringdata_Visu2D[] = {
00045 "Visu2D\0\0UpdateInfoBar(QString)\0"
00046 "UpdateStats(Selection*)\0SaveSelection()\0"
00047 "ReadSelection()\0"
00048 };
00049
00050 const QMetaObject Visu2D::staticMetaObject = {
00051 { &QWidget::staticMetaObject, qt_meta_stringdata_Visu2D,
00052 qt_meta_data_Visu2D, 0 }
00053 };
00054
00055 #ifdef Q_NO_DATA_RELOCATION
00056 const QMetaObject &Visu2D::getStaticMetaObject() { return staticMetaObject; }
00057 #endif //Q_NO_DATA_RELOCATION
00058
00059 const QMetaObject *Visu2D::metaObject() const
00060 {
00061 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00062 }
00063
00064 void *Visu2D::qt_metacast(const char *_clname)
00065 {
00066 if (!_clname) return 0;
00067 if (!strcmp(_clname, qt_meta_stringdata_Visu2D))
00068 return static_cast<void*>(const_cast< Visu2D*>(this));
00069 return QWidget::qt_metacast(_clname);
00070 }
00071
00072 int Visu2D::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00073 {
00074 _id = QWidget::qt_metacall(_c, _id, _a);
00075 if (_id < 0)
00076 return _id;
00077 if (_c == QMetaObject::InvokeMetaMethod) {
00078 switch (_id) {
00079 case 0: UpdateInfoBar((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00080 case 1: UpdateStats((*reinterpret_cast< Selection*(*)>(_a[1]))); break;
00081 case 2: SaveSelection(); break;
00082 case 3: ReadSelection(); break;
00083 default: ;
00084 }
00085 _id -= 4;
00086 }
00087 return _id;
00088 }
00089
00090
00091 void Visu2D::UpdateInfoBar(const QString & _t1)
00092 {
00093 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00094 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00095 }
00096
00097
00098 void Visu2D::UpdateStats(Selection * _t1)
00099 {
00100 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00101 QMetaObject::activate(this, &staticMetaObject, 1, _a);
00102 }
00103 QT_END_MOC_NAMESPACE