diff options
Diffstat (limited to 'kalyptus')
-rw-r--r-- | kalyptus/ChangeLog | 2 | ||||
-rw-r--r-- | kalyptus/kalyptusCxxToJNI.pm | 26 | ||||
-rw-r--r-- | kalyptus/kalyptusCxxToJava.pm | 20 |
3 files changed, 24 insertions, 24 deletions
diff --git a/kalyptus/ChangeLog b/kalyptus/ChangeLog index f623302..7175775 100644 --- a/kalyptus/ChangeLog +++ b/kalyptus/ChangeLog @@ -81,7 +81,7 @@ 2004-06-29 Richard Dale <Richard_Dale@tipitina.demon.co.uk> - * Java methods now generated for qCompress and tqUncompress methods - Michal Ceresna + * Java methods now generated for tqCompress and tqUncompress methods - Michal Ceresna reported that the methods missing from the QtJava api. 2004-06-25 Richard Dale <Richard_Dale@tipitina.demon.co.uk> diff --git a/kalyptus/kalyptusCxxToJNI.pm b/kalyptus/kalyptusCxxToJNI.pm index 0a532ac..cb8c93b 100644 --- a/kalyptus/kalyptusCxxToJNI.pm +++ b/kalyptus/kalyptusCxxToJNI.pm @@ -506,19 +506,19 @@ EOF public static native TQApplication tqApp(); - public static native void qDebug(String message); - public static void qDebug(String pattern, Object[] arguments) { - qDebug(MessageFormat.format(pattern, arguments)); + public static native void tqDebug(String message); + public static void tqDebug(String pattern, Object[] arguments) { + tqDebug(MessageFormat.format(pattern, arguments)); } - public static native void qWarning(String message); - public static void qWarning(String pattern, Object[] arguments) { - qWarning(MessageFormat.format(pattern, arguments)); + public static native void tqWarning(String message); + public static void tqWarning(String pattern, Object[] arguments) { + tqWarning(MessageFormat.format(pattern, arguments)); } - public static native void qFatal(String message); - public static void qFatal(String pattern, Object[] arguments) { - qFatal(MessageFormat.format(pattern, arguments)); + public static native void tqFatal(String message); + public static void tqFatal(String pattern, Object[] arguments) { + tqFatal(MessageFormat.format(pattern, arguments)); } private static String sqeezeOut(String from, char toss) { @@ -552,7 +552,7 @@ EOF try { result = new String(bytes, "UTF-8"); } catch (UnsupportedEncodingException e) { - qWarning("UTF-8 encoding not supported"); + tqWarning("UTF-8 encoding not supported"); } finally { return result; } @@ -822,7 +822,7 @@ Java_org_kde_qt_Qt_qDebug(JNIEnv* env, jclass cls, jstring message) { static TQCString * _qstring_message = 0; (void) cls; - qDebug("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message)); + tqDebug("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message)); return; } @@ -831,7 +831,7 @@ Java_org_kde_qt_Qt_qWarning(JNIEnv* env, jclass cls, jstring message) { static TQCString * _qstring_message = 0; (void) cls; - qWarning("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message)); + tqWarning("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message)); return; } @@ -840,7 +840,7 @@ Java_org_kde_qt_Qt_qFatal(JNIEnv* env, jclass cls, jstring message) { static TQCString * _qstring_message = 0; (void) cls; - qFatal("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message)); + tqFatal("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message)); return; } diff --git a/kalyptus/kalyptusCxxToJava.pm b/kalyptus/kalyptusCxxToJava.pm index 7cfc626..dcc713e 100644 --- a/kalyptus/kalyptusCxxToJava.pm +++ b/kalyptus/kalyptusCxxToJava.pm @@ -301,19 +301,19 @@ EOF */ // public static native TQApplication tqApp(); - public static native void qDebug(String message); - public static void qDebug(String pattern, Object[] arguments) { - qDebug(MessageFormat.format(pattern, arguments)); + public static native void tqDebug(String message); + public static void tqDebug(String pattern, Object[] arguments) { + tqDebug(MessageFormat.format(pattern, arguments)); } - public static native void qWarning(String message); - public static void qWarning(String pattern, Object[] arguments) { - qWarning(MessageFormat.format(pattern, arguments)); + public static native void tqWarning(String message); + public static void tqWarning(String pattern, Object[] arguments) { + tqWarning(MessageFormat.format(pattern, arguments)); } - public static native void qFatal(String message); - public static void qFatal(String pattern, Object[] arguments) { - qFatal(MessageFormat.format(pattern, arguments)); + public static native void tqFatal(String message); + public static void tqFatal(String pattern, Object[] arguments) { + tqFatal(MessageFormat.format(pattern, arguments)); } private static String sqeezeOut(String from, char toss) { @@ -347,7 +347,7 @@ EOF try { result = new String(bytes, "UTF-8"); } catch (UnsupportedEncodingException e) { - qWarning("UTF-8 encoding not supported"); + tqWarning("UTF-8 encoding not supported"); } finally { return result; } |