[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Copying a KArchiveDirectory to real dir
From:       David Faure <david () mandrakesoft ! com>
Date:       2002-06-26 6:45:06
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 25 June 2002 19:59, Gioele Barabucci wrote:
> On Monday 24 June 2002 10:20, David Faure wrote:
> > Write a recursive method that iterates over the entries of a dir, and
> > - for a file, extract it (get data, write data to disk)
> > - for a directory, call myself recursively.
> >
> > Could be a useful addition to KArchiveDirectory itself.
> Is possible to add a virtual method to KArchiveEntry?
No...

> if breaks BC, but kio are loaded are runtime AFAIK.
Hmm ? No, kio is a normal lib, apps link to it.
"kio are loaded" -> if you mean "kioslaves are loaded", then that's correct,
but not only kioslaves use KArchive.

> If so I've done all the work (copyTo method for KArchiveEntry, simple on 
> KArchiveFile, are recursive (if set) on KArchiveDirectory) and I'm ready to 
> post a patch, if not I think that we can simply add a normal method to 
> KArchiveDirectory (this should not be BC).
We need a solution which doesn't introduce new virtual methods in any
KArchive* class....

- -- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-beta2 is coming very shortly...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9GWLy72KcVAmwbhARAqc/AKCtzrdQhnnc6GP2o6gscj67Tl2OWACdFByj
ZfeyxJ2xBTiKuJXvfDBFdEY=
=Hc8r
-----END PGP SIGNATURE-----

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic