blob: 240edda2a66e72f79dd543e0e412016ebc7de4b1 (
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_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);
}
|