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

#include "heightmap_preview.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'heightmap_preview.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_MyLabel[] = {

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

 // signals: signature, parameters, type, tag, flags
       9,    8,    8,    8, 0x05,

       0        // eod
};

static const char qt_meta_stringdata_MyLabel[] = {
    "MyLabel\0\0mouseMove(QMouseEvent*)\0"
};

const QMetaObject MyLabel::staticMetaObject = {
    { &QLabel::staticMetaObject, qt_meta_stringdata_MyLabel,
      qt_meta_data_MyLabel, 0 }
};

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

void *MyLabel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_MyLabel))
        return static_cast<void*>(const_cast< MyLabel*>(this));
    return QLabel::qt_metacast(_clname);
}

int MyLabel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QLabel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: mouseMove((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        default: ;
        }
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void MyLabel::mouseMove(QMouseEvent * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
static const uint qt_meta_data_heightmap_preview[] = {

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

 // signals: signature, parameters, type, tag, flags
      19,   18,   18,   18, 0x05,

 // slots: signature, parameters, type, tag, flags
      50,   43,   18,   18, 0x0a,
      74,   18,   18,   18, 0x0a,
      97,   91,   18,   18, 0x0a,
     133,  124,   18,   18, 0x08,
     158,  124,   18,   18, 0x08,
     185,  124,   18,   18, 0x08,
     210,  124,   18,   18, 0x08,

       0        // eod
};

static const char qt_meta_stringdata_heightmap_preview[] = {
    "heightmap_preview\0\0mouseMove(QMouseEvent*)\0"
    "pixmap\0update_preview(QPixmap)\0"
    "update_preview()\0event\0"
    "on_MouseMove(QMouseEvent*)\0position\0"
    "on_VEnd_sliderMoved(int)\0"
    "on_HStart_sliderMoved(int)\0"
    "on_HEnd_sliderMoved(int)\0"
    "on_VStart_sliderMoved(int)\0"
};

const QMetaObject heightmap_preview::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_heightmap_preview,
      qt_meta_data_heightmap_preview, 0 }
};

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

void *heightmap_preview::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_heightmap_preview))
        return static_cast<void*>(const_cast< heightmap_preview*>(this));
    return QWidget::qt_metacast(_clname);
}

int heightmap_preview::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: mouseMove((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 1: update_preview((*reinterpret_cast< QPixmap(*)>(_a[1]))); break;
        case 2: update_preview(); break;
        case 3: on_MouseMove((*reinterpret_cast< QMouseEvent*(*)>(_a[1]))); break;
        case 4: on_VEnd_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: on_HStart_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: on_HEnd_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: on_VStart_sliderMoved((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void heightmap_preview::mouseMove(QMouseEvent * _t1)
{
    void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_END_MOC_NAMESPACE
