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

#include <qtjava/QtSupport.h>
#include <kdejava/KDESupport.h>
#include <kdejava/KIDNA.h>

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIDNA_toAsciiCString(JNIEnv* env, jclass cls, jstring idna)
{
	QCString  _qstring;
	(void) cls;
static QString* _qstring_idna = 0;
	_qstring = KIDNA::toAsciiCString((const QString&)*(QString*) QtSupport::toQString(env, idna, &_qstring_idna));
	return QtSupport::fromQCString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIDNA_toAscii(JNIEnv* env, jclass cls, jstring idna)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_idna = 0;
	_qstring = KIDNA::toAscii((const QString&)*(QString*) QtSupport::toQString(env, idna, &_qstring_idna));
	return QtSupport::fromQString(env, &_qstring);
}

JNIEXPORT jstring JNICALL
Java_org_kde_koala_KIDNA_toUnicode(JNIEnv* env, jclass cls, jstring idna)
{
	QString  _qstring;
	(void) cls;
static QString* _qstring_idna = 0;
	_qstring = KIDNA::toUnicode((const QString&)*(QString*) QtSupport::toQString(env, idna, &_qstring_idna));
	return QtSupport::fromQString(env, &_qstring);
}

