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

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

class QDragEnterEventJBridge : public QDragEnterEvent
{
public:
	QDragEnterEventJBridge(const QPoint& arg1) : QDragEnterEvent(arg1) {};
	~QDragEnterEventJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragEnterEvent_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QDragEnterEvent_finalize(env, obj);
	return;
}

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

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

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

