[Kde-perl] Capturing close events
Marius Kjeldahl
marius at kjeldahl.net
Tue Mar 21 19:11:50 CET 2006
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.
More information about the Kde-perl
mailing list