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