diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-02 13:14:46 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-11-02 13:14:46 +0900 |
commit | 225aca6edcb3be930e4dda017e64e42dd2235a27 (patch) | |
tree | 403ea1192d0063c80921db53d3ab7f59853830a1 /qtjava/javalib/org/trinitydesktop/qt/Invocation.java | |
parent | f248cde27726e2df27c341b6cd28b104c88a5d35 (diff) | |
download | tdebindings-225aca6edcb3be930e4dda017e64e42dd2235a27.tar.gz tdebindings-225aca6edcb3be930e4dda017e64e42dd2235a27.zip |
Fix FTBFS caused by removal of tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/Invocation.java')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/Invocation.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/Invocation.java b/qtjava/javalib/org/trinitydesktop/qt/Invocation.java index 022c67bd..2ebe8505 100644 --- a/qtjava/javalib/org/trinitydesktop/qt/Invocation.java +++ b/qtjava/javalib/org/trinitydesktop/qt/Invocation.java @@ -70,7 +70,7 @@ public class Invocation { try { parameterTypes.add(Class.forName(token)); } catch (ClassNotFoundException e) { - Qt.tqWarning("TQObject.connect: No such argument type: " + token); + TQt.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.tqWarning("Slot invocation failed"); + TQt.tqWarning("Slot invocation failed"); e.printStackTrace(); return null; } catch (IllegalAccessException e) { - Qt.tqWarning("Slot invocation failed"); + TQt.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.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + TQt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); e.printStackTrace(); return false; } catch (IllegalAccessException e) { - Qt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + TQt.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.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + TQt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); e.printStackTrace(); return true; } catch (IllegalAccessException e) { - Qt.tqWarning("Invocation failed : " + onThis.getClass().getName() + "." + methodName + "()"); + TQt.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.tqWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)"); + TQt.tqWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)"); e.printStackTrace(); return false; } catch (IllegalAccessException e) { - Qt.tqWarning("Event handler failed : " + onThis.getClass().getName() + "." + methodName + "(" + qtjava.toFullyQualifiedClassName(argClass) + " event)"); + TQt.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.tqWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()"); + TQt.tqWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()"); e.printStackTrace(); return false; } catch (IllegalAccessException e) { - Qt.tqWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()"); + TQt.tqWarning("Event filter failed : " + onThis.getClass().getName() + "." + methodName + "()"); e.printStackTrace(); return false; } finally { |