diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/Invocation.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/Invocation.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/qtjava/javalib/org/kde/qt/Invocation.java b/qtjava/javalib/org/kde/qt/Invocation.java index 7ae31bd3..fe6d433f 100644 --- a/qtjava/javalib/org/kde/qt/Invocation.java +++ b/qtjava/javalib/org/kde/qt/Invocation.java @@ -70,7 +70,7 @@ public class Invocation { try { parameterTypes.add(Class.forName(token)); } catch (ClassNotFoundException e) { - Qt.qWarning("TQObject.connect: No such argument type: " + token); + Qt.tqWarning("TQObject.connect: No such argument type: " + token); return null; } } @@ -184,11 +184,11 @@ public class Invocation { try { Object result = method.invoke(onThis, arguments); } catch (InvocationTargetException e) { - Qt.qWarning("Slot invocation failed"); + Qt.tqWarning("Slot invocation failed"); e.printStackTrace(); return null; } catch (IllegalAccessException e) { - Qt.qWarning("Slot invocation failed"); + Qt.tqWarning("Slot invocation failed"); e.printStackTrace(); return null; } finally { @@ -385,11 +385,11 @@ public class Invocation { Object result = method.invoke(onThis, (Class[]) null); return true; } catch (InvocationTargetException e) { - Qt.qWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + Qt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); e.printStackTrace(); return false; } catch (IllegalAccessException e) { - Qt.qWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + Qt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); e.printStackTrace(); return false; } @@ -422,11 +422,11 @@ public class Invocation { Object result = method.invoke(onThis, (Class[]) null); return ((Boolean) result).booleanValue(); } catch (InvocationTargetException e) { - Qt.qWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + Qt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); e.printStackTrace(); return true; } catch (IllegalAccessException e) { - Qt.qWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + Qt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); e.printStackTrace(); return true; } @@ -473,11 +473,11 @@ public class Invocation { // The event will no longer be referenced, so force remove its java mapping entry. qtjava.removeObjectForQtKey(arg); } catch (InvocationTargetException e) { - Qt.qWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)"); + Qt.tqWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)"); e.printStackTrace(); return false; } catch (IllegalAccessException e) { - Qt.qWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)"); + Qt.tqWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)"); e.printStackTrace(); return false; } finally { @@ -513,11 +513,11 @@ public class Invocation { try { result = (Boolean) method.invoke(onThis, arguments); } catch (InvocationTargetException e) { - Qt.qWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()"); + Qt.tqWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()"); e.printStackTrace(); return false; } catch (IllegalAccessException e) { - Qt.qWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()"); + Qt.tqWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()"); e.printStackTrace(); return false; } finally { |