//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqevent.h>
#include <tqpoint.h>

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

class TQDragEnterEventJBridge : public TQDragEnterEvent
{
public:
	TQDragEnterEventJBridge(const TQPoint& arg1) : TQDragEnterEvent(arg1) {};
	~TQDragEnterEventJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDragEnterEvent_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QDragEnterEvent_finalize(env, obj);
	return;
}

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

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

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

