KTempFile->QTemporaryFile

Kevin Krammer kevin.krammer at gmx.at
Mon Sep 11 18:27:08 BST 2006


On Monday 11 September 2006 19:17, Thiago Macieira wrote:
> Kevin Krammer wrote:
> >Example when /tmp is in a RAM disk but you want to let a program create
> > a temporary DVD image somewhere else
>
> I don't like the idea of a static method to do that. In particular, it
> would mean that the other classes in KDELibs that create temporary files
> in that DVD application start creating files in the alternate directory
> as well, which may or may not be cleaned up regularly by the system.

Well, ok, but I thought QTemporaryFile was supposed to remove the files by 
default.
Relying on the system to clean up something seems a bit odd to me and quite 
unportable

Cheers,
Kevin
-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
Moderator: www.mrunix.de (German), www.qtcentre.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20060911/3620888d/attachment.sig>


More information about the kde-core-devel mailing list