/****************************************************************************
** Meta object code from reading C++ file 'main_win.h'
**
** Created: Thu May 22 22:29:21 2008
**      by: The Qt Meta Object Compiler version 59 (Qt 4.3.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

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

static const uint qt_meta_data_MainWin[] = {

 // content:
       1,       // revision
       0,       // classname
       0,    0, // classinfo
       5,   10, // methods
       0,    0, // properties
       0,    0, // enums/sets

 // slots: signature, parameters, type, tag, flags
       9,    8,    8,    8, 0x0a,
      21,    8,    8,    8, 0x0a,
      31,    8,    8,    8, 0x0a,
      41,    8,    8,    8, 0x0a,
      51,    8,    8,    8, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_MainWin[] = {
    "MainWin\0\0calculate()\0zoom_ph()\0zoom_mh()\0"
    "zoom_pv()\0zoom_mv()\0"
};

const QMetaObject MainWin::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWin,
      qt_meta_data_MainWin, 0 }
};

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

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

int MainWin::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: calculate(); break;
        case 1: zoom_ph(); break;
        case 2: zoom_mh(); break;
        case 3: zoom_pv(); break;
        case 4: zoom_mv(); break;
        }
        _id -= 5;
    }
    return _id;
}
