NCL Composer
0.1
|
00001 /**************************************************************************** 00002 ** Meta object code from reading C++ file 'IPlugin.h' 00003 ** 00004 ** Created: Thu Oct 4 20:29:30 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 "../include/extensions/IPlugin.h" 00011 #if !defined(Q_MOC_OUTPUT_REVISION) 00012 #error "The header file 'IPlugin.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_composer__extension__IPlugin[] = { 00021 00022 // content: 00023 6, // revision 00024 0, // classname 00025 0, 0, // classinfo 00026 13, 14, // methods 00027 0, 0, // properties 00028 0, 0, // enums/sets 00029 0, 0, // constructors 00030 0, // flags 00031 7, // signalCount 00032 00033 // signals: signature, parameters, type, tag, flags 00034 61, 30, 29, 29, 0x05, 00035 134, 116, 29, 29, 0x05, 00036 197, 184, 29, 29, 0x05, 00037 236, 224, 29, 29, 0x05, 00038 273, 265, 29, 29, 0x05, 00039 318, 313, 29, 29, 0x05, 00040 344, 29, 29, 29, 0x05, 00041 00042 // slots: signature, parameters, type, tag, flags 00043 371, 29, 29, 29, 0x0a, 00044 378, 29, 29, 29, 0x0a, 00045 412, 396, 29, 29, 0x0a, 00046 443, 396, 29, 29, 0x0a, 00047 494, 476, 29, 29, 0x0a, 00048 533, 527, 29, 29, 0x0a, 00049 00050 0 // eod 00051 }; 00052 00053 static const char qt_meta_stringdata_composer__extension__IPlugin[] = { 00054 "composer::extension::IPlugin\0\0" 00055 "type,parentEntityId,atts,force\0" 00056 "addEntity(QString,QString,QMap<QString,QString>&,bool)\0" 00057 "entity,atts,force\0" 00058 "setAttributes(Entity*,QMap<QString,QString>,bool)\0" 00059 "entity,force\0removeEntity(Entity*,bool)\0" 00060 "entityTypes\0setListenFilter(QStringList)\0" 00061 "msg,obj\0sendBroadcastMessage(const char*,void*)\0" 00062 "data\0setPluginData(QByteArray)\0" 00063 "setCurrentProjectAsDirty()\0init()\0" 00064 "updateFromModel()\0pluginID,entity\0" 00065 "onEntityAdded(QString,Entity*)\0" 00066 "onEntityChanged(QString,Entity*)\0" 00067 "pluginID,entityID\0onEntityRemoved(QString,QString)\0" 00068 "error\0errorMessage(QString)\0" 00069 }; 00070 00071 void composer::extension::IPlugin::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 00072 { 00073 if (_c == QMetaObject::InvokeMetaMethod) { 00074 Q_ASSERT(staticMetaObject.cast(_o)); 00075 IPlugin *_t = static_cast<IPlugin *>(_o); 00076 switch (_id) { 00077 case 0: _t->addEntity((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2])),(*reinterpret_cast< QMap<QString,QString>(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break; 00078 case 1: _t->setAttributes((*reinterpret_cast< Entity*(*)>(_a[1])),(*reinterpret_cast< QMap<QString,QString>(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break; 00079 case 2: _t->removeEntity((*reinterpret_cast< Entity*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break; 00080 case 3: _t->setListenFilter((*reinterpret_cast< const QStringList(*)>(_a[1]))); break; 00081 case 4: _t->sendBroadcastMessage((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2]))); break; 00082 case 5: _t->setPluginData((*reinterpret_cast< QByteArray(*)>(_a[1]))); break; 00083 case 6: _t->setCurrentProjectAsDirty(); break; 00084 case 7: _t->init(); break; 00085 case 8: _t->updateFromModel(); break; 00086 case 9: _t->onEntityAdded((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< Entity*(*)>(_a[2]))); break; 00087 case 10: _t->onEntityChanged((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< Entity*(*)>(_a[2]))); break; 00088 case 11: _t->onEntityRemoved((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; 00089 case 12: _t->errorMessage((*reinterpret_cast< QString(*)>(_a[1]))); break; 00090 default: ; 00091 } 00092 } 00093 } 00094 00095 const QMetaObjectExtraData composer::extension::IPlugin::staticMetaObjectExtraData = { 00096 0, qt_static_metacall 00097 }; 00098 00099 const QMetaObject composer::extension::IPlugin::staticMetaObject = { 00100 { &QObject::staticMetaObject, qt_meta_stringdata_composer__extension__IPlugin, 00101 qt_meta_data_composer__extension__IPlugin, &staticMetaObjectExtraData } 00102 }; 00103 00104 #ifdef Q_NO_DATA_RELOCATION 00105 const QMetaObject &composer::extension::IPlugin::getStaticMetaObject() { return staticMetaObject; } 00106 #endif //Q_NO_DATA_RELOCATION 00107 00108 const QMetaObject *composer::extension::IPlugin::metaObject() const 00109 { 00110 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 00111 } 00112 00113 void *composer::extension::IPlugin::qt_metacast(const char *_clname) 00114 { 00115 if (!_clname) return 0; 00116 if (!strcmp(_clname, qt_meta_stringdata_composer__extension__IPlugin)) 00117 return static_cast<void*>(const_cast< IPlugin*>(this)); 00118 return QObject::qt_metacast(_clname); 00119 } 00120 00121 int composer::extension::IPlugin::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 00122 { 00123 _id = QObject::qt_metacall(_c, _id, _a); 00124 if (_id < 0) 00125 return _id; 00126 if (_c == QMetaObject::InvokeMetaMethod) { 00127 if (_id < 13) 00128 qt_static_metacall(this, _c, _id, _a); 00129 _id -= 13; 00130 } 00131 return _id; 00132 } 00133 00134 // SIGNAL 0 00135 void composer::extension::IPlugin::addEntity(QString _t1, QString _t2, QMap<QString,QString> & _t3, bool _t4) 00136 { 00137 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)) }; 00138 QMetaObject::activate(this, &staticMetaObject, 0, _a); 00139 } 00140 00141 // SIGNAL 1 00142 void composer::extension::IPlugin::setAttributes(Entity * _t1, QMap<QString,QString> _t2, bool _t3) 00143 { 00144 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)) }; 00145 QMetaObject::activate(this, &staticMetaObject, 1, _a); 00146 } 00147 00148 // SIGNAL 2 00149 void composer::extension::IPlugin::removeEntity(Entity * _t1, bool _t2) 00150 { 00151 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; 00152 QMetaObject::activate(this, &staticMetaObject, 2, _a); 00153 } 00154 00155 // SIGNAL 3 00156 void composer::extension::IPlugin::setListenFilter(const QStringList & _t1) 00157 { 00158 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00159 QMetaObject::activate(this, &staticMetaObject, 3, _a); 00160 } 00161 00162 // SIGNAL 4 00163 void composer::extension::IPlugin::sendBroadcastMessage(const char * _t1, void * _t2) 00164 { 00165 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; 00166 QMetaObject::activate(this, &staticMetaObject, 4, _a); 00167 } 00168 00169 // SIGNAL 5 00170 void composer::extension::IPlugin::setPluginData(QByteArray _t1) 00171 { 00172 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00173 QMetaObject::activate(this, &staticMetaObject, 5, _a); 00174 } 00175 00176 // SIGNAL 6 00177 void composer::extension::IPlugin::setCurrentProjectAsDirty() 00178 { 00179 QMetaObject::activate(this, &staticMetaObject, 6, 0); 00180 } 00181 QT_END_MOC_NAMESPACE