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

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

class TDECModuleInfoJBridge : public TDECModuleInfo
{
public:
	TDECModuleInfoJBridge(const TQString& arg1) : TDECModuleInfo(arg1) {};
	TDECModuleInfoJBridge(const TDECModuleInfo& arg1) : TDECModuleInfo(arg1) {};
	TDECModuleInfoJBridge() : TDECModuleInfo() {};
	void protected_setKeywords(const TQStringList& arg1) {
		TDECModuleInfo::setKeywords(arg1);
		return;
	}
	void protected_setName(const TQString& arg1) {
		TDECModuleInfo::setName(arg1);
		return;
	}
	void protected_setComment(const TQString& arg1) {
		TDECModuleInfo::setComment(arg1);
		return;
	}
	void protected_setIcon(const TQString& arg1) {
		TDECModuleInfo::setIcon(arg1);
		return;
	}
	void protected_setLibrary(const TQString& arg1) {
		TDECModuleInfo::setLibrary(arg1);
		return;
	}
	void protected_setHandle(const TQString& arg1) {
		TDECModuleInfo::setHandle(arg1);
		return;
	}
	void protected_setWeight(int arg1) {
		TDECModuleInfo::setWeight(arg1);
		return;
	}
	void protected_setNeedsTest(bool arg1) {
		TDECModuleInfo::setNeedsTest(arg1);
		return;
	}
	void protected_setNeedsRootPrivileges(bool arg1) {
		TDECModuleInfo::setNeedsRootPrivileges(arg1);
		return;
	}
	void protected_setDocPath(const TQString& arg1) {
		TDECModuleInfo::setDocPath(arg1);
		return;
	}
	void protected_loadAll() {
		TDECModuleInfo::loadAll();
		return;
	}
	~TDECModuleInfoJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_comment(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->comment();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_TDECModuleInfo_finalize(env, obj);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_docPath(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->docPath();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_factoryName(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->factoryName();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_fileName(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->fileName();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_finalize(JNIEnv* env, jobject obj)
{
	if (QtSupport::allocatedInJavaWorld(env, obj)) {
		delete (TDECModuleInfo*)QtSupport::getQt(env, obj);
		QtSupport::setQt(env, obj, 0);
	}
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_handle(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->handle();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_icon(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->icon();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_isDisposed(JNIEnv* env, jobject obj)
{
	return (QtSupport::getQt(env, obj) == 0);
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_keywords(JNIEnv* env, jobject obj)
{
	TQStringList  _qlist;
	_qlist = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->keywords();
	return (jobject) QtSupport::arrayWithTQStringList(env, (TQStringList*) &_qlist);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_library(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->library();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_loadAll(JNIEnv* env, jobject obj)
{
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_loadAll();
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_moduleName(JNIEnv* env, jobject obj)
{
	TQString  _qstring;
	_qstring = ((TDECModuleInfo*) QtSupport::getQt(env, obj))->moduleName();
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_needsRootPrivileges(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->needsRootPrivileges();
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_needsTest(JNIEnv* env, jobject obj)
{
	jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->needsTest();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_newTDECModuleInfo__(JNIEnv* env, jobject obj)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDECModuleInfoJBridge());
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_newTDECModuleInfo__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring desktopFile)
{
static TQString* _qstring_desktopFile = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDECModuleInfoJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, desktopFile, &_qstring_desktopFile)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_newTDECModuleInfo__Lorg_trinitydesktop_koala_TDECModuleInfo_2(JNIEnv* env, jobject obj, jobject rhs)
{
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDECModuleInfoJBridge((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, rhs)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_op_1equals(JNIEnv* env, jobject obj, jobject rhs)
{
	jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->operator==((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, rhs));
	return xret;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_op_1not_1equals(JNIEnv* env, jobject obj, jobject rhs)
{
	jboolean xret = (jboolean) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->operator!=((const TDECModuleInfo&)*(const TDECModuleInfo*) QtSupport::getQt(env, rhs));
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_setComment(JNIEnv* env, jobject obj, jstring comment)
{
static TQString* _qstring_comment = 0;
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setComment((const TQString&)*(TQString*) QtSupport::toTQString(env, comment, &_qstring_comment));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_setDocPath(JNIEnv* env, jobject obj, jstring p)
{
static TQString* _qstring_p = 0;
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setDocPath((const TQString&)*(TQString*) QtSupport::toTQString(env, p, &_qstring_p));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_setHandle(JNIEnv* env, jobject obj, jstring handle)
{
static TQString* _qstring_handle = 0;
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setHandle((const TQString&)*(TQString*) QtSupport::toTQString(env, handle, &_qstring_handle));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_setIcon(JNIEnv* env, jobject obj, jstring icon)
{
static TQString* _qstring_icon = 0;
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setIcon((const TQString&)*(TQString*) QtSupport::toTQString(env, icon, &_qstring_icon));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_setKeywords(JNIEnv* env, jobject obj, jobjectArray keyword)
{
static TQStringList* _qlist_keyword = 0;
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setKeywords((const TQStringList&)*(TQStringList*) QtSupport::toTQStringList(env, keyword, &_qlist_keyword));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_setLibrary(JNIEnv* env, jobject obj, jstring lib)
{
static TQString* _qstring_lib = 0;
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setLibrary((const TQString&)*(TQString*) QtSupport::toTQString(env, lib, &_qstring_lib));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_setName(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setName((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_setNeedsRootPrivileges(JNIEnv* env, jobject obj, jboolean needsRootPrivileges)
{
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setNeedsRootPrivileges((bool) needsRootPrivileges);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_setNeedsTest(JNIEnv* env, jobject obj, jboolean val)
{
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setNeedsTest((bool) val);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_setWeight(JNIEnv* env, jobject obj, jint weight)
{
	((TDECModuleInfoJBridge*) QtSupport::getQt(env, obj))->protected_setWeight((int) weight);
	return;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDECModuleInfo_weight(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDECModuleInfo*) QtSupport::getQt(env, obj))->weight();
	return xret;
}

