diff options
Diffstat (limited to 'kdejava/koala/kdejava/Event.cpp')
-rw-r--r-- | kdejava/koala/kdejava/Event.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kdejava/koala/kdejava/Event.cpp b/kdejava/koala/kdejava/Event.cpp index 564374a9..2c3820f3 100644 --- a/kdejava/koala/kdejava/Event.cpp +++ b/kdejava/koala/kdejava/Event.cpp @@ -22,7 +22,7 @@ Java_org_kde_koala_Event_eventName(JNIEnv* env, jobject obj) JNIEXPORT void JNICALL Java_org_kde_koala_Event_newEvent(JNIEnv* env, jobject obj, jstring eventName) { -static QCString* _qstring_eventName = 0; +static TQCString* _qstring_eventName = 0; if (QtSupport::getQt(env, obj) == 0) { QtSupport::setQt(env, obj, new EventJBridge((const char*) QtSupport::toCharString(env, eventName, &_qstring_eventName))); QtSupport::setObjectForQtKey(env, obj, QtSupport::getQt(env, obj)); @@ -34,7 +34,7 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2(JNIEnv* env, jclass cls, jobject event) { (void) cls; - jboolean xret = (jboolean) EventJBridge::test((const QEvent*) QtSupport::getQt(env, event)); + jboolean xret = (jboolean) EventJBridge::test((const TQEvent*) QtSupport::getQt(env, event)); return xret; } @@ -42,8 +42,8 @@ JNIEXPORT jboolean JNICALL Java_org_kde_koala_Event_test__Lorg_kde_qt_QEvent_2Ljava_lang_String_2(JNIEnv* env, jclass cls, jobject event, jstring name) { (void) cls; -static QCString* _qstring_name = 0; - jboolean xret = (jboolean) EventJBridge::test((const QEvent*) QtSupport::getQt(env, event), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); +static TQCString* _qstring_name = 0; + jboolean xret = (jboolean) EventJBridge::test((const TQEvent*) QtSupport::getQt(env, event), (const char*) QtSupport::toCharString(env, name, &_qstring_name)); return xret; } |