00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "ModifyObject.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'ModifyObject.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.4.3. 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_sofa__gui__qt__ModifyObject[] = {
00021
00022
00023 1,
00024 0,
00025 0, 0,
00026 14, 10,
00027 0, 0,
00028 0, 0,
00029
00030
00031 29, 28, 28, 28, 0x05,
00032 45, 28, 28, 28, 0x05,
00033 153, 65, 28, 28, 0x05,
00034
00035
00036 225, 28, 28, 28, 0x0a,
00037 240, 28, 28, 28, 0x0a,
00038 257, 28, 28, 28, 0x0a,
00039 272, 28, 28, 28, 0x0a,
00040 285, 28, 28, 28, 0x0a,
00041 300, 28, 28, 28, 0x0a,
00042 314, 28, 28, 28, 0x0a,
00043 334, 28, 28, 28, 0x0a,
00044 345, 28, 28, 28, 0x0a,
00045 354, 28, 28, 28, 0x0a,
00046 363, 28, 28, 28, 0x0a,
00047
00048 0
00049 };
00050
00051 static const char qt_meta_stringdata_sofa__gui__qt__ModifyObject[] = {
00052 "sofa::gui::qt::ModifyObject\0\0"
00053 "objectUpdated()\0dialogClosed(void*)\0"
00054 "current_node,translationX,translationY,translationZ,rotationX,rotation"
00055 "Y,rotationZ,scale\0"
00056 "transformObject(Node*,double,double,double,double,double,double,double"
00057 ")\0"
00058 "updateValues()\0updateTextEdit()\0"
00059 "updateTables()\0saveTables()\0saveTextEdit()\0"
00060 "changeValue()\0changeVisualValue()\0"
00061 "closeNow()\0reject()\0accept()\0"
00062 "resizeTable(int)\0"
00063 };
00064
00065 const QMetaObject sofa::gui::qt::ModifyObject::staticMetaObject = {
00066 { &QDialog::staticMetaObject, qt_meta_stringdata_sofa__gui__qt__ModifyObject,
00067 qt_meta_data_sofa__gui__qt__ModifyObject, 0 }
00068 };
00069
00070 const QMetaObject *sofa::gui::qt::ModifyObject::metaObject() const
00071 {
00072 return &staticMetaObject;
00073 }
00074
00075 void *sofa::gui::qt::ModifyObject::qt_metacast(const char *_clname)
00076 {
00077 if (!_clname) return 0;
00078 if (!strcmp(_clname, qt_meta_stringdata_sofa__gui__qt__ModifyObject))
00079 return static_cast<void*>(const_cast< ModifyObject*>(this));
00080 return QDialog::qt_metacast(_clname);
00081 }
00082
00083 int sofa::gui::qt::ModifyObject::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00084 {
00085 _id = QDialog::qt_metacall(_c, _id, _a);
00086 if (_id < 0)
00087 return _id;
00088 if (_c == QMetaObject::InvokeMetaMethod) {
00089 switch (_id) {
00090 case 0: objectUpdated(); break;
00091 case 1: dialogClosed((*reinterpret_cast< void*(*)>(_a[1]))); break;
00092 case 2: transformObject((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< double(*)>(_a[4])),(*reinterpret_cast< double(*)>(_a[5])),(*reinterpret_cast< double(*)>(_a[6])),(*reinterpret_cast< double(*)>(_a[7])),(*reinterpret_cast< double(*)>(_a[8]))); break;
00093 case 3: updateValues(); break;
00094 case 4: updateTextEdit(); break;
00095 case 5: updateTables(); break;
00096 case 6: saveTables(); break;
00097 case 7: saveTextEdit(); break;
00098 case 8: changeValue(); break;
00099 case 9: changeVisualValue(); break;
00100 case 10: closeNow(); break;
00101 case 11: reject(); break;
00102 case 12: accept(); break;
00103 case 13: resizeTable((*reinterpret_cast< int(*)>(_a[1]))); break;
00104 }
00105 _id -= 14;
00106 }
00107 return _id;
00108 }
00109
00110
00111 void sofa::gui::qt::ModifyObject::objectUpdated()
00112 {
00113 QMetaObject::activate(this, &staticMetaObject, 0, 0);
00114 }
00115
00116
00117 void sofa::gui::qt::ModifyObject::dialogClosed(void * _t1)
00118 {
00119 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00120 QMetaObject::activate(this, &staticMetaObject, 1, _a);
00121 }
00122
00123
00124 void sofa::gui::qt::ModifyObject::transformObject(Node * _t1, double _t2, double _t3, double _t4, double _t5, double _t6, double _t7, double _t8)
00125 {
00126 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)), const_cast<void*>(reinterpret_cast<const void*>(&_t7)), const_cast<void*>(reinterpret_cast<const void*>(&_t8)) };
00127 QMetaObject::activate(this, &staticMetaObject, 2, _a);
00128 }
00129 QT_END_MOC_NAMESPACE