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

List:       kfm-devel
Subject:    Re: kio::netaccess and imagepreview
From:       Richard Moore <rich () ipso-facto ! freeserve ! co ! uk>
Date:       2000-06-13 13:45:38
[Download RAW message or body]

David Faure wrote:
> 
> > I have created a similar effect before by using the enter_loop() and
> > exit_loop() methods in QApplication. These create a nested event loop,
> > but they do not prevent access to the applications widgets as the modal
> > dialog trick does.
> 
> We know, that's what NetAccess uses currently, and that's exactly the
> problem (being able to close a window while a NetAccess operation is
> going on, and when the control comes back from it, it runs code in a
> deleted object

The trouble with using a modal dialog is that it blocks all the windows
in the app. Could you make it semi modal instead?

Rich.

> 
> --
> David FAURE
> david@mandrakesoft.com, faure@kde.org
> http://home.clara.net/faure/, http://www.konqueror.org/
> KDE, Making The Future of Computing Available Today

-- 
     Richard Moore		rich@ipso-facto.freeserve.co.uk
http://www.robocast.com/	richard@robocast.com
http://developer.kde.org/	rich@kde.org

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

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