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

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/KCursor.h>

class KCursorJBridge : public KCursor
{
public:
	KCursorJBridge() : KCursor() {};
	~KCursorJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_arrowCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::arrowCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCursor_autoHideEventFilter(JNIEnv* env, jclass cls, jobject arg1, jobject arg2)
{
	(void) cls;
	KCursorJBridge::autoHideEventFilter((TQObject*) QtSupport::getQt(env, arg1), (TQEvent*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_blankCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::blankCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_crossCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::crossCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCursor_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_KCursor_finalize(env, obj);
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_handCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::handCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_KCursor_hideCursorDelay(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	jint xret = (jint) KCursorJBridge::hideCursorDelay();
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_ibeamCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::ibeamCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCursor_setAutoHideCursor__Lorg_trinitydesktop_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject w, jboolean enable)
{
	(void) cls;
	KCursorJBridge::setAutoHideCursor((TQWidget*) QtSupport::getQt(env, w), (bool) enable);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCursor_setAutoHideCursor__Lorg_trinitydesktop_qt_QWidget_2ZZ(JNIEnv* env, jclass cls, jobject w, jboolean enable, jboolean customEventFilter)
{
	(void) cls;
	KCursorJBridge::setAutoHideCursor((TQWidget*) QtSupport::getQt(env, w), (bool) enable, (bool) customEventFilter);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KCursor_setHideCursorDelay(JNIEnv* env, jclass cls, jint ms)
{
	(void) cls;
	(void) env;
	KCursorJBridge::setHideCursorDelay((int) ms);
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_sizeAllCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeAllCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_sizeBDiagCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeBDiagCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_sizeFDiagCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeFDiagCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_sizeHorCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeHorCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_sizeVerCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::sizeVerCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_upArrowCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::upArrowCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_waitCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::waitCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_whatsThisCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::whatsThisCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KCursor_workingCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new TQCursor(KCursorJBridge::workingCursor()), "org.trinitydesktop.qt.TQCursor", true);
	return xret;
}

