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 /kalyptus/kalyptusCxxToJava.pm | |
| parent | f248cde27726e2df27c341b6cd28b104c88a5d35 (diff) | |
| download | tdebindings-225aca6e.tar.gz tdebindings-225aca6e.zip | |
Fix FTBFS caused by removal of tqtinterface
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kalyptus/kalyptusCxxToJava.pm')
| -rw-r--r-- | kalyptus/kalyptusCxxToJava.pm | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/kalyptus/kalyptusCxxToJava.pm b/kalyptus/kalyptusCxxToJava.pm index b75b9fb2..aca7339b 100644 --- a/kalyptus/kalyptusCxxToJava.pm +++ b/kalyptus/kalyptusCxxToJava.pm @@ -234,7 +234,7 @@ EOF  	$qtExtras = <<EOF;  	/** This member allows a typecast of an instance which wraps a Qt instance,  		to a more specialized type. Invokes the private qtjava.dynamicCast() -		via reflection, as that method isn't part of the public Qt api */ +		via reflection, as that method isn't part of the public TQt api */  	public static QtSupport dynamicCast(String type, QtSupport source) {  		Method		method = null; @@ -242,7 +242,7 @@ EOF  			method = qtjava.class.getDeclaredMethod(	"dynamicCast",  														new Class[] { String.class, QtSupport.class } );  		} catch (NoSuchMethodException e1) { -			Qt.tqWarning("No such method : qtjava.dynamicCast()"); +			TQt.tqWarning("No such method : qtjava.dynamicCast()");  		}  		try { @@ -250,10 +250,10 @@ EOF  			Object result = method.invoke(qtjava.class, new Object[] { type, source } );  			return (QtSupport) result;  		} catch (InvocationTargetException e) { -			Qt.tqWarning("Invocation failed : qtjava.dynamicCast()"); +			TQt.tqWarning("Invocation failed : qtjava.dynamicCast()");  			return null;  		} catch (IllegalAccessException e) { -			Qt.tqWarning("Invocation failed : qtjava.dynamicCast()"); +			TQt.tqWarning("Invocation failed : qtjava.dynamicCast()");  			return null;  		}  	} @@ -1175,7 +1175,7 @@ sub writeClassDoc  			# Special case these two classes as they have methods that use ArrayList added as 'extras'  	    	print CLASS "import java.util.ArrayList;\n";  		} -	    print CLASS "import org.trinitydesktop.qt.Qt;\n"; +	    print CLASS "import org.trinitydesktop.qt.TQt;\n";  	}  	if ( kalyptusDataDict::interfacemap($javaClassName) ne () ) { | 
