diff options
author | Timothy Pearson <[email protected]> | 2012-03-04 01:04:19 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2012-03-04 01:04:19 -0600 |
commit | d59a7b04d29af04de0b5687d9ff458380e30d823 (patch) | |
tree | fb435019d0d7e9bfdff6a6570b75ef155b5482be /qtjava/javalib/org/kde/qt | |
parent | 32459311b349db581cc5fb0d80739a95b3d998b4 (diff) | |
download | tdebindings-d59a7b04d29af04de0b5687d9ff458380e30d823.tar.gz tdebindings-d59a7b04d29af04de0b5687d9ff458380e30d823.zip |
Fix FTBFS
Diffstat (limited to 'qtjava/javalib/org/kde/qt')
-rw-r--r-- | qtjava/javalib/org/kde/qt/Invocation.java | 22 | ||||
-rw-r--r-- | qtjava/javalib/org/kde/qt/Qt.java | 6 | ||||
-rw-r--r-- | qtjava/javalib/org/kde/qt/qtjava.java | 6 |
3 files changed, 17 insertions, 17 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 { diff --git a/qtjava/javalib/org/kde/qt/Qt.java b/qtjava/javalib/org/kde/qt/Qt.java index 886fbb70..acd6e971 100644 --- a/qtjava/javalib/org/kde/qt/Qt.java +++ b/qtjava/javalib/org/kde/qt/Qt.java @@ -1026,7 +1026,7 @@ public class Qt implements QtSupport { 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 { @@ -1034,10 +1034,10 @@ public class Qt implements QtSupport { 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; } } diff --git a/qtjava/javalib/org/kde/qt/qtjava.java b/qtjava/javalib/org/kde/qt/qtjava.java index 4ce02b93..08eedc3e 100644 --- a/qtjava/javalib/org/kde/qt/qtjava.java +++ b/qtjava/javalib/org/kde/qt/qtjava.java @@ -110,7 +110,7 @@ public class qtjava { try { aClass = Class.forName(toFullyQualifiedClassName(className)); } catch (ClassNotFoundException e) { - Qt.qWarning("Error class not found: " + toFullyQualifiedClassName(className)); + Qt.tqWarning("Error class not found: " + toFullyQualifiedClassName(className)); return null; } @@ -122,10 +122,10 @@ public class qtjava { try { result = qtjava.allocateInstance(aClass); } catch (InstantiationException e) { - Qt.qWarning("Can't instantiate : " + toFullyQualifiedClassName(className)); + Qt.tqWarning("Can't instantiate : " + toFullyQualifiedClassName(className)); return null; } catch (IllegalAccessException e) { - Qt.qWarning("Illegal access to class : " + toFullyQualifiedClassName(className)); + Qt.tqWarning("Illegal access to class : " + toFullyQualifiedClassName(className)); return null; } |