Hi,
Im trying to connect the 'changed' signal of my QGraphicsScene 'scene'
object to a slot. Other signals of the scene object are easy to connect,
but changed is a little different due to its generic List object -
java.util.List<QRectF <cid:[email protected]>>
I connect my slot like this:
scene.changed.connect(this, "documentWasModified(List<QRectF>)" );
...
public void documentWasModified(List<QRectF> li){
System.out.println("AAAAAargh");
this.setWindowModified(true);
}
But the compiler wont recognize the line which connects to the slot:
Could not find slot with signature: documentWasModified(List<QRectF>)
Possible matching methods:
documentWasModified(com.trolltech.qt.core.QRectF)
at
com.trolltech.qt.QSignalEmitter$AbstractSignal.connect(QSignalEmitter.java:128)
... and so on.
How shuld this be done?
regards,
Dave
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest