Fwd: KTempFile->QTemporaryFile

Jaison Lee lee.jaison at gmail.com
Mon Sep 11 17:36:33 BST 2006


On 9/11/06, Jaison Lee <lee.jaison at gmail.com> wrote:
> On 9/11/06, David Faure <faure at kde.org> wrote:
> > On Monday 11 September 2006 16:48, Will Entriken wrote:
> > > Or are there extra provisions for suffix and mode?
> >
> > Yes; we need something like KTempFile tempFile( QString::null, ".pdf" ); to keep working
> >  (create a tempfile in the standard place, but give it the extension .pdf)
> > This is used by KParts and many other places that deal with downloads of remote files.
>
> KTemporaryFile tempFile ( "XXXXXX.pdf" );
>
> is not acceptable?  (I agree a shortcut would be handy, but I'm trying
> to keep the interface from diverging too much.)

Never mind. That was a horrible example. :)




More information about the kde-core-devel mailing list