NCL Composer
0.1
|
00001 /**************************************************************************** 00002 ** Meta object code from reading C++ file 'PluginControl.h' 00003 ** 00004 ** Created: Thu Oct 4 20:29:27 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/modules/PluginControl.h" 00011 #if !defined(Q_MOC_OUTPUT_REVISION) 00012 #error "The header file 'PluginControl.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__core__PluginControl[] = { 00021 00022 // content: 00023 6, // 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 4, // signalCount 00032 00033 // signals: signature, parameters, type, tag, flags 00034 52, 31, 30, 30, 0x05, 00035 98, 30, 30, 30, 0x05, 00036 132, 119, 30, 30, 0x05, 00037 195, 190, 30, 30, 0x05, 00038 00039 // slots: signature, parameters, type, tag, flags 00040 262, 258, 30, 30, 0x0a, 00041 294, 286, 30, 30, 0x0a, 00042 333, 320, 30, 30, 0x08, 00043 00044 0 // eod 00045 }; 00046 00047 static const char qt_meta_stringdata_composer__core__PluginControl[] = { 00048 "composer::core::PluginControl\0\0" 00049 "documentdId,location\0" 00050 "newProjectLaunchedAndCreated(QString,QString)\0" 00051 "notifyError(QString)\0,,documentId\0" 00052 "addPluginWidgetToWindow(IPluginFactory*,IPlugin*,QString)\0" 00053 ",,,n\0" 00054 "addPluginWidgetToWindow(IPluginFactory*,IPlugin*,Project*,int)\0" 00055 "doc\0launchProject(Project*)\0project\0" 00056 "savePluginsData(Project*)\0slot,payload\0" 00057 "sendBroadcastMessage(const char*,void*)\0" 00058 }; 00059 00060 void composer::core::PluginControl::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 00061 { 00062 if (_c == QMetaObject::InvokeMetaMethod) { 00063 Q_ASSERT(staticMetaObject.cast(_o)); 00064 PluginControl *_t = static_cast<PluginControl *>(_o); 00065 switch (_id) { 00066 case 0: _t->newProjectLaunchedAndCreated((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; 00067 case 1: _t->notifyError((*reinterpret_cast< QString(*)>(_a[1]))); break; 00068 case 2: _t->addPluginWidgetToWindow((*reinterpret_cast< IPluginFactory*(*)>(_a[1])),(*reinterpret_cast< IPlugin*(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break; 00069 case 3: _t->addPluginWidgetToWindow((*reinterpret_cast< IPluginFactory*(*)>(_a[1])),(*reinterpret_cast< IPlugin*(*)>(_a[2])),(*reinterpret_cast< Project*(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break; 00070 case 4: _t->launchProject((*reinterpret_cast< Project*(*)>(_a[1]))); break; 00071 case 5: _t->savePluginsData((*reinterpret_cast< Project*(*)>(_a[1]))); break; 00072 case 6: _t->sendBroadcastMessage((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< void*(*)>(_a[2]))); break; 00073 default: ; 00074 } 00075 } 00076 } 00077 00078 const QMetaObjectExtraData composer::core::PluginControl::staticMetaObjectExtraData = { 00079 0, qt_static_metacall 00080 }; 00081 00082 const QMetaObject composer::core::PluginControl::staticMetaObject = { 00083 { &QObject::staticMetaObject, qt_meta_stringdata_composer__core__PluginControl, 00084 qt_meta_data_composer__core__PluginControl, &staticMetaObjectExtraData } 00085 }; 00086 00087 #ifdef Q_NO_DATA_RELOCATION 00088 const QMetaObject &composer::core::PluginControl::getStaticMetaObject() { return staticMetaObject; } 00089 #endif //Q_NO_DATA_RELOCATION 00090 00091 const QMetaObject *composer::core::PluginControl::metaObject() const 00092 { 00093 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 00094 } 00095 00096 void *composer::core::PluginControl::qt_metacast(const char *_clname) 00097 { 00098 if (!_clname) return 0; 00099 if (!strcmp(_clname, qt_meta_stringdata_composer__core__PluginControl)) 00100 return static_cast<void*>(const_cast< PluginControl*>(this)); 00101 return QObject::qt_metacast(_clname); 00102 } 00103 00104 int composer::core::PluginControl::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 00105 { 00106 _id = QObject::qt_metacall(_c, _id, _a); 00107 if (_id < 0) 00108 return _id; 00109 if (_c == QMetaObject::InvokeMetaMethod) { 00110 if (_id < 7) 00111 qt_static_metacall(this, _c, _id, _a); 00112 _id -= 7; 00113 } 00114 return _id; 00115 } 00116 00117 // SIGNAL 0 00118 void composer::core::PluginControl::newProjectLaunchedAndCreated(QString _t1, QString _t2) 00119 { 00120 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; 00121 QMetaObject::activate(this, &staticMetaObject, 0, _a); 00122 } 00123 00124 // SIGNAL 1 00125 void composer::core::PluginControl::notifyError(QString _t1) 00126 { 00127 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; 00128 QMetaObject::activate(this, &staticMetaObject, 1, _a); 00129 } 00130 00131 // SIGNAL 2 00132 void composer::core::PluginControl::addPluginWidgetToWindow(IPluginFactory * _t1, IPlugin * _t2, QString _t3) 00133 { 00134 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)) }; 00135 QMetaObject::activate(this, &staticMetaObject, 2, _a); 00136 } 00137 00138 // SIGNAL 3 00139 void composer::core::PluginControl::addPluginWidgetToWindow(IPluginFactory * _t1, IPlugin * _t2, Project * _t3, int _t4) 00140 { 00141 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)) }; 00142 QMetaObject::activate(this, &staticMetaObject, 3, _a); 00143 } 00144 QT_END_MOC_NAMESPACE