//Auto-generated by kalyptus. DO NOT EDIT.
#include <kdatatool.h>
#include <tqstring.h>

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KDataTool_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((KDataTool*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KDataTool_instance(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataTool*) QtSupport::getQt(env, obj))->instance(), "org.trinitydesktop.koala.TDEInstanceInterface");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KDataTool_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataTool*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_KDataTool_setInstance(JNIEnv* env, jobject obj, jobject instance)
{
	((KDataTool*) QtSupport::getQt(env, obj))->setInstance((TDEInstance*) QtSupport::getQt(env, instance));
	return;
}

