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

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

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

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KLibFactory_create__(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create(), "org.trinitydesktop.qt.TQObject");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KLibFactory_create__Lorg_trinitydesktop_qt_QObject_2(JNIEnv* env, jobject obj, jobject parent)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent)), "org.trinitydesktop.qt.TQObject");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KLibFactory_create__Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name)
{
static TQCString* _qstring_name = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.trinitydesktop.qt.TQObject");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KLibFactory_create__Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring classname)
{
static TQCString* _qstring_name = 0;
static TQCString* _qstring_classname = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname)), "org.trinitydesktop.qt.TQObject");
	return xret;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_KLibFactory_create__Lorg_trinitydesktop_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2_3Ljava_lang_String_2(JNIEnv* env, jobject obj, jobject parent, jstring name, jstring classname, jobjectArray args)
{
static TQCString* _qstring_name = 0;
static TQCString* _qstring_classname = 0;
static TQStringList* _qlist_args = 0;
	jobject xret = QtSupport::objectForQtKey(env, (void*)((KLibFactory*) QtSupport::getQt(env, obj))->create((TQObject*) QtSupport::getQt(env, parent), (const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, classname, &_qstring_classname), (const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, args, &_qlist_args)), "org.trinitydesktop.qt.TQObject");
	return xret;
}

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

