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

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

class QDragResponseEventJBridge : public QDragResponseEvent
{
public:
	QDragResponseEventJBridge(bool arg1) : QDragResponseEvent(arg1) {};
	~QDragResponseEventJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragResponseEvent_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QDragResponseEvent_finalize(env, obj);
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_qt_QDragResponseEvent_dragAccepted(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((QDragResponseEvent*) QtSupport::getQt(env, obj))->dragAccepted();
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_kde_qt_QDragResponseEvent_newQDragResponseEvent(JNIEnv* env, jobject obj, jboolean accepted)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new QDragResponseEventJBridge((bool) accepted));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

