NCL Composer
0.1
|
00001 /**************************************************************************** 00002 ** Meta object code from reading C++ file 'qnstscene.h' 00003 ** 00004 ** Created: Thu Oct 4 20:34:24 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 "../ui/view/qnstscene.h" 00011 #if !defined(Q_MOC_OUTPUT_REVISION) 00012 #error "The header file 'qnstscene.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_QnstScene[] = { 00021 00022 // content: 00023 6, // revision 00024 0, // classname 00025 0, 0, // classinfo 00026 17, 14, // methods 00027 0, 0, // properties 00028 0, 0, // enums/sets 00029 0, 0, // constructors 00030 0, // flags 00031 16, // signalCount 00032 00033 // signals: signature, parameters, type, tag, flags 00034 18, 11, 10, 10, 0x05, 00035 51, 11, 10, 10, 0x05, 00036 86, 11, 10, 10, 0x05, 00037 121, 11, 10, 10, 0x05, 00038 175, 157, 10, 10, 0x05, 00039 238, 10, 10, 10, 0x05, 00040 254, 10, 10, 10, 0x05, 00041 270, 10, 10, 10, 0x05, 00042 285, 10, 10, 10, 0x05, 00043 301, 10, 10, 10, 0x05, 00044 318, 10, 10, 10, 0x05, 00045 336, 10, 10, 10, 0x05, 00046 354, 10, 10, 10, 0x05, 00047 372, 10, 10, 10, 0x05, 00048 391, 10, 10, 10, 0x05, 00049 412, 10, 10, 10, 0x05, 00050 00051 // slots: signature, parameters, type, tag, flags 00052 434, 10, 10, 10, 0x09, 00053 00054 0 // eod 00055 }; 00056 00057 static const char qt_meta_stringdata_QnstScene[] = { 00058 "QnstScene\0\0entity\0entityAdded(QnstGraphicsEntity*)\0" 00059 "entityRemoved(QnstGraphicsEntity*)\0" 00060 "entityChanged(QnstGraphicsEntity*)\0" 00061 "entitySelected(QnstGraphicsEntity*)\0" 00062 "entity,properties\0" 00063 "entityAboutToChange(QnstGraphicsEntity*,QMap<QString,QString>)\0" 00064 "undoRequested()\0redoRequested()\0" 00065 "cutRequested()\0copyRequested()\0" 00066 "pasteRequested()\0deleteRequested()\0" 00067 "exportRequested()\0zoominRequested()\0" 00068 "zoomoutRequested()\0zoomresetRequested()\0" 00069 "fullscreenRequested()\0performBody()\0" 00070 }; 00071 00072 void QnstScene::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 00073 { 00074 if (_c == QMetaObject::InvokeMetaMethod) { 00075 Q_ASSERT(staticMetaObject.cast(_o)); 00076 QnstScene *_t = static_cast<QnstScene *>(_o); 00077 switch (_id) { 00078 case 0: _t->entityAdded((*reinterpret_cast< QnstGraphicsEntity*(*)>(_a[1]))); break; 00079 case 1: _t->entityRemoved((*reinterpret_cast< QnstGraphicsEntity*(*)>(_a[1]))); break; 00080 case 2: _t->entityChanged((*reinterpret_cast< QnstGraphicsEntity*(*)>(_a[1]))); break; 00081 case 3: _t->entitySelected((*reinterpret_cast< QnstGraphicsEntity*(*)>(_a[1]))); break; 00082 case 4: _t->entityAboutToChange((*reinterpret_cast< QnstGraphicsEntity*(*)>(_a[1])),(*reinterpret_cast< QMap<QString,QString>(*)>(_a[2]))); break; 00083 case 5: _t->undoRequested(); break; 00084 case 6: _t->redoRequested(); break; 00085 case 7: _t->cutRequested(); break; 00086 case 8: _t->copyRequested(); break; 00087 case 9: _t->pasteRequested(); break; 00088 case 10: _t->deleteRequested(); break; 00089 case 11: _t->exportRequested(); break; 00090 case 12: _t->zoominRequested(); break; 00091 case 13: _t->zoomoutRequested(); break; 00092 case 14: _t->zoomresetRequested(); break; 00093 case 15: _t->fullscreenRequested(); break; 00094 case 16: _t->performBody(); break; 00095 default: ; 00096 } 00097 } 00098 } 00099 00100 const QMetaObjectExtraData QnstScene::staticMetaObjectExtraData = { 00101 0, qt_static_metacall 00102 }; 00103 00104 const QMetaObject QnstScene::staticMetaObject = { 00105 { &QGraphicsScene::staticMetaObject, qt_meta_stringdata_QnstScene, 00106 qt_meta_data_QnstScene, &staticMetaObjectExtraData } 00107 }; 00108 00109 #ifdef Q_NO_DATA_RELOCATION 00110 const QMetaObject &QnstScene::getStaticMetaObject() { return staticMetaObject; } 00111 #endif //Q_NO_DATA_RELOCATION 00112 00113 const QMetaObject *QnstScene::metaObject() const 00114 { 00115 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 00116 } 00117 00118 void *QnstScene::qt_metacast(const char *_clname) 00119 { 00120 if (!_clname) return 0; 00121 if (!strcmp(_clname, qt_meta_stringdata_QnstScene)) 00122 return static_cast<void*>(const_cast< QnstScene*>(this)); 00123 return QGraphicsScene::qt_metacast(_clname); 00124 } 00125 00126 int QnstScene::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 00127 { 00128 _id = QGraphicsScene::qt_metacall(_c, _id, _a); 00129 if (_id < 0) 00130 return _id; 00131 if (_c == QMetaObject::InvokeMetaMethod) { 00132 if (_id < 17) 00133 qt_static_metacall(this, _c, _id, _a); 00134 _id -= 17; 00135 } 00136 return _id; 00137 } 00138 00139 // SIGNAL 0 00140 void QnstScene::entityAdded(QnstGraphicsEntity * _t1) 00141 { 00142 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00143 QMetaObject::activate(this, &staticMetaObject, 0, _a); 00144 } 00145 00146 // SIGNAL 1 00147 void QnstScene::entityRemoved(QnstGraphicsEntity * _t1) 00148 { 00149 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00150 QMetaObject::activate(this, &staticMetaObject, 1, _a); 00151 } 00152 00153 // SIGNAL 2 00154 void QnstScene::entityChanged(QnstGraphicsEntity * _t1) 00155 { 00156 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00157 QMetaObject::activate(this, &staticMetaObject, 2, _a); 00158 } 00159 00160 // SIGNAL 3 00161 void QnstScene::entitySelected(QnstGraphicsEntity * _t1) 00162 { 00163 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00164 QMetaObject::activate(this, &staticMetaObject, 3, _a); 00165 } 00166 00167 // SIGNAL 4 00168 void QnstScene::entityAboutToChange(QnstGraphicsEntity * _t1, QMap<QString,QString> _t2) 00169 { 00170 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; 00171 QMetaObject::activate(this, &staticMetaObject, 4, _a); 00172 } 00173 00174 // SIGNAL 5 00175 void QnstScene::undoRequested() 00176 { 00177 QMetaObject::activate(this, &staticMetaObject, 5, 0); 00178 } 00179 00180 // SIGNAL 6 00181 void QnstScene::redoRequested() 00182 { 00183 QMetaObject::activate(this, &staticMetaObject, 6, 0); 00184 } 00185 00186 // SIGNAL 7 00187 void QnstScene::cutRequested() 00188 { 00189 QMetaObject::activate(this, &staticMetaObject, 7, 0); 00190 } 00191 00192 // SIGNAL 8 00193 void QnstScene::copyRequested() 00194 { 00195 QMetaObject::activate(this, &staticMetaObject, 8, 0); 00196 } 00197 00198 // SIGNAL 9 00199 void QnstScene::pasteRequested() 00200 { 00201 QMetaObject::activate(this, &staticMetaObject, 9, 0); 00202 } 00203 00204 // SIGNAL 10 00205 void QnstScene::deleteRequested() 00206 { 00207 QMetaObject::activate(this, &staticMetaObject, 10, 0); 00208 } 00209 00210 // SIGNAL 11 00211 void QnstScene::exportRequested() 00212 { 00213 QMetaObject::activate(this, &staticMetaObject, 11, 0); 00214 } 00215 00216 // SIGNAL 12 00217 void QnstScene::zoominRequested() 00218 { 00219 QMetaObject::activate(this, &staticMetaObject, 12, 0); 00220 } 00221 00222 // SIGNAL 13 00223 void QnstScene::zoomoutRequested() 00224 { 00225 QMetaObject::activate(this, &staticMetaObject, 13, 0); 00226 } 00227 00228 // SIGNAL 14 00229 void QnstScene::zoomresetRequested() 00230 { 00231 QMetaObject::activate(this, &staticMetaObject, 14, 0); 00232 } 00233 00234 // SIGNAL 15 00235 void QnstScene::fullscreenRequested() 00236 { 00237 QMetaObject::activate(this, &staticMetaObject, 15, 0); 00238 } 00239 QT_END_MOC_NAMESPACE