/***************************************************************************
                            qt_QMoveEvent.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "qt_QMoveEvent.h"
}

#include <qevent.h>

class QMoveEventBridge : public QMoveEvent
{
public:
	QMoveEventBridge(const QPoint& pos, const QPoint& oldPos) : QMoveEvent(pos, oldPos) {}
};

qt_QMoveEvent * qt_new_QMoveEvent(qt_QPoint* pos, qt_QPoint* oldPos){
	return (qt_QMoveEvent *) new QMoveEventBridge((QPoint&)* (QPoint*)pos, (QPoint&)* (QPoint*)oldPos);
}
qt_QPoint* qt_QMoveEvent_pos( qt_QMoveEvent* instPointer){
	QPoint _p= ((QMoveEventBridge*)instPointer)->pos();
	return (qt_QPoint*)new QPoint(_p.x(),_p.y());
}
qt_QPoint* qt_QMoveEvent_oldPos( qt_QMoveEvent* instPointer){
	QPoint _p= ((QMoveEventBridge*)instPointer)->oldPos();
	return (qt_QPoint*)new QPoint(_p.x(),_p.y());
}
