[PATCH] Add a removeDir function to KDE 3.5.x

Nicolas Goutte nicolasg at snafu.de
Tue Feb 28 08:28:46 GMT 2006


On Tuesday 28 February 2006 09:22, Stephan Kulow wrote:
> Am Dienstag, 28. Februar 2006 09:12 schrieb Nicolas Goutte:
> > I have chosen to add it to KStandardDirs as there is
> > KStandardDirs::makeDirs and also other functions using the
> > opendir/readdir/ closedir functions.
>
> It for sure does not fit in that class. You are not supposed to delete a
> Standard KDE Dir. My suggestion: make this a global function in namespace
> KDE for KDE4 and a file static function to KTempDir in KDE 3.5.2.

Ah, yes! I had not thought that some people could take it as invitation to 
delete standard directories.

As for KDE4, should be makeDir be moved too?

>
> Greetings, Stephan

Have a nice day!





More information about the kde-core-devel mailing list