KTempFile->QTemporaryFile

Kevin Krammer kevin.krammer at gmx.at
Mon Sep 11 19:00:36 BST 2006


On Monday 11 September 2006 19:46, Thiago Macieira wrote:
> Kevin Krammer wrote:
> >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
>
> Yes, it deletes file on completion, but there are also application
> crashes. That's why system clean-ups are good.

In the given example the potentially stale DVD images would be a bigger 
problem.

Anway, I agree that a static method is not a good idea, Qt would need to have 
a more robust customization level like the Java class libraries.

Having some enhancements in kdelibs is a good idea anway :)

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/564215cd/attachment.sig>


More information about the kde-core-devel mailing list