<div dir="ltr">I haven't enough experience with SIP to spot the problem.<div>Connecting to QgsCompisition itemRemoved signal I obtain a QObject parameter intead of QgsComposerItem. </div><div>E.g.<br><br>def <something>(self):<br>      self.composition.itemRemoved.connect(self.itemRemovedFromComposer)</div><div><br></div><div>def itemRemovedFromComposer(self,<b>item</b>):</div><div>      pass<br clear="all"><div><br></div><div>the item parameter is a QObject, while the signal signature is void itemRemoved( QgsComposerItem* )</div><div><br></div><div>Any help?</div><div>Thanks,</div><div>giovanni</div><div><br></div><div>PS: QObject.connect(self.composition, SIGNAL("( QgsComposerItem* )"),self.itemRemovedFromComposer) doesn't work.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div><div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div></div>
</div></div>