00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "../ui/ThresholdForm.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'ThresholdForm.h' doesn't include <QObject>."
00013 #elif Q_MOC_OUTPUT_REVISION != 62
00014 #error "This file was generated using the moc from 4.6.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_ThresholdForm[] = {
00021
00022
00023 4,
00024 0,
00025 0, 0,
00026 4, 14,
00027 0, 0,
00028 0, 0,
00029 0, 0,
00030 0,
00031 2,
00032
00033
00034 15, 14, 14, 14, 0x05,
00035 41, 14, 14, 14, 0x05,
00036
00037
00038 73, 67, 14, 14, 0x0a,
00039 98, 67, 14, 14, 0x0a,
00040
00041 0
00042 };
00043
00044 static const char qt_meta_stringdata_ThresholdForm[] = {
00045 "ThresholdForm\0\0upperValueChanged(double)\0"
00046 "lowerValueChanged(double)\0value\0"
00047 "updateUpperValue(double)\0"
00048 "updateLowerValue(double)\0"
00049 };
00050
00051 const QMetaObject ThresholdForm::staticMetaObject = {
00052 { &QDialog::staticMetaObject, qt_meta_stringdata_ThresholdForm,
00053 qt_meta_data_ThresholdForm, 0 }
00054 };
00055
00056 #ifdef Q_NO_DATA_RELOCATION
00057 const QMetaObject &ThresholdForm::getStaticMetaObject() { return staticMetaObject; }
00058 #endif //Q_NO_DATA_RELOCATION
00059
00060 const QMetaObject *ThresholdForm::metaObject() const
00061 {
00062 return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
00063 }
00064
00065 void *ThresholdForm::qt_metacast(const char *_clname)
00066 {
00067 if (!_clname) return 0;
00068 if (!strcmp(_clname, qt_meta_stringdata_ThresholdForm))
00069 return static_cast<void*>(const_cast< ThresholdForm*>(this));
00070 return QDialog::qt_metacast(_clname);
00071 }
00072
00073 int ThresholdForm::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00074 {
00075 _id = QDialog::qt_metacall(_c, _id, _a);
00076 if (_id < 0)
00077 return _id;
00078 if (_c == QMetaObject::InvokeMetaMethod) {
00079 switch (_id) {
00080 case 0: upperValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
00081 case 1: lowerValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
00082 case 2: updateUpperValue((*reinterpret_cast< double(*)>(_a[1]))); break;
00083 case 3: updateLowerValue((*reinterpret_cast< double(*)>(_a[1]))); break;
00084 default: ;
00085 }
00086 _id -= 4;
00087 }
00088 return _id;
00089 }
00090
00091
00092 void ThresholdForm::upperValueChanged(double _t1)
00093 {
00094 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00095 QMetaObject::activate(this, &staticMetaObject, 0, _a);
00096 }
00097
00098
00099 void ThresholdForm::lowerValueChanged(double _t1)
00100 {
00101 void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
00102 QMetaObject::activate(this, &staticMetaObject, 1, _a);
00103 }
00104 QT_END_MOC_NAMESPACE