moc_WFloatLineEdit.cpp

Go to the documentation of this file.
00001 /****************************************************************************
00002 ** Meta object code from reading C++ file 'WFloatLineEdit.h'
00003 **
00004 ** Created: Sun Nov 23 02:13:21 2008
00005 **      by: The Qt Meta Object Compiler version 59 (Qt 4.4.3)
00006 **
00007 ** WARNING! All changes made in this file will be lost!
00008 *****************************************************************************/
00009 
00010 #include "WFloatLineEdit.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'WFloatLineEdit.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 59
00014 #error "This file was generated using the moc from 4.4.3. 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_WFloatLineEdit[] = {
00021 
00022  // content:
00023        1,       // revision
00024        0,       // classname
00025        0,    0, // classinfo
00026        6,   10, // methods
00027        4,   40, // properties
00028        0,    0, // enums/sets
00029 
00030  // signals: signature, parameters, type, tag, flags
00031       16,   15,   15,   15, 0x05,
00032       41,   15,   15,   15, 0x05,
00033 
00034  // slots: signature, parameters, type, tag, flags
00035       66,   15,   15,   15, 0x09,
00036       94,   15,   15,   15, 0x09,
00037      120,   15,   15,   15, 0x09,
00038      142,  140,   15,   15, 0x0a,
00039 
00040  // properties: name, type, flags
00041      169,  163, 0x87095103,
00042      183,  163, 0x87095103,
00043      197,  163, 0x87095103,
00044      212,  208, 0x02095103,
00045 
00046        0        // eod
00047 };
00048 
00049 static const char qt_meta_stringdata_WFloatLineEdit[] = {
00050     "WFloatLineEdit\0\0floatValueChanged(float)\0"
00051     "valuePercentChanged(int)\0"
00052     "slotCalcFloatValue(QString)\0"
00053     "slotCalcFloatValue(float)\0slotReturnPressed()\0"
00054     "p\0setValuePercent(int)\0float\0minFloatValue\0"
00055     "maxFloatValue\0floatValue\0int\0intValue\0"
00056 };
00057 
00058 const QMetaObject WFloatLineEdit::staticMetaObject = {
00059     { &QLineEdit::staticMetaObject, qt_meta_stringdata_WFloatLineEdit,
00060       qt_meta_data_WFloatLineEdit, 0 }
00061 };
00062 
00063 const QMetaObject *WFloatLineEdit::metaObject() const
00064 {
00065     return &staticMetaObject;
00066 }
00067 
00068 void *WFloatLineEdit::qt_metacast(const char *_clname)
00069 {
00070     if (!_clname) return 0;
00071     if (!strcmp(_clname, qt_meta_stringdata_WFloatLineEdit))
00072         return static_cast<void*>(const_cast< WFloatLineEdit*>(this));
00073     return QLineEdit::qt_metacast(_clname);
00074 }
00075 
00076 int WFloatLineEdit::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00077 {
00078     _id = QLineEdit::qt_metacall(_c, _id, _a);
00079     if (_id < 0)
00080         return _id;
00081     if (_c == QMetaObject::InvokeMetaMethod) {
00082         switch (_id) {
00083         case 0: floatValueChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
00084         case 1: valuePercentChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
00085         case 2: slotCalcFloatValue((*reinterpret_cast< const QString(*)>(_a[1]))); break;
00086         case 3: slotCalcFloatValue((*reinterpret_cast< float(*)>(_a[1]))); break;
00087         case 4: slotReturnPressed(); break;
00088         case 5: setValuePercent((*reinterpret_cast< int(*)>(_a[1]))); break;
00089         }
00090         _id -= 6;
00091     }
00092 #ifndef QT_NO_PROPERTIES
00093       else if (_c == QMetaObject::ReadProperty) {
00094         void *_v = _a[0];
00095         switch (_id) {
00096         case 0: *reinterpret_cast< float*>(_v) = minFloatValue(); break;
00097         case 1: *reinterpret_cast< float*>(_v) = maxFloatValue(); break;
00098         case 2: *reinterpret_cast< float*>(_v) = floatValue(); break;
00099         case 3: *reinterpret_cast< int*>(_v) = intValue(); break;
00100         }
00101         _id -= 4;
00102     } else if (_c == QMetaObject::WriteProperty) {
00103         void *_v = _a[0];
00104         switch (_id) {
00105         case 0: setMinFloatValue(*reinterpret_cast< float*>(_v)); break;
00106         case 1: setMaxFloatValue(*reinterpret_cast< float*>(_v)); break;
00107         case 2: setFloatValue(*reinterpret_cast< float*>(_v)); break;
00108         case 3: setIntValue(*reinterpret_cast< int*>(_v)); break;
00109         }
00110         _id -= 4;
00111     } else if (_c == QMetaObject::ResetProperty) {
00112         _id -= 4;
00113     } else if (_c == QMetaObject::QueryPropertyDesignable) {
00114         _id -= 4;
00115     } else if (_c == QMetaObject::QueryPropertyScriptable) {
00116         _id -= 4;
00117     } else if (_c == QMetaObject::QueryPropertyStored) {
00118         _id -= 4;
00119     } else if (_c == QMetaObject::QueryPropertyEditable) {
00120         _id -= 4;
00121     } else if (_c == QMetaObject::QueryPropertyUser) {
00122         _id -= 4;
00123     }
00124 #endif // QT_NO_PROPERTIES
00125     return _id;
00126 }
00127 
00128 // SIGNAL 0
00129 void WFloatLineEdit::floatValueChanged(float _t1)
00130 {
00131     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00132     QMetaObject::activate(this, &staticMetaObject, 0, _a);
00133 }
00134 
00135 // SIGNAL 1
00136 void WFloatLineEdit::valuePercentChanged(int _t1)
00137 {
00138     void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00139     QMetaObject::activate(this, &staticMetaObject, 1, _a);
00140 }
00141 QT_END_MOC_NAMESPACE

Generated on Sun Nov 23 02:28:35 2008 for Sofa by  doxygen 1.5.7.1