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

#include <qtjava/QtSupport.h>
#include <qtjava/TQTextDecoder.h>

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QTextDecoder_toUnicode(JNIEnv* env, jobject obj, jstring chars, jint len)
{
	TQString  _qstring;
static TQCString* _qstring_chars = 0;
	_qstring = ((TQTextDecoder*) QtSupport::getQt(env, obj))->toUnicode((const char*) QtSupport::toCharString(env, chars, &_qstring_chars), (int) len);
	return QtSupport::fromTQString(env, &_qstring);
}

