diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:30:40 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:30:40 -0600 |
commit | 32459311b349db581cc5fb0d80739a95b3d998b4 (patch) | |
tree | fd6475e6f0e015fce495961d6a0c50027bb95faa /kalyptus | |
parent | ef5a04df564ad5c27406c41fb55e32ad3aa39d25 (diff) | |
download | tdebindings-32459311b349db581cc5fb0d80739a95b3d998b4.tar.gz tdebindings-32459311b349db581cc5fb0d80739a95b3d998b4.zip |
Rename additional global TQt functions
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 f6233022..71757756 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 c20a2974..4593f6a5 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 7cfc6261..dcc713e1 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; } |