diff options
Diffstat (limited to 'kdejava/koala/kdejava/KImageIO.cpp')
-rw-r--r-- | kdejava/koala/kdejava/KImageIO.cpp | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/kdejava/koala/kdejava/KImageIO.cpp b/kdejava/koala/kdejava/KImageIO.cpp index 7c58e5d1..975ba288 100644 --- a/kdejava/koala/kdejava/KImageIO.cpp +++ b/kdejava/koala/kdejava/KImageIO.cpp @@ -18,8 +18,8 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_canRead(JNIEnv* env, jclass cls, jstring type) { (void) cls; -static TQString* _qstring_type = 0; - jboolean xret = (jboolean) KImageIOJBridge::canRead((const TQString&)*(TQString*) QtSupport::toQString(env, type, &_qstring_type)); +static TTQString* _qstring_type = 0; + jboolean xret = (jboolean) KImageIOJBridge::canRead((const TTQString&)*(TTQString*) QtSupport::toTQString(env, type, &_qstring_type)); return xret; } @@ -27,8 +27,8 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_canWrite(JNIEnv* env, jclass cls, jstring type) { (void) cls; -static TQString* _qstring_type = 0; - jboolean xret = (jboolean) KImageIOJBridge::canWrite((const TQString&)*(TQString*) QtSupport::toQString(env, type, &_qstring_type)); +static TTQString* _qstring_type = 0; + jboolean xret = (jboolean) KImageIOJBridge::canWrite((const TTQString&)*(TTQString*) QtSupport::toTQString(env, type, &_qstring_type)); return xret; } @@ -59,8 +59,8 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_isSupported__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstring _mimeType) { (void) cls; -static TQString* _qstring__mimeType = 0; - jboolean xret = (jboolean) KImageIOJBridge::isSupported((const TQString&)*(TQString*) QtSupport::toQString(env, _mimeType, &_qstring__mimeType)); +static TTQString* _qstring__mimeType = 0; + jboolean xret = (jboolean) KImageIOJBridge::isSupported((const TTQString&)*(TTQString*) QtSupport::toTQString(env, _mimeType, &_qstring__mimeType)); return xret; } @@ -68,37 +68,37 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_KImageIO_isSupported__Ljava_lang_String_2I(JNIEnv* env, jclass cls, jstring _mimeType, jint _mode) { (void) cls; -static TQString* _qstring__mimeType = 0; - jboolean xret = (jboolean) KImageIOJBridge::isSupported((const TQString&)*(TQString*) QtSupport::toQString(env, _mimeType, &_qstring__mimeType), (KImageIO::Mode) _mode); +static TTQString* _qstring__mimeType = 0; + jboolean xret = (jboolean) KImageIOJBridge::isSupported((const TTQString&)*(TTQString*) QtSupport::toTQString(env, _mimeType, &_qstring__mimeType), (KImageIO::Mode) _mode); return xret; } JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_mimeType(JNIEnv* env, jclass cls, jstring _filename) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQString* _qstring__filename = 0; - _qstring = KImageIOJBridge::mimeType((const TQString&)*(TQString*) QtSupport::toQString(env, _filename, &_qstring__filename)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring__filename = 0; + _qstring = KImageIOJBridge::mimeType((const TTQString&)*(TTQString*) QtSupport::toTQString(env, _filename, &_qstring__filename)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_mimeTypes__(JNIEnv* env, jclass cls) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; _qlist = KImageIOJBridge::mimeTypes(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_mimeTypes__I(JNIEnv* env, jclass cls, jint mode) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; _qlist = KImageIOJBridge::mimeTypes((KImageIO::Mode) mode); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT void JNICALL @@ -114,19 +114,19 @@ Java_org_kde_koala_KImageIO_newKImageIO(JNIEnv* env, jobject obj) JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_pattern__(JNIEnv* env, jclass cls) { - TQString _qstring; + TTQString _qstring; (void) cls; _qstring = KImageIOJBridge::pattern(); - return QtSupport::fromQString(env, &_qstring); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_pattern__I(JNIEnv* env, jclass cls, jint mode) { - TQString _qstring; + TTQString _qstring; (void) cls; _qstring = KImageIOJBridge::pattern((KImageIO::Mode) mode); - return QtSupport::fromQString(env, &_qstring); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT void JNICALL @@ -141,48 +141,48 @@ Java_org_kde_koala_KImageIO_registerFormats(JNIEnv* env, jclass cls) JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_suffix(JNIEnv* env, jclass cls, jstring type) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQString* _qstring_type = 0; - _qstring = KImageIOJBridge::suffix((const TQString&)*(TQString*) QtSupport::toQString(env, type, &_qstring_type)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_type = 0; + _qstring = KImageIOJBridge::suffix((const TTQString&)*(TTQString*) QtSupport::toTQString(env, type, &_qstring_type)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_typeForMime(JNIEnv* env, jclass cls, jstring mimeType) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQString* _qstring_mimeType = 0; - _qstring = KImageIOJBridge::typeForMime((const TQString&)*(TQString*) QtSupport::toQString(env, mimeType, &_qstring_mimeType)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_mimeType = 0; + _qstring = KImageIOJBridge::typeForMime((const TTQString&)*(TTQString*) QtSupport::toTQString(env, mimeType, &_qstring_mimeType)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jstring JNICALL Java_org_kde_koala_KImageIO_type(JNIEnv* env, jclass cls, jstring filename) { - TQString _qstring; + TTQString _qstring; (void) cls; -static TQString* _qstring_filename = 0; - _qstring = KImageIOJBridge::type((const TQString&)*(TQString*) QtSupport::toQString(env, filename, &_qstring_filename)); - return QtSupport::fromQString(env, &_qstring); +static TTQString* _qstring_filename = 0; + _qstring = KImageIOJBridge::type((const TTQString&)*(TTQString*) QtSupport::toTQString(env, filename, &_qstring_filename)); + return QtSupport::fromTQString(env, &_qstring); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_types__(JNIEnv* env, jclass cls) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; _qlist = KImageIOJBridge::types(); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } JNIEXPORT jobject JNICALL Java_org_kde_koala_KImageIO_types__I(JNIEnv* env, jclass cls, jint mode) { - TQStringList _qlist; + TTQStringList _qlist; (void) cls; _qlist = KImageIOJBridge::types((KImageIO::Mode) mode); - return (jobject) QtSupport::arrayWithQStringList(env, (TQStringList*) &_qlist); + return (jobject) QtSupport::arrayWithTQStringList(env, (TTQStringList*) &_qlist); } |