summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/TQTextDecoder.cpp
blob: 63339de395b0d62cbd238998d6ad3e9bf540520b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//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_kde_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);
}