[Development] QTemporaryDir API

Olivier Goffart olivier at woboq.com
Fri Nov 18 11:32:09 CET 2011


On Friday 18 November 2011 05:01:44 Jason A. Donenfeld wrote:
> A general [static] recursive remove directory function belongs in QDir.
> 
> A member recursive remove *this* particular *temporary* directory function
> belongs in QTemporaryDir.
> 
> Putting a generalized recursive remove directory function into
> QTemporaryDir makes no organizational sense.


I agree with that,  IMHO it belongs to QDir.

About the fact that the function is dangerous, yes it is,  but it is something 
developers want to do anyway, and not only with temporary directories.


> $0.02

0.02€

-- 
Olivier



More information about the Development mailing list