[PATCH] Add a removeDir function to KDE 3.5.x
Michael Pyne
michael.pyne at kdemail.net
Tue Feb 28 21:09:52 GMT 2006
On Tuesday 28 February 2006 10:45, David Faure wrote:
> 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?
Not to mention that if we have one good working implementation that people
want to use, it is possible to integrate it into Kiosk later should it become
an issue. :)
Regards,
- Michael Pyne
-------------- 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/20060228/e3f4113e/attachment.sig>
More information about the kde-core-devel
mailing list