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

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTabletEvent_device(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QTabletEvent*) QtSupport::getQt(env, obj))->device();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QTabletEvent_dispose(JNIEnv* env, jobject obj)
{
	Java_org_kde_qt_QTabletEvent_finalize(env, obj);
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTabletEvent_globalPos(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QPoint *) &((QTabletEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.kde.qt.QPoint");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTabletEvent_globalX(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QTabletEvent*) QtSupport::getQt(env, obj))->globalX();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTabletEvent_globalY(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QTabletEvent*) QtSupport::getQt(env, obj))->globalY();
	return xret;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTabletEvent_isAccepted(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QTabletEvent*) QtSupport::getQt(env, obj))->isAccepted();
	return xret;
}

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

JNIEXPORT jobject JNICALL
Java_org_kde_qt_QTabletEvent_pos(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(QPoint *) &((QTabletEvent*) QtSupport::getQt(env, obj))->pos(), "org.kde.qt.QPoint");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTabletEvent_pressure(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QTabletEvent*) QtSupport::getQt(env, obj))->pressure();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTabletEvent_xTilt(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QTabletEvent*) QtSupport::getQt(env, obj))->xTilt();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTabletEvent_x(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QTabletEvent*) QtSupport::getQt(env, obj))->x();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTabletEvent_yTilt(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QTabletEvent*) QtSupport::getQt(env, obj))->yTilt();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QTabletEvent_y(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QTabletEvent*) QtSupport::getQt(env, obj))->y();
	return xret;
}

