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

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

class TDEAboutPersonJBridge : public TDEAboutPerson
{
public:
	TDEAboutPersonJBridge(const char* arg1,const char* arg2,const char* arg3,const char* arg4) : TDEAboutPerson(arg1,arg2,arg3,arg4) {};
	TDEAboutPersonJBridge() : TDEAboutPerson() {};
	~TDEAboutPersonJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAboutPerson_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_TDEAboutPerson_finalize(env, obj);
	return;
}

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAboutPerson_newTDEAboutPerson__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring task, jstring emailAddress, jstring webAddress)
{
static TQCString* _qstring_name = 0;
static TQCString* _qstring_task = 0;
static TQCString* _qstring_emailAddress = 0;
static TQCString* _qstring_webAddress = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEAboutPersonJBridge((const char*) QtSupport::toCharString(env, name, &_qstring_name), (const char*) QtSupport::toCharString(env, task, &_qstring_task), (const char*) QtSupport::toCharString(env, emailAddress, &_qstring_emailAddress), (const char*) QtSupport::toCharString(env, webAddress, &_qstring_webAddress)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

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

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

