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

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

JNIEXPORT jstring JNICALL
Java_org_kde_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_kde_koala_KDataTool_instance(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KDataTool*) QtSupport::getQt(env, obj))->instance(), "org.kde.koala.KInstanceInterface");
	return xret;
}

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

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

