[Qt-jambi-interest] Problem using Signal1

Frank Bergmann fbergman at u.washington.edu
Thu Aug 13 00:56:00 CEST 2009


> The go()-method of the Banana-Class creates a Decoder-Object and
> connects to it's onProgressChanged-Signal:
> 
>     Decoder od = new Decoder();
>     od.onProgressChanged.connect(this, "sdfsdfsdf(int)");
> 

The only thing that comes to mind is : 

A) do you have a method "sdfsdfsdf(int)" on 'this'? and the other one is: 

> The Decoder-Class extends the Class Launcher, which extends
> QSignalEmitter and contains the onProgressChanged-Signal:
> 
>     public abstract class Launcher extends QSignalEmitter {
>         public Signal1<Integer> onProgressChanged = new
> Signal1<Integer>();
>         ...
>     }
> 

B: Is Integer = int? I don't think so ... maybe your signature has to be
"sdfsdfsdf(Integer)"

Cheers
Frank




More information about the Qt-jambi-interest mailing list