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