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

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

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

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

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEProcessRunner_pid(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDEProcessRunner*) QtSupport::getQt(env, obj))->pid();
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEProcessRunner_run(JNIEnv* env, jclass cls, jobject arg1, jstring binName)
{
	(void) cls;
static TQString* _qstring_binName = 0;
	jint xret = (jint) TDEProcessRunner::run((TDEProcess*) QtSupport::getQt(env, arg1), (const TQString&)*(TQString*) QtSupport::toTQString(env, binName, &_qstring_binName));
	return xret;
}

