|
|
|
@ -253,9 +253,9 @@ BEGIN
|
|
|
|
|
'Java_org_kde_qt_Qt_pointingHandCursor' => 1,
|
|
|
|
|
'Java_org_kde_qt_Qt_forbiddenCursor' => 1,
|
|
|
|
|
'Java_org_kde_qt_Qt_qApp' => 1,
|
|
|
|
|
'Java_org_kde_qt_Qt_qDebug' => 1,
|
|
|
|
|
'Java_org_kde_qt_Qt_qWarning' => 1,
|
|
|
|
|
'Java_org_kde_qt_Qt_qFatal' => 1,
|
|
|
|
|
'Java_org_kde_qt_Qt_tqDebug' => 1,
|
|
|
|
|
'Java_org_kde_qt_Qt_tqWarning' => 1,
|
|
|
|
|
'Java_org_kde_qt_Qt_tqFatal' => 1,
|
|
|
|
|
'Java_org_kde_qt_QObject_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2' => 1,
|
|
|
|
|
'Java_org_kde_qt_QObject_connect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Ljava_lang_String_2' => 1,
|
|
|
|
|
'Java_org_kde_qt_QObject_disconnect__Lorg_kde_qt_QObject_2Ljava_lang_String_2Lorg_kde_qt_QObject_2Ljava_lang_String_2' => 1,
|
|
|
|
@ -447,7 +447,7 @@ EOF
|
|
|
|
|
method = qtjava.class.getDeclaredMethod( "dynamicCast",
|
|
|
|
|
new Class[] { String.class, QtSupport.class } );
|
|
|
|
|
} catch (NoSuchMethodException e1) {
|
|
|
|
|
Qt.qWarning("No such method : qtjava.dynamicCast()");
|
|
|
|
|
Qt.tqWarning("No such method : qtjava.dynamicCast()");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
try {
|
|
|
|
@ -455,10 +455,10 @@ EOF
|
|
|
|
|
Object result = method.invoke(qtjava.class, new Object[] { type, source } );
|
|
|
|
|
return (QtSupport) result;
|
|
|
|
|
} catch (InvocationTargetException e) {
|
|
|
|
|
Qt.qWarning("Invocation failed : qtjava.dynamicCast()");
|
|
|
|
|
Qt.tqWarning("Invocation failed : qtjava.dynamicCast()");
|
|
|
|
|
return null;
|
|
|
|
|
} catch (IllegalAccessException e) {
|
|
|
|
|
Qt.qWarning("Invocation failed : qtjava.dynamicCast()");
|
|
|
|
|
Qt.tqWarning("Invocation failed : qtjava.dynamicCast()");
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -818,7 +818,7 @@ Java_org_kde_qt_Qt_qApp(JNIEnv* env, jclass cls)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_qt_Qt_qDebug(JNIEnv* env, jclass cls, jstring message)
|
|
|
|
|
Java_org_kde_qt_Qt_tqDebug(JNIEnv* env, jclass cls, jstring message)
|
|
|
|
|
{
|
|
|
|
|
static TQCString * _qstring_message = 0;
|
|
|
|
|
(void) cls;
|
|
|
|
@ -827,7 +827,7 @@ static TQCString * _qstring_message = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_qt_Qt_qWarning(JNIEnv* env, jclass cls, jstring message)
|
|
|
|
|
Java_org_kde_qt_Qt_tqWarning(JNIEnv* env, jclass cls, jstring message)
|
|
|
|
|
{
|
|
|
|
|
static TQCString * _qstring_message = 0;
|
|
|
|
|
(void) cls;
|
|
|
|
@ -836,7 +836,7 @@ static TQCString * _qstring_message = 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
JNIEXPORT void JNICALL
|
|
|
|
|
Java_org_kde_qt_Qt_qFatal(JNIEnv* env, jclass cls, jstring message)
|
|
|
|
|
Java_org_kde_qt_Qt_tqFatal(JNIEnv* env, jclass cls, jstring message)
|
|
|
|
|
{
|
|
|
|
|
static TQCString * _qstring_message = 0;
|
|
|
|
|
(void) cls;
|
|
|
|
|