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

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

class QDragEnterEventJBridge : public QDragEnterEvent
{
public:
	QDragEnterEventJBridge(const TQPoint& arg1) : TQDragEnterEvent(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 (TQDragEnterEvent*)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 TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

