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

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

class TDEAboutTranslatorJBridge : public TDEAboutTranslator
{
public:
	TDEAboutTranslatorJBridge(const TQString& arg1,const TQString& arg2) : TDEAboutTranslator(arg1,arg2) {};
	TDEAboutTranslatorJBridge(const TQString& arg1) : TDEAboutTranslator(arg1) {};
	TDEAboutTranslatorJBridge() : TDEAboutTranslator() {};
	~TDEAboutTranslatorJBridge() {QtSupport::qtKeyDeleted(this);}
};

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAboutTranslator_dispose(JNIEnv* env, jobject obj)
{
	Java_org_trinitydesktop_koala_TDEAboutTranslator_finalize(env, obj);
	return;
}

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

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

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

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

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

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAboutTranslator_newTDEAboutTranslator__Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name)
{
static TQString* _qstring_name = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEAboutTranslatorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEAboutTranslator_newTDEAboutTranslator__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env, jobject obj, jstring name, jstring emailAddress)
{
static TQString* _qstring_name = 0;
static TQString* _qstring_emailAddress = 0;
	if (QtSupport::getQt(env, obj) == 0) {
		QtSupport::setQt(env, obj, new TDEAboutTranslatorJBridge((const TQString&)*(TQString*) QtSupport::toTQString(env, name, &_qstring_name), (const TQString&)*(TQString*) QtSupport::toTQString(env, emailAddress, &_qstring_emailAddress)));
		QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj));
	}
	return;
}

