Fwd: KTempFile->QTemporaryFile

Benjamin Meyer ben at meyerhome.net
Mon Sep 11 17:44:52 BST 2006


On Monday 11 September 2006 18:29, Jaison Lee 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.)

No it is not, sense that includes the directory

-Benjamin Meyer




More information about the kde-core-devel mailing list