From kfm-devel Fri Jun 30 00:07:09 2000 From: Waldo Bastian Date: Fri, 30 Jun 2000 00:07:09 +0000 To: kfm-devel Subject: Re: kio::netaccess and imagepreview X-MARC-Message: https://marc.info/?l=kfm-devel&m=96232362901130 On Thu, 29 Jun 2000, David Faure wrote: > > I once sent a patch for that to the list, but that didn't work because I > > had forgotten 'WType_Modal'. > > > > E.g. something like: > > > > KIO::Job * job = KIO::stat( url ); > > connect( job, SIGNAL( result (KIO::Job *) ), > > this, SLOT( slotResult (KIO::Job *) ) ); > > + QWidget dummy(0,0,WType_Modal); > > + qt_enter_modal(&dummy); > > qApp->enter_loop(); > > + qt_leave_modal(&dummy); > > return bJobOK; > > } > > Looks good to me. I just don't know how to test this... Start e.g. kedit with a remote URL form a slow site. While the download is busy, try to see if you can access the menus. If it works, you can't. Cheers, Waldo -- Make way, KDE/Linux is coming to a desktop near you!