diff options
Diffstat (limited to 'qtjava/javalib/qtjava/QImageFormatType.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/QImageFormatType.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/qtjava/javalib/qtjava/QImageFormatType.cpp b/qtjava/javalib/qtjava/QImageFormatType.cpp deleted file mode 100644 index e41d4f6d..00000000 --- a/qtjava/javalib/qtjava/QImageFormatType.cpp +++ /dev/null @@ -1,22 +0,0 @@ -//Auto-generated by kalyptus. DO NOT EDIT. -#include <tqasyncimageio.h> - -#include <qtjava/QtSupport.h> -#include <qtjava/QImageFormatType.h> - -JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageFormatType_decoderFor(JNIEnv* env, jobject obj, jcharArray buffer, jint length) -{ -static TQByteArray* _qbytearray_buffer = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)((TQImageFormatType*) QtSupport::getQt(env, obj))->decoderFor((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length), "org.kde.qt.TQImageFormat"); - return xret; -} - -JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageFormatType_formatName(JNIEnv* env, jobject obj) -{ - const char* _qstring; - _qstring = ((TQImageFormatType*) QtSupport::getQt(env, obj))->formatName(); - return QtSupport::fromCharString(env, (char *) _qstring); -} - |