[Kde-perl] Capturing close events

Ole Christensen Ole.Christensen at web.de
Thu Mar 23 21:15:57 CET 2006


Marius,

sorry, but I think I didn't actually get you. Does it work for you now?

Cheers,
Ole.


Marius Kjeldahl wrote:
> Marius Kjeldahl wrote:
>> Would you mind testing a "parentWidget()" call or any other method defined in 
>> QWidget which would use the implicit this pointer? I use parentWidget other 
>> places in my source without any trouble, but in the close/closeEvent methods it 
>> seems the implicit this pointer is not set correctly.
> 
> Never mind, my bad. parentWidget did not exist for some windows in my 
> application because I explicitely created them as stand-alone windows. Storing 
> the pointer back to the "owner" separately should solve it.
> 
> Marius K.
> 
> _______________________________________________
> Kde-perl mailing list
> Kde-perl at kde.org
> https://mail.kde.org/mailman/listinfo/kde-perl


More information about the Kde-perl mailing list