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

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

class TQDragMoveEventJBridge : public TQDragMoveEvent
{
public:
	TQDragMoveEventJBridge(const TQPoint& arg1,TQEvent::Type arg2) : TQDragMoveEvent(arg1,arg2) {};
	TQDragMoveEventJBridge(const TQPoint& arg1) : TQDragMoveEvent(arg1) {};
	~TQDragMoveEventJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDragMoveEvent_accept__(JNIEnv* env, jobject obj)
{
	((TQDragMoveEvent*) QtSupport::getQt(env, obj))->accept();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDragMoveEvent_accept__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject r)
{
	((TQDragMoveEvent*) QtSupport::getQt(env, obj))->accept((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDragMoveEvent_accept__Z(JNIEnv* env, jobject obj, jboolean y)
{
	((TQDragMoveEvent*) QtSupport::getQt(env, obj))->accept((bool) y);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QDragMoveEvent_answerRect(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQRect(((TQDragMoveEvent*) QtSupport::getQt(env, obj))->answerRect()), "org.trinitydesktop.qt.TQRect", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDragMoveEvent_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QDragMoveEvent_finalize(env, obj);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDragMoveEvent_ignore__(JNIEnv* env, jobject obj)
{
	((TQDragMoveEvent*) QtSupport::getQt(env, obj))->ignore();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDragMoveEvent_ignore__Lorg_trinitydesktop_qt_QRect_2(JNIEnv* env, jobject obj, jobject r)
{
	((TQDragMoveEvent*) QtSupport::getQt(env, obj))->ignore((const TQRect&)*(const TQRect*) QtSupport::getQt(env, r));
	return;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QDragMoveEvent_newTQDragMoveEvent__Lorg_trinitydesktop_qt_QPoint_2I(JNIEnv* env, jobject obj, jobject pos, jint typ)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TQDragMoveEventJBridge((const TQPoint&)*(const TQPoint*) QtSupport::getQt(env, pos), (TQEvent::Type) typ));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

