You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
545 B
C++
17 lines
545 B
C++
//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);
|
|
}
|
|
|