I haven't enough experience with SIP to spot the problem. Connecting to QgsCompisition itemRemoved signal I obtain a QObject parameter intead of QgsComposerItem. E.g.
def <something>(self): self.composition.itemRemoved.connect(self.itemRemovedFromComposer) def itemRemovedFromComposer(self,*item*): pass the item parameter is a QObject, while the signal signature is void itemRemoved( QgsComposerItem* ) Any help? Thanks, giovanni PS: QObject.connect(self.composition, SIGNAL("( QgsComposerItem* )"),self.itemRemovedFromComposer) doesn't work. -- Giovanni Allegri http://about.me/giovanniallegri Twitter: https://twitter.com/_giohappy_ blog: http://blog.spaziogis.it GEO+ geomatica in Italia http://bit.ly/GEOplus
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer