Re: Capturing close events
Ole Christensen <[email protected]> Thu, 23 Mar 2006 21:15:57 +0100
| Newsgroups | gmane.comp.kde.devel.perl |
|---|---|
| Message-ID | <[email protected]> |
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 > [email protected] > https://mail.kde.org/mailman/listinfo/kde-perl