NCL Composer
0.1
|
00001 /**************************************************************************** 00002 ** Meta object code from reading C++ file 'qncggraphicsentity.h' 00003 ** 00004 ** Created: Thu Oct 4 20:33:19 2012 00005 ** by: The Qt Meta Object Compiler version 63 (Qt 4.8.1) 00006 ** 00007 ** WARNING! All changes made in this file will be lost! 00008 *****************************************************************************/ 00009 00010 #include "qncggraphicsentity.h" 00011 #if !defined(Q_MOC_OUTPUT_REVISION) 00012 #error "The header file 'qncggraphicsentity.h' doesn't include <QObject>." 00013 #elif Q_MOC_OUTPUT_REVISION != 63 00014 #error "This file was generated using the moc from 4.8.1. 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_QncgGraphicsEntity[] = { 00021 00022 // content: 00023 6, // revision 00024 0, // classname 00025 0, 0, // classinfo 00026 3, 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 31, 20, 19, 19, 0x05, 00035 74, 19, 19, 19, 0x05, 00036 90, 19, 19, 19, 0x05, 00037 00038 0 // eod 00039 }; 00040 00041 static const char qt_meta_stringdata_QncgGraphicsEntity[] = { 00042 "QncgGraphicsEntity\0\0properties\0" 00043 "entityAboutToChange(QMap<QString,QString>)\0" 00044 "entityChanged()\0entitySelected()\0" 00045 }; 00046 00047 void QncgGraphicsEntity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 00048 { 00049 if (_c == QMetaObject::InvokeMetaMethod) { 00050 Q_ASSERT(staticMetaObject.cast(_o)); 00051 QncgGraphicsEntity *_t = static_cast<QncgGraphicsEntity *>(_o); 00052 switch (_id) { 00053 case 0: _t->entityAboutToChange((*reinterpret_cast< QMap<QString,QString>(*)>(_a[1]))); break; 00054 case 1: _t->entityChanged(); break; 00055 case 2: _t->entitySelected(); break; 00056 default: ; 00057 } 00058 } 00059 } 00060 00061 const QMetaObjectExtraData QncgGraphicsEntity::staticMetaObjectExtraData = { 00062 0, qt_static_metacall 00063 }; 00064 00065 const QMetaObject QncgGraphicsEntity::staticMetaObject = { 00066 { &QObject::staticMetaObject, qt_meta_stringdata_QncgGraphicsEntity, 00067 qt_meta_data_QncgGraphicsEntity, &staticMetaObjectExtraData } 00068 }; 00069 00070 #ifdef Q_NO_DATA_RELOCATION 00071 const QMetaObject &QncgGraphicsEntity::getStaticMetaObject() { return staticMetaObject; } 00072 #endif //Q_NO_DATA_RELOCATION 00073 00074 const QMetaObject *QncgGraphicsEntity::metaObject() const 00075 { 00076 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 00077 } 00078 00079 void *QncgGraphicsEntity::qt_metacast(const char *_clname) 00080 { 00081 if (!_clname) return 0; 00082 if (!strcmp(_clname, qt_meta_stringdata_QncgGraphicsEntity)) 00083 return static_cast<void*>(const_cast< QncgGraphicsEntity*>(this)); 00084 if (!strcmp(_clname, "QGraphicsItem")) 00085 return static_cast< QGraphicsItem*>(const_cast< QncgGraphicsEntity*>(this)); 00086 return QObject::qt_metacast(_clname); 00087 } 00088 00089 int QncgGraphicsEntity::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 00090 { 00091 _id = QObject::qt_metacall(_c, _id, _a); 00092 if (_id < 0) 00093 return _id; 00094 if (_c == QMetaObject::InvokeMetaMethod) { 00095 if (_id < 3) 00096 qt_static_metacall(this, _c, _id, _a); 00097 _id -= 3; 00098 } 00099 return _id; 00100 } 00101 00102 // SIGNAL 0 00103 void QncgGraphicsEntity::entityAboutToChange(QMap<QString,QString> _t1) 00104 { 00105 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00106 QMetaObject::activate(this, &staticMetaObject, 0, _a); 00107 } 00108 00109 // SIGNAL 1 00110 void QncgGraphicsEntity::entityChanged() 00111 { 00112 QMetaObject::activate(this, &staticMetaObject, 1, 0); 00113 } 00114 00115 // SIGNAL 2 00116 void QncgGraphicsEntity::entitySelected() 00117 { 00118 QMetaObject::activate(this, &staticMetaObject, 2, 0); 00119 } 00120 QT_END_MOC_NAMESPACE