diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:26:28 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-01 13:26:28 -0600 |
commit | d866fe2c926adf0bacf59595a777c2f2a5879e49 (patch) | |
tree | 86ca02842dbb2e2247e6d3cc970ff6f35a640a3c /kalyptus/kalyptusCxxToJNI.pm | |
parent | f0201c2d37cd3b94c6a720eb11d84263cd5d013b (diff) | |
download | libtqt-perl-d866fe2c926adf0bacf59595a777c2f2a5879e49.tar.gz libtqt-perl-d866fe2c926adf0bacf59595a777c2f2a5879e49.zip |
Rename additional global TQt functions
Diffstat (limited to 'kalyptus/kalyptusCxxToJNI.pm')
-rw-r--r-- | kalyptus/kalyptusCxxToJNI.pm | 26 |
1 files changed, 13 insertions, 13 deletions
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; } |