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

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_addKProcess(JNIEnv* env, jobject obj, jobject arg1)
{
	((KProcessController*) QtSupport::getQt(env, obj))->addKProcess((KProcess*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_addProcess(JNIEnv* env, jobject obj, jint pid)
{
	((KProcessController*) QtSupport::getQt(env, obj))->addProcess((int) pid);
	return;
}

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

JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_deref(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	KProcessController::deref();
	return;
}

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

JNIEXPORT jint JNICALL
Java_org_kde_koala_KProcessController_notifierFd(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((KProcessController*) QtSupport::getQt(env, obj))->notifierFd();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_ref(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	KProcessController::ref();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_removeKProcess(JNIEnv* env, jobject obj, jobject arg1)
{
	((KProcessController*) QtSupport::getQt(env, obj))->removeKProcess((KProcess*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_rescheduleCheck(JNIEnv* env, jobject obj)
{
	((KProcessController*) QtSupport::getQt(env, obj))->rescheduleCheck();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_theSigCHLDHandler(JNIEnv* env, jclass cls, jint signal)
{
	(void) cls;
	(void) env;
	KProcessController::theSigCHLDHandler((int) signal);
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_koala_KProcessController_unscheduleCheck(JNIEnv* env, jobject obj)
{
	((KProcessController*) QtSupport::getQt(env, obj))->unscheduleCheck();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_kde_koala_KProcessController_waitForProcessExit(JNIEnv* env, jobject obj, jint timeout)
{
	jboolean xret = (jboolean) ((KProcessController*) QtSupport::getQt(env, obj))->waitForProcessExit((int) timeout);
	return xret;
}

