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

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

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KIDNA_toAsciiCString(JNIEnv* env, jclass cls, jstring idna)
{
	TQCString  _qstring;
	(void) cls;
static TQString* _qstring_idna = 0;
	_qstring = KIDNA::toAsciiCString((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna));
	return QtSupport::fromTQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KIDNA_toAscii(JNIEnv* env, jclass cls, jstring idna)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_idna = 0;
	_qstring = KIDNA::toAscii((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna));
	return QtSupport::fromTQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_KIDNA_toUnicode(JNIEnv* env, jclass cls, jstring idna)
{
	TQString  _qstring;
	(void) cls;
static TQString* _qstring_idna = 0;
	_qstring = KIDNA::toUnicode((const TQString&)*(TQString*) QtSupport::toTQString(env, idna, &_qstring_idna));
	return QtSupport::fromTQString(env, &_qstring);
}

