You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/qtjava/javalib/qtjava/TQImageFormatType.cpp

23 lines
859 B

//Auto-generated by kalyptus. DO NOT EDIT.
#include <tqasyncimageio.h>
#include <qtjava/QtSupport.h>
#include <qtjava/TQImageFormatType.h>
JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_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.trinitydesktop.qt.TQImageFormat");
return xret;
}
JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_qt_QImageFormatType_formatName(JNIEnv* env, jobject obj)
{
const char* _qstring;
_qstring = ((TQImageFormatType*) QtSupport::getQt(env, obj))->formatName();
return QtSupport::fromCharString(env, (char *) _qstring);
}