/****************************************************************************
** Meta object code from reading C++ file 'mainwindow.h'
**
** Created: Sat Dec 26 08:07:35 2009
**      by: The Qt Meta Object Compiler version 61 (Qt 4.5.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "mainwindow.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 61
#error "This file was generated using the moc from 4.5.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_MainWindow[] = {

 // content:
       2,       // revision
       0,       // classname
       0,    0, // classinfo
      46,   12, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors

 // slots: signature, parameters, type, tag, flags
      12,   11,   11,   11, 0x0a,
      33,   29,   11,   11, 0x0a,
      76,   64,   57,   11, 0x0a,
     123,  111,  106,   11, 0x0a,
     153,   11,   11,   11, 0x0a,
     166,   11,   11,   11, 0x08,
     192,   11,   11,   11, 0x08,
     218,   11,   11,   11, 0x08,
     244,   11,   11,   11, 0x08,
     270,   11,   11,   11, 0x08,
     308,   11,   11,   11, 0x08,
     354,  348,   11,   11, 0x08,
     393,  348,   11,   11, 0x08,
     432,   11,   11,   11, 0x08,
     470,   11,   11,   11, 0x08,
     508,   11,   11,   11, 0x08,
     558,  546,   11,   11, 0x08,
     606,   11,   11,   11, 0x08,
     628,   11,   11,   11, 0x08,
     652,   11,   11,   11, 0x08,
     678,   11,   11,   11, 0x08,
     718,   11,   11,   11, 0x08,
     758,   11,   11,   11, 0x08,
     795,   11,   11,   11, 0x08,
     832,   11,   11,   11, 0x08,
     869,   11,   11,   11, 0x08,
     904,   11,   11,   11, 0x08,
     939,   11,   11,   11, 0x08,
     974,   11,   11,   11, 0x08,
    1014,  546,   11,   11, 0x08,
    1062,   11,   11,   11, 0x08,
    1091,   11,   11,   11, 0x08,
    1123,   11,   11,   11, 0x08,
    1162,   11,   11,   11, 0x08,
    1193,   11,   11,   11, 0x08,
    1224,   11,   11,   11, 0x08,
    1264, 1255,   11,   11, 0x08,
    1301, 1255,   11,   11, 0x08,
    1330, 1255,   11,   11, 0x08,
    1359,   11,   11,   11, 0x08,
    1390,   11,   11,   11, 0x08,
    1416, 1255,   11,   11, 0x08,
    1451, 1255,   11,   11, 0x08,
    1488, 1255,   11,   11, 0x08,
    1520,   11,   11,   11, 0x08,
    1552, 1546,   11,   11, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_MainWindow[] = {
    "MainWindow\0\0draw_heightmap()\0w,h\0"
    "rebuild_pixmap(int,int)\0QImage\0"
    "scale,input\0scale_heightmap(float,QImage)\0"
    "uint\0x1,y1,input\0Bilinear(float,float,QImage*)\0"
    "update_fps()\0on_pushButton_3_clicked()\0"
    "on_pushButton_2_pressed()\0"
    "on_pushButton_5_pressed()\0"
    "on_pushButton_4_pressed()\0"
    "on_CamPathLength_valueChanged(double)\0"
    "on_CamPathIsLoopStart_stateChanged(int)\0"
    "value\0on_CamPathYAngSlider_valueChanged(int)\0"
    "on_CamPathXAngSlider_valueChanged(int)\0"
    "on_CamPathPointZ_valueChanged(double)\0"
    "on_CamPathPointY_valueChanged(double)\0"
    "on_CamPathPointX_valueChanged(double)\0"
    "item,column\0on_CameraPath_itemClicked(QTreeWidgetItem*,int)\0"
    "on_Generate_pressed()\0on_pushButton_pressed()\0"
    "on_actionExit_triggered()\0"
    "on_ObjectYRotation_valueChanged(double)\0"
    "on_ObjectXRotation_valueChanged(double)\0"
    "on_ObjectZScale_valueChanged(double)\0"
    "on_ObjectYScale_valueChanged(double)\0"
    "on_ObjectXScale_valueChanged(double)\0"
    "on_ObjectZPos_valueChanged(double)\0"
    "on_ObjectYPos_valueChanged(double)\0"
    "on_ObjectXPos_valueChanged(double)\0"
    "on_ObjectZRotation_valueChanged(double)\0"
    "on_ObjectTree_itemClicked(QTreeWidgetItem*,int)\0"
    "on_spinBox_valueChanged(int)\0"
    "on_actionLoadObject_triggered()\0"
    "on_actionLoad_water_object_triggered()\0"
    "on_ZScale_valueChanged(double)\0"
    "on_YScale_valueChanged(double)\0"
    "on_XScale_valueChanged(double)\0position\0"
    "on_verticalSlider_2_sliderMoved(int)\0"
    "on_CamYDial_sliderMoved(int)\0"
    "on_CamXDial_sliderMoved(int)\0"
    "on_actionOpen_data_triggered()\0"
    "on_actionSave_triggered()\0"
    "on_verticalSlider_sliderMoved(int)\0"
    "on_horizontalSlider_sliderMoved(int)\0"
    "on_ScaleSlider_sliderMoved(int)\0"
    "on_actionOpen_triggered()\0event\0"
    "on_MouseMove(QMouseEvent*)\0"
};

const QMetaObject MainWindow::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow,
      qt_meta_data_MainWindow, 0 }
};

const QMetaObject *MainWindow::metaObject() const
{
    return &staticMetaObject;
}

void *MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_MainWindow))
        return static_cast<void*>(const_cast< MainWindow*>(this));
    return QMainWindow::qt_metacast(_clname);
}

int MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: draw_heightmap(); break;
        case 1: rebuild_pixmap((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: { QImage _r = scale_heightmap((*reinterpret_cast< float(*)>(_a[1])),(*reinterpret_cast< QImage(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QImage*>(_a[0]) = _r; }  break;
        case 3: { uint _r = Bilinear((*reinterpret_cast< float(*)>(_a[1])),(*reinterpret_cast< float(*)>(_a[2])),(*reinterpret_cast< QImage*(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< uint*>(_a[0]) = _r; }  break;
        case 4: update_fps(); break;
        case 5: on_pushButton_3_clicked(); break;
        case 6: on_pushButton_2_pressed(); break;
        case 7: on_pushButton_5_pressed(); break;
        case 8: on_pushButton_4_pressed(); break;
        case 9: on_CamPathLength_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 10: on_CamPathIsLoopStart_stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: on_CamPathYAngSlider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: on_CamPathXAngSlider_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: on_CamPathPointZ_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 14: on_CamPathPointY_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 15: on_CamPathPointX_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 16: on_CameraPath_itemClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 17: on_Generate_pressed(); break;
        case 18: on_pushButton_pressed(); break;
        case 19: on_actionExit_triggered(); break;
        case 20: on_ObjectYRotation_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 21: on_ObjectXRotation_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 22: on_ObjectZScale_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 23: on_ObjectYScale_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 24: on_ObjectXScale_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 25: on_ObjectZPos_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 26: on_ObjectYPos_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 27: on_ObjectXPos_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 28: on_ObjectZRotation_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 29: on_ObjectTree_itemClicked((*reinterpret_cast< QTreeWidgetItem*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 30: on_spinBox_valueChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 31: on_actionLoadObject_triggered(); break;
        case 32: on_actionLoad_water_object_triggered(); break;
        case 33: on_ZScale_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 34: on_YScale_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 35: on_XScale_valueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 36: on_verticalSlider_2_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 37: on_CamYDial_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 38: on_CamXDial_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 39: on_actionOpen_data_triggered(); break;
        case 40: on_actionSave_triggered(); break;
        case 41: on_verticalSlider_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 42: on_horizontalSlider_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 43: on_ScaleSlider_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 44: on_actionOpen_triggered(); break;
        case 45: on_MouseMove((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        default: ;
        }
        _id -= 46;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
