[Kde-perl] Capturing close events
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.
More information about the Kde-perl