[PATCH] Add a removeDir function to KDE 3.5.x
faure at kde.org
Tue Feb 28 15:45:21 GMT 2006
On Tuesday 28 February 2006 15:58, Thiago Macieira wrote:
> Nicolas Goutte wrote:
> >> >As for KDE4, should be makeDir be moved too?
> >> No. For KDE4, use QDir stuff. If you don't find an equivalent (I don't
> >> think there is an equivalent of "rm -rf" there), let me know.
> >Sure, it would be the best that QDir could remove a non-empty directory,
> > but cannot. (As written, it is Qt Issue N104800 and the wish was
> > refused,)
> The reason it was rejected is that it's a liability. That much is true.
> So, isn't it a liability to provide such a function in KDE?
Liability? If a remove-dir is needed in various places of KDE, isn't it
actually worse to code it differently in all those places rather than having
one working implementation in one place?
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
More information about the kde-core-devel