nodeeditor_doxy
|
00001 /**************************************************************************** 00002 ** Meta object code from reading C++ file 'diagramscene.h' 00003 ** 00004 ** Created: Tue 15. Nov 19:15:18 2011 00005 ** by: The Qt Meta Object Compiler version 62 (Qt 4.7.2) 00006 ** 00007 ** WARNING! All changes made in this file will be lost! 00008 *****************************************************************************/ 00009 00010 #include "../../../src/Impl/diagramscene.h" 00011 #if !defined(Q_MOC_OUTPUT_REVISION) 00012 #error "The header file 'diagramscene.h' doesn't include <QObject>." 00013 #elif Q_MOC_OUTPUT_REVISION != 62 00014 #error "This file was generated using the moc from 4.7.2. 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_DiagramScene[] = { 00021 00022 // content: 00023 5, // revision 00024 0, // classname 00025 0, 0, // classinfo 00026 7, 14, // methods 00027 0, 0, // properties 00028 0, 0, // enums/sets 00029 0, 0, // constructors 00030 0, // flags 00031 3, // signalCount 00032 00033 // signals: signature, parameters, type, tag, flags 00034 19, 14, 13, 13, 0x05, 00035 48, 14, 13, 13, 0x05, 00036 76, 14, 13, 13, 0x05, 00037 00038 // slots: signature, parameters, type, tag, flags 00039 110, 105, 13, 13, 0x0a, 00040 132, 124, 13, 13, 0x0a, 00041 151, 13, 13, 13, 0x2a, 00042 171, 13, 166, 13, 0x0a, 00043 00044 0 // eod 00045 }; 00046 00047 static const char qt_meta_stringdata_DiagramScene[] = { 00048 "DiagramScene\0\0item\0nodeInserted(QGraphicsItem*)\0" 00049 "nodeItemInserted(NodeItem*)\0" 00050 "itemSelected(QGraphicsItem*)\0mode\0" 00051 "setMode(Mode)\0enabled\0setDebugDraw(bool)\0" 00052 "setDebugDraw()\0bool\0isDebugDraw()\0" 00053 }; 00054 00055 const QMetaObject DiagramScene::staticMetaObject = { 00056 { &QGraphicsScene::staticMetaObject, qt_meta_stringdata_DiagramScene, 00057 qt_meta_data_DiagramScene, 0 } 00058 }; 00059 00060 #ifdef Q_NO_DATA_RELOCATION 00061 const QMetaObject &DiagramScene::getStaticMetaObject() { return staticMetaObject; } 00062 #endif //Q_NO_DATA_RELOCATION 00063 00064 const QMetaObject *DiagramScene::metaObject() const 00065 { 00066 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 00067 } 00068 00069 void *DiagramScene::qt_metacast(const char *_clname) 00070 { 00071 if (!_clname) return 0; 00072 if (!strcmp(_clname, qt_meta_stringdata_DiagramScene)) 00073 return static_cast<void*>(const_cast< DiagramScene*>(this)); 00074 return QGraphicsScene::qt_metacast(_clname); 00075 } 00076 00077 int DiagramScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 00078 { 00079 _id = QGraphicsScene::qt_metacall(_c, _id, _a); 00080 if (_id < 0) 00081 return _id; 00082 if (_c == QMetaObject::InvokeMetaMethod) { 00083 switch (_id) { 00084 case 0: nodeInserted((*reinterpret_cast< QGraphicsItem*(*)>(_a[1]))); break; 00085 case 1: nodeItemInserted((*reinterpret_cast< NodeItem*(*)>(_a[1]))); break; 00086 case 2: itemSelected((*reinterpret_cast< QGraphicsItem*(*)>(_a[1]))); break; 00087 case 3: setMode((*reinterpret_cast< Mode(*)>(_a[1]))); break; 00088 case 4: setDebugDraw((*reinterpret_cast< bool(*)>(_a[1]))); break; 00089 case 5: setDebugDraw(); break; 00090 case 6: { bool _r = isDebugDraw(); 00091 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break; 00092 default: ; 00093 } 00094 _id -= 7; 00095 } 00096 return _id; 00097 } 00098 00099 // SIGNAL 0 00100 void DiagramScene::nodeInserted(QGraphicsItem * _t1) 00101 { 00102 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00103 QMetaObject::activate(this, &staticMetaObject, 0, _a); 00104 } 00105 00106 // SIGNAL 1 00107 void DiagramScene::nodeItemInserted(NodeItem * _t1) 00108 { 00109 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00110 QMetaObject::activate(this, &staticMetaObject, 1, _a); 00111 } 00112 00113 // SIGNAL 2 00114 void DiagramScene::itemSelected(QGraphicsItem * _t1) 00115 { 00116 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00117 QMetaObject::activate(this, &staticMetaObject, 2, _a); 00118 } 00119 QT_END_MOC_NAMESPACE