diff options
Diffstat (limited to 'qtjava/javalib/qtjava/TQImageDecoder.cpp')
-rw-r--r-- | qtjava/javalib/qtjava/TQImageDecoder.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/qtjava/javalib/qtjava/TQImageDecoder.cpp b/qtjava/javalib/qtjava/TQImageDecoder.cpp index 6495e7c5..1a8f0fbe 100644 --- a/qtjava/javalib/qtjava/TQImageDecoder.cpp +++ b/qtjava/javalib/qtjava/TQImageDecoder.cpp @@ -14,7 +14,7 @@ public: }; JNIEXPORT jint JNICALL -Java_org_kde_qt_QImageDecoder_decode(JNIEnv* env, jobject obj, jcharArray buffer, jint length) +Java_org_trinitydesktop_qt_QImageDecoder_decode(JNIEnv* env, jobject obj, jcharArray buffer, jint length) { static TQByteArray* _qbytearray_buffer = 0; jint xret = (jint) ((TQImageDecoder*) QtSupport::getQt(env, obj))->decode((const uchar*) QtSupport::toUcharArray(env, buffer, &_qbytearray_buffer), (int) length); @@ -22,14 +22,14 @@ static TQByteArray* _qbytearray_buffer = 0; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_dispose(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QImageDecoder_dispose(JNIEnv* env, jobject obj) { - Java_org_kde_qt_QImageDecoder_finalize(env, obj); + Java_org_trinitydesktop_qt_QImageDecoder_finalize(env, obj); return; } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_finalize(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QImageDecoder_finalize(JNIEnv* env, jobject obj) { if (QtSupport::allocatedInJavaWorld(env, obj)) { delete (TQImageDecoder*)QtSupport::getQt(env, obj); @@ -39,7 +39,7 @@ Java_org_kde_qt_QImageDecoder_finalize(JNIEnv* env, jobject obj) } JNIEXPORT jstring JNICALL -Java_org_kde_qt_QImageDecoder_formatName(JNIEnv* env, jclass cls, jcharArray buffer, jint length) +Java_org_trinitydesktop_qt_QImageDecoder_formatName(JNIEnv* env, jclass cls, jcharArray buffer, jint length) { const char* _qstring; (void) cls; @@ -49,23 +49,23 @@ static TQByteArray* _qbytearray_buffer = 0; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageDecoder_format(JNIEnv* env, jclass cls, jstring name) +Java_org_trinitydesktop_qt_QImageDecoder_format(JNIEnv* env, jclass cls, jstring name) { (void) cls; static TQCString* _qstring_name = 0; - jobject xret = QtSupport::objectForQtKey(env, (void*)TQImageDecoderJBridge::format((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.kde.qt.TQImageFormatType"); + jobject xret = QtSupport::objectForQtKey(env, (void*)TQImageDecoderJBridge::format((const char*) QtSupport::toCharString(env, name, &_qstring_name)), "org.trinitydesktop.qt.TQImageFormatType"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageDecoder_image(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QImageDecoder_image(JNIEnv* env, jobject obj) { - jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQImageDecoder*) QtSupport::getQt(env, obj))->image(), "org.kde.qt.TQImage"); + jobject xret = QtSupport::objectForQtKey(env, (void*)(TQImage *) &((TQImageDecoder*) QtSupport::getQt(env, obj))->image(), "org.trinitydesktop.qt.TQImage"); return xret; } JNIEXPORT jobject JNICALL -Java_org_kde_qt_QImageDecoder_inputFormats(JNIEnv* env, jclass cls) +Java_org_trinitydesktop_qt_QImageDecoder_inputFormats(JNIEnv* env, jclass cls) { TQStrList _qlist; (void) cls; @@ -74,13 +74,13 @@ Java_org_kde_qt_QImageDecoder_inputFormats(JNIEnv* env, jclass cls) } JNIEXPORT jboolean JNICALL -Java_org_kde_qt_QImageDecoder_isDisposed(JNIEnv* env, jobject obj) +Java_org_trinitydesktop_qt_QImageDecoder_isDisposed(JNIEnv* env, jobject obj) { return (QtSupport::getQt(env, obj) == 0); } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_newTQImageDecoder(JNIEnv* env, jobject obj, jobject c) +Java_org_trinitydesktop_qt_QImageDecoder_newTQImageDecoder(JNIEnv* env, jobject obj, jobject c) { if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new TQImageDecoderJBridge((TQImageConsumer*) QtSupport::getQt(env, c))); @@ -90,7 +90,7 @@ Java_org_kde_qt_QImageDecoder_newTQImageDecoder(JNIEnv* env, jobject obj, jobjec } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_registerDecoderFactory(JNIEnv* env, jclass cls, jobject arg1) +Java_org_trinitydesktop_qt_QImageDecoder_registerDecoderFactory(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; TQImageDecoderJBridge::registerDecoderFactory((TQImageFormatType*) QtSupport::getQt(env, arg1)); @@ -98,7 +98,7 @@ Java_org_kde_qt_QImageDecoder_registerDecoderFactory(JNIEnv* env, jclass cls, jo } JNIEXPORT void JNICALL -Java_org_kde_qt_QImageDecoder_unregisterDecoderFactory(JNIEnv* env, jclass cls, jobject arg1) +Java_org_trinitydesktop_qt_QImageDecoder_unregisterDecoderFactory(JNIEnv* env, jclass cls, jobject arg1) { (void) cls; TQImageDecoderJBridge::unregisterDecoderFactory((TQImageFormatType*) QtSupport::getQt(env, arg1)); |