diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/qtjava/QImageFormat.cpp | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/qtjava/QImageFormat.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QImageFormat.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/qtjava/javalib/qtjava/QImageFormat.cpp b/qtjava/javalib/qtjava/QImageFormat.cpp index e26a7523..1206a10f 100644 --- a/qtjava/javalib/qtjava/QImageFormat.cpp +++ b/qtjava/javalib/qtjava/QImageFormat.cpp @@ -3,13 +3,13 @@ #include <tqimage.h> #include <qtjava/QtSupport.h> -#include <qtjava/QImageFormat.h> +#include <qtjava/TQImageFormat.h> JNIEXPORT jint JNICALL Java_org_kde_qt_QImageFormat_decode(JNIEnv* env, jobject obj, jobject img, jobject consumer, jcharArray buffer, jint length) { -static TQByteArray* _qbytearray_buffer = 0; - jint xret = (jint) ((TQImageFormat*) QtSupport::getQt(env, obj))->decode((TQImage&)*(TQImage*) QtSupport::getQt(env, img), (TQImageConsumer*) QtSupport::getQt(env, consumer), (const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); +static TTQByteArray* _qbytearray_buffer = 0; + jint xret = (jint) ((TTQImageFormat*) QtSupport::getQt(env, obj))->decode((TTQImage&)*(TTQImage*) QtSupport::getQt(env, img), (TTQImageConsumer*) QtSupport::getQt(env, consumer), (const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); return xret; } |