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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_qt_QTabletEvent_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_qt_QTabletEvent_finalize(env, obj);
	return;
}

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QTabletEvent_globalPos(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQTabletEvent*) QtSupport::getQt(env, obj))->globalPos(), "org.trinitydesktop.qt.TQPoint");
	return xret;
}

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

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

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

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_qt_QTabletEvent_pos(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)(TQPoint *) &((TQTabletEvent*) QtSupport::getQt(env, obj))->pos(), "org.trinitydesktop.qt.TQPoint");
	return xret;
}

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

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

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

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

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

