[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: hook for app closing
From:       David Faure <faure () kde ! org>
Date:       2005-05-12 18:11:33
Message-ID: 200505122011.33590.faure () kde ! org
[Download RAW message or body]

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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic