summaryrefslogtreecommitdiffstats
path: root/kdejava
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 01:44:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 01:44:10 -0600
commitde75cac2acc7883d74bb34fd915d9c1e57f68349 (patch)
tree14e9cd4b91dd91a89391b7c164ba823bbe666a8b /kdejava
parent7d9a33b4fe664bd0b49aa31d77f936318ae26159 (diff)
downloadtdebindings-de75cac2acc7883d74bb34fd915d9c1e57f68349.tar.gz
tdebindings-de75cac2acc7883d74bb34fd915d9c1e57f68349.zip
Fix staticTQString
Diffstat (limited to 'kdejava')
-rw-r--r--kdejava/koala/kdejava/KGlobal.cpp4
-rw-r--r--kdejava/koala/kdejava/KGlobal.h2
-rw-r--r--kdejava/koala/org/kde/koala/KGlobal.java2
3 files changed, 4 insertions, 4 deletions
diff --git a/kdejava/koala/kdejava/KGlobal.cpp b/kdejava/koala/kdejava/KGlobal.cpp
index 73609406..0a81bf2e 100644
--- a/kdejava/koala/kdejava/KGlobal.cpp
+++ b/kdejava/koala/kdejava/KGlobal.cpp
@@ -136,12 +136,12 @@ Java_org_kde_koala_KGlobal_sharedConfig(JNIEnv* env, jclass cls)
}
JNIEXPORT jstring JNICALL
-Java_org_kde_koala_KGlobal_staticTQString(JNIEnv* env, jclass cls, jstring str)
+Java_org_kde_koala_KGlobal_staticQString(JNIEnv* env, jclass cls, jstring str)
{
TQString _qstring;
(void) cls;
static TQCString* _qstring_str = 0;
- _qstring = KGlobalJBridge::staticTQString((const char*) QtSupport::toCharString(env, str, &_qstring_str));
+ _qstring = KGlobalJBridge::staticQString((const char*) QtSupport::toCharString(env, str, &_qstring_str));
return QtSupport::fromTQString(env, &_qstring);
}
diff --git a/kdejava/koala/kdejava/KGlobal.h b/kdejava/koala/kdejava/KGlobal.h
index 07fb6cde..bb9afda2 100644
--- a/kdejava/koala/kdejava/KGlobal.h
+++ b/kdejava/koala/kdejava/KGlobal.h
@@ -18,7 +18,7 @@ extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_sharedConfig (JNIEnv
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_iconLoader (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_locale (JNIEnv *env, jclass);
extern JNIEXPORT jobject JNICALL Java_org_kde_koala_KGlobal_charsets (JNIEnv *env, jclass);
-extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGlobal_staticTQString (JNIEnv *env, jclass, jstring);
+extern JNIEXPORT jstring JNICALL Java_org_kde_koala_KGlobal_staticQString (JNIEnv *env, jclass, jstring);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobal_registerStaticDeleter (JNIEnv *env, jclass, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobal_unregisterStaticDeleter (JNIEnv *env, jclass, jobject);
extern JNIEXPORT void JNICALL Java_org_kde_koala_KGlobal_deleteStaticDeleters (JNIEnv *env, jclass);
diff --git a/kdejava/koala/org/kde/koala/KGlobal.java b/kdejava/koala/org/kde/koala/KGlobal.java
index 5515caae..707e4b48 100644
--- a/kdejava/koala/org/kde/koala/KGlobal.java
+++ b/kdejava/koala/org/kde/koala/KGlobal.java
@@ -93,7 +93,7 @@ public class KGlobal implements QtSupport {
@short Creates a static String.
*/
- public static native String staticTQString(String str);
+ public static native String staticQString(String str);
/**
Registers a static deleter.
@param d the static deleter to register