NCL Composer
0.1
|
00001 /**************************************************************************** 00002 ** Meta object code from reading C++ file 'PropertyButton.h' 00003 ** 00004 ** Created: Thu Oct 4 20:32:57 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/PropertyButton.h" 00011 #if !defined(Q_MOC_OUTPUT_REVISION) 00012 #error "The header file 'PropertyButton.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_PropertyButtons[] = { 00021 00022 // content: 00023 6, // revision 00024 0, // classname 00025 0, 0, // classinfo 00026 4, 14, // methods 00027 0, 0, // properties 00028 0, 0, // enums/sets 00029 0, 0, // constructors 00030 0, // flags 00031 1, // signalCount 00032 00033 // signals: signature, parameters, type, tag, flags 00034 28, 17, 16, 16, 0x05, 00035 00036 // slots: signature, parameters, type, tag, flags 00037 54, 16, 16, 16, 0x0a, 00038 65, 16, 16, 16, 0x08, 00039 80, 16, 16, 16, 0x08, 00040 00041 0 // eod 00042 }; 00043 00044 static const char qt_meta_stringdata_PropertyButtons[] = { 00045 "PropertyButtons\0\0name,value\0" 00046 "newValue(QString,QString)\0openfile()\0" 00047 "emitNewValue()\0emitNewValue(QString)\0" 00048 }; 00049 00050 void PropertyButtons::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) 00051 { 00052 if (_c == QMetaObject::InvokeMetaMethod) { 00053 Q_ASSERT(staticMetaObject.cast(_o)); 00054 PropertyButtons *_t = static_cast<PropertyButtons *>(_o); 00055 switch (_id) { 00056 case 0: _t->newValue((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break; 00057 case 1: _t->openfile(); break; 00058 case 2: _t->emitNewValue(); break; 00059 case 3: _t->emitNewValue((*reinterpret_cast< QString(*)>(_a[1]))); break; 00060 default: ; 00061 } 00062 } 00063 } 00064 00065 const QMetaObjectExtraData PropertyButtons::staticMetaObjectExtraData = { 00066 0, qt_static_metacall 00067 }; 00068 00069 const QMetaObject PropertyButtons::staticMetaObject = { 00070 { &LineEditWithButton::staticMetaObject, qt_meta_stringdata_PropertyButtons, 00071 qt_meta_data_PropertyButtons, &staticMetaObjectExtraData } 00072 }; 00073 00074 #ifdef Q_NO_DATA_RELOCATION 00075 const QMetaObject &PropertyButtons::getStaticMetaObject() { return staticMetaObject; } 00076 #endif //Q_NO_DATA_RELOCATION 00077 00078 const QMetaObject *PropertyButtons::metaObject() const 00079 { 00080 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject; 00081 } 00082 00083 void *PropertyButtons::qt_metacast(const char *_clname) 00084 { 00085 if (!_clname) return 0; 00086 if (!strcmp(_clname, qt_meta_stringdata_PropertyButtons)) 00087 return static_cast<void*>(const_cast< PropertyButtons*>(this)); 00088 return LineEditWithButton::qt_metacast(_clname); 00089 } 00090 00091 int PropertyButtons::qt_metacall(QMetaObject::Call _c, int _id, void **_a) 00092 { 00093 _id = LineEditWithButton::qt_metacall(_c, _id, _a); 00094 if (_id < 0) 00095 return _id; 00096 if (_c == QMetaObject::InvokeMetaMethod) { 00097 if (_id < 4) 00098 qt_static_metacall(this, _c, _id, _a); 00099 _id -= 4; 00100 } 00101 return _id; 00102 } 00103 00104 // SIGNAL 0 00105 void PropertyButtons::newValue(QString _t1, QString _t2) 00106 { 00107 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; 00108 QMetaObject::activate(this, &staticMetaObject, 0, _a); 00109 } 00110 QT_END_MOC_NAMESPACE