blob: e41d4f6d5bf1af3b0c997bdbdb1c4537aa349c06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//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);
}
|