listdir in NetAccess
david at mandrakesoft.com
Sun Sep 15 16:39:19 BST 2002
-----BEGIN PGP SIGNED MESSAGE-----
On Sunday 15 September 2002 17:19, Tobias Koenig wrote:
> 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
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
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)
-----END PGP SIGNATURE-----
More information about the kde-core-devel