00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #include "../controldialog.h"
00011 #if !defined(Q_MOC_OUTPUT_REVISION)
00012 #error "The header file 'controldialog.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_ControlDialog[] = {
00021
00022
00023 1,
00024 0,
00025 0, 0,
00026 7, 10,
00027 0, 0,
00028 0, 0,
00029
00030
00031 15, 14, 14, 14, 0x05,
00032 52, 45, 14, 14, 0x05,
00033
00034
00035 73, 14, 14, 14, 0x08,
00036 95, 14, 14, 14, 0x08,
00037 117, 14, 14, 14, 0x08,
00038 159, 139, 14, 14, 0x08,
00039 217, 211, 14, 14, 0x08,
00040
00041 0
00042 };
00043
00044 static const char qt_meta_stringdata_ControlDialog[] = {
00045 "ControlDialog\0\0resetPixels(std::vector<int>)\0"
00046 "pixnum\0recenterOnPixel(int)\0"
00047 "on_clearsel_clicked()\0on_clearall_clicked()\0"
00048 "on_savelist_clicked()\0selected,deselected\0"
00049 "updateClearSelection(QItemSelection,QItemSelection)\0"
00050 "index\0doubleClicked(QModelIndex)\0"
00051 };
00052
00053 const QMetaObject ControlDialog::staticMetaObject = {
00054 { &QDialog::staticMetaObject, qt_meta_stringdata_ControlDialog,
00055 qt_meta_data_ControlDialog, 0 }
00056 };
00057
00058 const QMetaObject *ControlDialog::metaObject() const
00059 {
00060 return &staticMetaObject;
00061 }
00062
00063 void *ControlDialog::qt_metacast(const char *_clname)
00064 {
00065 if (!_clname) return 0;
00066 if (!strcmp(_clname, qt_meta_stringdata_ControlDialog))
00067 return static_cast<void*>(const_cast< ControlDialog*>(this));
00068 return QDialog::qt_metacast(_clname);
00069 }
00070
00071 int ControlDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
00072 {
00073 _id = QDialog::qt_metacall(_c, _id, _a);
00074 if (_id < 0)
00075 return _id;
00076 if (_c == QMetaObject::InvokeMetaMethod) {
00077 switch (_id) {
00078 case 0: resetPixels((*reinterpret_cast< std::vector<int>(*)>(_a[1]))); break;
00079 case 1: recenterOnPixel((*reinterpret_cast< int(*)>(_a[1]))); break;
00080 case 2: on_clearsel_clicked(); break;
00081 case 3: on_clearall_clicked(); break;
00082 case 4: on_savelist_clicked(); break;
00083 case 5: updateClearSelection((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
00084 case 6: doubleClicked((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
00085 }
00086 _id -= 7;
00087 }
00088 return _id;
00089 }
00090
00091
00092 void ControlDialog::resetPixels(std::vector<int> _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 ControlDialog::recenterOnPixel(int _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