diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 21:06:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 21:06:26 -0600 |
commit | e1a0e352b6ead69ed6f55476272ace842fbbdf74 (patch) | |
tree | f3052eff3deddf34c2297517f59cc178c130feda /qtjava/javalib/qtjava/TQTextDecoder.cpp | |
parent | bf9353f84ee5920dec2872f63de9f07508e7b4a8 (diff) | |
download | tdebindings-e1a0e352b6ead69ed6f55476272ace842fbbdf74.tar.gz tdebindings-e1a0e352b6ead69ed6f55476272ace842fbbdf74.zip |
Rename java files to TQ
Diffstat (limited to 'qtjava/javalib/qtjava/TQTextDecoder.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQTextDecoder.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qtjava/javalib/qtjava/TQTextDecoder.cpp b/qtjava/javalib/qtjava/TQTextDecoder.cpp new file mode 100644 index 00000000..63339de3 --- /dev/null +++ b/qtjava/javalib/qtjava/TQTextDecoder.cpp @@ -0,0 +1,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); +} + |