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

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KCursor.h>

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_arrowCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::arrowCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KCursor_autoHideEventFilter(JNIEnv* env, jclass cls, jobject arg1, jobject arg2)
{
	(void) cls;
	KCursorJBridge::autoHideEventFilter((QObject*) QtSupport::getQt(env, arg1), (QEvent*) QtSupport::getQt(env, arg2));
	return;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_blankCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::blankCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_crossCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::crossCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KCursor_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_koala_KCursor_finalize(env, obj);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_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_kde_koala_KCursor_handCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::handCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_ibeamCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::ibeamCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

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

JNIEXPORT void JNICALL
Java_org_kde_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_kde_koala_KCursor_setAutoHideCursor__Lorg_kde_qt_QWidget_2Z(JNIEnv* env, jclass cls, jobject w, jboolean enable)
{
	(void) cls;
	KCursorJBridge::setAutoHideCursor((QWidget*) QtSupport::getQt(env, w), (bool) enable);
	return;
}

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

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

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_sizeAllCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::sizeAllCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_sizeBDiagCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::sizeBDiagCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_sizeFDiagCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::sizeFDiagCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_sizeHorCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::sizeHorCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_sizeVerCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::sizeVerCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_upArrowCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::upArrowCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_waitCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::waitCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_whatsThisCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::whatsThisCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_kde_koala_KCursor_workingCursor(JNIEnv* env, jclass cls)
{
	(void) cls;
	jobject xret = QtSupport::objectForQtKey(env, (void*)new QCursor(KCursorJBridge::workingCursor()), "org.kde.qt.QCursor", TRUE);
	return xret;
}

