KTempFile->QTemporaryFile

Thiago Macieira thiago at kde.org
Mon Sep 11 18:16:25 BST 2006


Jaison Lee wrote:
>IMHO it's not acceptable for every programmer to pass the KDE tmp
>directory to the constructor every time he/she uses QTemporaryFile. We
>would have tmp files everywhere. A KTemporaryFile class should exist
>to make sure things go to the right place without any one having to
>worry about it.

While you're at it, you could name the /var/tmp class KCacheFile -- a 
QTemporaryFile that stores files in the cache dir.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- 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/8b2992b2/attachment.sig>


More information about the kde-core-devel mailing list