signal void     destroyed ( QObject * obj = 0 )
should be emitted.

I would recommend to double check that you connect
signal of each SvgTextObject instance with appropriate slot.

Regards,

Alex



On Thu, Jan 5, 2012 at 4:31 AM, Graham Labdon
<graham.lab...@avalonsciences.com> wrote:
> I have tried this but my slot never gets called ??
>
> -----Original Message-----
> From: interest-bounces+graham.labdon=avalonsciences....@qt-project.org 
> [mailto:interest-bounces+graham.labdon=avalonsciences....@qt-project.org] On 
> Behalf Of Samuel Gaist
> Sent: 05 January 2012 12:00
> To: interest@qt-project.org; QT Interest Group
> Subject: Re: [Interest] Custom text objects
>
>
> On 5 janv. 2012, at 12:56, Graham Labdon wrote:
>
>> Hi
>> I have implemented the insertion of custom objects into  a QTextEdit by 
>> following the 'insert SVG image' example.
>>
>> I now want to detect when such an object is deleted, does anybody know how I 
>> can achieve this
>>
>> Thanks
>>
>> Graham
>>
>> _______________________________________________
>> Interest mailing list
>> Interest@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
>
> Hi,
>
> Did you try to use the destroyed signal from QObject ?
>
> http://developer.qt.nokia.com/doc/qt-4.8/qobject.html#destroyed
>
> Hope it helps
> Samuel
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to