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

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

class TQDragLeaveEventJBridge : public TQDragLeaveEvent
{
public:
	TQDragLeaveEventJBridge() : TQDragLeaveEvent() {};
	~TQDragLeaveEventJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDragLeaveEvent_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QDragLeaveEvent_finalize(env, obj);
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDragLeaveEvent_newTQDragLeaveEvent(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQDragLeaveEventJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

