listdir in NetAccess
David Faure
david at mandrakesoft.com
Sun Sep 15 16:39:19 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 15 September 2002 17:19, Tobias Koenig wrote:
> Hi,
>
> I want to implement a listdir method for NetAccess but have a problem
> with KIO::listDir().
> I've attached my trials and the problematic code part is in
> NetAccess:slotResult(). How can I get the UDSEntryList of the listDir job
> here?
Connecting to the signal from ListDirJob which emits items.
(That's the only way, they don't get buffered in the job, so you can't
ask for them at the end).
But NetAccess is a hack, and a possibly dangerous one. Do we really need
to extend it? Why not use KIO::listDir() in your app?
- --
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
Get the latest KOffice - http://download.kde.org/stable/koffice-1.2/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9hKmo72KcVAmwbhARAptNAKCV0Kq0A2/YL//72USNFyFKcWh15ACfTk6e
MGyn34LqI9+vqpa4BI4An44=
=0aD9
-----END PGP SIGNATURE-----
More information about the kde-core-devel
mailing list