//Auto-generated by kalyptus. DO NOT EDIT.
#include <qrect.h>
#include <qevent.h>
#include <qpoint.h>

#include <qtjava/QtSupport.h>
#include <qtjava/QDragMoveEvent.h>

class QDragMoveEventJBridge : public QDragMoveEvent
{
public:
	QDragMoveEventJBridge(const QPoint& arg1,QEvent::Type arg2) : QDragMoveEvent(arg1,arg2) {};
	QDragMoveEventJBridge(const QPoint& arg1) : QDragMoveEvent(arg1) {};
	~QDragMoveEventJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragMoveEvent_accept__(JNIEnv* env, jobject obj)
{
	((QDragMoveEvent*) QtSupport::getQt(env, obj))->accept();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragMoveEvent_accept__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r)
{
	((QDragMoveEvent*) QtSupport::getQt(env, obj))->accept((const QRect&)*(const QRect*) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragMoveEvent_accept__Z(JNIEnv* env, jobject obj, jboolean y)
{
	((QDragMoveEvent*) QtSupport::getQt(env, obj))->accept((bool) y);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QDragMoveEvent_answerRect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QRect(((QDragMoveEvent*) QtSupport::getQt(env, obj))->answerRect()), "org.kde.qt.QRect", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragMoveEvent_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QDragMoveEvent_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragMoveEvent_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (QDragMoveEvent*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragMoveEvent_ignore__(JNIEnv* env, jobject obj)
{
	((QDragMoveEvent*) QtSupport::getQt(env, obj))->ignore();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragMoveEvent_ignore__Lorg_kde_qt_QRect_2(JNIEnv* env, jobject obj, jobject r)
{
	((QDragMoveEvent*) QtSupport::getQt(env, obj))->ignore((const QRect&)*(const QRect*) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDragMoveEvent_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragMoveEvent_newQDragMoveEvent__Lorg_kde_qt_QPoint_2(JNIEnv* env, jobject obj, jobject pos)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDragMoveEventJBridge((const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragMoveEvent_newQDragMoveEvent__Lorg_kde_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint typ)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDragMoveEventJBridge((const QPoint&)*(const QPoint*) QtSupport::getQt(env, pos), (QEvent::Type) typ));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

