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

List:       koffice-devel
Subject:    RE: [PATCH] KOffice Thumbnails
From:       Simon MacMullen <simon.macmullen () aspect-proteus ! com>
Date:       2002-03-14 12:33:14
[Download RAW message or body]

David:
> On Thursday 14 March 2002 00:36, Frank Dekervel wrote:
> > maybe this is what you mean:
> > 
> > void qt_enter_modal( QWidget *widget );
> > void qt_leave_modal( QWidget *widget );
> > 
> > void blah {
> >         ...
> >         QWidget dummy(0,0,WType_Dialog | WShowModal);
> >         qt_enter_modal(&dummy);
> >         qApp->enter_loop();
> >         qt_leave_modal(&dummy);
> > }
> > 
> > (slot) void blah {
> > 	...
> > 	qApp->exit_loop();
> > }
> Yes - the KIO::NetAccess solution. It's so hacky I was afraid 
> to even suggest it ;-)
> We've had problems with this in NetAccess when overusing it, and in
> an application with UI. In a kioslave it should work ok though.

OK, will do this later, if it's really safe. I couldn't find any
documentation on qt_enter_modal...

It's worth pointing out that I got the processOneEvent() loop from the HTML
creator - this should be changed? (in 3.1 obviously)

Despite what I said I'm not going to get thumbnails working for Kontour /
Karbon / Kivio, as I just realised none of them currently implement
paintContent() at all.

Cheers,

Simon
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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