From kde-devel Thu May 12 18:11:33 2005 From: David Faure Date: Thu, 12 May 2005 18:11:33 +0000 To: kde-devel Subject: Re: hook for app closing Message-Id: <200505122011.33590.faure () kde ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=111592153222480 On Thursday 12 May 2005 20:04, Andreas Pakulat wrote: > Hi, > > I currently want to implement a Ask-For-Save-On-Close dialog for my KMdi > app and it works so far reimplementing > KMdiMainFrm::childWindowCloseRequest. But this doesn't work when the > app is being closed, because the child views are closed via closeWindow > from the destructor of KMdiMainFrm. What I'd like to know is, if > iterating over all views in queryExit() is the only chance I have? Does queryClose() work? (I don't know kmdi, but it's the usual way for KMainWindows) -- David Faure, faure@kde.org, sponsored by Trolltech to work on KDE, Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org). >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<